www.mooseframework.org
Functions
InteractionIntegralSM.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("SolidMechanicsApp", InteractionIntegralSM)
 
template<>
InputParameters validParams< InteractionIntegralSM > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "SolidMechanicsApp"  ,
InteractionIntegralSM   
)

◆ validParams< InteractionIntegralSM >()

template<>
InputParameters validParams< InteractionIntegralSM > ( )

Definition at line 35 of file InteractionIntegralSM.C.

36 {
37  InputParameters params = validParams<ElementIntegralPostprocessor>();
38  params.addRequiredCoupledVar(
39  "displacements",
40  "The displacements appropriate for the simulation geometry and coordinate system");
41  params.addCoupledVar("temperature",
42  "The temperature (optional). Must be provided to correctly compute "
43  "stress intensity factors in models with thermal strain gradients.");
44  params.addRequiredParam<UserObjectName>("crack_front_definition",
45  "The CrackFrontDefinition user object name");
46  params.addParam<unsigned int>(
47  "crack_front_point_index",
48  "The index of the point on the crack front corresponding to this q function");
49  params.addParam<Real>(
50  "K_factor", "Conversion factor between interaction integral and stress intensity factor K");
51  params.addParam<unsigned int>("symmetry_plane",
52  "Account for a symmetry plane passing through "
53  "the plane of the crack, normal to the specified "
54  "axis (0=x, 1=y, 2=z)");
55  params.addParam<Real>("poissons_ratio", "Poisson's ratio for the material.");
56  params.addParam<Real>("youngs_modulus", "Young's modulus of the material.");
57  params.set<bool>("use_displaced_mesh") = false;
58  params.addParam<unsigned int>("ring_first",
59  "The first ring of elements for volume integral domain");
60  params.addParam<unsigned int>("ring_index", "Ring ID");
61  params.addParam<MooseEnum>("q_function_type",
63  "The method used to define the integration domain. Options are: " +
64  InteractionIntegralSM::qFunctionType().getRawNames());
65  params.addRequiredParam<MooseEnum>("sif_mode",
67  "Stress intensity factor to calculate. Choices are: " +
68  InteractionIntegralSM::sifModeType().getRawNames());
69 
70  return params;
71 }
InteractionIntegralSM::sifModeType
static MooseEnum sifModeType()
Definition: InteractionIntegralSM.C:26
InteractionIntegralSM::qFunctionType
static MooseEnum qFunctionType()
Definition: InteractionIntegralSM.C:20