20 params.addClassDescription(
"Computes the thermal diffusivity given the thermal conductivity, "
21 "specific heat capacity, and fluid density.");
22 params.addRequiredParam<MooseFunctorName>(
NS::k,
"The thermal conductivity.");
23 params.addRequiredParam<MooseFunctorName>(
NS::density,
"The density.");
24 params.addRequiredParam<MooseFunctorName>(
NS::cp,
"The specific heat capacity.");
33 _rho(getFunctor<
ADReal>(
NS::density))
36 [
this](
const auto & r,
const auto & t) ->
ADReal
37 {
return _k(r, t) / (
_rho(r, t) *
_cp(r, t)); });
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", ThermalDiffusivityFunctorMaterial)
static InputParameters validParams()
Computes the thermal diffusivity given the thermal conductivity, specific heat capacity,...
const Moose::Functor< ADReal > & _k
thermal conductivity
ThermalDiffusivityFunctorMaterial(const InputParameters ¶meters)
const Moose::Functor< ADReal > & _rho
density
const Moose::Functor< ADReal > & _cp
specific heat capacity
static InputParameters validParams()
static const std::string density
static const std::string cp
static const std::string k
static const std::string thermal_diffusivity