Go to the documentation of this file.
20 params.addClassDescription(
"Compute stress using elasticity for small strains");
26 _elasticity_tensor_name(_base_name +
"elasticity_tensor"),
27 _elasticity_tensor(getMaterialPropertyByName<
RankFourTensor>(_elasticity_tensor_name))
34 if (hasBlockMaterialProperty<RankTwoTensor>(
_base_name +
"strain_increment"))
35 mooseError(
"This linear elastic stress calculation only works for small strains; use "
36 "ComputeFiniteStrainElasticStress for simulations using incremental and finite "
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
ComputeStressBase is the base class for stress tensors.
static InputParameters validParams()
ComputeLinearElasticStress computes the stress following linear elasticity theory (small strains)
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point.
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
ComputeLinearElasticStress(const InputParameters ¶meters)
virtual void initialSetup() override
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
defineLegacyParams(ComputeLinearElasticStress)
registerMooseObject("TensorMechanicsApp", ComputeLinearElasticStress)