Base class for defining solid-body motions. More...
Public Member Functions | |
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 SBMFCoeffs dictionary and Time. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~solidBodyMotionFunction () |
Destructor. More... | |
virtual septernion | transformation () const =0 |
Return the solid-body motion transformation septernion. More... | |
virtual bool | read (const dictionary &SBMFCoeffs)=0 |
Update properties from given dictionary. More... | |
virtual void | writeData (Ostream &) const |
Write in dictionary format. More... | |
Static Public Member Functions | |
static autoPtr< solidBodyMotionFunction > | New (const dictionary &SBMFCoeffs, const Time &runTime) |
Select constructed from the SBMFCoeffs dictionary and Time. More... | |
Protected Attributes | |
dictionary | SBMFCoeffs_ |
const Time & | time_ |
Base class for defining solid-body motions.
Definition at line 60 of file solidBodyMotionFunction.H.
solidBodyMotionFunction | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from the SBMFCoeffs dictionary and Time.
Definition at line 40 of file solidBodyMotionFunction.C.
|
virtual |
Destructor.
Definition at line 58 of file solidBodyMotionFunction.C.
TypeName | ( | "solidBodyMotionFunction" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
solidBodyMotionFunction | , | ||
dictionary | , | ||
(const dictionary &SBMFCoeffs, const Time &runTime) | , | ||
(SBMFCoeffs, runTime) | |||
) |
|
pure virtual |
Construct and return a clone.
Implemented in SDA, tabulated6DoFMotion, rotatingMotion, oscillatingRotatingMotion, axisRotationMotion, oscillatingLinearMotion, linearMotion, and multiMotion.
|
static |
Select constructed from the SBMFCoeffs dictionary and Time.
Definition at line 31 of file solidBodyMotionFunctionNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), and Foam::nl.
Referenced by multiSolidBodyMotionFvMesh::multiSolidBodyMotionFvMesh(), and multiMotion::read().
|
pure virtual |
Return the solid-body motion transformation septernion.
Implemented in SDA, tabulated6DoFMotion, rotatingMotion, oscillatingRotatingMotion, axisRotationMotion, oscillatingLinearMotion, linearMotion, and multiMotion.
|
pure virtual |
Update properties from given dictionary.
Implemented in SDA, tabulated6DoFMotion, rotatingMotion, oscillatingRotatingMotion, axisRotationMotion, oscillatingLinearMotion, linearMotion, and multiMotion.
Definition at line 64 of file solidBodyMotionFunction.C.
References dictionary::subDict(), and Foam::type().
Referenced by linearMotion::read(), multiMotion::read(), oscillatingLinearMotion::read(), axisRotationMotion::read(), oscillatingRotatingMotion::read(), rotatingMotion::read(), tabulated6DoFMotion::read(), and SDA::read().
|
virtual |
Write in dictionary format.
Definition at line 72 of file solidBodyMotionFunction.C.
|
protected |
Definition at line 66 of file solidBodyMotionFunction.H.
Referenced by linearMotion::clone(), multiMotion::clone(), oscillatingLinearMotion::clone(), axisRotationMotion::clone(), oscillatingRotatingMotion::clone(), rotatingMotion::clone(), tabulated6DoFMotion::clone(), and SDA::clone().
|
protected |
Definition at line 67 of file solidBodyMotionFunction.H.
Referenced by linearMotion::clone(), multiMotion::clone(), oscillatingLinearMotion::clone(), axisRotationMotion::clone(), oscillatingRotatingMotion::clone(), rotatingMotion::clone(), tabulated6DoFMotion::clone(), and SDA::clone().