mrklein / p3d2gmsh

Convert NASA's Plot3D mesh format into Gmsh's MSH format
MIT License
29 stars 20 forks source link

naca mesh does not show in gmsh #4

Closed cpraveen closed 5 years ago

cpraveen commented 5 years ago

When I open the included naca msh file in latest gmsh, no mesh is displayed. I also dont get any error in gmsh. Do you know what could be wrong ?

mrklein commented 5 years ago

By default new versions of Gmsh read mesh files version 4.0, one in the repository in version 2.0 (and script generates MSH files version 2.0). I do not plan to update the script but rather implement more universal mesh conversion utility.

cpraveen commented 5 years ago

By default, gmsh generates file in latest version. But msh version is present in msh file and gmsh is backward compatible and can read older versions. Strangely it does not give any error also.

cpraveen commented 5 years ago

Please see this also http://onelab.info/pipermail/gmsh/2018/012618.html

cpraveen commented 5 years ago

Copying 4th column value into 5th column (instead of -1) will fix this issue. I have attached a patch file. tag.patch.txt