Virtual base class for mesh motion solver. More...
#include <dynamicMesh/motionSolver.H>
Virtual base class for mesh motion solver.
Definition at line 55 of file motionSolver.H.
Inheritance diagram for motionSolver:
Collaboration diagram for motionSolver: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.
| |
| 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.
| 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 61 of file motionSolver.C.
References TimePaths::constant(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE, dlLibraryTable::open(), and objectRegistry::time().
| 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().
| virtual tmp<pointField> curPoints | ( | ) | const [pure virtual]
|
Provide current points for motion. Uses current motion field.
Implemented in displacementComponentLaplacianFvMotionSolver, displacementInterpolationFvMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, fvMotionSolver, velocityComponentLaplacianFvMotionSolver, and velocityLaplacianFvMotionSolver.
| void twoDCorrectPoints | ( | pointField & | p ) | const [virtual]
|
Definition at line 132 of file motionSolver.C.
| virtual void solve | ( | ) | [pure virtual]
|
| void updateMesh | ( | const mapPolyMesh & | mpm ) | [pure virtual]
|
Update topology.
Implemented in displacementComponentLaplacianFvMotionSolver, displacementFvMotionSolver, displacementLaplacianFvMotionSolver, displacementSBRStressFvMotionSolver, fvMotionSolver, velocityComponentLaplacianFvMotionSolver, and velocityLaplacianFvMotionSolver.
Definition at line 138 of file motionSolver.C.
Referenced by fvMotionSolver::updateMesh().