www.mooseframework.org
Functions
DashpotBC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< DashpotBC > ()
 

Function Documentation

template<>
InputParameters validParams< DashpotBC > ( )

Definition at line 12 of file DashpotBC.C.

13 {
14  InputParameters params = validParams<IntegratedBC>();
15  params.addRequiredParam<unsigned int>(
16  "component", "The displacement component corresponding the variable this BC acts on.");
17  params.addRequiredCoupledVar("disp_x", "Displacement in the x direction");
18  params.addCoupledVar("disp_y", "Displacement in the y direction");
19  params.addCoupledVar("disp_z", "Displacement in the z direction");
20 
21  params.addParam<Real>("coefficient", 1.0, "The viscosity coefficient");
22 
23  return params;
24 }