CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

To convert Mesh from OpenFoam to GMSH

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 12, 2012, 05:12
Default To convert Mesh from OpenFoam to GMSH
  #1
New Member
 
Mattia
Join Date: Oct 2012
Location: Milan
Posts: 28
Rep Power: 4
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?

Thanks
Best regards.
Mattia
gara1988 is offline   Reply With Quote

Old   October 12, 2012, 09:43
Default
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
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
philippose is offline   Reply With Quote

Reply

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
failed 1 mesh checks (gmsh) appa Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 April 5, 2012 18:03
gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 July 7, 2011 02:28
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 18:10
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 19:59.