SolidBodyMotionFvMesh 6DoF motion function. Oscillating rotation. More...
Public Member Functions | |
TypeName ("oscillatingRotatingMotion") | |
Runtime type information. More... | |
oscillatingRotatingMotion (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const |
Construct and return a clone. More... | |
virtual | ~oscillatingRotatingMotion () |
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 | |
oscillatingRotatingMotion (const oscillatingRotatingMotion &) | |
Disallow copy construct. More... | |
void | operator= (const oscillatingRotatingMotion &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
point | origin_ |
Centre of gravity. More... | |
vector | amplitude_ |
Amplitude. More... | |
scalar | omega_ |
Radial velocity. 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. Oscillating rotation.
Definition at line 52 of file oscillatingRotatingMotion.H.
|
private |
Disallow copy construct.
oscillatingRotatingMotion | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 53 of file oscillatingRotatingMotion.C.
References Foam::read().
|
virtual |
Destructor.
Definition at line 67 of file oscillatingRotatingMotion.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "oscillatingRotatingMotion" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements solidBodyMotionFunction.
Definition at line 93 of file oscillatingRotatingMotion.H.
References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.
|
virtual |
Return the solid-body motion transformation septernion.
Implements solidBodyMotionFunction.
Definition at line 75 of file oscillatingRotatingMotion.C.
References Foam::endl(), Foam::Info, Foam::constant::mathematical::pi(), R, Foam::sin(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 96 of file oscillatingRotatingMotion.C.
References solidBodyMotionFunction::read().
|
private |
Centre of gravity.
Definition at line 59 of file oscillatingRotatingMotion.H.
|
private |
Amplitude.
Definition at line 62 of file oscillatingRotatingMotion.H.
|
private |
Radial velocity.
Definition at line 65 of file oscillatingRotatingMotion.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.