https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PINSFVMomentumAdvection.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
11#include "FVUtils.h"
12#include "MathFVUtils.h"
13#include "NS.h"
16
18
21{
23 params.addClassDescription("Object for advecting superficial momentum, e.g. rho*u_d, "
24 "in the porous media momentum equation");
25 params.addRequiredParam<MooseFunctorName>(NS::porosity, "Porosity");
26 return params;
27}
28
30 : INSFVMomentumAdvection(params), _eps(getFunctor<ADReal>(NS::porosity))
31{
32}
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", PINSFVMomentumAdvection)
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics.
static InputParameters validParams()
A flux kernel transporting momentum in porous media across cell faces.
static InputParameters validParams()
PINSFVMomentumAdvection(const InputParameters &params)
static const std::string porosity
Definition NS.h:108