www.mooseframework.org
PlasticHeatEnergy.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "Kernel.h"
13 #include "RankTwoTensor.h"
14 
15 // Forward Declarations
16 
21 class PlasticHeatEnergy : public Kernel
22 {
23 public:
25 
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
35 
37  const std::string _base_name;
38 
41 
44 
46  unsigned int _ndisp;
47 
49  std::vector<unsigned int> _disp_var;
50 };
const MaterialProperty< Real > & _plastic_heat
stress * plastic_strain_rate
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const std::string _base_name
optional parameter that allows multiple mechanics models to be defined
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.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _dplastic_heat_dstrain
d(plastic_heat)/d(total_strain)
const InputParameters & parameters() const
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