Abstract base class for fvMesh movers. More...
Classes | |
class | velocityMotionCorrection |
Helper class to update the velocity boundary conditions. More... | |
Public Member Functions | |
TypeName ("fvMeshTopoChanger") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, fvMeshTopoChanger, fvMesh,(fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
fvMeshTopoChanger (fvMesh &) | |
Construct from fvMesh. More... | |
fvMeshTopoChanger (const fvMeshTopoChanger &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~fvMeshTopoChanger () |
Destructor. More... | |
fvMesh & | mesh () |
Return the fvMesh. More... | |
const fvMesh & | mesh () const |
Return the fvMesh. More... | |
virtual bool | dynamic () const |
Is mesh dynamic, i.e. might it change? More... | |
virtual bool | update ()=0 |
Update the mesh for both mesh motion and topology change. More... | |
virtual void | topoChange (const polyTopoChangeMap &)=0 |
Update corresponding to the given map. 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 fvMeshTopoChanger &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< fvMeshTopoChanger > | New (fvMesh &, const dictionary &dict) |
Select, construct and return the fvMeshTopoChanger. More... | |
static autoPtr< fvMeshTopoChanger > | New (fvMesh &) |
Select, construct and return the fvMeshTopoChanger. 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 fvMeshTopoChanger.H.
|
explicit |
Construct from fvMesh.
Definition at line 40 of file fvMeshTopoChanger.C.
References fvMeshTopoChanger::velocityMotionCorrection::velocityMotionCorrection().
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 59 of file fvMeshTopoChanger.C.
TypeName | ( | "fvMeshTopoChanger" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
fvMeshTopoChanger | , | ||
fvMesh | , | ||
(fvMesh &mesh, const dictionary &dict) | , | ||
(mesh, dict) | |||
) |
|
static |
Select, construct and return the fvMeshTopoChanger.
Definition at line 31 of file fvMeshTopoChangerNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, Foam::libs, dictionary::lookup(), mesh, Foam::nl, and dlLibraryTable::open().
Referenced by fvMesh::fvMesh(), and list::list().
|
static |
Select, construct and return the fvMeshTopoChanger.
Definition at line 79 of file fvMeshTopoChangerNew.C.
References TimePaths::constant(), polyMesh::dbDir(), dict, dictionary::found(), typeIOobject< Type >::headerOk(), mesh, Foam::compressible::New(), dictionary::subDict(), and fvMesh::time().
|
inline |
Return the fvMesh.
Definition at line 133 of file fvMeshTopoChanger.H.
Referenced by list::update(), raw::update(), refiner::update(), and refiner::write().
|
inline |
Return the fvMesh.
Definition at line 139 of file fvMeshTopoChanger.H.
References fvMeshTopoChanger::distribute(), fvMeshTopoChanger::dynamic(), fvMeshTopoChanger::mapMesh(), fvMeshTopoChanger::topoChange(), and fvMeshTopoChanger::velocityMotionCorrection::update().
|
inlinevirtual |
Is mesh dynamic, i.e. might it change?
Defaults to true, set to false in the fvMeshTopoChangers::none
Reimplemented in none.
Definition at line 146 of file fvMeshTopoChanger.H.
Referenced by fvMeshTopoChanger::mesh().
|
pure virtual |
Update the mesh for both mesh motion and topology change.
Implemented in refiner, movingCone, meshToMesh, raw, none, and list.
|
pure virtual |
Update corresponding to the given map.
Implemented in refiner, movingCone, meshToMesh, raw, none, and list.
Referenced by fvMeshTopoChanger::mesh().
|
pure virtual |
Update from another mesh using the given map.
Implemented in refiner, movingCone, meshToMesh, raw, none, and list.
Referenced by fvMeshTopoChanger::mesh().
|
pure virtual |
Update corresponding to the given distribution map.
Implemented in refiner, movingCone, meshToMesh, raw, none, and list.
Referenced by fvMeshTopoChanger::mesh().
Write the mover state.
Reimplemented in refiner.
Definition at line 164 of file fvMeshTopoChanger.H.
References fvMeshTopoChanger::operator=().
|
delete |
Disallow default bitwise assignment.
Referenced by fvMeshTopoChanger::write().