Virtual base class for velocity motion solver. More...
Public Member Functions | |
TypeName ("velocityMotionSolver") | |
Runtime type information. More... | |
velocityMotionSolver (const polyMesh &, const dictionary &, const word &type) | |
Construct from mesh and dictionary. More... | |
velocityMotionSolver (const velocityMotionSolver &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~velocityMotionSolver () |
Destructor. More... | |
pointVectorField & | pointMotionU () |
Return reference to the point motion velocity field. More... | |
const pointVectorField & | pointMotionU () const |
Return const reference to the point motion velocity 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 velocityMotionSolver &)=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< motionSolver > | clone () const |
Clone function. More... | |
virtual | ~motionSolver () |
Destructor. More... | |
const polyMesh & | mesh () const |
Return reference to mesh. More... | |
const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< pointField > | newPoints () |
Provide new points for motion. Solves for motion. More... | |
virtual tmp< pointField > | curPoints () const =0 |
Provide current points for motion. Uses current motion field. More... | |
virtual void | twoDCorrectPoints (pointField &) const |
virtual void | solve ()=0 |
Solve for motion. More... | |
virtual bool | write () const |
Optionally write motion state information for restart. More... | |
Protected Attributes | |
pointVectorField | pointMotionU_ |
Point motion field. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from motionSolver | |
static autoPtr< motionSolver > | New (const polyMesh &, const dictionary &) |
Select constructed from polyMesh and dictionary. More... | |
Virtual base class for velocity motion solver.
The boundary displacement is set as a boundary condition on the pointMotionU pointVectorField.
Definition at line 54 of file velocityMotionSolver.H.
velocityMotionSolver | ( | const polyMesh & | mesh, |
const dictionary & | dict, | ||
const word & | type | ||
) |
Construct from mesh and dictionary.
Definition at line 40 of file velocityMotionSolver.C.
velocityMotionSolver | ( | const velocityMotionSolver & | ) |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 64 of file velocityMotionSolver.C.
TypeName | ( | "velocityMotionSolver" | ) |
Runtime type information.
|
inline |
Return reference to the point motion velocity field.
Definition at line 96 of file velocityMotionSolver.H.
References velocityMotionSolver::pointMotionU_.
|
inline |
Return const reference to the point motion velocity field.
Definition at line 102 of file velocityMotionSolver.H.
References velocityMotionSolver::movePoints(), velocityMotionSolver::operator=(), velocityMotionSolver::pointMotionU_, and velocityMotionSolver::updateMesh().
|
virtual |
Update local data for geometry changes.
Implements motionSolver.
Definition at line 70 of file velocityMotionSolver.C.
Referenced by velocityMotionSolver::pointMotionU().
|
virtual |
Update local data for topology changes.
Implements motionSolver.
Reimplemented in velocityLaplacianFvMotionSolver.
Definition at line 76 of file velocityMotionSolver.C.
References motionSolver::updateMesh().
Referenced by velocityMotionSolver::pointMotionU(), and velocityLaplacianFvMotionSolver::updateMesh().
|
delete |
Disallow default bitwise assignment.
Referenced by velocityMotionSolver::pointMotionU().
|
mutableprotected |
Point motion field.
Definition at line 63 of file velocityMotionSolver.H.
Referenced by velocityMotionSolver::pointMotionU().