21 "with a constant coefficient");
22 params.
addRequiredParam<Real>(
"thermal_expansion_coeff",
"Thermal expansion coefficient");
32 _thermal_expansion_coeff(this->template getParam<Real>(
"thermal_expansion_coeff"))
40 return _thermal_expansion_coeff * (_temperature[_qp] - _stress_free_temperature[_qp]);
typename std::conditional< is_ad, ADReal, ChainedReal >::type ValueAndDerivative
Return type with a single derivative.
registerMooseObject("SolidMechanicsApp", ComputeThermalExpansionEigenstrain)
ComputeThermalExpansionEigenstrainBase is a base class for all models that compute eigenstrains due t...
static InputParameters validParams()
ComputeThermalExpansionEigenstrain computes an eigenstrain for thermal expansion with a constant expa...
virtual ValueAndDerivative< is_ad > computeThermalStrain() override
computeThermalStrain must be overridden in derived classes.
ComputeThermalExpansionEigenstrainTempl(const InputParameters ¶meters)
static InputParameters validParams()