21 "Navier-Stokes porous media momentum equation.");
30 if (!dynamic_cast<PINSFVSuperficialVelocityVariable *>(&
_var))
31 mooseError(
"PINSFVMomentumPressure may only be used with a superficial velocity " 32 "variable, of variable type PINSFVSuperficialVelocityVariable.");
registerMooseObject("NavierStokesApp", PINSFVMomentumPressure)
static InputParameters validParams()
Introduces the coupled pressure term into the Navier-Stokes porous media momentum equation...
PINSFVMomentumPressure(const InputParameters ¶ms)
Moose::StateArg determineState() const
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal computeQpResidual() override
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
static const std::string porosity
const Moose::Functor< ADReal > & _eps
the porosity
ADReal computeQpResidual() override
const Elem *const & _current_elem
static InputParameters validParams()
void mooseError(Args &&... args) const
MooseVariableFV< Real > & _var