BUG: createBaffles: preserve faceZone orientation

This commit is contained in:
mattijs
2013-12-09 17:20:55 +00:00
parent e551bdf2db
commit 6dca9b0961

View File

@ -207,7 +207,10 @@ void createFaces
} }
else 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 modifyOrAddFace
( (
meshMod, meshMod,
@ -217,7 +220,7 @@ void createFaces
true, // face flip true, // face flip
newMasterPatches[i], // patch for face newMasterPatches[i], // patch for face
fZone.index(), // zone for face fZone.index(), // zone for face
true, // face flip in zone false, // face flip in zone
modifiedFace // modify or add status modifiedFace // modify or add status
); );
} }
@ -264,7 +267,7 @@ void createFaces
false, // face flip false, // face flip
newSlavePatches[i], // patch for face newSlavePatches[i], // patch for face
fZone.index(), // zone for face fZone.index(), // zone for face
false, // face flip in zone true, // face flip in zone
modifiedFace // modify or add status modifiedFace // modify or add status
); );
} }