diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C index 1064aa3682347095f87f4b2fa455cf3ac60fcb51..bd5729a1b38545a655df070b5a44cd88709379b5 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinement.C @@ -1134,6 +1134,18 @@ Foam::autoPtr<Foam::mapDistributePolyMesh> 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<bool>(), // combine operator + false // separation + ); } reduce(nUnblocked, sumOp<label>());