From ffa75238a625aa38e477fbac1fcb328b611dc7e9 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 11 Dec 2008 15:49:29 +0000 Subject: [PATCH 1/5] comment --- .../utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index 5777ae8a8a..43d550f406 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -292,6 +292,7 @@ meshQualityControls minFlatness 0.5; //- Minimum pyramid volume. Is absolute volume of cell pyramid. + // Set to a sensible fraction of the smallest cell volume expected. // Set to very negative number (e.g. -1E30) to disable. minVol 1e-13; From 987b894e681103388d0705a6d4c717397249f1da Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 11 Dec 2008 15:50:29 +0000 Subject: [PATCH 2/5] hpmpi --- src/Pstream/Allwmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pstream/Allwmake b/src/Pstream/Allwmake index 3083370ad7..25886fbfac 100755 --- a/src/Pstream/Allwmake +++ b/src/Pstream/Allwmake @@ -5,7 +5,7 @@ set -x wmake libso dummy case "$WM_MPLIB" in -LAM | OPENMPI | MPI | MPICH | MPICH-GM | HPMPI | MPIGAMMA ) +LAM | OPENMPI | MPI | MPICH | MPICH-GM | HPMPI ) export WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB set +x echo From e9d5f929bc880373a938b2e890e519d8a8703086 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 11 Dec 2008 15:50:50 +0000 Subject: [PATCH 3/5] synchronisation of zones --- .../meshRefinement/meshRefinementBaffles.C | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C index fdcd15f0e9..950cc7251b 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementBaffles.C @@ -205,7 +205,7 @@ Foam::label Foam::meshRefinement::getBafflePatch WarningIn ( - "meshRefinement::getBafflePatch(const labelList& const label)" + "meshRefinement::getBafflePatch(const labelList&, const label)" ) << "Could not find boundary face neighbouring internal face " << faceI << " with face centre " << mesh_.faceCentres()[faceI] << nl @@ -1854,18 +1854,17 @@ void Foam::meshRefinement::findCellZoneTopo { break; } + + // Synchronise regionToCellZone. + // Note: + // - region numbers are identical on all processors + // - keepRegion is identical ,, + // - cellZones are identical ,, + Pstream::listCombineGather(regionToCellZone, maxEqOp