Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vector. More...
Public Member Functions | |
TypeName ("axisRotationMotion") | |
Runtime type information. More... | |
axisRotationMotion (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const |
Construct and return a clone. More... | |
virtual | ~axisRotationMotion ()=default |
Destructor. More... | |
virtual septernion | transformation () const |
Return the solid-body motion transformation septernion. More... | |
virtual bool | read (const dictionary &SBMFCoeffs) |
Update properties from given dictionary. More... | |
Public Member Functions inherited from solidBodyMotionFunction | |
TypeName ("solidBodyMotionFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, solidBodyMotionFunction, dictionary,(const dictionary &SBMFCoeffs, const Time &runTime),(SBMFCoeffs, runTime)) | |
solidBodyMotionFunction (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from the coefficients dictionary and Time. More... | |
virtual | ~solidBodyMotionFunction ()=default |
Destructor. More... | |
virtual void | writeData (Ostream &) const |
Write in dictionary format. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from solidBodyMotionFunction | |
static autoPtr< solidBodyMotionFunction > | New (const word &motionType, const dictionary &dict, const Time &runTime) |
Construct and dispatch motionType with dictionary and Time. More... | |
static autoPtr< solidBodyMotionFunction > | New (const dictionary &dict, const Time &runTime) |
Select "solidBodyMotionFunction" type from dictionary and create with Time. More... | |
static autoPtr< solidBodyMotionFunction > | NewIfPresent (const dictionary &dict, const Time &runTime) |
Select "solidBodyMotionFunction" type (if present) from dictionary and create with Time. More... | |
Protected Member Functions inherited from solidBodyMotionFunction | |
solidBodyMotionFunction (const solidBodyMotionFunction &)=delete | |
No copy construct. More... | |
void | operator= (const solidBodyMotionFunction &)=delete |
No copy assignment. More... | |
Protected Attributes inherited from solidBodyMotionFunction | |
dictionary | SBMFCoeffs_ |
const Time & | time_ |
Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vector.
Definition at line 52 of file axisRotationMotion.H.
axisRotationMotion | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 47 of file axisRotationMotion.C.
References Foam::read().
|
virtualdefault |
Destructor.
TypeName | ( | "axisRotationMotion" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements solidBodyMotionFunction.
Definition at line 104 of file axisRotationMotion.H.
References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.
|
virtual |
Return the solid-body motion transformation septernion.
Implements solidBodyMotionFunction.
Definition at line 61 of file axisRotationMotion.C.
References DebugInFunction, Foam::degToRad(), Foam::endl(), Foam::mag(), and R.
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 84 of file axisRotationMotion.C.
References solidBodyMotionFunction::read().