Spherical joint for rotation about the x/y/z-axes using Euler-angles in the order z, y, x. More...
Public Member Functions | |
TypeName ("Rzyx") | |
Rzyx () | |
Rzyx (const dictionary &dict) | |
virtual autoPtr< joint > | clone () const |
virtual | ~Rzyx () |
virtual void | jcalc (joint::XSvc &J, const scalarField &q, const scalarField &qDot) const |
![]() | |
TypeName ("joint") | |
declareRunTimeSelectionTable (autoPtr, joint, dictionary,(const dictionary &dict),(dict)) | |
joint (const label nDoF) | |
virtual | ~joint () |
label | nDoF () const |
virtual bool | unitQuaternion () const |
label | index () const |
label | qIndex () const |
const List< spatialVector > & | S () const |
virtual void | write (Ostream &) const |
quaternion | unitQuaternion (const scalarField &q) const |
void | unitQuaternion (const quaternion &quat, scalarField &q) const |
Additional Inherited Members | |
![]() | |
static autoPtr< joint > | New (joint *jointPtr) |
static autoPtr< joint > | New (const dictionary &dict) |
![]() | |
List< spatialVector > | S_ |
label | index_ |
label | qIndex_ |
Spherical joint for rotation about the x/y/z-axes using Euler-angles in the order z, y, x.
Featherstone, R. (2008). Rigid body dynamics algorithms. Springer. Chapter 4.
Rzyx | ( | const dictionary & | dict | ) |
TypeName | ( | "Rzyx" | ) |
|
virtual |
|
virtual |
Implements joint.
Definition at line 83 of file Rzyx.C.
References Field::block(), joint::XSvc::c, Foam::constant::physicoChemical::c1, Foam::constant::physicoChemical::c2, Foam::cos(), spatialTransform::E(), spatialTransform::r(), joint::XSvc::S, Foam::sin(), joint::XSvc::v, Vector< Cmpt >::x(), joint::XSvc::X, MatrixSpace< Form, Cmpt, Mrows, Ncols >::xx(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::xz(), Vector< Cmpt >::y(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::yx(), MatrixSpace< Form, Cmpt, Mrows, Ncols >::yy(), Vector< Cmpt >::z(), Foam::Zero, MatrixSpace< Form, Cmpt, Mrows, Ncols >::zx(), and MatrixSpace< Form, Cmpt, Mrows, Ncols >::zy().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.