From 6dca9b09612d978f5d64749f4262f739a8bb82f1 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 9 Dec 2013 17:20:55 +0000 Subject: [PATCH] BUG: createBaffles: preserve faceZone orientation --- .../mesh/manipulation/createBaffles/createBaffles.C | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C index cdbe770d1a..8a58b394ac 100644 --- a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C +++ b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C @@ -207,7 +207,10 @@ void createFaces } else { - // Use neighbour side of face + // Use neighbour side of face. + // To keep faceZone pointing out of original neighbour + // we don't need to set faceFlip since that cell + // now becomes the owner modifyOrAddFace ( meshMod, @@ -217,7 +220,7 @@ void createFaces true, // face flip newMasterPatches[i], // patch for face fZone.index(), // zone for face - true, // face flip in zone + false, // face flip in zone modifiedFace // modify or add status ); } @@ -264,7 +267,7 @@ void createFaces false, // face flip newSlavePatches[i], // patch for face fZone.index(), // zone for face - false, // face flip in zone + true, // face flip in zone modifiedFace // modify or add status ); }