CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Which Meshing software can I use?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By onyir
  • 1 Post By kiski

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2013, 07:03
Default Which Meshing software can I use?
  #1
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Hi,
I am familiar with Meshing in GAMBIT. The meshes created are in .msh format.
But SU2 requires the mesh to be in .SU2 format or .CGNS format. Is there a way to convert the mesh generated in GAMBIT to CGNS format?
If not, can you tell me another suitable meshing software.

I tried EnGrid, but it requires another CAD software for geometry creation. The website suggested Blender for this. I tried Blender 2.6, but it doesnt have an option to export the geometry in .begc format as required for EnGrid. EnGrid website says it accepts .stl format, but when I try to import anything in .stl format in Engrid, it crashes (Fedora 16).
shsreekanth is offline   Reply With Quote

Old   July 16, 2013, 07:14
Default
  #2
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
I know to generate boundary layer mesh in GAMBIT. I tried one, exported it in CGNS format using fluent. But when SU2 reads the mesh it throws an error.
"!!! Error !!! Unrecognized element type."

The same error does not occur if there is no boundary layer mesh. How can I get around this problem
shsreekanth is offline   Reply With Quote

Old   July 17, 2013, 04:19
Default
  #3
New Member
 
RDG
Join Date: Feb 2011
Posts: 29
Rep Power: 15
onyir is on a distinguished road
Quote:
Originally Posted by shsreekanth View Post
I tried EnGrid, but it requires another CAD software for geometry creation. The website suggested Blender for this. I tried Blender 2.6, but it doesnt have an option to export the geometry in .begc format as required for EnGrid. EnGrid website says it accepts .stl format, but when I try to import anything in .stl format in Engrid, it crashes (Fedora 16).
Hi,

To be able to export in begc format from Blender you need to install the proper addon. The addons it's in the engrid installation directory. To install it in Blender, in the user preferences, click on Install from file... and select file in engrid folder
shsreekanth likes this.
onyir is offline   Reply With Quote

Old   July 17, 2013, 15:27
Default
  #4
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Thank you onyir, I got the "export to engrid (*.begc) " option now in Blender
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 05:26
Default
  #5
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
Quote:
Originally Posted by shsreekanth View Post
Hi,
I am familiar with Meshing in GAMBIT. The meshes created are in .msh format.
But SU2 requires the mesh to be in .SU2 format or .CGNS format. Is there a way to convert the mesh generated in GAMBIT to CGNS format?
If not, can you tell me another suitable meshing software.

I tried EnGrid, but it requires another CAD software for geometry creation. The website suggested Blender for this. I tried Blender 2.6, but it doesnt have an option to export the geometry in .begc format as required for EnGrid. EnGrid website says it accepts .stl format, but when I try to import anything in .stl format in Engrid, it crashes (Fedora 16).
Hi,
I have also been working for a while with blender and engrid in order to create meshes for SU2. But after a while I found it difficult to work with because working with .stl is not as easy as working with a CAD file if modifications has to be done. Additionally, I found some errors when running meshes with prisms created by Engrid. The simulation reports something about "negative pressure..." for very simple and curved geometries.

In short, I decided to move to Salome-platform. I find it good enough to work with my geometries. You can actually create the CAD and the grid with this software. I am very happy with my new option. However, you cannot export to .SU2, but you can export .unv to gmsh, from here export again in .vtk to engrid, and in engrid define boundaries and export to .su2.
I used to work like this for a while. Now I am just mastering Salome and I created my own scripts to export from Salome to .SU2 directly. And meshing velocity of Salome is just much faster than Engrid.

Hope it helps
kiski is offline   Reply With Quote

Old   July 22, 2013, 05:54
Default
  #6
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Thanks kiski for a timely reply.
Since I am just getting started, it really helps to find the better option and proceed with that. I am not familiar with Blender or Engrid and now that I know its drawback, it saves me time.
Will give a try to Salome. Also, I hear that Larosterna mesh generator now has option to export in SU2.
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 05:59
Default
  #7
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
I never heard about Larosterna. But it is good to know it exists :-)
About salome, if you are using Linux, it is easier if you install the "universall binaries", other options gave me hard time trying to compile!!
kiski is offline   Reply With Quote

Old   July 22, 2013, 06:05
Default
  #8
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Hi Kiski,
Thanks for the tip. How did you export directly to .SU2 from Salome ? Can you share?
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 06:33
Default
  #9
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
Hi shsreekanth,
I am modifying a lot the script I use until I get a final version, which will take me a while since I am working in other things as well. However, you can have a look in this forum in which I posted a script for unstructured meshes with prisms.

If I remember well, it exports the first mesh entry (in case you have more than one mesh computed), and the boundaries of the .su2 file are the "mesh groups" within the mesh you created in Salome. The way to work is, once you have the mesh you want to export, in salome Load the file in the post through the Salome menu and it will export your mesh to your $home directory. Have a look to the code of the script, because it is pretty simple and you can adapt it yourself.
shsreekanth likes this.
kiski is offline   Reply With Quote

Old   July 22, 2013, 06:40
Default
  #10
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Thank you. I will try that
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 07:40
Default
  #11
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
To get around the error - "Unrecognized element type"- this thread deals with it http://www.cfd-online.com/Forums/su2/113393-cgns-grid-problem.html
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 07:41
Default
  #12
Member
 
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13
shsreekanth is on a distinguished road
Larosterna can be found here http://www.larosterna.com/index.html
shsreekanth is offline   Reply With Quote

Old   July 22, 2013, 07:48
Default
  #13
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
thanks for sharing all this. About the "Unrecognized element type" y wrote it in the file only to mention that I didn't make "write to file" sopport of this element type. For example, hexas are not included in my script although there is no problem in .su2 or Salome. It just has to be included in the script as it was included for tetras
kiski is offline   Reply With Quote

Old   July 25, 2013, 13:46
Default
  #14
Member
 
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
Quote:
Originally Posted by kiski View Post
Now I am just mastering Salome and I created my own scripts to export from Salome to .SU2 directly. And meshing velocity of Salome is just much faster than Engrid.
Hey kiski,
would you mind sharing your export scripts with the community? These would be very cool to see!
- Trent
rktchip is offline   Reply With Quote

Old   July 27, 2013, 13:06
Default
  #15
New Member
 
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14
kiski is on a distinguished road
Hi rktchip,

Look in the post entry #9, I am modifying the scripts in order to have only one script for any kind of mesh. But now I am in holidays XD. In entry #9 you have a script which works
kiski 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
[GAMBIT] GAMBIT or ANSYS Meshing software mohammadx90 ANSYS Meshing & Geometry 16 October 24, 2017 03:55
Is there a meshing tool within the Ansys Fluent software srikanth ANSYS 5 March 21, 2010 15:04
CAD integrated CFD Software kostikr Main CFD Forum 3 February 4, 2010 15:38
need software to heal/prepare geometry for meshing Mike Marcu Main CFD Forum 0 September 20, 2005 12:38
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 12:08


All times are GMT -4. The time now is 01:39.