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