From 3a4cd986712440eee7c5b3b6ea0519c39939af3c Mon Sep 17 00:00:00 2001 From: mattijs <mattijs@hunt.opencfd.co.uk> Date: Tue, 9 Jun 2009 14:18:37 +0100 Subject: [PATCH] update face flip map on zone --- .../mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L index bbaab8b01d5..89477520816 100644 --- a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L +++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L @@ -816,6 +816,8 @@ int main(int argc, char *argv[]) // Pre-filtering: flip "owner" boundary or wrong oriented internal // faces and move to neighbour + + boolList fm(faces.size(), false); forAll (faces, facei) { if @@ -824,6 +826,7 @@ int main(int argc, char *argv[]) || (neighbour[facei] != -1 && owner[facei] > neighbour[facei]) ) { + fm[facei] = true; faces[facei] = faces[facei].reverseFace(); Swap(owner[facei], neighbour[facei]); } @@ -1175,7 +1178,7 @@ int main(int argc, char *argv[]) false, // flipFaceFlux -1, // patchID faceZonei, // zoneID - false // zoneFlip + fm[facei] // zoneFlip ); } -- GitLab