24 _elasticity_tensor_name(_base_name +
"elasticity_tensor"),
25 _elasticity_tensor(getMaterialPropertyByName<
RankFourTensor>(_elasticity_tensor_name))
36 if (hasBlockMaterialProperty<RankTwoTensor>(
_base_name +
"strain_increment") &&
37 !hasBlockMaterialProperty<RankTwoTensor>(
_base_name +
"unstabilized_deformation_gradient"))
38 mooseError(
"This linear elastic stress calculation only works for small strains; use "
39 "ComputeFiniteStrainElasticStress for simulations using incremental and finite "
registerMooseObject("SolidMechanicsApp", ComputeLinearElasticStress)
void mooseError(Args &&... args)
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
ComputeLinearElasticStress computes the stress following linear elasticity theory (small strains)
static InputParameters validParams()
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
virtual void initialSetup() override
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point.
ComputeLinearElasticStress(const InputParameters ¶meters)
ComputeStressBase is the base class for stress tensors computed from MOOSE's strain calculators.
static InputParameters validParams()