www.mooseframework.org
StressDivergenceRZ.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 STRESSDIVERGENCERZ_H
8 #define STRESSDIVERGENCERZ_H
9 
10 #include "Kernel.h"
11 
12 // Forward Declarations
13 class StressDivergenceRZ;
15 class SymmTensor;
16 
17 template <>
18 InputParameters validParams<StressDivergenceRZ>();
19 
20 class StressDivergenceRZ : public Kernel
21 {
22 public:
23  StressDivergenceRZ(const InputParameters & parameters);
24 
25 protected:
26  virtual void computeResidual();
27  virtual void computeJacobian();
28  virtual void computeOffDiagJacobian(unsigned int jvar);
29 
30  virtual Real computeQpResidual();
31 
32  virtual Real computeQpJacobian();
33 
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
35 
36  Real calculateJacobian(unsigned int ivar, unsigned int jvar);
37 
38  const MaterialProperty<SymmTensor> & _stress;
39  const MaterialProperty<SymmElasticityTensor> & _Jacobian_mult;
40  const MaterialProperty<SymmTensor> & _d_stress_dT;
41 
42 private:
43  const unsigned int _component;
44 
45  const bool _rdisp_coupled;
46  const bool _zdisp_coupled;
47  const bool _temp_coupled;
48  const unsigned int _rdisp_var;
49  const unsigned int _zdisp_var;
50  const unsigned int _temp_var;
51  std::vector<std::vector<Real>> _avg_grad_test;
52  std::vector<std::vector<Real>> _avg_grad_phi;
54 };
55 #endif // STRESSDIVERGENCERZ_H
This class defines a basic set of capabilities any elasticity tensor should have. ...
std::vector< std::vector< Real > > _avg_grad_test
const MaterialProperty< SymmTensor > & _d_stress_dT
Real calculateJacobian(unsigned int ivar, unsigned int jvar)
std::vector< std::vector< Real > > _avg_grad_phi
const unsigned int _component
virtual Real computeQpResidual()
virtual void computeResidual()
const MaterialProperty< SymmElasticityTensor > & _Jacobian_mult
virtual void computeJacobian()
virtual void computeOffDiagJacobian(unsigned int jvar)
const MaterialProperty< SymmTensor > & _stress
const unsigned int _temp_var
StressDivergenceRZ(const InputParameters &parameters)
InputParameters validParams< StressDivergenceRZ >()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const unsigned int _zdisp_var
virtual Real computeQpJacobian()
const unsigned int _rdisp_var