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"))
registerMooseObject("SolidMechanicsApp", ComputePlasticHeatEnergy)
FEProblemBase & _fe_problem
const MaterialProperty< RankFourTensor > & _Jacobian_mult
d(stress)/d(total strain)
ComputePlasticHeatEnergy(const InputParameters ¶meters)
const MaterialProperty< RankTwoTensor > & _stress
stress
const MaterialProperty< RankFourTensor > & _elasticity_tensor
elasticity tensor
const MaterialProperty< RankTwoTensor > & _plastic_strain
plastic strain
const MaterialProperty< RankTwoTensor > & _plastic_strain_old
old value of plastic strain
static InputParameters validParams()
MaterialProperty< Real > & _plastic_heat
computed property: stress * (plastic_strain - plastic_strain_old) / dt
virtual void computeQpProperties() override
ComputePlasticHeatEnergy computes stress * (plastic_strain - plastic_strain_old) and, if currentlyComputingJacobian, then the derivative of this quantity wrt total strain.
static InputParameters validParams()
MaterialProperty< RankTwoTensor > & _dplastic_heat_dstrain
d(plastic_heat)/d(total strain)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool & currentlyComputingJacobian() const