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


Public Member Functions | |
| TypeName ("componentDisplacementMotionSolver") | |
| Runtime type information. More... | |
| componentDisplacementMotionSolver (const polyMesh &, const dictionary &, const word &type) | |
| Construct from polyMesh and dictionary and type. More... | |
| componentDisplacementMotionSolver (const componentDisplacementMotionSolver &) | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~componentDisplacementMotionSolver () |
| Destructor. More... | |
| scalarField & | points0 () |
| Return reference to the reference field. More... | |
| const scalarField & | points0 () 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 componentDisplacementMotionSolver &)=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 | |
| word | cmptName_ |
| The component name to solve for. More... | |
| direction | cmpt_ |
| The component to solve for. More... | |
| scalarField | points0_ |
| Reference point field for this component. More... | |
| pointScalarField | pointDisplacement_ |
| 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 displacement motion solver.
The boundary displacement is set as a boundary condition on the pointDisplacementX pointScalarField.
Definition at line 54 of file componentDisplacementMotionSolver.H.
| componentDisplacementMotionSolver | ( | const polyMesh & | mesh, |
| const dictionary & | dict, | ||
| const word & | type | ||
| ) |
Construct from polyMesh and dictionary and type.
Definition at line 70 of file componentDisplacementMotionSolver.C.
References TimePaths::constant(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, mesh, polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::NO_WRITE, primitiveMesh::nPoints(), and objectRegistry::time().

Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 134 of file componentDisplacementMotionSolver.C.
| TypeName | ( | "componentDisplacementMotionSolver" | ) |
Runtime type information.
|
inline |
Return reference to the reference field.
Definition at line 113 of file componentDisplacementMotionSolver.H.
References componentDisplacementMotionSolver::points0_.
|
inline |
Return reference to the reference field.
Definition at line 119 of file componentDisplacementMotionSolver.H.
References componentDisplacementMotionSolver::movePoints(), componentDisplacementMotionSolver::operator=(), componentDisplacementMotionSolver::points0_, and componentDisplacementMotionSolver::updateMesh().

|
virtual |
Update local data for geometry changes.
Implements motionSolver.
Definition at line 140 of file componentDisplacementMotionSolver.C.
Referenced by componentDisplacementMotionSolver::points0().

|
virtual |
Update local data for topology changes.
Implements motionSolver.
Reimplemented in displacementComponentLaplacianFvMotionSolver.
Definition at line 146 of file componentDisplacementMotionSolver.C.
References Field< Type >::component(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::gMax(), Foam::gMin(), mapPolyMesh::hasMotionPoints(), mesh, mapPolyMesh::pointMap(), points, polyMesh::points(), mapPolyMesh::preMotionPoints(), mapPolyMesh::reversePointMap(), List< T >::size(), and motionSolver::updateMesh().
Referenced by componentDisplacementMotionSolver::points0(), and displacementComponentLaplacianFvMotionSolver::updateMesh().


|
delete |
Disallow default bitwise assignment.
Referenced by componentDisplacementMotionSolver::points0().

|
protected |
The component name to solve for.
Definition at line 63 of file componentDisplacementMotionSolver.H.
|
protected |
The component to solve for.
Definition at line 66 of file componentDisplacementMotionSolver.H.
|
protected |
Reference point field for this component.
Definition at line 69 of file componentDisplacementMotionSolver.H.
Referenced by componentDisplacementMotionSolver::points0().
|
mutableprotected |
Point motion field.
Definition at line 72 of file componentDisplacementMotionSolver.H.