CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Best mesh generation software for OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2007, 21:48
Default Best mesh generation software for OpenFOAM
  #1
New Member
 
mou
Join Date: Mar 2009
Posts: 20
Rep Power: 17
mamaly60 is on a distinguished road
Hello

What is the Best mesh generation software for OpenFOAM?

cheers
mamaly60 is offline   Reply With Quote

Old   November 9, 2007, 06:59
Default CalculiX GraphiX, www.calculix
  #2
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
CalculiX GraphiX, www.calculix.de
SALOME, www.salome-platform.com (or .org?)
mkraposhin is offline   Reply With Quote

Old   November 9, 2007, 08:18
Default For Calculix, you can first mo
  #3
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
For Calculix, you can first model a surface in Blender and then import that surface into Calculix to be extruded. I posted the import script and brief tutorials in a few other threads. Blender is at www.blender.org .

Doug
juanjo likes this.
gdbaldw is offline   Reply With Quote

Old   November 9, 2007, 11:36
Default I vote for blockMesh. It may b
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
I vote for blockMesh. It may be slightly harder to learn but I find it fun to use. It has all the basic elements you need to create any kind of mesh. You just need a lot of patience. If that does not sound too convincing, try gmsh. It features a GUI and is somewhat easier to use.
linyanx and hogsonik like this.
msrinath80 is offline   Reply With Quote

Old   November 9, 2007, 13:17
Default I do agree with madhavan. http
  #5
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
I do agree with madhavan.
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   November 9, 2007, 14:26
Default My vote goes without any secon
  #6
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
My vote goes without any second thoughts to the one and only.... Netgen v4.5 :-)!

The software seriously rocks when it comes to mesh generation! I have been using it for over a year now, and always keep it up to date from CVS....

So far... the only complaint I have is that it does not do a good job when there are long narrow gaps (for example concentric cylinders with gaps which are very small compared to the rest of the geometry).

Also... it can only create pure tetrahedral meshes in 3D (though, for my applications... this does not seem to be so much of a limitation)

As for importing into OpenFOAM... flawless.... Mesh Quality... very very acceptable.... Complexity.... hardly complex :-)..... Type of geometries it can handle... yet to find one which it cannot handle :-)!

It can directly import STEP and IGES files (if compiled with OpenCascade support)... and I dont need to do anything special when exporting out of Pro/E.

And on a purely personal note.... I have tried Gmsh and Tetgen... but found netgen to be much more user friendly... and the GUI easier to work with.

Philippose
philippose is offline   Reply With Quote

Old   November 9, 2007, 14:32
Default If I well understood none of t
  #7
Member
 
Michele Vascellari
Join Date: Mar 2009
Posts: 70
Rep Power: 17
mighelone is on a distinguished road
If I well understood none of these software is a multi-grid hexahedral mesh generator!?

Does exist a free (open source is better) hexahedral mesh generator, with the features of gridgen?

Michele
mighelone is offline   Reply With Quote

Old   November 9, 2007, 15:55
Default I too needed hex, not tet. bl
  #8
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
I too needed hex, not tet. blockMesh does hex, but is difficult for anything but simple geometry. I assure you that Blender is a very capable tool for generating a surface mesh made of quads, and that Calculix can extrude this surface using the Python script I posted in another thread.

Furthermore, I have a technique now for generating "manifolds" from the Blender surface mesh, and using Calculix to create "columns" of hex between each manifold. To generate manifolds I first use a seperate Python script to project normals from the quad surface and make any manual adjustments needed, then export to Calculix. Exports from Calculix to OpenFOAM are without error.

If you'd like to learn this technique, I'd be happy to share my experience with you through this forum, so that others may also benefit. A formal tutorial is really needed, but for now some of my prior postings may be useful as an introduction to this technique.

Doug
gdbaldw is offline   Reply With Quote

Old   November 9, 2007, 17:43
Default Hi, Philippose, Could you p
  #9
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Philippose,

Could you please post the link to download netgen 4.5? Thanks!

Pei
hsieh is offline   Reply With Quote

Old   November 9, 2007, 17:48
Default Hi, Doug, Using blender + c
  #10
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Doug,

Using blender + calculiX is an interesting concept. What if the 3D shape is irregular (that is cannot simply uses extrusion)?

pei
hsieh is offline   Reply With Quote

Old   November 9, 2007, 18:49
Default Hi Doug, your technique see
  #11
Member
 
Michele Vascellari
Join Date: Mar 2009
Posts: 70
Rep Power: 17
mighelone is on a distinguished road
Hi Doug,

your technique seems very interesting, maybe a little bit complicated.

