From f6ec4dee463ac78489ed8f739d9b6181ecbcd512 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 1 Oct 2009 19:34:53 +0100 Subject: [PATCH 01/17] added -constant --- applications/utilities/mesh/manipulation/checkMesh/checkMesh.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C index 2a589c1643..96fb76ffe2 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C @@ -47,7 +47,7 @@ using namespace Foam; int main(int argc, char *argv[]) { - timeSelector::addOptions(false); // no constant + timeSelector::addOptions(); # include "addRegionOption.H" argList::validOptions.insert("noTopology", ""); argList::validOptions.insert("allGeometry", ""); From c0f69c19f78228c8476ea8c855e88a9f4e897c09 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 1 Oct 2009 19:35:18 +0100 Subject: [PATCH 02/17] sync blockedFaces --- .../autoHexMesh/meshRefinement/meshRefinement.C | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C index 1064aa3682..bd5729a1b3 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C @@ -1134,6 +1134,18 @@ Foam::autoPtr Foam::meshRefinement::balance } } } + + + // If the faceZones are not synchronised the blockedFace + // might not be synchronised. If you are sure the faceZones + // are synchronised remove below check. + syncTools::syncFaceList + ( + mesh_, + blockedFace, + andEqOp(), // combine operator + false // separation + ); } reduce(nUnblocked, sumOp