-
Notifications
You must be signed in to change notification settings - Fork 10
Home
DANG Truong edited this page Mar 9, 2018
·
6 revisions
Welcome to the gmsh-to-vtk-and-tecplot wiki!
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).
Updates: The code passes some test cases taken from the 3rd International Workshop on High-Order CFD Methods
C31 test case: Naca 0012 test case: