21 "Material class used to compute a friction factor of the form A * " 22 "f(r, t) + B * g(r, t) * |v_I| with A, B vector constants, f(r, t) and g(r, t) " 23 "functors of space and time, and |v_I| the interstitial speed");
26 "The name of functor storing the friction factor");
38 params.
addParam<MooseFunctorName>(
"f",
"Functor f in the A * f(t) term");
39 params.
addParam<MooseFunctorName>(
"g",
"Functor g in the B * g(t) * |v_I| term");
46 _functor_name(getParam<MooseFunctorName>(
"functor_name")),
49 _f(getFunctor<
ADReal>(
"f")),
50 _g(getFunctor<
ADReal>(
"g")),
57 const unsigned int num_components_specified =
63 num_components_specified,
64 " superficial velocity components were provided for a mesh of dimension ",
67 addFunctorProperty<ADRealVectorValue>(
unsigned int blocksMaxDimension() const
const Moose::Functor< ADReal > & _superficial_vel_x
static InputParameters validParams()
MooseFunctorName _functor_name
name of the functor computed by this material
const Moose::Functor< ADReal > & _f
static const std::string speed
static InputParameters validParams()
const Moose::Functor< ADReal > & _superficial_vel_z
LinearFrictionFactorFunctorMaterial(const InputParameters ¶meters)
DualNumber< Real, DNDerivativeType, true > ADReal
static const std::string porosity
static const std::string superficial_velocity_y
const Moose::Functor< ADReal > & _eps
Porosity.
Material class used to compute a friction factor of the form A * f(t) + B * g(t) * |v_I| with A...
const Moose::Functor< ADReal > & _superficial_vel_y
registerMooseObject("NavierStokesApp", LinearFrictionFactorFunctorMaterial)
void mooseError(Args &&... args) const
const InputParameters & parameters() const
const RealVectorValue _A
A, B, f(t), g(t)
ADReal computeSpeed(const ADRealVectorValue &velocity)
Compute the speed (velocity norm) given the supplied velocity.
static const std::string superficial_velocity_z
const Moose::Functor< ADReal > & _g
static const std::string superficial_velocity_x