You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code can convert a quadrilateral .msh file of GMSH to a .vtk file (ParaView/Visit can read it).
Example: Given a .msh file, in this case it is a multi-block RAE 2822 mesh:
The code produces a .vtk file as follows:
For numeric people, the code brings almost everything you need about the mesh. You can adapt it to integrate with your solver.
gmsh-to-vtk-and-tecplot is really compact. It is only 532 lines of code, thanks to making use of modern Fortran (Fortran 95 with some Fortran 2003 features when necessary).