SDA Class Reference

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

Inheritance diagram for SDA:
[legend]
Collaboration diagram for SDA:
[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 ()=default
 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 autoPtr< solidBodyMotionFunctionclone () const =0
 Construct and return a clone. More...
 
virtual ~solidBodyMotionFunction ()=default
 Destructor. More...
 
virtual septernion transformation () const =0
 Return the solid-body motion transformation septernion. More...
 
virtual bool read (const dictionary &SBMFCoeffs)=0
 Update properties from given dictionary. More...
 
virtual void writeData (Ostream &) const
 Write in dictionary format. 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 Member Functions inherited from solidBodyMotionFunction
 solidBodyMotionFunction (const solidBodyMotionFunction &)=delete
 No copy construct. More...
 
void operator= (const solidBodyMotionFunction &)=delete
 No copy assignment. 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 59 of file SDA.H.

Constructor & Destructor Documentation

◆ SDA()

SDA ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from components.

Definition at line 49 of file SDA.C.

References SDA::read().

Here is the call graph for this function:

◆ ~SDA()

virtual ~SDA ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "SDA"  )

Runtime type information.

◆ clone()

virtual autoPtr< solidBodyMotionFunction > clone ( ) const
inlinevirtual

Construct and return a clone.

Implements solidBodyMotionFunction.

Definition at line 124 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 64 of file SDA.C.

References DebugInFunction, Foam::endl(), Foam::exp(), Foam::log(), Foam::mag(), Foam::max(), Foam::constant::mathematical::pi(), Foam::constant::mathematical::piByTwo(), R, Foam::sin(), Foam::sqr(), T, Foam::constant::mathematical::twoPi(), and quaternion::XYZ.

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 99 of file SDA.C.

References kEpsilonLopesdaCosta< BasicTurbulenceModel >::read(), and Foam::sqrt().

Referenced by SDA::SDA().

Here is the call graph for this function:
Here is the caller graph for this function:

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