Implements a boundary condition that enforces rotational displacement around an axis on a boundary. More...
#include <DisplacementAboutAxis.h>
Public Member Functions | |
DisplacementAboutAxis (const InputParameters ¶meters) | |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual Real | computeQpValue () |
Evaluate the boundary condition at the current quadrature point and timestep. More... | |
virtual void | initialSetup () |
ColumnMajorMatrix | rotateAroundAxis (const ColumnMajorMatrix &p0, const Real angle) |
Calculate the tranformation matrix to rotate in x, y, and z depends on the prescribed BC angle and the rotation about x and y matrices. More... | |
void | calculateUnitDirectionVector () |
Check if the provided axis direction vector is a unit vector and normalizes the vector if necessary during the initialization step. More... | |
void | calculateTransformationMatrices () |
Calculate the rotation about the x and y axes based on the provided axis direction vector at the start of the simulation during the initialization step. More... | |
Protected Attributes | |
const int | _component |
const Function & | _func |
MooseEnum | _angle_units |
const Point | _axis_origin |
Point | _axis_direction |
ColumnMajorMatrix | _transformation_matrix |
ColumnMajorMatrix | _transformation_matrix_inv |
Implements a boundary condition that enforces rotational displacement around an axis on a boundary.
Definition at line 29 of file DisplacementAboutAxis.h.
DisplacementAboutAxis::DisplacementAboutAxis | ( | const InputParameters & | parameters | ) |
Definition at line 44 of file DisplacementAboutAxis.C.
|
protected |
Calculate the rotation about the x and y axes based on the provided axis direction vector at the start of the simulation during the initialization step.
Definition at line 120 of file DisplacementAboutAxis.C.
Referenced by initialSetup().
|
protected |
Check if the provided axis direction vector is a unit vector and normalizes the vector if necessary during the initialization step.
Definition at line 113 of file DisplacementAboutAxis.C.
Referenced by initialSetup().
|
protectedvirtual |
Evaluate the boundary condition at the current quadrature point and timestep.
Definition at line 67 of file DisplacementAboutAxis.C.
|
protectedvirtual |
Definition at line 60 of file DisplacementAboutAxis.C.
|
protected |
Calculate the tranformation matrix to rotate in x, y, and z depends on the prescribed BC angle and the rotation about x and y matrices.
Definition at line 87 of file DisplacementAboutAxis.C.
Referenced by computeQpValue().
|
static |
Definition at line 18 of file DisplacementAboutAxis.C.
|
protected |
Definition at line 55 of file DisplacementAboutAxis.h.
Referenced by computeQpValue().
|
protected |
Definition at line 57 of file DisplacementAboutAxis.h.
Referenced by calculateTransformationMatrices(), calculateUnitDirectionVector(), and DisplacementAboutAxis().
|
protected |
Definition at line 56 of file DisplacementAboutAxis.h.
Referenced by calculateTransformationMatrices().
|
protected |
Definition at line 53 of file DisplacementAboutAxis.h.
Referenced by computeQpValue(), and DisplacementAboutAxis().
|
protected |
Definition at line 54 of file DisplacementAboutAxis.h.
Referenced by computeQpValue().
|
protected |
Definition at line 59 of file DisplacementAboutAxis.h.
Referenced by calculateTransformationMatrices(), and rotateAroundAxis().
|
protected |
Definition at line 60 of file DisplacementAboutAxis.h.
Referenced by calculateTransformationMatrices(), and rotateAroundAxis().