From 10ae335e08f66df0aceafdcc7550c97dbe9b0ad8 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 10 Sep 2009 12:43:51 +0100 Subject: [PATCH] added warning message - coupled bcs not handled --- .../mesh/manipulation/mirrorMesh/mirrorFvMesh.C | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C index 83b1894f82..9876f4a06f 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C @@ -167,6 +167,16 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io) forAll (oldPatches, patchI) { const polyPatch& curPatch = oldPatches[patchI]; + + if (curPatch.coupled()) + { + WarningIn("mirrorFvMesh::mirrorFvMesh(const IOobject&)") + << "Found coupled patch " << curPatch.name() << endl + << " Mirroring faces on coupled patches destroys" + << " the ordering. This might be fixed by running a dummy" + << " createPatch afterwards." << endl; + } + boolList& curInsBouFace = insertedBouFace[patchI]; curInsBouFace.setSize(curPatch.size());