15 INSFVkEpsilonViscosityMaterial,
24 params.
addClassDescription(
"Computes the turbulent dynamic viscosity given k and epsilon.");
28 "The turbulent kinetic energy dissipation rate.");
29 params.
addParam<MooseFunctorName>(
"C_mu", 0.09,
"C_mu closure parameter");
39 _C_mu(getFunctor<
ADReal>(
"C_mu")),
40 _preserve_sparsity_pattern(_fe_problem.preserveMatrixSparsityPattern())
42 addFunctorProperty<ADReal>(
44 [
this](
const auto & r,
const auto & t) ->
ADReal 48 _C_mu(r, t) *
_rho(r, t) * Utility::pow<2>(
_k(r, t)) /
52 _C_mu(r, t) *
_rho(r, t) * Utility::pow<2>(
_k(r, t)) /
This is the material class used to compute the viscosity of the kEpsilon model.
static const std::string mu_t
static InputParameters validParams()
const Moose::Functor< ADReal > & _epsilon
The turbulent kinetic energy dissipation rate.
const bool _preserve_sparsity_pattern
Whether to preserve the sparsity pattern between iterations (needed for Newton solvers) ...
static const std::string density
static const std::string TKE
const Moose::Functor< ADReal > & _rho
The density.
DualNumber< Real, DNDerivativeType, true > ADReal
const Moose::Functor< ADReal > & _C_mu
The C_mu.
registerMooseObject("NavierStokesApp", INSFVkEpsilonViscosityFunctorMaterial)
registerMooseObjectRenamed("NavierStokesApp", INSFVkEpsilonViscosityMaterial, "02/01/2025 00:00", INSFVkEpsilonViscosityFunctorMaterial)
const Moose::Functor< ADReal > & _k
The turbulent kinetic energy.
static InputParameters validParams()
INSFVkEpsilonViscosityFunctorMaterial(const InputParameters ¶meters)
static const std::string TKED
static constexpr Real mu_t_low_limit
static constexpr Real epsilon_low_limit