OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

motionSolver Class Reference

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

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 polyMeshmesh () const
 Return reference to mesh.
virtual tmp< pointFieldnewPoints ()
 Provide new points for motion. Solves for motion.
virtual tmp< pointFieldcurPoints () 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< motionSolverNew (const polyMesh &mesh)
 Select constructed from polyMesh.

Detailed Description

Virtual base class for mesh motion solver.

Source files

Definition at line 50 of file motionSolver.H.


Constructor & Destructor Documentation

motionSolver ( const polyMesh mesh  ) 

Construct from polyMesh.

Definition at line 33 of file motionSolver.C.

References Foam::defineRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

~motionSolver (  )  [virtual]

Definition at line 111 of file motionSolver.C.


Member Function Documentation

TypeName ( "motionSolver"   ) 

Runtime type information.

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

Foam::autoPtr< Foam::motionSolver > New ( const polyMesh mesh  )  [static]

Select constructed from polyMesh.

Definition at line 53 of file motionSolver.C.

const polyMesh& mesh (  )  const [inline]

Return reference to mesh.

Reimplemented in fvMotionSolver.

Definition at line 103 of file motionSolver.H.

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

Provide new points for motion. Solves for motion.

Definition at line 117 of file motionSolver.C.

virtual tmp<pointField> curPoints (  )  const [pure virtual]

void twoDCorrectPoints ( pointField p  )  const [virtual]

Definition at line 124 of file motionSolver.C.

References motionSolver::curPoints(), and motionSolver::solve().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd