www.mooseframework.org
PlasticHeatEnergy.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 PLASTICHEATENERGY_H
8 #define PLASTICHEATENERGY_H
9 
10 #include "Kernel.h"
11 #include "RankTwoTensor.h"
12 
13 // Forward Declarations
14 class PlasticHeatEnergy;
15 
16 template <>
17 InputParameters validParams<PlasticHeatEnergy>();
18 
23 class PlasticHeatEnergy : public Kernel
24 {
25 public:
26  PlasticHeatEnergy(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
34  Real _coeff;
35 
37  std::string _base_name;
38 
40  const MaterialProperty<Real> & _plastic_heat;
41 
43  const MaterialProperty<RankTwoTensor> & _dplastic_heat_dstrain;
44 
46  unsigned int _ndisp;
47 
49  std::vector<unsigned int> _disp_var;
50 };
51 
52 #endif // PLASTICHEATENERGY_H
const MaterialProperty< Real > & _plastic_heat
stress * plastic_strain_rate
std::string _base_name
optional parameter that allows multiple mechanics models to be defined
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual Real computeQpResidual() override
Real _coeff
coefficient of stress * plastic_strain_rate
PlasticHeatEnergy(const InputParameters &parameters)
Provides a heat source from plastic deformation: coeff * stress * plastic_strain_rate.
const MaterialProperty< RankTwoTensor > & _dplastic_heat_dstrain
d(plastic_heat)/d(total_strain)
InputParameters validParams< PlasticHeatEnergy >()
unsigned int _ndisp
umber of coupled displacement variables
std::vector< unsigned int > _disp_var
MOOSE variable number for the displacement variables.
virtual Real computeQpJacobian() override