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

Go to the source code of this file.

Classes

class  MultiDContactConstraint
 A MultiDContactConstraint forces the value of a variable to be the same on both sides of an interface. More...
 

Functions

template<>
InputParameters validParams< MultiDContactConstraint > ()
 

Function Documentation

template<>
InputParameters validParams< MultiDContactConstraint > ( )

Definition at line 19 of file MultiDContactConstraint.C.

20 {
21  InputParameters params = validParams<NodeFaceConstraint>();
22  params.set<bool>("use_displaced_mesh") = true;
23  params.addParam<bool>("jacobian_update",
24  false,
25  "Whether or not to update the 'in contact' list "
26  "every jacobian evaluation (by default it will "
27  "happen once per timestep");
28 
29  params.addRequiredParam<unsigned int>("component",
30  "An integer corresponding to the direction "
31  "the variable this kernel acts in. (0 for x, "
32  "1 for y, 2 for z)");
33  params.addCoupledVar("disp_x", "The x displacement");
34  params.addCoupledVar("disp_y", "The y displacement");
35  params.addCoupledVar("disp_z", "The z displacement");
36 
37  params.addCoupledVar(
38  "displacements",
39  "The displacements appropriate for the simulation geometry and coordinate system");
40 
41  params.addParam<std::string>("model", "frictionless", "The contact model to use");
42  params.addParam<Real>(
43  "penalty",
44  1e8,
45  "The penalty to apply. This can vary depending on the stiffness of your materials");
46 
47  // TODO: Reenable this
48  // params.addParam<std::string>("order", "FIRST", "The finite element order");
49 
50  return params;
51 }