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 "
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
ComputeStressBase is the base class for stress tensors computed from MOOSE's strain calculators...
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
static InputParameters validParams()
registerMooseObject("SolidMechanicsApp", ComputeLinearElasticStress)
virtual void initialSetup() override
ComputeLinearElasticStress(const InputParameters ¶meters)
virtual void computeQpStress() override
Compute the stress and store it in the _stress material property for the current quadrature point...
const std::string _base_name
Base name prepended to all material property names to allow for multi-material systems.
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _elastic_strain
Elastic strain material property.
void mooseError(Args &&... args) const
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
ComputeLinearElasticStress computes the stress following linear elasticity theory (small strains) ...