diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C index 5f1a34deda..9b14e03833 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