CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

To convert Mesh from OpenFoam to GMSH

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2012, 06:12
Default To convert Mesh from OpenFoam to GMSH
New Member
Join Date: Oct 2012
Location: Milan
Posts: 28
Rep Power: 10
gara1988 is on a distinguished road
Hello, I have a mesh in openFoam, I have the files: boundary, faces, neighbor, owner and points. Can I convert this files to .msh file compatible with gmsh? How Can I do this?

Best regards.
gara1988 is offline   Reply With Quote

Old   October 12, 2012, 10:43
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 21
philippose will become famous soon enough
Hello Mattia,

A Good Afternoon to you!

As of now, there is no utility within the standard OpenFOAM ecosystem which converts a mesh from the native OpenFOAM format to a GMSH compatible format.

A long time ago, I had written a utility which converts an OpenFOAM mesh to a format which can be imported into the meshing utility "Netgen".

Theoretically, you can convert an OpenFOAM mesh to Netgen, open it using Netgen, and convert it from Netgen to GMSH....

I am not sure if I will be able to find the utility I wrote, but if you are interested in this relatively longer route, let me know, and I could search for the utility.

Have a great weekend ahead!

philippose is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] failed 1 mesh checks (gmsh) appa OpenFOAM Meshing & Mesh Conversion 2 July 30, 2015 18:09
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi OpenFOAM Meshing & Mesh Conversion 8 July 7, 2011 03:28
[Gmsh] Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 10:35
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38

All times are GMT -4. The time now is 11:04.