axisRotationMotion Class Reference

Constant velocity rotation around CoG. Similar to rotatingMotion but motion specified as an angular velocity 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 &)=delete
 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 an angular velocity 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 50 of file axisRotationMotion.C.

References axisRotationMotion::read().

Here is the call graph for this function:

◆ axisRotationMotion() [2/2]

axisRotationMotion ( const axisRotationMotion )
delete

Disallow default bitwise copy construction.

◆ ~axisRotationMotion()

~axisRotationMotion ( )
virtual

Destructor.

Definition at line 64 of file axisRotationMotion.C.

Member Function Documentation

◆ TypeName()

TypeName ( "axisRotationMotion"  )

Runtime type information.

◆ clone()

virtual autoPtr<solidBodyMotionFunction> clone ( ) const
inlinevirtual

Construct and return a clone.

Implements solidBodyMotionFunction.

Definition at line 85 of file axisRotationMotion.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 71 of file axisRotationMotion.C.

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

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 93 of file axisRotationMotion.C.

References Foam::dimLength, Foam::dimTime, solidBodyMotionFunction::read(), and Foam::unitRadians.

Referenced by axisRotationMotion::axisRotationMotion().

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.


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