From 3715ed220747c4e47b11456f0ac7681e3e2b1396 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 30 Mar 2010 14:07:51 +0200 Subject: [PATCH 01/20] STYLE: had OpenCFD instead of OpenFOAM in COPYING --- COPYING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COPYING b/COPYING index 81ee282d31..7e02780f0b 100644 --- a/COPYING +++ b/COPYING @@ -3,7 +3,7 @@ OpenFOAM(R) is Copyright (C) 1991-2010 OpenCFD Ltd. Contact: OpenCFD (enquiries@OpenCFD.co.uk) - You may use, distribute and copy the OpenCFD CFD Toolbox under the terms + You may use, distribute and copy the OpenFOAM CFD Toolbox under the terms of GNU General Public License version 3, which is displayed below, or (at your option) any later version. From 883dbc2e2dd8eda98da439cedfb0077c85506e6c Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 30 Mar 2010 21:48:57 +0100 Subject: [PATCH 02/20] ENH: Add concave cell checking --- .../manipulation/checkMesh/checkGeometry.C | 16 +++ .../meshes/primitiveMesh/primitiveMesh.H | 21 ++- .../primitiveMeshCheck/primitiveMeshCheck.C | 135 +++++++++++++++++- 3 files changed, 160 insertions(+), 12 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C b/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C index e16d90bbbd..50ff6918b0 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkGeometry.C @@ -291,6 +291,22 @@ Foam::label Foam::checkGeometry(const polyMesh& mesh, const bool allGeometry) } } + if (allGeometry) + { + cellSet cells(mesh, "concaveCells", mesh.nCells()/100); + if (mesh.checkConcaveCells(true, &cells)) + { + noFailedChecks++; + + label nCells = returnReduce(cells.size(), sumOp