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

Go to the source code of this file.

Classes

class  SlaveConstraint
 

Functions

template<>
InputParameters validParams< SlaveConstraint > ()
 

Function Documentation

◆ validParams< SlaveConstraint >()

template<>
InputParameters validParams< SlaveConstraint > ( )

Definition at line 25 of file SlaveConstraint.C.

26 {
27  InputParameters params = validParams<DiracKernel>();
29 
30  params.addRequiredParam<BoundaryName>("boundary", "The slave boundary");
31  params.addRequiredParam<BoundaryName>("master", "The master boundary");
32  params.addRequiredParam<unsigned int>("component",
33  "An integer corresponding to the direction "
34  "the variable this kernel acts in. (0 for x, "
35  "1 for y, 2 for z)");
36 
37  params.addCoupledVar("disp_x", "The x displacement");
38  params.addCoupledVar("disp_y", "The y displacement");
39  params.addCoupledVar("disp_z", "The z displacement");
40 
41  params.addCoupledVar(
42  "displacements",
43  "The displacements appropriate for the simulation geometry and coordinate system");
44 
45  params.addRequiredCoupledVar("nodal_area", "The nodal area");
46 
47  params.set<bool>("use_displaced_mesh") = true;
48  params.addParam<Real>(
49  "penalty",
50  1e8,
51  "The penalty to apply. This can vary depending on the stiffness of your materials");
52  params.addParam<Real>("friction_coefficient", 0, "The friction coefficient");
53  params.addParam<Real>("tangential_tolerance",
54  "Tangential distance to extend edges of contact surfaces");
55  params.addParam<bool>(
56  "normalize_penalty",
57  false,
58  "Whether to normalize the penalty parameter with the nodal area for penalty contact.");
59  return params;
60 }
ContactAction::commonParameters
static InputParameters commonParameters()
Definition: ContactAction.C:441