53 std::pair<bool, ADRealVectorValue>
DualNumber< Real, DNDerivativeType, true > ADReal
A special variable class for pressure which flags faces at which porosity jumps occur as extrapolated...
ADReal getDirichletBoundaryFaceValue(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
const Moose::Functor< ADReal > * _eps
The porosity.
bool isDirichletBoundaryFace(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
const Moose::Functor< ADReal > * _rho
The density.
std::vector< Real > _pressure_drop_form_factors
The form loss coefficients corresponding to the sidesets.
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.
std::vector< BoundaryName > _pressure_drop_sidesets
The names of the sidesets which will have associated form loss coefficients.
const Moose::Functor< ADReal > * _v
The y-component of velocity.
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.
static InputParameters validParams()
const Moose::Functor< ADReal > * _u
The x-component of velocity.
const std::vector< BoundaryID > _pressure_drop_sideset_ids
The boundary IDs corresponding to the form loss sidesets.
bool isExtrapolatedBoundaryFace(const FaceInfo &fi, const Elem *elem, const Moose::StateArg &time) const override
void initialSetup() override