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

Go to the source code of this file.

Classes

class  DisplacementAboutAxis
 Implements a boundary condition that enforces rotational displacement around an axis on a boundary. More...
 

Functions

template<>
InputParameters validParams< DisplacementAboutAxis > ()
 
void addDisplacementAboutAxisParams (InputParameters &params)
 

Function Documentation

void addDisplacementAboutAxisParams ( InputParameters &  params)

Definition at line 23 of file DisplacementAboutAxis.C.

Referenced by validParams< DisplacementAboutAxis >().

24 {
25  MooseEnum units("degrees radians");
26  params.addRequiredParam<FunctionName>("function",
27  "The function providing the angle of rotation.");
28  params.addRequiredParam<MooseEnum>("angle_units",
29  units,
30  "The units of the angle of rotation. Choices are:" +
31  units.getRawNames());
32  params.addRequiredParam<RealVectorValue>("axis_origin", "Origin of the axis of rotation");
33  params.addRequiredParam<RealVectorValue>("axis_direction", "Direction of the axis of rotation");
34 }
template<>
InputParameters validParams< DisplacementAboutAxis > ( )

Definition at line 13 of file DisplacementAboutAxis.C.

14 {
15  InputParameters params = validParams<PresetNodalBC>();
17  params.addRequiredParam<int>("component", "The component for the rotational displacement");
18  params.set<bool>("use_displaced_mesh") = true;
19  return params;
20 }
void addDisplacementAboutAxisParams(InputParameters &params)