SolidBodyMotionFvMesh 6DoF motion function. More...
Public Member Functions | |
TypeName ("rotatingMotion") | |
Runtime type information. More... | |
rotatingMotion (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const |
Construct and return a clone. More... | |
virtual | ~rotatingMotion () |
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... | |
![]() | |
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 | ~solidBodyMotionFunction () |
Destructor. More... | |
virtual void | writeData (Ostream &) const |
Write in dictionary format. More... | |
Private Member Functions | |
rotatingMotion (const rotatingMotion &) | |
Disallow copy construct. More... | |
void | operator= (const rotatingMotion &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const vector | origin_ |
Origin of the axis. More... | |
const vector | axis_ |
Axis vector. More... | |
autoPtr< DataEntry< scalar > > | omega_ |
Angular velocty (rad/sec) More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< solidBodyMotionFunction > | New (const dictionary &SBMFCoeffs, const Time &runTime) |
Select constructed from the SBMFCoeffs dictionary and Time. More... | |
![]() | |
dictionary | SBMFCoeffs_ |
const Time & | time_ |
SolidBodyMotionFvMesh 6DoF motion function.
The rotation is defined by an origin and axis of rotation and an angular speed.
Definition at line 57 of file rotatingMotion.H.
|
private |
Disallow copy construct.
rotatingMotion | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 52 of file rotatingMotion.C.
|
virtual |
Destructor.
Definition at line 66 of file rotatingMotion.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "rotatingMotion" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements solidBodyMotionFunction.
Definition at line 98 of file rotatingMotion.H.
References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.
|
virtual |
Return the solid-body motion transformation septernion.
Implements solidBodyMotionFunction.
Definition at line 73 of file rotatingMotion.C.
References Foam::endl(), Foam::Info, and R.
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 91 of file rotatingMotion.C.
References solidBodyMotionFunction::read().
|
private |
Origin of the axis.
Definition at line 64 of file rotatingMotion.H.
|
private |
Axis vector.
Definition at line 67 of file rotatingMotion.H.
Angular velocty (rad/sec)
Definition at line 70 of file rotatingMotion.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.