19 params.
addParam<std::vector<MaterialPropertyName>>(
20 "inelastic_strain_names", {},
"Names of inelastic strain properties");
28 _elasticity_tensor_name(_base_name +
"elasticity_tensor"),
29 _elasticity_tensor(getADMaterialPropertyByName<
RankFourTensor>(_elasticity_tensor_name)),
30 _stress_old(getMaterialPropertyOld<
RankTwoTensor>(_base_name +
"stress")),
31 _mechanical_strain_old(
32 getMaterialPropertyOldByName<
RankTwoTensor>(_base_name +
"mechanical_strain")),
33 _inelastic_strain_names(getParam<
std::vector<MaterialPropertyName>>(
"inelastic_strain_names"))
std::vector< const ADMaterialProperty< RankTwoTensor > * > _inelastic_strains
Vectors of current and old states of the inelastic strain material properties
virtual void computeQpStress()
const ADMaterialProperty< R2 > & _mechanical_strain
ADMaterialProperty< R2 > & _stress
The stress tensor to be calculated.
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.
const ADMaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
registerMooseObject("SolidMechanicsApp", ADComputeStrainIncrementBasedStress)
static InputParameters validParams()
ADComputeStrainIncrementBasedStress computes stress considering list of inelastic strain increments...
static InputParameters validParams()
ADComputeStrainIncrementBasedStress(const InputParameters ¶meters)
const MaterialProperty< RankTwoTensor > & _stress_old
Old state of the stress tensor material property.
ADComputeStressBaseTempl is the base class for stress tensors.
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains_old
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
Old state of the mechanical strain material property.