19 MooseEnum momentum_component(
"x=0 y=1 z=2");
23 "The component of the momentum equation that this BC applies to.");
25 "include_porosity",
false,
"Whether to multiply the pressure times porosity");
26 params.
addClassDescription(
"Adds an implicit pressure flux contribution on the boundary using " 27 "interior cell information");
33 _eps(getParam<bool>(
"include_porosity") ? &getMaterialProperty<
Real>(
NS::
porosity) : nullptr),
35 _index(getParam<
MooseEnum>(
"momentum_component"))
44 resid *= (*_eps)[
_qp];
static InputParameters validParams()
virtual ADReal computeQpResidual() override
DualNumber< Real, DNDerivativeType, true > ADReal
const MaterialProperty< Real > *const _eps
porosity
static const std::string porosity
const ADMaterialProperty< Real > & _pressure
The pressure on the elem.
ADRealVectorValue _normal
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("NavierStokesApp", CNSFVMomImplicitPressureBC)
static const std::string pressure
Implicit boundary conditions for the boundary pressure term from the momentum equation.
unsigned int _index
index x|y|z
CNSFVMomImplicitPressureBC(const InputParameters ¶meters)
static InputParameters validParams()