A messy mesh class which supports the possibility of creating a shapeMesh for regular Samm meshes (no arbitrary interfaces or collapsed SAMM cells). If any of these special feateres exist, the mesh is created as polyMesh. More...
Public Member Functions | |
sammMesh (const fileName &prefix, const Time &rt, const scalar scaleFactor) | |
Construct from case name. More... | |
~sammMesh () | |
Destructor. More... | |
void | writeMesh () |
Write mesh. More... | |
Private Member Functions | |
sammMesh (const sammMesh &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const sammMesh &) |
Disallow default bitwise assignment. More... | |
void | fillSammCellShapeTable () |
Fill SAMM lookup tables. More... | |
void | fillSammAddressingTable () |
void | readPoints (const scalar scaleFactor) |
Read the points file. More... | |
void | readCells () |
Read the cells file. More... | |
void | addRegularCell (const labelList &labels, const label nCreatedCells) |
void | addSAMMcell (const label typeFlag, const labelList &globalLabels, const label nCreatedCells) |
void | readBoundary () |
Read the boundary file. More... | |
void | fixCollapsedEdges () |
Check and correct collapsed edges on faces. More... | |
void | readCouples () |
Read couples. More... | |
void | calcPointCells () const |
Calculate pointCells. More... | |
const labelListList & | pointCells () const |
void | createBoundaryFaces () |
Create boundary faces from the quads. More... | |
bool | sammEqualFace (const face &boundaryFace, const face &cellFace) const |
Specialist version of face comparison to deal with. More... | |
void | purgeCellShapes () |
Purge cell shapes. More... | |
void | createPolyCells () |
Make polyhedral cells and global faces if the mesh is polyhedral. More... | |
void | createPolyBoundary () |
Make polyhedral boundary from shape boundary. More... | |
void | createPolyMeshData () |
Make polyhedral mesh data (packing) More... | |
List< polyPatch * > | polyBoundaryPatches (const polyMesh &) |
Add polyhedral boundary. More... | |
Private Attributes | |
fileName | casePrefix_ |
Name of the case. More... | |
const Time & | runTime_ |
Database. More... | |
pointField | points_ |
Points supporting the mesh. More... | |
cellShapeList | cellShapes_ |
Cell shapes. More... | |
faceListList | boundary_ |
Boundary faces. More... | |
wordList | patchTypes_ |
Boundary patch types. More... | |
word | defaultFacesName_ |
Default boundary patch name. More... | |
word | defaultFacesType_ |
Default boundary patch types. More... | |
wordList | patchNames_ |
Boundary patch names. More... | |
wordList | patchPhysicalTypes_ |
Boundary patch physical types. More... | |
labelList | starPointLabelLookup_ |
Point labels (SAMM point numbering is not necessarily contiguous) More... | |
labelList | starCellLabelLookup_ |
Point labels (SAMM point numbering is not necessarily contiguous) More... | |
faceListList | cellFaces_ |
List of faces for every cell. More... | |
faceList | meshFaces_ |
Global face list for polyMesh. More... | |
cellList | cellPolys_ |
Cells as polyhedra for polyMesh. More... | |
label | nInternalFaces_ |
Number of internal faces for polyMesh. More... | |
labelList | polyBoundaryPatchStartIndices_ |
Polyhedral mesh boundary patch start indices. More... | |
labelListList * | pointCellsPtr_ |
Point-cell addressing. Used for topological analysis. More... | |
bool | isShapeMesh_ |
Can the mesh be treated as a shapeMesh? More... | |
Static Private Attributes | |
static const cellModel * | unknownPtr_ |
Pointers to cell models. More... | |
static const cellModel * | hexPtr_ |
static const cellModel * | wedgePtr_ |
static const cellModel * | prismPtr_ |
static const cellModel * | pyrPtr_ |
static const cellModel * | tetPtr_ |
static const cellModel * | tetWedgePtr_ |
static const cellModel * | sammTrim1Ptr_ |
static const cellModel * | sammTrim2Ptr_ |
static const cellModel * | sammTrim3Ptr_ |
static const cellModel * | sammTrim4Ptr_ |
static const cellModel * | sammTrim5Ptr_ |
static const cellModel * | sammTrim8Ptr_ |
static const label | shapeFaceLookup [19][9] |
static List< const cellModel * > | sammShapeLookup |
SAMM addressing data. More... | |
static List< const label * > | sammAddressingTable |
A messy mesh class which supports the possibility of creating a shapeMesh for regular Samm meshes (no arbitrary interfaces or collapsed SAMM cells). If any of these special feateres exist, the mesh is created as polyMesh.
Definition at line 53 of file sammMesh.H.
Construct from case name.
~sammMesh | ( | ) |
Destructor.
|
private |
Disallow default bitwise assignment.
|
private |
Fill SAMM lookup tables.
|
private |
|
private |
Read the points file.
|
private |
Read the cells file.
|
private |
|
private |
Read the boundary file.
|
private |
Check and correct collapsed edges on faces.
Note. If a collapsed edge is found, the mesh is no longer shapeMesh
|
private |
Read couples.
|
private |
Calculate pointCells.
|
private |
|
private |
Create boundary faces from the quads.
Specialist version of face comparison to deal with.
PROSTAR boundary format idiosyncracies
|
private |
Purge cell shapes.
|
private |
Make polyhedral cells and global faces if the mesh is polyhedral.
|
private |
Make polyhedral boundary from shape boundary.
(adds more faces to the face list)
|
private |
Make polyhedral mesh data (packing)
void writeMesh | ( | ) |
Write mesh.
|
private |
Name of the case.
Definition at line 58 of file sammMesh.H.
|
private |
Database.
Definition at line 61 of file sammMesh.H.
|
private |
Points supporting the mesh.
Definition at line 64 of file sammMesh.H.
|
private |
Cell shapes.
Definition at line 67 of file sammMesh.H.
|
private |
Boundary faces.
Definition at line 70 of file sammMesh.H.
|
private |
Boundary patch types.
Definition at line 73 of file sammMesh.H.
|
private |
Default boundary patch name.
Definition at line 76 of file sammMesh.H.
|
private |
Default boundary patch types.
Definition at line 79 of file sammMesh.H.
|
private |
Boundary patch names.
Definition at line 82 of file sammMesh.H.
|
private |
Boundary patch physical types.
Definition at line 85 of file sammMesh.H.
|
private |
Point labels (SAMM point numbering is not necessarily contiguous)
Definition at line 88 of file sammMesh.H.
|
private |
Point labels (SAMM point numbering is not necessarily contiguous)
Definition at line 91 of file sammMesh.H.
|
private |
List of faces for every cell.
Definition at line 94 of file sammMesh.H.
|
private |
Global face list for polyMesh.
Definition at line 97 of file sammMesh.H.
|
private |
Cells as polyhedra for polyMesh.
Definition at line 100 of file sammMesh.H.
|
private |
Number of internal faces for polyMesh.
Definition at line 103 of file sammMesh.H.
|
private |
Polyhedral mesh boundary patch start indices.
Definition at line 106 of file sammMesh.H.
|
mutableprivate |
Point-cell addressing. Used for topological analysis.
Warning. This point cell addressing list potentially contains duplicate cell entries. Use additional checking
Definition at line 111 of file sammMesh.H.
|
private |
Can the mesh be treated as a shapeMesh?
Definition at line 114 of file sammMesh.H.
|
staticprivate |
Pointers to cell models.
Definition at line 119 of file sammMesh.H.
|
staticprivate |
Definition at line 120 of file sammMesh.H.
|
staticprivate |
Definition at line 121 of file sammMesh.H.
|
staticprivate |
Definition at line 122 of file sammMesh.H.
|
staticprivate |
Definition at line 123 of file sammMesh.H.
|
staticprivate |
Definition at line 124 of file sammMesh.H.
|
staticprivate |
Definition at line 125 of file sammMesh.H.
|
staticprivate |
Definition at line 127 of file sammMesh.H.
|
staticprivate |
Definition at line 128 of file sammMesh.H.
|
staticprivate |
Definition at line 129 of file sammMesh.H.
|
staticprivate |
Definition at line 130 of file sammMesh.H.
|
staticprivate |
Definition at line 131 of file sammMesh.H.
|
staticprivate |
Definition at line 132 of file sammMesh.H.
|
staticprivate |
Definition at line 134 of file sammMesh.H.
SAMM addressing data.
Definition at line 138 of file sammMesh.H.
Definition at line 139 of file sammMesh.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.