Ship design analysis (SDA) 3DoF motion function. More...
#include <dynamicFvMesh/SDA.H>
Ship design analysis (SDA) 3DoF motion function.
Comprising sinusoidal roll (rotation about x), heave (z-translation) and sway (y-translation) motions with changing amplitude and phase.
Public Member Functions | |
TypeName ("SDA") | |
Runtime type information. | |
SDA (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. | |
virtual | ~SDA () |
virtual septernion | transformation () const |
Return the solid-body motion transformation septernion. | |
virtual bool | read (const dictionary &SBMFCoeffs) |
Update properties from given dictionary. | |
![]() | |
TypeName ("solidBodyMotionFunction") | |
Runtime type information. | |
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. | |
virtual | ~solidBodyMotionFunction () |
Additional Inherited Members | |
![]() | |
static autoPtr < solidBodyMotionFunction > | New (const dictionary &SBMFCoeffs, const Time &runTime) |
Select constructed from the SBMFCoeffs dictionary and Time. | |
![]() | |
dictionary | SBMFCoeffs_ |
const Time & | time_ |
SDA | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
TypeName | ( | "SDA" | ) |
Runtime type information.
|
virtual |
Return the solid-body motion transformation septernion.
Implements solidBodyMotionFunction.
Definition at line 67 of file SDA.C.
References Foam::endl(), Foam::exp(), Foam::Info, Foam::log(), Foam::mag(), Foam::max(), Foam::mathematicalConstant::pi(), R, Foam::sin(), Foam::sqr(), and Foam::T().
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 103 of file SDA.C.
References solidBodyMotionFunction::read(), and Foam::sqrt().