www.mooseframework.org
JIntegral.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 JINTEGRAL_H
8 #define JINTEGRAL_H
9 
10 #include "ElementIntegralPostprocessor.h"
11 #include "CrackFrontDefinition.h"
12 
13 // Forward Declarations
14 class JIntegral;
15 class RankTwoTensor;
16 
17 template <>
18 InputParameters validParams<JIntegral>();
19 
24 class JIntegral : public ElementIntegralPostprocessor
25 {
26 public:
27  JIntegral(const InputParameters & parameters);
28  virtual Real getValue();
29 
30 protected:
31  virtual void initialSetup();
32  virtual Real computeQpIntegral();
33  virtual Real computeIntegral();
36  const unsigned int _crack_front_point_index;
38  const MaterialProperty<RankTwoTensor> & _Eshelby_tensor;
39  const MaterialProperty<RealVectorValue> * _J_thermal_term_vec;
44  unsigned int _ring_index;
45  unsigned int _ring_first;
46  MooseEnum _q_function_type;
47  std::vector<Real> _q_curr_elem;
48  const std::vector<std::vector<Real>> * _phi_curr_elem;
49  const std::vector<std::vector<RealGradient>> * _dphi_curr_elem;
50 };
51 
52 #endif // JINTEGRAL3D_H
virtual Real getValue()
Definition: JIntegral.C:168
virtual void initialSetup()
Definition: JIntegral.C:66
Real _poissons_ratio
Definition: JIntegral.h:42
virtual Real computeIntegral()
Definition: JIntegral.C:129
JIntegral(const InputParameters &parameters)
Definition: JIntegral.C:43
Real _youngs_modulus
Definition: JIntegral.h:43
This postprocessor computes the J-Integral.
Definition: JIntegral.h:24
virtual Real computeQpIntegral()
Definition: JIntegral.C:75
Works on top of NodalNormalsPreprocessor.
const std::vector< std::vector< Real > > * _phi_curr_elem
Definition: JIntegral.h:48
unsigned int _ring_index
Definition: JIntegral.h:44
unsigned int _ring_first
Definition: JIntegral.h:45
const std::vector< std::vector< RealGradient > > * _dphi_curr_elem
Definition: JIntegral.h:49
const CrackFrontDefinition *const _crack_front_definition
Definition: JIntegral.h:34
const unsigned int _crack_front_point_index
Definition: JIntegral.h:36
bool _convert_J_to_K
Definition: JIntegral.h:40
std::vector< Real > _q_curr_elem
Definition: JIntegral.h:47
const MaterialProperty< RankTwoTensor > & _Eshelby_tensor
Definition: JIntegral.h:38
bool _has_symmetry_plane
Definition: JIntegral.h:41
MooseEnum _q_function_type
Definition: JIntegral.h:46
const MaterialProperty< RealVectorValue > * _J_thermal_term_vec
Definition: JIntegral.h:39
bool _treat_as_2d
Definition: JIntegral.h:37
bool _has_crack_front_point_index
Definition: JIntegral.h:35
InputParameters validParams< JIntegral >()
Definition: JIntegral.C:16