Functions | |
bool | checkTopology (const polyMesh &mesh, const bool report=false) |
Check mesh topology for correctness. More... | |
bool | checkGeometry (const polyMesh &mesh, const bool report=false) |
Check mesh geometry (& implicitly topology) for correctness. More... | |
bool | checkMesh (const polyMesh &mesh, const bool report=false) |
Check mesh for correctness. Returns false for no error. More... | |
Variables | |
scalar | closedThreshold = 1.0e-6 |
Data to control mesh checking. More... | |
scalar | aspectThreshold = 1000 |
Aspect ratio warning threshold. More... | |
scalar | nonOrthThreshold = 70 |
Non-orthogonality warning threshold in deg. More... | |
scalar | skewThreshold = 4 |
Skewness warning threshold. More... | |
scalar | planarCosAngle = 1.0e-6 |
Threshold where faces are considered coplanar. More... | |
bool checkTopology | ( | const polyMesh & | mesh, |
const bool | report = false |
||
) |
Check mesh topology for correctness.
Returns false for no error.
Definition at line 648 of file polyMeshCheck.C.
References primitiveMesh::checkCellsZipUp(), primitiveMesh::checkFaceFaces(), primitiveMesh::checkFaceVertices(), primitiveMesh::checkPoints(), primitiveMesh::checkUpperTriangular(), Foam::endl(), and Foam::Info.
bool checkGeometry | ( | const polyMesh & | mesh, |
const bool | report = false |
||
) |
Check mesh geometry (& implicitly topology) for correctness.
Returns false for no error.
Definition at line 680 of file polyMeshCheck.C.
References primitiveMesh::checkCellVolumes(), primitiveMesh::checkClosedBoundary(), primitiveMesh::checkClosedCells(), primitiveMesh::checkFaceAreas(), polyMesh::checkFaceOrthogonality(), primitiveMesh::checkFacePyramids(), polyMesh::checkFaceSkewness(), Foam::endl(), and Foam::Info.
bool checkMesh | ( | const polyMesh & | mesh, |
const bool | report = false |
||
) |
Check mesh for correctness. Returns false for no error.
Definition at line 714 of file polyMeshCheck.C.
References Foam::checkGeometry(), Foam::checkTopology(), Foam::endl(), and Foam::Info.
Referenced by attachPolyTopoChanger::attach(), motionSmootherAlgo::checkMesh(), checkMesh::execute(), motionSmootherAlgo::scaleMesh(), hexRef8::setRefinement(), and hexRef8::setUnrefinement().
|
extern |
Data to control mesh checking.
Cell closedness warning threshold
set as the fraction of un-closed area to closed area
Definition at line 33 of file polyMeshCheck.C.
Referenced by primitiveMesh::checkClosedBoundary(), and primitiveMesh::checkClosedCells().
|
extern |
Aspect ratio warning threshold.
Definition at line 34 of file polyMeshCheck.C.
Referenced by primitiveMesh::checkClosedCells().
|
extern |
Non-orthogonality warning threshold in deg.
Definition at line 35 of file polyMeshCheck.C.
Referenced by polyMesh::checkFaceOrthogonality().
|
extern |
Skewness warning threshold.
Definition at line 36 of file polyMeshCheck.C.
Referenced by polyMesh::checkFaceSkewness().
|
extern |
Threshold where faces are considered coplanar.
Definition at line 37 of file polyMeshCheck.C.
Referenced by primitiveMesh::checkConcaveCells().