diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C index c1a3512ad..813d683f8 100644 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C @@ -226,8 +226,6 @@ void readPoints ( is ) << "Points not in order starting at point " << pointi - //<< " at line " << is.lineNumber() - //<< abort(FatalError); << endl; } @@ -478,6 +476,13 @@ void readCells Info<< "Read " << cellVerts.size() << " cells" << " and " << boundaryFaces.size() << " boundary faces." << endl; + + if (!cellVerts.size()) + { + WarningInFunction + << "There are no cells in the mesh." << endl + << " Note: 2D meshes are not supported."<< endl; + } }