www.mooseframework.org
InteractionIntegralBenchmarkBC.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 
8 #ifndef INTERACTIONINTEGRALBENCHMARKBC_H
9 #define INTERACTIONINTEGRALBENCHMARKBC_H
10 
11 #include "PresetNodalBC.h"
12 #include "CrackFrontDefinition.h"
13 
14 // Forward Declarations
16 class Function;
17 
18 template <>
20 void addInteractionIntegralBenchmarkBCParams(InputParameters & params);
21 
27 class InteractionIntegralBenchmarkBC : public PresetNodalBC
28 {
29 public:
30  InteractionIntegralBenchmarkBC(const InputParameters & parameters);
31 
32 protected:
36  virtual Real computeQpValue();
37 
38  const int _component;
40  const unsigned int _crack_front_point_index;
41 
42  Real _r;
43  Real _theta;
44  const Real _poissons_ratio;
45  const Real _youngs_modulus;
46  Real _kappa;
47  Real _mu;
48  Function & _ki_function;
49  Function & _kii_function;
50  Function & _kiii_function;
51 };
52 
53 #endif // INTERACTIONINTEGRALBENCHMARKBC_H
const CrackFrontDefinition * _crack_front_definition
virtual Real computeQpValue()
Evaluate the function at the current quadrature point and timestep.
void addInteractionIntegralBenchmarkBCParams(InputParameters &params)
Works on top of NodalNormalsPreprocessor.
InputParameters validParams< InteractionIntegralBenchmarkBC >()
Implements a boundary condition that enforces a displacement field around a crack tip based on applie...
InteractionIntegralBenchmarkBC(const InputParameters &parameters)