24 "switch_bc",
true,
"Switch on (true) / off (false) for boundary condition.");
27 params.
addParam<Real>(
"face_limiter", 1.0,
"Face flux limiter.");
35 _switch_bc(getParam<bool>(
"switch_bc")),
36 _face_limiter(getParam<Real>(
"face_limiter"))
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSFVSwitchableOutletPressureBC)
const std::pair< unsigned int, unsigned int > _var_sys_numbers_pair
VarFaceNeighbors faceType(const std::pair< unsigned int, unsigned int > &var_sys) const
const Elem * neighborPtr() const
const Elem * elemPtr() const
A parent class for INSFV flow boundary conditions.
A class for setting the value of the pressure at an outlet of the system.
MooseVariableFV< Real > & _var
static InputParameters validParams()
ADReal boundaryValue(const FaceInfo &, const Moose::StateArg &) const override
A class for setting the value of the pressure at an outlet of the system.
static InputParameters validParams()
const Real & _face_limiter
Face limiter.
INSFVSwitchableOutletPressureBC(const InputParameters ¶ms)
ADReal boundaryValue(const FaceInfo &, const Moose::StateArg &) const override
const bool & _switch_bc
Boolean switch to turn boundary condition on/off.
virtual ADReal getExtrapolatedBoundaryFaceValue(const FaceInfo &fi, bool two_term_expansion, bool correct_skewness, const Elem *elem_side_to_extrapolate_from, const StateArg &state) const