Creates mesh by extruding a patch. More...
#include <createShellMesh.H>
Public Member Functions | |
| ClassName ("createShellMesh") | |
| Runtime type information. | |
| createShellMesh (const primitiveFacePatch &patch, const faceList &pointRegions, const labelList ®ionPoints) | |
| Construct from face patch. | |
| const labelList & | cellToFaceMap () const |
| From region cell to patch face. Consecutively added so. | |
| const labelList & | faceToFaceMap () const |
| From region face to patch face. Contains turning index: | |
| const labelList & | faceToEdgeMap () const |
| From region side-face to patch edge. -1 for non-edge faces. | |
| const labelList & | pointToPointMap () const |
| From region point to patch point. | |
| void | setRefinement (const pointField &firstLayerThickness, const scalar expansionRatio, const label nLayers, const labelList &topPatchID, const labelList &bottomPatchID, const labelListList &extrudeEdgePatches, polyTopoChange &meshMod) |
| Play commands into polyTopoChange to create layer mesh. | |
| void | updateMesh (const mapPolyMesh &) |
| Update any locally stored mesh information. | |
Static Public Member Functions | |
| static void | calcPointRegions (const globalMeshData &globalData, const primitiveFacePatch &patch, const bitSet &nonManifoldEdge, const bool syncNonCollocated, faceList &pointGlobalRegions, faceList &pointLocalRegions, labelList &localToGlobalRegion) |
| Helper: calculate point regions. The point region is the. | |
Creates mesh by extruding a patch.
Definition at line 57 of file createShellMesh.H.
| createShellMesh | ( | const primitiveFacePatch & | patch, |
| const faceList & | pointRegions, | ||
| const labelList & | regionPoints ) |
Construct from face patch.
Definition at line 416 of file createShellMesh.C.
| ClassName | ( | "createShellMesh" | ) |
Runtime type information.
|
inline |
From region cell to patch face. Consecutively added so.
cell at layerI is at patchFacei*nLayers+layerI
Definition at line 143 of file createShellMesh.H.
Referenced by setRefinement().

|
inline |
From region face to patch face. Contains turning index:
> 0 : face in same orientation as patch face. face will be in top patch < 0 : face in opposite orientation as patch face. face will be in bottom patch = 0 : for all side faces
Definition at line 157 of file createShellMesh.H.
Referenced by setRefinement().

|
inline |
From region side-face to patch edge. -1 for non-edge faces.
Definition at line 165 of file createShellMesh.H.
Referenced by setRefinement().

|
inline |
From region point to patch point.
Definition at line 173 of file createShellMesh.H.
Referenced by setRefinement().

|
static |
Helper: calculate point regions. The point region is the.
same on all faces connected to a point if they can be reached through a face-edge-face walk without crossing the nonManifoldEdge. syncNonCollocated = true: edges connected through cyclic become single region. false: kept separate. pointGlobalRegions : non-compact. Guaranteed to be the same across processors. pointLocalRegions : compact. localToGlobalRegion : local to global region.
Definition at line 149 of file createShellMesh.C.
References DynamicList< T, SizeMin >::append(), HashTable< T, Key, Hash >::cfind(), DynamicList< T, SizeMin >::clear(), globalMeshData::coupledPatch(), e, UList< T >::empty(), f(), forAll, HashTable< T, Key, Hash >::insert(), Foam::labelMax, globalIndex::localSize(), PatchTools::matchEdges(), Foam::returnReduceAnd(), bitSet::set(), List< T >::setSize(), HashTable< T, Key, Hash >::size(), globalIndex::toGlobal(), and List< T >::transfer().

| void setRefinement | ( | const pointField & | firstLayerThickness, |
| const scalar | expansionRatio, | ||
| const label | nLayers, | ||
| const labelList & | topPatchID, | ||
| const labelList & | bottomPatchID, | ||
| const labelListList & | extrudeEdgePatches, | ||
| polyTopoChange & | meshMod ) |
Play commands into polyTopoChange to create layer mesh.
Definition at line 439 of file createShellMesh.C.
References polyTopoChange::addCell(), polyTopoChange::addFace(), polyTopoChange::addPoint(), cellToFaceMap(), e, Foam::exit(), f(), faceToEdgeMap(), faceToFaceMap(), Foam::FatalError, FatalErrorInFunction, UList< T >::fcIndex(), face::flip(), forAll, UList< T >::last(), pointToPointMap(), UList< T >::size(), and List< T >::transfer().

| void updateMesh | ( | const mapPolyMesh & | map | ) |
Update any locally stored mesh information.
Definition at line 900 of file createShellMesh.C.
References Foam::inplaceReorder(), mapPolyMesh::reverseCellMap(), mapPolyMesh::reverseFaceMap(), and mapPolyMesh::reversePointMap().
