CFD Online Logo CFD Online URL
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

How to .msh to FOAM?

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

LinkBack Thread Tools Display Modes
Old   September 20, 2009, 06:05
Question How to .msh to FOAM?
New Member
Join Date: Sep 2009
Posts: 1
Rep Power: 0
Levante is on a distinguished road
I have spent some time on this forum reading but cant see any consistent answers.

I have a .msh (gmsh 2.4.1) file of a sail that I want to put in OpenFoam. I have tried gmshToFoam but obviously that won't work with gmsh version >1.9.

Has anyone successfully done an import and how?
Or is there another way that I can do this? (Have .STL file)
Levante is offline   Reply With Quote

Old   December 14, 2009, 18:15
Senior Member
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 9
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
I am in the process of learning this myself. I will let you know what I find out.

Are you using the binary version or the git version?

Maybe this forum will help:
gmshToFoam: small fix for gmsh 2.4.x import
ericnutsch is offline   Reply With Quote

Old   December 15, 2009, 04:18
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 10
gwierink is on a distinguished road
Hi James and Eric,

Perhaps it doesn't make sense, but have you tried fluentMeshToFoam? My Gambit/Fluent meshes with .msh extension happily convert with that.
Regards, Gijs
gwierink is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 125 July 1, 2015 21:09
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19

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