www.mooseframework.org
Functions
SlaveConstraint.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< SlaveConstraint > ()
 

Function Documentation

template<>
InputParameters validParams< SlaveConstraint > ( )

Definition at line 20 of file SlaveConstraint.C.

21 {
22  MooseEnum orders("CONSTANT FIRST SECOND THIRD FOURTH", "FIRST");
23 
24  InputParameters params = validParams<DiracKernel>();
25  params.addRequiredParam<BoundaryName>("boundary", "The slave boundary");
26  params.addRequiredParam<BoundaryName>("master", "The master boundary");
27  params.addRequiredParam<unsigned int>("component",
28  "An integer corresponding to the direction "
29  "the variable this kernel acts in. (0 for x, "
30  "1 for y, 2 for z)");
31 
32  params.addCoupledVar("disp_x", "The x displacement");
33  params.addCoupledVar("disp_y", "The y displacement");
34  params.addCoupledVar("disp_z", "The z displacement");
35 
36  params.addCoupledVar(
37  "displacements",
38  "The displacements appropriate for the simulation geometry and coordinate system");
39 
40  params.addRequiredCoupledVar("nodal_area", "The nodal area");
41  params.addParam<std::string>("model", "frictionless", "The contact model to use");
42 
43  params.set<bool>("use_displaced_mesh") = true;
44  params.addParam<Real>(
45  "penalty",
46  1e8,
47  "The penalty to apply. This can vary depending on the stiffness of your materials");
48  params.addParam<Real>("friction_coefficient", 0, "The friction coefficient");
49  params.addParam<Real>("tangential_tolerance",
50  "Tangential distance to extend edges of contact surfaces");
51  params.addParam<Real>(
52  "normal_smoothing_distance",
53  "Distance from edge in parametric coordinates over which to smooth contact normal");
54  params.addParam<std::string>("normal_smoothing_method",
55  "Method to use to smooth normals (edge_based|nodal_normal_based)");
56  params.addParam<MooseEnum>("order", orders, "The finite element order");
57  params.addParam<std::string>("formulation", "default", "The contact formulation");
58  params.addParam<bool>(
59  "normalize_penalty",
60  false,
61  "Whether to normalize the penalty parameter with the nodal area for penalty contact.");
62  return params;
63 }