interpolatingSolidBodyMotionSolver Class Reference

Solid-body motion of the mesh specified by a run-time selectable motion function. Applies SLERP interpolation of movement as function of distance to the object surface to move the mesh points. More...

Inheritance diagram for interpolatingSolidBodyMotionSolver:
Collaboration diagram for interpolatingSolidBodyMotionSolver:

Public Member Functions

 TypeName ("interpolatingSolidBody")
 Runtime type information. More...
 
 interpolatingSolidBodyMotionSolver (const polyMesh &, const dictionary &dict)
 Construct from polyMesh and dictionary. More...
 
 interpolatingSolidBodyMotionSolver (const interpolatingSolidBodyMotionSolver &)
 Disallow default bitwise copy construction. More...
 
 ~interpolatingSolidBodyMotionSolver ()
 Destructor. More...
 
virtual tmp< pointFieldcurPoints () const
 Return point location obtained from the current motion field. More...
 
virtual void solve ()
 Solve for motion. More...
 
void operator= (const interpolatingSolidBodyMotionSolver &)=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
 
virtual bool write () const
 Optionally write motion state information for restart. More...
 

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 points0MotionSolver
pointIOField points0_
 Starting points. More...
 

Detailed Description

Solid-body motion of the mesh specified by a run-time selectable motion function. Applies SLERP interpolation of movement as function of distance to the object surface to move the mesh points.

Source files

Definition at line 51 of file interpolatingSolidBodyMotionSolver.H.

Constructor & Destructor Documentation

◆ interpolatingSolidBodyMotionSolver() [1/2]

◆ interpolatingSolidBodyMotionSolver() [2/2]

Disallow default bitwise copy construction.

◆ ~interpolatingSolidBodyMotionSolver()

Destructor.

Definition at line 118 of file interpolatingSolidBodyMotionSolver.C.

Member Function Documentation

◆ TypeName()

TypeName ( "interpolatingSolidBody"  )

Runtime type information.

◆ curPoints()

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

Return point location obtained from the current motion field.

Implements motionSolver.

Definition at line 125 of file interpolatingSolidBodyMotionSolver.C.

References forAll, septernion::I, points, tmp< T >::ref(), s(), Foam::slerp(), and septernion::transformPoint().

Here is the call graph for this function:

◆ solve()

virtual void solve ( )
inlinevirtual

Solve for motion.

Implements motionSolver.

Definition at line 110 of file interpolatingSolidBodyMotionSolver.H.

References interpolatingSolidBodyMotionSolver::operator=().

Here is the call graph for this function:

◆ operator=()

void operator= ( const interpolatingSolidBodyMotionSolver )
delete

Disallow default bitwise assignment.

Referenced by interpolatingSolidBodyMotionSolver::solve().

Here is the caller graph for this function:

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