Classes | Functions
PenetrationAux.h File Reference

Go to the source code of this file.


class  PenetrationAux


InputParameters validParams< PenetrationAux > ()

Function Documentation

Definition at line 28 of file PenetrationAux.C.

29 {
30  MooseEnum orders("FIRST SECOND THIRD FOURTH", "FIRST");
33  params.addClassDescription("Auxililary Kernel for computing several geometry related quantities "
34  "between two contacting bodies.");
36  params.addRequiredParam<BoundaryName>("paired_boundary", "The boundary to be penetrated");
37  params.addParam<Real>("tangential_tolerance",
38  "Tangential distance to extend edges of contact surfaces");
39  params.addParam<Real>(
40  "normal_smoothing_distance",
41  "Distance from edge in parametric coordinates over which to smooth contact normal");
42  params.addParam<std::string>("normal_smoothing_method",
43  "Method to use to smooth normals (edge_based|nodal_normal_based)");
44  params.addParam<MooseEnum>("order", orders, "The finite element order");
46  params.set<bool>("use_displaced_mesh") = true;
48  // To avoid creating a conversion routine we will list the enumeration options in the same order
49  // as the class-based enum.
50  // Care must be taken to ensure that this list stays in sync with the enum in the .h file.
51  MooseEnum quantity(
52  "distance tangential_distance normal_x normal_y normal_z closest_point_x closest_point_y "
53  "closest_point_z element_id side incremental_slip_magnitude incremental_slip_x "
54  "incremental_slip_y incremental_slip_z accumulated_slip force_x force_y force_z "
55  "normal_force_magnitude normal_force_x normal_force_y normal_force_z "
56  "tangential_force_magnitude "
57  "tangential_force_x tangential_force_y tangential_force_z frictional_energy "
58  "lagrange_multiplier "
59  "mechanical_status",
60  "distance");
62  params.addParam<MooseEnum>(
63  "quantity", quantity, "The quantity to recover from the available penetration information");
64  return params;
65 }
T & set(const std::string &name, bool quiet_mode=false)
Returns a writable reference to the named parameters.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< AuxKernel >()
Definition: AuxKernel.C:30
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump...
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...