www.mooseframework.org
Functions
DisplacementAboutAxis.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("SolidMechanicsApp", DisplacementAboutAxis)
 
void addDisplacementAboutAxisParams (InputParameters &params)
 

Function Documentation

◆ addDisplacementAboutAxisParams()

void addDisplacementAboutAxisParams ( InputParameters params)

Definition at line 29 of file DisplacementAboutAxis.C.

Referenced by DisplacementAboutAxis::validParams().

30 {
31  MooseEnum units("degrees radians");
32  params.addRequiredParam<FunctionName>(
33  "function", "The function providing the total angle of rotation or the angular velocity.");
34  params.addRequiredParam<MooseEnum>("angle_units",
35  units,
36  "The units of the angle of rotation. Choices are:" +
37  units.getRawNames());
38  params.addRequiredParam<RealVectorValue>("axis_origin", "Origin of the axis of rotation");
39  params.addRequiredParam<RealVectorValue>("axis_direction", "Direction of the axis of rotation");
40  params.addParam<bool>(
41  "angular_velocity", false, "If true interprets the function value as an angular velocity");
42  params.addRequiredCoupledVar("displacements",
43  "The string of displacements suitable for the problem statement");
44 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
std::string getRawNames() const
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)

◆ registerMooseObject()

registerMooseObject ( "SolidMechanicsApp"  ,
DisplacementAboutAxis   
)