26 params.
addRequiredParam<MooseFunctorName>(
"u",
"The velocity in the x direction.");
27 params.
addParam<MooseFunctorName>(
"v",
"The velocity in the y direction.");
28 params.
addParam<MooseFunctorName>(
"w",
"The velocity in the z direction.");
36 _u(getFunctor<
ADReal>(
"u")),
37 _v(isParamValid(
"v") ? &getFunctor<
ADReal>(
"v") : nullptr),
38 _w(isParamValid(
"w") ? &getFunctor<
ADReal>(
"w") : nullptr),
39 _dim(_subproblem.
mesh().dimension())
43 "In two or more dimensions, the v velocity must be supplied using the 'v' parameter");
45 mooseError(
"In threedimensions, the w velocity must be supplied using the 'w' parameter");
56 v(1) = (*_v)(boundary_face, state);
58 v(2) = (*_w)(boundary_face, state);
static InputParameters validParams()
Moose::StateArg determineState() const
A class for finite volume fully developed outflow boundary conditions for the mass equation It advect...
static const std::string density
virtual ADReal computeQpResidual() override
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi=nullptr, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
registerADMooseObject("NavierStokesApp", INSFVMassAdvectionOutflowBC)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
const unsigned int _dim
the dimension of the simulation
INSFVMassAdvectionOutflowBC(const InputParameters ¶ms)
const Moose::Functor< ADReal > *const _w
z-velocity
ADRealVectorValue _normal
const Moose::Functor< ADReal > *const _v
y-velocity
const Moose::Functor< ADReal > & _u
x-velocity
static const std::string v
void mooseError(Args &&... args) const
static InputParameters validParams()
const Moose::Functor< ADReal > & _rho
Density.
A parent class for INSFV fully developed flow boundary conditions.