However the Pey-Ying's observation is true, in fact extruding 2D surface for irregular geometry I suppose to be very hard!

Unfortunately in the open source world a free hexa mesh generator doesn't exist yet, like OpenFoam for solver or paraview, opendx for post-processing.

Michele
mighelone is offline   Reply With Quote

Old   November 9, 2007, 18:54
Default Pei, I'm using manifolds, s
  #12
Member
 
Doug Baldwin
Join Date: Mar 2009
Posts: 53
Rep Power: 17
gdbaldw is on a distinguished road
Pei,

I'm using manifolds, stretching the surface as it is moved away from the body. I developed a Python script for manifolds. I'm begining a meshing project where I'll be able to post images over the next week or so, which would be the best way I think to show how to use the monifolds script.

Doug
gdbaldw is offline   Reply With Quote

Old   November 9, 2007, 19:36
Default Hi, Doug, It will be great
  #13
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Doug,

It will be great if you can post the steps/images on the internet - much easier to understand. Thanks for the effort!

pei
hsieh is offline   Reply With Quote

Old   November 9, 2007, 23:50
Default I second Pei. Doug, would it b
  #14
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
I second Pei. Doug, would it be too much of a work to collect the materials you posted and attach them to the Wiki?

Takuya
7islands is offline   Reply With Quote

Old   February 27, 2009, 05:04
Default Hello, I am impressed with
  #15
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
Hello,

I am impressed with the ease of generating hexamesh with blockMesh for simple geometery. However I am not sure how to get my IGES file to blockMesh format. My geometery consists of two pipes perpendicular to each other, however their intersection is a bit complicated: gradual expansion.

I will have to use splines to describe this intersection. Can anybody shed some light on how to get the geometery(IGES) in blockMesh format ?

Does somebody has a geometery file of blockMesh with splines in it? Maybe I could use manually convert IGES to blockMesh...

Thanks
Rishi
hellorishi is offline   Reply With Quote

Old   November 3, 2011, 17:11
Default
  #16
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
My votes go to GridPro, ICEM and Gridgen

Blockmesh should better be improved to have kind of auto-optimization functions.
Is it that hard, given dozens of moving mesh functions are already available?
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   November 13, 2011, 19:19
Default
  #17
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18
jchawner is on a distinguished road
Michele:

Free hex gridding is available in MegaCads - http://www.megacads.dlr.de/

But you really should try Pointwise ;-)
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Old   July 12, 2015, 19:03
Default
  #18
New Member
 
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 16
vitor.geraldes@ist.utl.pt is on a distinguished road
For me cfMesh (from c-fields.com ) is one of the best mesh generators for OpenFoam.
franjo_j likes this.
vitor.geraldes@ist.utl.pt is offline   Reply With Quote

Old   August 8, 2016, 12:56
Wink SnappyHexMesh
  #19
Member
 
Muhammad Usman
Join Date: Feb 2014
Posts: 91
Rep Power: 0
13msmemusman is on a distinguished road
Quote:
Originally Posted by hellorishi View Post
Hello,

I am impressed with the ease of generating hexamesh with blockMesh for simple geometery. However I am not sure how to get my IGES file to blockMesh format. My geometery consists of two pipes perpendicular to each other, however their intersection is a bit complicated: gradual expansion.

I will have to use splines to describe this intersection. Can anybody shed some light on how to get the geometery(IGES) in blockMesh format ?

Does somebody has a geometery file of blockMesh with splines in it? Maybe I could use manually convert IGES to blockMesh...

Thanks
Rishi
Use snappyHexMesh for complex geometries..... with STL files. Only disadvantage is you can not make a parametric Mesh.... I like blockMesh due to its parametric mesh creating abilities....
13msmemusman is offline   Reply With Quote

Old   September 15, 2016, 14:31
Default
  #20
Senior Member
 
NablaDyn's Avatar
 
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11
NablaDyn is on a distinguished road
For complex geometries and moderate quality: Netgen, Engrid, Snappyhexmesh (in my opinion these generators provide rather moderate or good quality meshes).

For very-high-quality (elliptic) hex meshes: MegaCads (GUI support)
labyrinth01 likes this.
NablaDyn is offline   Reply With Quote

Reply


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[ANSYS Meshing] Question about mesh generation learning lnk ANSYS Meshing & Geometry 2 July 7, 2012 07:45
Recommendation for mesh generation software tibich72 Main CFD Forum 8 June 9, 2011 12:24
Mesh generation software is needed H.Dou Main CFD Forum 12 May 4, 2011 16:20


All times are GMT -4. The time now is 08:44.