22 template <
typename Derived>
38 template <
typename Derived>
43 params.addParam<
Real>(
"Darcy_multiplier", 1,
"A multiplier to adjust Darcy coefficients");
44 params.addParam<
Real>(
45 "Forchheimer_multiplier", 1,
"A multiplier to adjust Forchheimer coefficients");
49 template <
typename Derived>
53 _darcy_mult(getParam<
Real>(
"Darcy_multiplier")),
54 _forchheimer_mult(getParam<
Real>(
"Forchheimer_multiplier"))
56 addFunctorProperty<ADRealVectorValue>(
61 return multipliers *
static_cast<Derived *
>(
this)->computeDarcyPrefactor(r, t) *
62 static_cast<Derived *
>(
this)->computeDarcyCoefficient(r, t) *
_darcy_mult;
65 addFunctorProperty<ADRealVectorValue>(
70 return multipliers *
static_cast<Derived *
>(
this)->computeForchheimerPrefactor(r, t) *
71 static_cast<Derived *
>(
this)->computeForchheimerCoefficient(r, t) *
Abstract base class material providing the drag coefficients for linear and quadratic friction models...
static const std::string cQ
Real _darcy_mult
a multiplier for adjusting Darcy coefficients
Real _forchheimer_mult
a multiplier for adjusting Forchheimer coefficients
FunctorIsotropicDragCoefficients(const InputParameters ¶meters)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
static InputParameters validParams()
static const std::string cL
Abstract base class to compute isotropic drag coefficients, where and are independent of direction...