|
[Sponsors] |
July 15, 2013, 07:03 |
Which Meshing software can I use?
|
#1 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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). |
|
July 16, 2013, 07:14 |
|
#2 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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 |
|
July 17, 2013, 04:19 |
|
#3 | |
New Member
RDG
Join Date: Feb 2011
Posts: 29
Rep Power: 15 |
Quote:
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 |
||
July 17, 2013, 15:27 |
|
#4 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
Thank you onyir, I got the "export to engrid (*.begc) " option now in Blender
|
|
July 22, 2013, 05:26 |
|
#5 | |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
Quote:
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 |
||
July 22, 2013, 05:54 |
|
#6 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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. |
|
July 22, 2013, 05:59 |
|
#7 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
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!! |
|
July 22, 2013, 06:05 |
|
#8 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
Hi Kiski,
Thanks for the tip. How did you export directly to .SU2 from Salome ? Can you share? |
|
July 22, 2013, 06:33 |
|
#9 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
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. |
|
July 22, 2013, 06:40 |
|
#10 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
Thank you. I will try that
|
|
July 22, 2013, 07:40 |
|
#11 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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
|
|
July 22, 2013, 07:41 |
|
#12 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
Larosterna can be found here http://www.larosterna.com/index.html
|
|
July 22, 2013, 07:48 |
|
#13 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
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
|
|
July 25, 2013, 13:46 |
|
#14 | |
Member
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15 |
Quote:
would you mind sharing your export scripts with the community? These would be very cool to see! - Trent |
||
July 27, 2013, 13:06 |
|
#15 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
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 |
|
|
|
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 |