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

Go to the source code of this file.

Classes

class  TensorMechanicsActionBase
 

Functions

template<>
InputParameters validParams< TensorMechanicsActionBase > ()
 

Function Documentation

template<>
InputParameters validParams< TensorMechanicsActionBase > ( )

Definition at line 36 of file TensorMechanicsActionBase.C.

Referenced by validParams< CommonTensorMechanicsAction >(), and validParams< TensorMechanicsAction >().

37 {
38  InputParameters params = validParams<Action>();
39 
40  params.addRequiredParam<std::vector<NonlinearVariableName>>(
41  "displacements", "The nonlinear displacement variables for the problem");
42  params.addParam<NonlinearVariableName>("temperature", "The temperature");
43 
44  MooseEnum strainType("SMALL FINITE", "SMALL");
45  params.addParam<MooseEnum>("strain", strainType, "Strain formulation");
46  params.addParam<bool>("incremental", "Use incremental or total strain");
47 
48  params.addParam<std::string>("base_name", "Material property base name");
49  params.addParam<bool>(
50  "volumetric_locking_correction", false, "Flag to correct volumetric locking");
51  params.addParam<bool>(
52  "use_finite_deform_jacobian", false, "Jacobian for corrotational finite strain");
53  params.addParam<bool>(
54  "use_displaced_mesh", false, "Whether to use displaced mesh in the kernels");
55  params.addParam<bool>("add_variables", false, "Add the displacement variables");
56  params.addParam<std::vector<MaterialPropertyName>>(
57  "eigenstrain_names", "List of eigenstrains to be applied in this strain calculation");
58 
59  // Advanced
60  params.addParam<std::vector<AuxVariableName>>("save_in", "The displacement residuals");
61  params.addParam<std::vector<AuxVariableName>>("diag_save_in",
62  "The displacement diagonal preconditioner terms");
63  params.addParam<MooseEnum>("decomposition_method",
65  "Methods to calculate the finite strain and rotation increments");
66  params.addParamNamesToGroup("save_in diag_save_in", "Advanced");
67 
68  // Planar Formulation
69  MooseEnum planarFormulationType("NONE PLANE_STRAIN GENERALIZED_PLANE_STRAIN",
70  "NONE"); // PLANE_STRESS
71  params.addParam<MooseEnum>(
72  "planar_formulation", planarFormulationType, "Out-of-plane stress/strain formulation");
73  params.addParam<NonlinearVariableName>("scalar_out_of_plane_strain",
74  "Scalar variable for the out-of-plane strain (in y "
75  "direction for 1D Axisymmetric or in z direction for 2D "
76  "Cartesian problems)");
77  params.addParam<FunctionName>("out_of_plane_pressure",
78  "0",
79  "Function used to prescribe pressure in the out-of-plane direction "
80  "(y for 1D Axisymmetric or z for 2D Cartesian problems)");
81  params.addParam<Real>("pressure_factor", 1.0, "Scale factor applied to prescribed pressure");
82  params.addParamNamesToGroup(
83  "planar_formulation scalar_out_of_plane_strain out_of_plane_pressure pressure_factor",
84  "Out-of-plane stress/strain");
85 
86  // Output
87  params.addParam<MultiMooseEnum>("generate_output",
89  "Add scalar quantity output for stress and/or strain");
90  params.addParamNamesToGroup("generate_output", "Output");
91 
92  return params;
93 }
static MultiMooseEnum outputPropertiesType()
static MooseEnum decompositionType()