20 params.addClassDescription(
21 "Adds the porosity-weighted pressure gradient to a porous momentum equation.");
22 params.addRequiredParam<MooseFunctorName>(
NS::porosity,
"The porosity functor.");
registerMooseObject("NavierStokesApp", LinearPWCNSFVMomentumPressure)
const Elem * elem() const
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
const ElemInfo * _current_elem_info
Kernel that adds the component of the pressure gradient in the momentum equations to the right hand s...
virtual Real computeRightHandSideContribution() override
static InputParameters validParams()
Adds the porosity-weighted pressure gradient to the right hand side of the momentum equation written ...
const Moose::Functor< Real > & _porosity
Porosity multiplying the pressure-gradient contribution.
Real computeRightHandSideContribution() override
Compute the pressure-gradient source multiplied by the cell porosity.
static InputParameters validParams()
LinearPWCNSFVMomentumPressure(const InputParameters ¶ms)
Construct the porous momentum pressure kernel.
Moose::StateArg determineState() const
static const std::string porosity