www.mooseframework.org
ComputePlasticHeatEnergy.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef COMPUTEPLASTICHEATENERGY_H
8 #define COMPUTEPLASTICHEATENERGY_H
9 
10 #include "DerivativeMaterialInterface.h"
11 #include "Material.h"
12 #include "RankTwoTensor.h"
13 #include "RankFourTensor.h"
14 
19 class ComputePlasticHeatEnergy : public DerivativeMaterialInterface<Material>
20 {
21 public:
22  ComputePlasticHeatEnergy(const InputParameters & parameters);
23 
24 protected:
25  virtual void computeQpProperties() override;
26 
28  std::string _base_name;
29 
31  const MaterialProperty<RankTwoTensor> & _plastic_strain;
32 
34  const MaterialProperty<RankTwoTensor> & _plastic_strain_old;
35 
37  const MaterialProperty<RankTwoTensor> & _stress;
38 
40  const MaterialProperty<RankFourTensor> & _Jacobian_mult;
41 
43  const MaterialProperty<RankFourTensor> & _elasticity_tensor;
44 
46  MaterialProperty<Real> & _plastic_heat;
47 
49  MaterialProperty<RankTwoTensor> & _dplastic_heat_dstrain;
50 };
51 
52 #endif // COMPUTEPLASTICHEATENERGY_H
const MaterialProperty< RankFourTensor > & _Jacobian_mult
d(stress)/d(total strain)
ComputePlasticHeatEnergy(const InputParameters &parameters)
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
std::string _base_name
optional parameter that allows multiple mechanics materials to be defined
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.
MaterialProperty< RankTwoTensor > & _dplastic_heat_dstrain
d(plastic_heat)/d(total strain)