CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Which GPL Mesh Generator?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2009, 00:33
Default Which GPL Mesh Generator?
  #1
New Member
 
Join Date: Jun 2009
Posts: 2
Rep Power: 0
mikebb is on a distinguished road
Hi All,

Looking for a GPL mesh generator for unstructured grids, with the following features:
* handles complicated geometries.
* robust (rarely/never crashes).
* imports at least IGES and STL formats.
* runs in a script mode (with all GUI options available in the script mode).

Ideally, it should also have an active developer team, so there is good user-support and on-going debugging/improvements to the code.

There are several mesh generators on the CFD Online Wiki (for example, gmsh, netgen, salome) but I was hoping users can share their real-world experiences with any of the GPL meshers.

Thanks,
Mike.
mikebb is offline   Reply With Quote

Old   June 11, 2009, 10:55
Default
  #2
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hello Mike,

We are working on an open-source mesher for CFD and I have tried all three examples you have mentioned in your post. Of course my comments might be biased towards our own developments ...

Our own meshing software ENGRID (see http://engits.com/engrid) was started out of desperation about the lack of an open-source or low cost mesher that could handle prismatic boundary layers reliably (NETGEN is used internally for tet-meshing).

GMSH and NETGEN are excellent pieces of software but when it comes to boundary layers there was nothing available at the time. My experience with SALOME is a bit limited but I think it serves mainly as a front-end to NETGEN and GMSH or other, possibly commercial, programs. Feel free to correct me if I am wrong.

At the moment I don't think you will get an open-source solution fulfilling all your requirements -- but let me go through them step by step:

handles complicated geometries
I think NETGEN, GMSH, and ENGRID handle complicated geometries. ENGRID does have the option to create prismatic boundary layers. We have had some feedback hinting that maybe the boundary layer support could be better than that of a popular commercial tool ... user friendliness might not be the same, though. We are, however, willing to take comments and work on improving the GUI and usability.

robust (rarely/never crashes)
Hard to say -- try for yourself. I, personally, had little to no crashes with NETGEN or GMSH.

imports at least IGES and STL formats
At the moment ENGRID requires a surface mesh as input. Hence you will have to use NETGEN or GMSH for that task. Both import IGES and STEP and NETGEN also has some STL support which I haven't tried myself. In the near future we plan to offer our own surface meshing within ENGRID, based on imported STL files (IGES and STEP support will come later). At the moment we use GMSH for surface meshing but my personal opinion is that it can be a bit tedious to get the required resolution, because the edge-length can be defined at points of the geometry; if you don't have a point you need to artificially introduce a point with your CAD program. Again, I can only speak about my experiences and maybe there is a better way of doing this.

runs in a script mode (with all GUI options available in the script mode)
GMSH does; NETGEN I don't know. ENGRID does not at the moment, but that is definitely something we will implement -- also for testing purposes.


Another good tool worth mentioning is snappyHexMesh which is part of the OpenFOAM distribution. It is an all hex unstructured tool with support for boundary layers. Input is an STL geometry and it will only run in a script/batch mode.

I hope this was helpful.

Best regards,
Oliver

Last edited by ogloth; June 12, 2009 at 04:27.
ogloth is offline   Reply With Quote

Old   June 14, 2009, 23:24
Default
  #3
New Member
 
Join Date: Jun 2009
Posts: 2
Rep Power: 0
mikebb is on a distinguished road
Dear Oliver,

Thank you for the detailed reply.

Based on searching online and on your reply the options are Gmsh and snappyHexMesh. It seems that Gmsh uses Netgen (as one option) for 3D meshes. I'd be happy to experiment with Engrid when it supports a script mode.

Cheers,
Mike.
mikebb is offline   Reply With Quote

Old   June 15, 2009, 12:25
Default conformal mesh?
  #4
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Oliver,

Your mesher looked interesting. I would like to use OpenFOAM for conjugate heat transfer cases (has both solids and fluids in the domain). Can your mesher mesh both solids and fluid at the same time, especially, has conformal mesh at the solid/fluid interfaces?

phsieh2005
phsieh2005 is offline   Reply With Quote

Old   September 30, 2011, 04:39
Default
  #5
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16
claco is on a distinguished road
Quote:
Originally Posted by ogloth View Post
Hello Mike,

We are working on an open-source mesher for CFD and I have tried all three examples you have mentioned in your post. Of course my comments might be biased towards our own developments ...

Our own meshing software ENGRID (see http://engits.com/engrid) was started out of desperation about the lack of an open-source or low cost mesher that could handle prismatic boundary layers reliably (NETGEN is used internally for tet-meshing).

GMSH and NETGEN are excellent pieces of software but when it comes to boundary layers there was nothing available at the time. My experience with SALOME is a bit limited but I think it serves mainly as a front-end to NETGEN and GMSH or other, possibly commercial, programs. Feel free to correct me if I am wrong.

At the moment I don't think you will get an open-source solution fulfilling all your requirements -- but let me go through them step by step:

handles complicated geometries
I think NETGEN, GMSH, and ENGRID handle complicated geometries. ENGRID does have the option to create prismatic boundary layers. We have had some feedback hinting that maybe the boundary layer support could be better than that of a popular commercial tool ... user friendliness might not be the same, though. We are, however, willing to take comments and work on improving the GUI and usability.

robust (rarely/never crashes)
Hard to say -- try for yourself. I, personally, had little to no crashes with NETGEN or GMSH.

imports at least IGES and STL formats
At the moment ENGRID requires a surface mesh as input. Hence you will have to use NETGEN or GMSH for that task. Both import IGES and STEP and NETGEN also has some STL support which I haven't tried myself. In the near future we plan to offer our own surface meshing within ENGRID, based on imported STL files (IGES and STEP support will come later). At the moment we use GMSH for surface meshing but my personal opinion is that it can be a bit tedious to get the required resolution, because the edge-length can be defined at points of the geometry; if you don't have a point you need to artificially introduce a point with your CAD program. Again, I can only speak about my experiences and maybe there is a better way of doing this.

runs in a script mode (with all GUI options available in the script mode)
GMSH does; NETGEN I don't know. ENGRID does not at the moment, but that is definitely something we will implement -- also for testing purposes.


Another good tool worth mentioning is snappyHexMesh which is part of the OpenFOAM distribution. It is an all hex unstructured tool with support for boundary layers. Input is an STL geometry and it will only run in a script/batch mode.

I hope this was helpful.

Best regards,
Oliver




Dear Sir,

have You implemented the batch-mode run of EnGrid?

Your Sincerely,


Claudio Comis
claco is offline   Reply With Quote

Reply

Tags
gpl, meshing

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
Looking for Free Mesh Generator? Scott Lippman Main CFD Forum 10 January 27, 2010 18:01
2d irregular grid Remy Main CFD Forum 1 December 22, 2008 05:49
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
Mesh generator for marine propellers clhona Main CFD Forum 5 September 4, 2006 07:31


All times are GMT -4. The time now is 20:23.