Abstract base class for fvMesh movers. More...
Classes | |
class | velocityMotionCorrection |
Helper class to update the velocity boundary conditions. More... | |
Public Member Functions | |
TypeName ("fvMeshMover") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, fvMeshMover, fvMesh,(fvMesh &mesh),(mesh)) | |
fvMeshMover (fvMesh &) | |
Construct from fvMesh. More... | |
fvMeshMover (const fvMeshMover &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~fvMeshMover () |
Destructor. More... | |
fvMesh & | mesh () |
Return the fvMesh. More... | |
const fvMesh & | mesh () const |
Return the fvMesh. More... | |
const dictionary & | dict () const |
Return the dynamicMeshDict/mover dict. More... | |
virtual bool | dynamic () const |
Is mesh dynamic, i.e. might it change? More... | |
virtual bool | solidBody () const |
Is the motion solid body? I.e., are the volumes and area magnitudes. More... | |
virtual bool | update ()=0 |
Update the mesh for both mesh motion and topology change. More... | |
virtual void | topoChange (const polyTopoChangeMap &)=0 |
Update local data for topology changes. More... | |
virtual void | mapMesh (const polyMeshMap &)=0 |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &)=0 |
Update corresponding to the given distribution map. More... | |
virtual bool | write (const bool write=true) const |
Write the mover state. More... | |
void | operator= (const fvMeshMover &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< fvMeshMover > | New (fvMesh &) |
Select, construct and return the fvMeshMover. More... | |
Abstract base class for fvMesh movers.
These classes move the mesh points, update the cell volumes and generate the corresponding mesh fluxes without any topology change.
Definition at line 52 of file fvMeshMover.H.
|
explicit |
Construct from fvMesh.
Definition at line 40 of file fvMeshMover.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 74 of file fvMeshMover.C.
TypeName | ( | "fvMeshMover" | ) |
Runtime type information.
|
static |
Select, construct and return the fvMeshMover.
If the constant/dynamicMeshDict does not exist a staticFvMesh is returned
Definition at line 30 of file fvMeshMoverNew.C.
References TimePaths::constant(), fvMeshMover::dict(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), typeIOobject< Type >::headerOk(), Foam::Info, Foam::libs, dictionary::lookup(), fvMeshMover::mesh(), Foam::nl, IOobject::NO_WRITE, dlLibraryTable::open(), IOobject::READ_IF_PRESENT, dictionary::subDict(), and fvMesh::time().
Referenced by fvMesh::postConstruct().
|
inline |
Return the fvMesh.
Definition at line 132 of file fvMeshMover.H.
Referenced by fvMeshMover::New().
|
inline |
Return the fvMesh.
Definition at line 138 of file fvMeshMover.H.
|
inline |
Return the dynamicMeshDict/mover dict.
Definition at line 144 of file fvMeshMover.H.
References dictionary::subDict().
Referenced by fvMeshMover::New(), and multiValveEngine::valveList::valveList().
|
inlinevirtual |
Is mesh dynamic, i.e. might it change?
Defaults to true, set to false in the fvMeshMovers::none
Reimplemented in none.
Definition at line 151 of file fvMeshMover.H.
|
inlinevirtual |
Is the motion solid body? I.e., are the volumes and area magnitudes.
unchanged? Defaults to false. Set to true by fvMeshMovers::none and delegated to the motion solver by fvMeshMovers::motionSolver.
Reimplemented in motionSolver, and none.
Definition at line 159 of file fvMeshMover.H.
|
pure virtual |
Update the mesh for both mesh motion and topology change.
Implemented in multiValveEngine, motionSolver, interpolator, inkJet, and none.
|
pure virtual |
Update local data for topology changes.
Implemented in multiValveEngine, motionSolver, interpolator, inkJet, and none.
|
pure virtual |
Update from another mesh using the given map.
Implemented in multiValveEngine, motionSolver, interpolator, inkJet, and none.
|
pure virtual |
Update corresponding to the given distribution map.
Implemented in multiValveEngine, motionSolver, interpolator, inkJet, and none.
|
inlinevirtual |
|
delete |
Disallow default bitwise assignment.