All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
axisRotationMotion Class Reference

Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vector. More...

Inheritance diagram for axisRotationMotion:
Collaboration diagram for axisRotationMotion:

Public Member Functions

 TypeName ("axisRotationMotion")
 Runtime type information. More...
 
 axisRotationMotion (const dictionary &SBMFCoeffs, const Time &runTime)
 Construct from components. More...
 
 axisRotationMotion (const axisRotationMotion &)
 Disallow default bitwise copy construction. More...
 
virtual autoPtr< solidBodyMotionFunctionclone () const
 Construct and return a clone. More...
 
virtual ~axisRotationMotion ()
 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...
 
void operator= (const axisRotationMotion &)=delete
 Disallow default bitwise assignment. 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...
 
 solidBodyMotionFunction (const solidBodyMotionFunction &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~solidBodyMotionFunction ()
 Destructor. More...
 
virtual void writeData (Ostream &) const
 Write in dictionary format. More...
 
void operator= (const solidBodyMotionFunction &)=delete
 Disallow default bitwise assignment. 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

Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as rotation vector.

Source files

Definition at line 53 of file axisRotationMotion.H.

Constructor & Destructor Documentation

◆ axisRotationMotion() [1/2]

axisRotationMotion ( const dictionary SBMFCoeffs,
const Time runTime 
)

Construct from components.

Definition at line 52 of file axisRotationMotion.C.

References Foam::read().

Referenced by axisRotationMotion::clone().

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

◆ axisRotationMotion() [2/2]

Disallow default bitwise copy construction.

◆ ~axisRotationMotion()

~axisRotationMotion ( )
virtual

Destructor.

Definition at line 65 of file axisRotationMotion.C.

Referenced by axisRotationMotion::clone().

Here is the caller graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "axisRotationMotion"  )

Runtime type information.

◆ clone()

◆ transformation()

Foam::septernion transformation ( ) const
virtual

Return the solid-body motion transformation septernion.

Implements solidBodyMotionFunction.

Definition at line 72 of file axisRotationMotion.C.

References DebugInFunction, Foam::degToRad(), Foam::endl(), septernion::I, Foam::mag(), R, and axisRotationMotion::read().

Referenced by axisRotationMotion::clone().

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

◆ read()

bool read ( const dictionary SBMFCoeffs)
virtual

Update properties from given dictionary.

Implements solidBodyMotionFunction.

Definition at line 102 of file axisRotationMotion.C.

References solidBodyMotionFunction::read().

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

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

◆ operator=()

void operator= ( const axisRotationMotion )
delete

Disallow default bitwise assignment.

Referenced by axisRotationMotion::clone().

Here is the caller graph for this function:

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