www.mooseframework.org
Functions
SolidMechanicsAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SolidMechanicsAction > ()
 

Function Documentation

template<>
InputParameters validParams< SolidMechanicsAction > ( )

Definition at line 16 of file SolidMechanicsAction.C.

17 {
18  InputParameters params = validParams<Action>();
19  MooseEnum elemType("truss undefined", "undefined");
20  params.addParam<MooseEnum>("type", elemType, "The element type: " + elemType.getRawNames());
21  params.addParam<NonlinearVariableName>("disp_x", "", "The x displacement");
22  params.addParam<NonlinearVariableName>("disp_y", "", "The y displacement");
23  params.addParam<NonlinearVariableName>("disp_z", "", "The z displacement");
24  params.addParam<NonlinearVariableName>("disp_r", "", "The r displacement");
25  params.addParam<NonlinearVariableName>("temp", "", "The temperature");
26  params.addParam<Real>("zeta", 0.0, "Stiffness dependent damping parameter for Rayleigh damping");
27  params.addParam<Real>("alpha", 0.0, "alpha parameter for HHT time integration");
28  params.addParam<std::string>(
29  "appended_property_name", "", "Name appended to material properties to make them unique");
30  params.set<bool>("use_displaced_mesh") = true;
31  params.addParam<std::vector<SubdomainName>>(
32  "block", "The list of ids of the blocks (subdomain) that these kernels will be applied to");
33  params.addParam<bool>("volumetric_locking_correction",
34  true,
35  "Set to false to turn off volumetric locking correction");
36 
37  params.addParam<std::vector<AuxVariableName>>(
38  "save_in_disp_x", "Auxiliary variables to save the x displacement residuals.");
39  params.addParam<std::vector<AuxVariableName>>(
40  "save_in_disp_y", "Auxiliary variables to save the y displacement residuals.");
41  params.addParam<std::vector<AuxVariableName>>(
42  "save_in_disp_z", "Auxiliary variables to save the z displacement residuals.");
43  params.addParam<std::vector<AuxVariableName>>(
44  "save_in_disp_r", "Auxiliary variables to save the r displacement residuals.");
45  params.addParam<std::vector<AuxVariableName>>(
46  "diag_save_in_disp_x",
47  "Auxiliary variables to save the x displacement diagonal preconditioner terms.");
48  params.addParam<std::vector<AuxVariableName>>(
49  "diag_save_in_disp_y",
50  "Auxiliary variables to save the y displacement diagonal preconditioner terms.");
51  params.addParam<std::vector<AuxVariableName>>(
52  "diag_save_in_disp_z",
53  "Auxiliary variables to save the z displacement diagonal preconditioner terms.");
54  params.addParam<std::vector<AuxVariableName>>(
55  "diag_save_in_disp_r",
56  "Auxiliary variables to save the r displacement diagonal preconditioner terms.");
57  return params;
58 }