sixDoFRigidBodyMotionSolver Class Reference

6-DoF solid-body mesh motion solver for an fvMesh. More...

Inheritance diagram for sixDoFRigidBodyMotionSolver:
Collaboration diagram for sixDoFRigidBodyMotionSolver:

Public Member Functions

 TypeName ("sixDoFRigidBodyMotion")
 Runtime type information. More...
 
 sixDoFRigidBodyMotionSolver (const polyMesh &, const dictionary &dict)
 Construct from polyMesh and dictionary. More...
 
 sixDoFRigidBodyMotionSolver (const sixDoFRigidBodyMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~sixDoFRigidBodyMotionSolver ()
 Destructor. More...
 
const sixDoFRigidBodyMotionmotion () const
 Return the six DoF motion object. More...
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
virtual bool write () const
 Write motion state information for restart. More...
 
void operator= (const sixDoFRigidBodyMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from displacementMotionSolver
 TypeName ("displacementMotionSolver")
 Runtime type information. More...
 
 displacementMotionSolver (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 displacementMotionSolver (const displacementMotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~displacementMotionSolver ()
 Destructor. More...
 
pointVectorFieldpointDisplacement ()
 Return reference to the point motion displacement field. More...
 
const pointVectorFieldpointDisplacement () const
 Return const reference to the point motion displacement field. More...
 
void operator= (const displacementMotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from points0MotionSolver
 TypeName ("points0MotionSolver")
 Runtime type information. More...
 
 points0MotionSolver (const polyMesh &, const dictionary &, const word &type)
 Construct from mesh and dictionary. More...
 
 points0MotionSolver (const points0MotionSolver &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~points0MotionSolver ()
 Destructor. More...
 
pointFieldpoints0 ()
 Return reference to the reference field. More...
 
const pointFieldpoints0 () const
 Return reference to the reference field. More...
 
virtual void movePoints (const pointField &)
 Update local data for geometry changes. More...
 
virtual void updateMesh (const mapPolyMesh &)
 Update local data for topology changes. More...
 
void operator= (const points0MotionSolver &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from motionSolver
 TypeName ("motionSolver")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
 
 motionSolver (const polyMesh &mesh, const dictionary &, const word &type)
 Construct from polyMesh and dictionary and type. More...
 
virtual autoPtr< motionSolverclone () const
 Clone function. More...
 
virtual ~motionSolver ()
 Destructor. More...
 
const polyMeshmesh () const
 Return reference to mesh. More...
 
const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion. More...
 
virtual void twoDCorrectPoints (pointField &) const
 

Additional Inherited Members

- Static Public Member Functions inherited from motionSolver
static autoPtr< motionSolverNew (const polyMesh &, const dictionary &)
 Select constructed from polyMesh and dictionary. More...
 
- Protected Attributes inherited from displacementMotionSolver
pointVectorField pointDisplacement_
 Point motion field. More...
 
- Protected Attributes inherited from points0MotionSolver
pointIOField points0_
 Starting points. More...
 

Detailed Description

6-DoF solid-body mesh motion solver for an fvMesh.

Applies SLERP interpolation of movement as function of distance to the object surface.

Source files

Definition at line 52 of file sixDoFRigidBodyMotionSolver.H.

Constructor & Destructor Documentation

◆ sixDoFRigidBodyMotionSolver() [1/2]

◆ sixDoFRigidBodyMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~sixDoFRigidBodyMotionSolver()

Destructor.

Definition at line 155 of file sixDoFRigidBodyMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "sixDoFRigidBodyMotion"  )

Runtime type information.

◆ motion()

const Foam::sixDoFRigidBodyMotion & motion ( ) const

Return the six DoF motion object.

Definition at line 162 of file sixDoFRigidBodyMotionSolver.C.

Referenced by sixDoFRigidBodyState::execute().

Here is the caller graph for this function:

◆ curPoints()

Foam::tmp< Foam::pointField > curPoints ( ) const
virtual

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 169 of file sixDoFRigidBodyMotionSolver.C.

◆ solve()

◆ write()

bool write ( ) const
virtual

Write motion state information for restart.

Reimplemented from motionSolver.

Definition at line 262 of file sixDoFRigidBodyMotionSolver.C.

References IOstream::ASCII, IOstream::currentVersion, dict, mesh, IOobject::NO_READ, IOobject::NO_WRITE, timeName, and motionSolver::write().

Here is the call graph for this function:

◆ operator=()

void operator= ( const sixDoFRigidBodyMotionSolver )
delete

Disallow default bitwise assignment.


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