www.mooseframework.org
HomogenizedElasticConstants.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 HOMOGENIZEDELASTICCONSTANTS_H
8 #define HOMOGENIZEDELASTICCONSTANTS_H
9 
10 #include "ElementAverageValue.h"
11 
12 // Forward Declarations
14 class ColumnMajorMatrix;
16 class SymmTensor;
17 
18 template <>
20 
24 class HomogenizedElasticConstants : public ElementAverageValue
25 {
26 public:
27  HomogenizedElasticConstants(const InputParameters & parameters);
28 
29  virtual void initialize();
30  virtual void execute();
31  virtual Real getValue();
32  virtual void threadJoin(const UserObject & y);
33 
34 protected:
35  virtual Real computeQpIntegral();
36 
37 private:
38  const VariableGradient & _grad_disp_x_xx;
39  const VariableGradient & _grad_disp_y_xx;
40  const VariableGradient & _grad_disp_z_xx;
41 
42  const VariableGradient & _grad_disp_x_yy;
43  const VariableGradient & _grad_disp_y_yy;
44  const VariableGradient & _grad_disp_z_yy;
45 
46  const VariableGradient & _grad_disp_x_zz;
47  const VariableGradient & _grad_disp_y_zz;
48  const VariableGradient & _grad_disp_z_zz;
49 
50  const VariableGradient & _grad_disp_x_xy;
51  const VariableGradient & _grad_disp_y_xy;
52  const VariableGradient & _grad_disp_z_xy;
53 
54  const VariableGradient & _grad_disp_x_yz;
55  const VariableGradient & _grad_disp_y_yz;
56  const VariableGradient & _grad_disp_z_yz;
57 
58  const VariableGradient & _grad_disp_x_zx;
59  const VariableGradient & _grad_disp_y_zx;
60  const VariableGradient & _grad_disp_z_zx;
61 
62  const MaterialProperty<SymmElasticityTensor> & _elasticity_tensor;
63  const unsigned int _column, _row;
64  unsigned _I, _J;
65  unsigned _l, _k;
66  unsigned _i, _j;
67  Real _volume;
69 };
70 
71 #endif // HOMOGENIZEDELASTICCONSTANTS_H
This class defines a basic set of capabilities any elasticity tensor should have. ...
const VariableGradient & _grad_disp_z_yy
const VariableGradient & _grad_disp_y_yy
const VariableGradient & _grad_disp_z_zz
const VariableGradient & _grad_disp_x_yz
const VariableGradient & _grad_disp_z_zx
const VariableGradient & _grad_disp_z_yz
const VariableGradient & _grad_disp_y_yz
InputParameters validParams< HomogenizedElasticConstants >()
const VariableGradient & _grad_disp_y_zz
const VariableGradient & _grad_disp_x_xy
const VariableGradient & _grad_disp_y_xx
const MaterialProperty< SymmElasticityTensor > & _elasticity_tensor
const VariableGradient & _grad_disp_z_xy
const VariableGradient & _grad_disp_y_zx
const VariableGradient & _grad_disp_x_yy
const VariableGradient & _grad_disp_x_zx
const VariableGradient & _grad_disp_z_xx
const VariableGradient & _grad_disp_x_zz
const VariableGradient & _grad_disp_y_xy
This postprocessor computes the average grain area in a polycrystal.
HomogenizedElasticConstants(const InputParameters &parameters)
virtual void threadJoin(const UserObject &y)
const VariableGradient & _grad_disp_x_xx