20 params.addClassDescription(
"Momentum pressure term eps grad_P, as a flux kernel " 21 "using the divergence theoreom, in the porous media " 22 "incompressible Navier-Stokes momentum equation. This kernel " 23 "is also executed on boundaries.");
24 params.addRequiredParam<MooseFunctorName>(
NS::porosity,
"Porosity functor");
25 params.set<
bool>(
"force_boundary_execution") =
true;
32 if (!dynamic_cast<PINSFVSuperficialVelocityVariable *>(&
_var))
33 mooseError(
"PINSFVMomentumPressureFlux may only be used with a superficial velocity, " 34 "of variable type PINSFVSuperficialVelocityVariable.");
registerMooseObject("NavierStokesApp", PINSFVMomentumPressureFlux)
PINSFVMomentumPressureFlux(const InputParameters ¶ms)
static InputParameters validParams()
static const std::string porosity
A flux kernel using the divergence theorem for the pressure gradient term in the momentum equation...
static InputParameters validParams()
void mooseError(Args &&... args) const
MooseVariableFV< Real > & _var
A flux kernel using the divergence theorem for the pressure gradient term in the momentum equation...