53 std::pair<bool, ADRealVectorValue>
const Moose::Functor< ADReal > * _eps
The porosity.
const std::vector< BoundaryID > _pressure_drop_sideset_ids
The boundary IDs corresponding to the form loss sidesets.
BernoulliPressureVariable(const InputParameters ¶ms)
const Moose::Functor< ADReal > * _rho
The density.
bool isDirichletBoundaryFace(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
const Moose::Functor< ADReal > * _v
The y-component of velocity.
std::vector< Real > _pressure_drop_form_factors
The form loss coefficients corresponding to the sidesets.
DualNumber< Real, DNDerivativeType, true > ADReal
bool isExtrapolatedBoundaryFace(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
const Moose::Functor< ADReal > * _u
The x-component of velocity.
ADReal getDirichletBoundaryFaceValue(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
const Moose::Functor< ADReal > * _w
The z-component of velocity.
const bool _allow_two_term_expansion_on_bernoulli_faces
Switch to enable the two-term extrapolation on porosity jump faces.
std::pair< bool, ADRealVectorValue > elemIsUpwind(const Elem &elem, const FaceInfo &fi, const Moose::StateArg &time) const
Checks to see whether the provided element is upwind of the provided face.
A special variable class for pressure which flags faces at which porosity jumps occur as extrapolated...
void initialSetup() override
std::vector< BoundaryName > _pressure_drop_sidesets
The names of the sidesets which will have associated form loss coefficients.
static InputParameters validParams()