Ship design analysis (SDA) 3DoF motion function. More...
Public Member Functions | |
TypeName ("SDA") | |
Runtime type information. More... | |
SDA (const dictionary &SBMFCoeffs, const Time &runTime) | |
Construct from components. More... | |
virtual autoPtr< solidBodyMotionFunction > | clone () const |
Construct and return a clone. More... | |
virtual | ~SDA () |
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 | |
SDA (const SDA &) | |
Disallow copy construct. More... | |
void | operator= (const SDA &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
vector | CofG_ |
Center of gravity. More... | |
scalar | lamda_ |
Model scale ratio. More... | |
scalar | rollAmax_ |
Max roll amplitude [rad]. More... | |
scalar | rollAmin_ |
Min roll amplitude [rad]. More... | |
scalar | heaveA_ |
Heave amplitude [m]. More... | |
scalar | swayA_ |
Sway amplitude [m]. More... | |
scalar | Q_ |
Damping Coefficient [-]. More... | |
scalar | Tp_ |
Time Period for liquid [sec]. More... | |
scalar | Tpn_ |
Natural Period of Ship [sec]. More... | |
scalar | dTi_ |
Reference time step [sec]. More... | |
scalar | dTp_ |
Incr. in Tp/unit 'dTi'[-]. 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_ |
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.
SDA | ( | const dictionary & | SBMFCoeffs, |
const Time & | runTime | ||
) |
Construct from components.
Definition at line 47 of file SDA.C.
References Foam::read().
|
private |
Disallow default bitwise assignment.
TypeName | ( | "SDA" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Implements solidBodyMotionFunction.
Definition at line 121 of file SDA.H.
References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.
|
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::constant::mathematical::pi(), Foam::constant::mathematical::piByTwo(), R, Foam::sin(), Foam::sqr(), Foam::T(), and Foam::constant::mathematical::twoPi().
|
virtual |
Update properties from given dictionary.
Implements solidBodyMotionFunction.
Definition at line 103 of file SDA.C.
References solidBodyMotionFunction::read(), and Foam::sqrt().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.