Go to the documentation of this file.
20 params.addClassDescription(
"Computes the linear elastic strain for a truss element");
21 params.addParam<Real>(
"thermal_expansion_coeff", 0.0,
"Thermal expansion coefficient in 1/K");
22 params.addParam<Real>(
"temperature_ref", 273,
"Reference temperature for thermal expansion in K");
23 params.addCoupledVar(
"temperature", 273,
"Temperature in Kelvin");
29 _T(coupledValue(
"temperature")),
30 _T0(getParam<Real>(
"temperature_ref")),
31 _thermal_expansion_coeff(getParam<Real>(
"thermal_expansion_coeff"))
registerMooseObject("TensorMechanicsApp", LinearElasticTruss)
virtual void computeQpStrain()
static InputParameters validParams()
virtual void computeQpStress()
LinearElasticTruss(const InputParameters ¶meters)
Real _thermal_expansion_coeff
MaterialProperty< Real > & _total_stretch
static InputParameters validParams()
const VariableValue & _youngs_modulus
MaterialProperty< Real > & _axial_stress
MaterialProperty< Real > & _elastic_stretch
defineLegacyParams(LinearElasticTruss)