22 "for weakly compressible flows.");
25 "switch_bc",
true,
"Switch on (true) / off (false) for boundary condition.");
28 params.
addParam<
Real>(
"face_limiter", 1.0,
"Face flux limiter.");
36 _switch_bc(getParam<bool>(
"switch_bc")),
37 _face_limiter(getParam<
Real>(
"face_limiter"))
ADReal boundaryValue(const FaceInfo &fi, const Moose::StateArg &state) const override
WCNSFVSwitchableInletVelocityBC(const InputParameters ¶ms)
const Real & _face_limiter
Face limiter.
MooseVariableFV< Real > & _var
Dirichlet boundary conditions for the velocity, set from either a velocity postprocessor or a mass fl...
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", WCNSFVSwitchableInletVelocityBC)
const bool & _switch_bc
Boolean switch to turn boundary condition on/off.
ADReal boundaryValue(const FaceInfo &fi, const Moose::StateArg &state) const override
virtual ADReal getExtrapolatedBoundaryFaceValue(const FaceInfo &fi, bool two_term_expansion, bool correct_skewness, const Elem *elem_side_to_extrapolate_from, const StateArg &state) const
static InputParameters validParams()
const Elem * elemPtr() const
Dirichlet boundary conditions for the velocity, set from either a velocity postprocessor The class is...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()