23 params.
addRequiredParam<UserObjectName>(
"sp",
"The name of the user object for solid properties");
26 "Name to be used for the isobaric specific heat");
29 "Name to be used for the thermal conductivity");
32 "Name to be used for the density");
33 params.
addClassDescription(
"Computes solid thermal properties as a function of temperature");
41 _temperature(coupledGenericValue<is_ad>(
"temperature")),
43 _cp(declareGenericProperty<Real, is_ad>(
45 _k(declareGenericProperty<Real, is_ad>(
57 _cp[_qp] = _sp.cp_from_T(_temperature[_qp]);
58 _k[_qp] = _sp.k_from_T(_temperature[_qp]);
59 _rho[_qp] = _sp.rho_from_T(_temperature[_qp]);
registerMooseObject("SolidPropertiesApp", ThermalSolidPropertiesMaterial)
static InputParameters validParams()
Computes solid thermal properties as a function of temperature.
static InputParameters validParams()
virtual void computeQpProperties() override
ThermalSolidPropertiesMaterialTempl(const InputParameters ¶meters)
Common class for solid properties that are a function of temperature.
static const std::string thermal_conductivity
static const std::string specific_heat
static const std::string density