www.mooseframework.org
Functions
NodalRankTwoPD.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PeridynamicsApp", NodalRankTwoPD)
 
template<>
InputParameters validParams< NodalRankTwoPD > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PeridynamicsApp"  ,
NodalRankTwoPD   
)

◆ validParams< NodalRankTwoPD >()

template<>
InputParameters validParams< NodalRankTwoPD > ( )

Definition at line 18 of file NodalRankTwoPD.C.

19 {
20  InputParameters params = validParams<AuxKernelBasePD>();
21  params.addClassDescription(
22  "Class for computing and outputing components and scalar quantities "
23  "of nodal rank two strain and stress tensors for bond-based and ordinary "
24  "state-based peridynamic models");
25 
26  params.addRequiredCoupledVar("displacements", "Nonlinear variable names for the displacements");
27  params.addCoupledVar("temperature", "Nonlinear variable name for the temperature");
28  params.addCoupledVar("scalar_out_of_plane_strain",
29  "Scalar variable for strain in the out-of-plane direction");
30  params.addParam<bool>("plane_stress", false, "Plane stress problem or not");
31  params.addParam<Real>("youngs_modulus", 0.0, "Material constant: Young's modulus");
32  params.addParam<Real>("poissons_ratio", 0.0, "Material constant: Poisson's ratio");
33  params.addParam<Real>(
34  "thermal_expansion_coeff", 0.0, "Value of material thermal expansion coefficient");
35  params.addParam<Real>("stress_free_temperature", 0.0, "Stress free temperature");
36  params.addRequiredParam<std::string>(
37  "rank_two_tensor",
38  "Parameter to set which rank two tensor: total_strain, mechanical_strain or stress");
39  params.addRequiredParam<std::string>("output_type", "Type of output: component or scalar");
40  params.addParam<MooseEnum>(
41  "scalar_type", RankTwoScalarTools::scalarOptions(), "Type of scalar output");
42  params.addParam<unsigned int>(
43  "index_i", 0, "The index i of ij for the tensor to output (0, 1, 2)");
44  params.addParam<unsigned int>(
45  "index_j", 0, "The index j of ij for the tensor to output (0, 1, 2)");
46  params.addParam<Point>("point1",
47  Point(0, 0, 0),
48  "Start point for axis used to calculate some direction dependent material "
49  "tensor scalar quantities");
50  params.addParam<Point>("point2",
51  Point(1, 0, 0),
52  "End point for axis used to calculate some direction dependent material "
53  "tensor scalar quantities");
54 
55  return params;
56 }
validParams< AuxKernelBasePD >
InputParameters validParams< AuxKernelBasePD >()
Definition: AuxKernelBasePD.C:15
RankTwoScalarTools::scalarOptions
MooseEnum scalarOptions()
Definition: RankTwoScalarTools.C:16