From 43f938291ebdec73e03761d0b15f9402df99d068 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 3 Sep 2019 12:32:04 +0100 Subject: [PATCH] ENH: polyMesh: better warning message --- src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C b/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C index dd8fe0c29c..022ec1f27a 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshFromShapeMesh.C @@ -591,7 +591,8 @@ Foam::polyMesh::polyMesh { WarningInFunction << "Found " << nDefaultFaces - << " undefined faces in mesh; adding to default patch." << endl; + << " undefined faces in mesh; adding to default patch " + << defaultBoundaryPatchName << endl; // Check if there already exists a defaultFaces patch as last patch // and reuse it. @@ -864,7 +865,8 @@ Foam::polyMesh::polyMesh { WarningInFunction << "Found " << nDefaultFaces - << " undefined faces in mesh; adding to default patch." << endl; + << " undefined faces in mesh; adding to default patch " + << defaultBoundaryPatchName << endl; // Check if there already exists a defaultFaces patch as last patch // and reuse it.