BUG: meshRefinement: decision might not be synchronised in case of geometric testing

This commit is contained in:
mattijs
2013-06-14 10:43:41 +01:00
parent c0bc284c3d
commit 1b0c0c10da

View File

@ -955,6 +955,17 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
} }
} }
// Because of isCollapsedFace one side can decide not to baffle whereas
// the other side does so sync. Baffling is prefered over not baffling.
syncTools::syncFaceList
(
mesh_,
facePatch,
maxEqOp<label>()
);
Info<< "markFacesOnProblemCells : marked " Info<< "markFacesOnProblemCells : marked "
<< returnReduce(nBaffleFaces, sumOp<label>()) << returnReduce(nBaffleFaces, sumOp<label>())
<< " additional internal faces to be converted into baffles." << " additional internal faces to be converted into baffles."