Sample fvMeshTopoChanger that moves an object in x direction and introduces/removes layers. More...
Public Member Functions | |
TypeName ("movingCone") | |
Runtime type information. More... | |
movingCone (fvMesh &mesh, const dictionary &dict) | |
Construct from fvMesh and dictionary. More... | |
movingCone (const movingCone &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~movingCone () |
Destructor. More... | |
virtual bool | update () |
Update the mesh for both mesh motion and topology change. More... | |
virtual void | topoChange (const polyTopoChangeMap &) |
Update corresponding to the given map. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
virtual void | distribute (const polyDistributionMap &) |
Update corresponding to the given distribution map. More... | |
void | operator= (const movingCone &)=delete |
Disallow default bitwise assignment. More... | |
![]() | |
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 | write (const bool write=true) const |
Write the mover state. More... | |
void | operator= (const fvMeshTopoChanger &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
![]() | |
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... | |
Sample fvMeshTopoChanger that moves an object in x direction and introduces/removes layers.
Definition at line 52 of file fvMeshTopoChangersMovingCone.H.
movingCone | ( | fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from fvMesh and dictionary.
Definition at line 236 of file fvMeshTopoChangersMovingCone.C.
References Foam::average(), Foam::endl(), polyMesh::faceZones(), MeshZones< ZoneType, MeshType >::findZoneID(), polyMesh::points(), Foam::Pout, fvMesh::time(), dimensioned< Type >::value(), and x.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 287 of file fvMeshTopoChangersMovingCone.C.
TypeName | ( | "movingCone" | ) |
Runtime type information.
|
virtual |
Update the mesh for both mesh motion and topology change.
Implements fvMeshTopoChanger.
Definition at line 293 of file fvMeshTopoChangersMovingCone.C.
References Foam::average(), Foam::endl(), Foam::Info, Foam::mag(), mesh, Foam::constant::mathematical::pi(), points, Foam::pos0(), Foam::Pout, Foam::sin(), movingCone::topoChange(), and autoPtr< T >::valid().
|
virtual |
Update corresponding to the given map.
Implements fvMeshTopoChanger.
Definition at line 392 of file fvMeshTopoChangersMovingCone.C.
References movingCone::mapMesh().
Referenced by movingCone::update().
|
virtual |
Update from another mesh using the given map.
Implements fvMeshTopoChanger.
Definition at line 399 of file fvMeshTopoChangersMovingCone.C.
References movingCone::distribute().
Referenced by movingCone::topoChange().
|
virtual |
Update corresponding to the given distribution map.
Implements fvMeshTopoChanger.
Definition at line 406 of file fvMeshTopoChangersMovingCone.C.
Referenced by movingCone::mapMesh().
|
delete |
Disallow default bitwise assignment.