Go to the documentation of this file.
20 params.addClassDescription(
"Compute stress after subtracting inelastic strain increments");
21 params.addParam<std::vector<MaterialPropertyName>>(
"inelastic_strain_names",
22 "Names of inelastic strain properties");
28 const InputParameters & parameters)
30 _elasticity_tensor_name(_base_name +
"elasticity_tensor"),
31 _elasticity_tensor(getMaterialPropertyByName<
RankFourTensor>(_elasticity_tensor_name)),
32 _stress_old(getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"stress")),
33 _mechanical_strain(getMaterialPropertyByName<
RankTwoTensor>(_base_name +
"mechanical_strain")),
34 _mechanical_strain_old(
35 getMaterialPropertyOldByName<
RankTwoTensor>(_base_name +
"mechanical_strain")),
36 _inelastic_strain_names(getParam<std::vector<MaterialPropertyName>>(
"inelastic_strain_names"))
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains
Vectors of current and old states of the inelastic strain material properties.
virtual void computeQpJacobian()
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
ComputeStrainIncrementBasedStress computes stress considering list of inelastic strain increments.
MaterialProperty< RankFourTensor > & _Jacobian_mult
derivative of stress w.r.t. strain (_dstress_dstrain)
unsigned int _num_inelastic_strain_models
Number of inelastic models.
std::vector< MaterialPropertyName > _inelastic_strain_names
Names of the inelastic strain material properties for all inelastic models.
ComputeStressBase is the base class for stress tensors.
static InputParameters validParams()
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains_old
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
ComputeStrainIncrementBasedStress(const InputParameters ¶meters)
defineLegacyParams(ComputeStrainIncrementBasedStress)
virtual void computeQpStress()
Compute the stress and store it in the _stress material property for the current quadrature point.
const MaterialProperty< RankTwoTensor > & _stress_old
Old state of the stress tensor material property.
registerMooseObject("TensorMechanicsApp", ComputeStrainIncrementBasedStress)
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Current and old states of the mechanical strain material property.