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(getMaterialPropertyByName<
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"))
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...
ComputeStrainIncrementBasedStress computes stress considering list of inelastic strain increments...
const MaterialProperty< RankTwoTensor > & _mechanical_strain
Mechanical strain material property.
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _stress_old
Old state of the stress tensor material property.
const MaterialProperty< RankTwoTensor > & _mechanical_strain_old
Old state of the mechanical strain material property.
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains
Vectors of current and old states of the inelastic strain material properties.
unsigned int _num_inelastic_strain_models
Number of inelastic models.
virtual void computeQpStress()
Compute the stress and store it in the _stress material property for the current quadrature point...
ComputeStrainIncrementBasedStress(const InputParameters ¶meters)
static InputParameters validParams()
std::vector< MaterialPropertyName > _inelastic_strain_names
Names of the inelastic strain material properties for all inelastic models.
std::vector< const MaterialProperty< RankTwoTensor > * > _inelastic_strains_old
const MaterialProperty< RankFourTensor > & _elasticity_tensor
Elasticity tensor material property.
virtual void computeQpJacobian()
MaterialProperty< RankTwoTensor > & _stress
Stress material property.
registerMooseObject("SolidMechanicsApp", ComputeStrainIncrementBasedStress)