www.mooseframework.org
Classes | Functions
JIntegral.h File Reference

Go to the source code of this file.

Classes

class  JIntegral
 This postprocessor computes the J-Integral. More...
 

Functions

template<>
InputParameters validParams< JIntegral > ()
 

Function Documentation

template<>
InputParameters validParams< JIntegral > ( )

Definition at line 16 of file JIntegral.C.

17 {
18  InputParameters params = validParams<ElementIntegralPostprocessor>();
19  params.addRequiredParam<UserObjectName>("crack_front_definition",
20  "The CrackFrontDefinition user object name");
21  params.addParam<unsigned int>(
22  "crack_front_point_index",
23  "The index of the point on the crack front corresponding to this q function");
24  params.addParam<bool>(
25  "convert_J_to_K", false, "Convert J-integral to stress intensity factor K.");
26  params.addParam<unsigned int>("symmetry_plane",
27  "Account for a symmetry plane passing through "
28  "the plane of the crack, normal to the specified "
29  "axis (0=x, 1=y, 2=z)");
30  params.addParam<Real>("poissons_ratio", "Poisson's ratio");
31  params.addParam<Real>("youngs_modulus", "Young's modulus of the material.");
32  params.set<bool>("use_displaced_mesh") = false;
33  params.addParam<unsigned int>("ring_index", "Ring ID");
34  params.addParam<unsigned int>("ring_first", "First Ring ID");
35  MooseEnum q_function_type("Geometry Topology", "Geometry");
36  params.addParam<MooseEnum>("q_function_type",
37  q_function_type,
38  "The method used to define the integration domain. Options are: " +
39  q_function_type.getRawNames());
40  return params;
41 }