Public Member Functions | Static Public Member Functions | List of all members
createShellMesh Class Reference

Creates mesh by extruding a patch. More...

Public Member Functions

 ClassName ("createShellMesh")
 
 createShellMesh (const primitiveFacePatch &patch, const faceList &pointRegions, const labelList &regionPoints)
 
const labelListcellToFaceMap () const
 
const labelListfaceToFaceMap () const
 
const labelListfaceToEdgeMap () const
 
const labelListpointToPointMap () const
 
void setRefinement (const pointField &firstLayerThickness, const scalar expansionRatio, const label nLayers, const labelList &topPatchID, const labelList &bottomPatchID, const labelListList &extrudeEdgePatches, polyTopoChange &meshMod)
 
void updateMesh (const mapPolyMesh &)
 

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)
 

Detailed Description

Creates mesh by extruding a patch.

Source files
Extrudes into thickness direction.
  • bottom faces originate from reversed original faces (have turning index)
  • top faces originate from original faces (no turning index)

Definition at line 57 of file createShellMesh.H.

Constructor & Destructor Documentation

◆ createShellMesh()

createShellMesh ( const primitiveFacePatch patch,
const faceList pointRegions,
const labelList regionPoints 
)

Definition at line 419 of file createShellMesh.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "createShellMesh"  )

◆ cellToFaceMap()

const labelList& cellToFaceMap ( ) const
inline

Definition at line 126 of file createShellMesh.H.

◆ faceToFaceMap()

const labelList& faceToFaceMap ( ) const
inline

Definition at line 137 of file createShellMesh.H.

◆ faceToEdgeMap()

const labelList& faceToEdgeMap ( ) const
inline

Definition at line 143 of file createShellMesh.H.

◆ pointToPointMap()

const labelList& pointToPointMap ( ) const
inline

Definition at line 149 of file createShellMesh.H.

◆ calcPointRegions()

void calcPointRegions ( const globalMeshData globalData,
const primitiveFacePatch patch,
const bitSet nonManifoldEdge,
const bool  syncNonCollocated,
faceList pointGlobalRegions,
faceList pointLocalRegions,
labelList localToGlobalRegion 
)
static

◆ setRefinement()

void setRefinement ( const pointField firstLayerThickness,
const scalar  expansionRatio,
const label  nLayers,
const labelList topPatchID,
const labelList bottomPatchID,
const labelListList extrudeEdgePatches,
polyTopoChange meshMod 
)

◆ updateMesh()

void updateMesh ( const mapPolyMesh map)

Definition at line 902 of file createShellMesh.C.

References Foam::inplaceReorder(), mapPolyMesh::reverseCellMap(), mapPolyMesh::reverseFaceMap(), and mapPolyMesh::reversePointMap().

Here is the call graph for this function:

The documentation for this class was generated from the following files: