From 582f59c4cb5b95cdd8c6a20a1f45d70d4e2579e9 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 26 Aug 2016 11:44:56 +0100 Subject: [PATCH] Revert "polyBoundaryMesh::groupPatchIDs(): Make name clash between patch and group name fatal" This reverts commit 12ee01790182eddc3e63ba369ef1e88d2d7739fa. --- .../polyMesh/polyBoundaryMesh/polyBoundaryMesh.C | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C index 5f1a34ded..9b14e0383 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C @@ -445,15 +445,14 @@ Foam::polyBoundaryMesh::groupPatchIDs() const if (findPatchID(name) != -1) { - FatalErrorInFunction - << "Patch '" << bm[patchi].name() << '\'' - << " specifies the group '" << name << '\'' - << " which clashes with a patch name." << nl - << " Please choose patch names" - " which are not patch type/group names." - << exit(FatalError); + WarningInFunction + << "Patch " << bm[patchi].name() + << " specifies a group " << name + << " which is also a patch name." + << " This might give problems later on." << endl; } + HashTable::iterator iter = groupPatchIDs.find ( name