Public Member Functions | List of all members
tabulated6DoFMotion Class Reference

Tabulated 6DoF motion function. More...

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

Public Member Functions

 TypeName ("tabulated6DoFMotion")
 Runtime type information. More...
 
 tabulated6DoFMotion (const dictionary &SBMFCoeffs, const Time &runTime)
 Construct from components. More...
 
virtual autoPtr< solidBodyMotionFunctionclone () const
 Construct and return a clone. More...
 
virtual ~tabulated6DoFMotion ()
 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...
 

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

Tabulated 6DoF motion function.

Obtained by interpolating tabulated data for surge (x-translation), sway (y-translation), heave (z-translation), roll (rotation about x), pitch (rotation about y) and yaw (rotation about z).

Source files

Definition at line 56 of file tabulated6DoFMotion.H.

Constructor & Destructor Documentation

tabulated6DoFMotion ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from components.

Definition at line 55 of file tabulated6DoFMotion.C.

References Foam::read().

Here is the call graph for this function:

~tabulated6DoFMotion ( )
virtual

Destructor.

Definition at line 68 of file tabulated6DoFMotion.C.

Referenced by tabulated6DoFMotion::clone().

Here is the caller graph for this function:

Member Function Documentation

TypeName ( "tabulated6DoFMotion"  )

Runtime type information.

virtual autoPtr<solidBodyMotionFunction> clone ( ) const
inlinevirtual
Foam::septernion transformation ( ) const
virtual

Return the solid-body motion transformation septernion.

Implements solidBodyMotionFunction.

Definition at line 75 of file tabulated6DoFMotion.C.

References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::interpolateSplineXY(), Foam::constant::mathematical::pi(), R, tabulated6DoFMotion::read(), and quaternion::XYZ.

Referenced by tabulated6DoFMotion::clone().

Here is the call graph for this function:

Here is the caller graph for this function:

bool read ( const dictionary SBMFCoeffs)
virtual

Update properties from given dictionary.

Implements solidBodyMotionFunction.

Definition at line 117 of file tabulated6DoFMotion.C.

References Foam::exit(), Foam::stringOps::expand(), Foam::FatalError, FatalErrorInFunction, UList< T >::first(), forAll, IOstream::good(), solidBodyMotionFunction::read(), and List< T >::size().

Referenced by tabulated6DoFMotion::clone(), and tabulated6DoFMotion::transformation().

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: