18 params.
addParam<std::string>(
"base_name",
19 "Optional parameter that allows the user to define "
20 "multiple mechanics material systems on the same "
21 "block, i.e. for multiple phases");
28 _base_name(isParamValid(
"base_name") ? getParam<
std::string>(
"base_name") +
"_" :
""),
29 _plastic_strain(getMaterialProperty<
RankTwoTensor>(
"plastic_strain")),
30 _plastic_strain_old(getMaterialPropertyOld<
RankTwoTensor>(
"plastic_strain")),
31 _stress(getMaterialProperty<
RankTwoTensor>(_base_name +
"stress")),
32 _Jacobian_mult(getMaterialProperty<
RankFourTensor>(_base_name +
"Jacobian_mult")),
33 _elasticity_tensor(getMaterialProperty<
RankFourTensor>(_base_name +
"elasticity_tensor")),
34 _plastic_heat(declareProperty<Real>(_base_name +
"plastic_heat")),
35 _dplastic_heat_dstrain(declareProperty<
RankTwoTensor>(_base_name +
"dplastic_heat_dstrain"))
44 if (_fe_problem.currentlyComputingJacobian())
registerMooseObject("SolidMechanicsApp", ComputePlasticHeatEnergy)
ComputePlasticHeatEnergy computes stress * (plastic_strain - plastic_strain_old) and,...
virtual void computeQpProperties() override
const MaterialProperty< RankTwoTensor > & _plastic_strain
plastic strain
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _dplastic_heat_dstrain
d(plastic_heat)/d(total strain)
const MaterialProperty< RankFourTensor > & _Jacobian_mult
d(stress)/d(total strain)
const MaterialProperty< RankTwoTensor > & _plastic_strain_old
old value of plastic strain
MaterialProperty< Real > & _plastic_heat
computed property: stress * (plastic_strain - plastic_strain_old) / dt
const MaterialProperty< RankFourTensor > & _elasticity_tensor
elasticity tensor
ComputePlasticHeatEnergy(const InputParameters ¶meters)
const MaterialProperty< RankTwoTensor > & _stress
stress
static InputParameters validParams()