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)
virtual void computeQpProperties() override
Computes solid thermal properties as a function of temperature.
static const std::string thermal_conductivity
static InputParameters validParams()
static const std::string density
Common class for solid properties that are a function of temperature.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string specific_heat
ThermalSolidPropertiesMaterialTempl(const InputParameters ¶meters)
static const std::string density