CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

how to convert a mesh drawn in matlab to a format which can be used in OpenFOAM

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

LinkBack Thread Tools Display Modes
Old   January 7, 2014, 01:32
Question how to convert a mesh drawn in matlab to a format which can be used in OpenFOAM
New Member
Zhenquan Li
Join Date: Oct 2012
Location: Australia
Posts: 4
Rep Power: 5
jali is on a distinguished road
I have a refined quadrilateral mesh in 2D which is shown in a figure generated by matlab. Could any one give me some idea about how to convert the figure into a mesh file which can be used in OpenFOAM?
Thank you for your help.
jali is offline   Reply With Quote

Old   April 23, 2014, 11:35
New Member
CoolHand's Avatar
Join Date: Jan 2014
Location: South Florida
Posts: 19
Rep Power: 3
CoolHand is on a distinguished road
This is what I'm doing right now and has taken a few months to get right. I created a MatLab code that writes a .msh ASCII file. Then I use gmshToFoam to convert it to the OpenFOAM format. Be warned: This is not a simple thing to do. Here is the GMSH documentation on how the file is formatted.
CoolHand is offline   Reply With Quote


openfoam, quadrilateral mesh

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
Fluent mesh convert to openfoam itsme_kit OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 May 2, 2014 04:38
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
How to convert a mesh into openfoam format jr33 OpenFOAM Meshing & Mesh Conversion 1 October 2, 2012 17:20
Importing 3D mesh from ANSYS to OpenFOAM martyn88 OpenFOAM Meshing & Mesh Conversion 0 September 3, 2012 19:12
Can OpenFOAM convert foam mesh to stl? liying02ts OpenFOAM Meshing & Mesh Conversion 6 July 15, 2010 05:08

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