Public Member Functions | Private Member Functions | Private Attributes
SDA Class Reference

Ship design analysis (SDA) 3DoF motion function. More...

Inheritance diagram for SDA:
Inheritance graph
[legend]
Collaboration diagram for SDA:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("SDA")
 Runtime type information. More...
 
 SDA (const dictionary &SBMFCoeffs, const Time &runTime)
 Construct from components. More...
 
virtual autoPtr< solidBodyMotionFunctionclone () 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...
 
- Public Member Functions inherited from solidBodyMotionFunction
 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 Public Member Functions inherited from solidBodyMotionFunction
static autoPtr< solidBodyMotionFunctionNew (const dictionary &SBMFCoeffs, const Time &runTime)
 Select constructed from the SBMFCoeffs dictionary and Time. More...
 
- Protected Attributes inherited from solidBodyMotionFunction
dictionary SBMFCoeffs_
 
const Timetime_
 

Detailed Description

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.

See also
Foam::solidBodyMotionFunctions::tabulated6DoFMotion
Source files

Definition at line 56 of file SDA.H.

Constructor & Destructor Documentation

◆ SDA() [1/2]

SDA ( const SDA )
private

Disallow copy construct.

◆ SDA() [2/2]

SDA ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from components.

Definition at line 47 of file SDA.C.

References Foam::read().

Here is the call graph for this function:

◆ ~SDA()

~SDA ( )
virtual

Destructor.

Definition at line 61 of file SDA.C.

Member Function Documentation

◆ operator=()

void operator= ( const SDA )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "SDA"  )

Runtime type information.

◆ clone()

virtual autoPtr<solidBodyMotionFunction> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements solidBodyMotionFunction.

Definition at line 121 of file SDA.H.

References solidBodyMotionFunction::SBMFCoeffs_, and solidBodyMotionFunction::time_.

◆ transformation()

Foam::septernion transformation ( ) const
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().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary SBMFCoeffs)
virtual

Update properties from given dictionary.

Implements solidBodyMotionFunction.

Definition at line 103 of file SDA.C.

References solidBodyMotionFunction::read(), and Foam::sqrt().

Here is the call graph for this function:

Field Documentation

◆ CofG_

vector CofG_
private

Center of gravity.

Definition at line 63 of file SDA.H.

◆ lamda_

scalar lamda_
private

Model scale ratio.

Definition at line 66 of file SDA.H.

◆ rollAmax_

scalar rollAmax_
private

Max roll amplitude [rad].

Definition at line 69 of file SDA.H.

◆ rollAmin_

scalar rollAmin_
private

Min roll amplitude [rad].

Definition at line 72 of file SDA.H.

◆ heaveA_

scalar heaveA_
private

Heave amplitude [m].

Definition at line 75 of file SDA.H.

◆ swayA_

scalar swayA_
private

Sway amplitude [m].

Definition at line 78 of file SDA.H.

◆ Q_

scalar Q_
private

Damping Coefficient [-].

Definition at line 81 of file SDA.H.

◆ Tp_

scalar Tp_
private

Time Period for liquid [sec].

Definition at line 84 of file SDA.H.

◆ Tpn_

scalar Tpn_
private

Natural Period of Ship [sec].

Definition at line 87 of file SDA.H.

◆ dTi_

scalar dTi_
private

Reference time step [sec].

Definition at line 90 of file SDA.H.

◆ dTp_

scalar dTp_
private

Incr. in Tp/unit 'dTi'[-].

Definition at line 93 of file SDA.H.


The documentation for this class was generated from the following files: