Friday, April 13, 2012

Creating INRIA mesh file

If you have a certain triangulation which you have created and you want to export it to GMsh (open source meshing and post processing software) you can export it to the simplest file format ".mesh". The INRIA medit mesh file (which is ASCII formatted) has the following syntax as shown in the figure below

You can create ".mesh" file using C, C++, Scilab, or any programming language.
Using GMsh you can convert this triangulation to one of the following extensions (by saving the file as) as shown below