FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Virtual base class for mesh motion solver. More...

#include <dynamicMesh/motionSolver.H>


Detailed Description

Virtual base class for mesh motion solver.

Source files

Definition at line 55 of file motionSolver.H.

Inheritance diagram for motionSolver:
Collaboration diagram for motionSolver:

List of all members.

Public Member Functions

 TypeName ("motionSolver")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, motionSolver, dictionary,(const polyMesh &mesh, Istream &msData),(mesh, msData))
 motionSolver (const polyMesh &mesh)
 Construct from polyMesh.
virtual  ~motionSolver ()
const polyMesh &  mesh () const
 Return reference to mesh.
virtual tmp< pointField >  newPoints ()
 Provide new points for motion. Solves for motion.
virtual tmp< pointField >  curPoints () const =0
 Provide current points for motion. Uses current motion field.
virtual void  twoDCorrectPoints (pointField &) const
virtual void  solve ()=0
 Solve for motion.
virtual void  updateMesh (const mapPolyMesh &)=0
 Update topology.

Static Public Member Functions

static autoPtr< motionSolver >  New (const polyMesh &mesh)
 Select constructed from polyMesh.

Constructor & Destructor Documentation

motionSolver ( const polyMesh &   mesh  )

Construct from polyMesh.

Definition at line 41 of file motionSolver.C.

~motionSolver (  ) [virtual]

Definition at line 119 of file motionSolver.C.


Member Function Documentation

TypeName ( "motionSolver"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
motionSolver   ,
dictionary   ,
(const polyMesh &mesh, Istream &msData)   ,
(mesh, msData)    
)
const polyMesh& mesh (  ) const [inline]

Return reference to mesh.

Reimplemented in fvMotionSolver.

Definition at line 108 of file motionSolver.H.

Foam::tmp< Foam::pointField > newPoints (  ) [virtual]

Provide new points for motion. Solves for motion.

Definition at line 125 of file motionSolver.C.

References Foam::solve().

void twoDCorrectPoints ( pointField &   p  ) const [virtual]

Definition at line 132 of file motionSolver.C.


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