diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C index c896283e1e6dda72584ff6e337fdcdef96ca05a4..4e9559a6d1b913b526b27f3e5bfca162feef3140 100644 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/ideasUnvToFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -377,6 +377,37 @@ void readCells cellVerts.append(cellShape(hex, cVerts, true)); cellMaterial.append(physProp); + if (cellVerts.last().size() != cVerts.size()) + { + Pout<< "Line:" << is.lineNumber() + << " element:" << cellI + << " type:" << feID + << " collapsed from " << cVerts << nl + << " to:" << cellVerts.last() + << endl; + } + } + else if (feID == 118) + { + // Parabolic Tet + is.getLine(line); + + labelList cVerts(4); + label dummy; + { + IStringStream lineStr(line); + lineStr + >> cVerts[0] >> dummy >> cVerts[1] >> dummy >> cVerts[2]; + } + is.getLine(line); + { + IStringStream lineStr(line); + lineStr >> dummy>> cVerts[3]; + } + + cellVerts.append(cellShape(tet, cVerts, true)); + cellMaterial.append(physProp); + if (cellVerts.last().size() != cVerts.size()) { Info<< "Line:" << is.lineNumber()