19 params.
addParam<
Real>(
"thermal_expansion_coeff", 0.0,
"Thermal expansion coefficient in 1/K");
20 params.
addParam<
Real>(
"temperature_ref", 273,
"Reference temperature for thermal expansion in K");
21 params.
addCoupledVar(
"temperature", 273,
"Temperature in Kelvin");
27 _T(coupledValue(
"temperature")),
28 _T0(getParam<
Real>(
"temperature_ref")),
29 _thermal_expansion_coeff(getParam<
Real>(
"thermal_expansion_coeff"))
static InputParameters validParams()
LinearElasticTruss(const InputParameters ¶meters)
registerMooseObject("SolidMechanicsApp", LinearElasticTruss)
Real _thermal_expansion_coeff
MaterialProperty< Real > & _total_stretch
virtual void computeQpStrain()
const VariableValue & _youngs_modulus
MaterialProperty< Real > & _elastic_stretch
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _axial_stress
virtual void computeQpStress()