CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSYS Meshing & Geometry (
-   -   Converting Fluent mesh files to Gambit neutral files (

samuelkc May 21, 2010 04:14

Converting Fluent mesh files to Gambit neutral files
1 Attachment(s)
Now that Ansys no longer supports Gambit (after this month), it is no longer possible to export meshes in Gambit neutral format (*.neu) for any legacy codes which require it. Attached to this post is the code for two tools:

msh2neu: convert Fluent mesh files (*.msh) to Gambit neutral files (*.neu)
neu2msh: convert Gambit neutral files (*.neu) to Fluent mesh files (*.msh)

The code is limited to two dimensional, non-periodic meshes. However, it supports tagging of boundaries (for specification of boundary conditions in your code) and tagging of mesh regions (e.g. to distinguish an outlet region where the convection-diffusion equation is solved instead of Navier-Stokes).

Compilation is using gcc and make. Also included is documentation. I could not include any example meshes or icemcfd projects because of the size constraint on attachments.

This code may or may not be of any use to anyone, but I certainly need it as my own code was developed to use Gambit neutral files only and Gambit license support ends in a few days time. If anybody else has a similar problem, feel free to use it.

Vimal.Singh July 9, 2010 18:37

Hi Samuel,

Do you know if somebody had developed or using any prgoram to convert FLUENT mesh file to GAMBIT neutral file format for 3D problem. My code is also uses the files with GAMBIT *.neu file format.



samuelkc July 9, 2010 20:13

Hi Vimal,

Sorry, I don't know of any 3D equivalent to my code. It may exist somewhere out there, of course, but I wasn't able to find any *.msh to *.neu converter when I looked.

Perhaps your best solution is to develop your own converter. You could use my code as a guide, but beware that there will be some significant changes in going to 3D. Information on the file formats is available in the manuals, which will be invaluable if you choose to go down this path.


samuelkc July 9, 2010 20:16

By the way, I understand that it may be possible to purchase a separate license for Gambit. However, it is no longer included in the standard package for Ansys/Fluent. Talk to your local distributor.


Vimal.Singh July 9, 2010 22:51

Thanks Sam. I will look into it. If there is something will discuss with you.



Femgineer July 24, 2013 08:02

Any progress?
Any chance anyone has had any progress with creating a 3D version?
This is exactly what I've been looking for!

Many thanks.

All times are GMT -4. The time now is 23:27.