diff --git a/applications/utilities/mesh/manipulation/checkMesh.save/Make/files b/applications/utilities/mesh/manipulation/checkMesh.save/Make/files deleted file mode 100644 index f0b7c16694..0000000000 --- a/applications/utilities/mesh/manipulation/checkMesh.save/Make/files +++ /dev/null @@ -1,6 +0,0 @@ -printMeshStats.C -checkTopology.C -checkGeometry.C -checkMesh.C - -EXE = $(FOAM_APPBIN)/checkMesh diff --git a/applications/utilities/mesh/manipulation/checkMesh.save/Make/options b/applications/utilities/mesh/manipulation/checkMesh.save/Make/options deleted file mode 100644 index 54c035b8f5..0000000000 --- a/applications/utilities/mesh/manipulation/checkMesh.save/Make/options +++ /dev/null @@ -1,5 +0,0 @@ -EXE_INC = \ - -I$(LIB_SRC)/meshTools/lnInclude - -EXE_LIBS = \ - -lmeshTools diff --git a/applications/utilities/mesh/manipulation/checkMesh.save/checkGeometry.C b/applications/utilities/mesh/manipulation/checkMesh.save/checkGeometry.C deleted file mode 100644 index 9eb4ef63ad..0000000000 --- a/applications/utilities/mesh/manipulation/checkMesh.save/checkGeometry.C +++ /dev/null @@ -1,220 +0,0 @@ -#include "checkGeometry.H" -#include "polyMesh.H" -#include "globalMeshData.H" -#include "cellSet.H" -#include "faceSet.H" -#include "pointSet.H" - -Foam::label Foam::checkGeometry -( - const polyMesh& mesh, - bool checkPointNearness, - bool checkCellDeterminant -) -{ - label noFailedChecks = 0; - - Info<< "\nChecking geometry..." << endl; - - boundBox bb(mesh.points()); - - Pout<< " Domain bounding box: " - << bb.min() << " " << bb.max() << endl; - - // Get a small relative length from the bounding box - const boundBox& globalBb = mesh.globalData().bb(); - - if (Pstream::parRun()) - { - Info<< " Overall domain bounding box: " - << globalBb.min() << " " << globalBb.max() << endl; - } - - - // Min length - scalar minDistSqr = magSqr(1e-6*(globalBb.max() - globalBb.min())); - - - if (mesh.checkClosedBoundary(true)) noFailedChecks++; - - { - cellSet cells(mesh, "nonClosedCells", mesh.nCells()/100+1); - cellSet aspectCells(mesh, "highAspectRatioCells", mesh.nCells()/100+1); - if (mesh.checkClosedCells(true, &cells, &aspectCells)) - { - noFailedChecks++; - - if (cells.size() > 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " < nEdgeClose) - { - pointSet nearPoints(mesh, "nearPoints", points); - Pout<< " < 0) - { - Pout<< " < 0) - { - Pout<< " <()); - - if (noFailedChecks == 0) - { - Info<< "\nMesh OK." - << nl << endl; - } - else - { - Info<< "\nFailed " << noFailedChecks << " mesh checks." - << nl << endl; - } - } - else if (state == polyMesh::POINTS_MOVED) - { - label noFailedChecks = checkGeometry - ( - mesh, - args.options().found("pointNearness"), - args.options().found("cellDeterminant") - ); - - reduce(noFailedChecks, sumOp