|
[Sponsors] |
March 1, 2016, 09:22 |
Mesh validation software?
|
#1 |
New Member
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10 |
I'm playing around with SU2. I have a mesh I've made myself, using gmsh and then writing code myself to convert it to SU2 format.
When I run it through SU2, the code runs, until the first checkpoint where it writes out. Then, it dies, complaining about a corrupted doubly-linked list; the death is somewhere inside malloc, but the last thing in the stack from from SU2 is COutput::SetResult_Files. I'm guessing that almost certainly my problem is somewhere in my mesh. Is there software that will validate and point out inconsistencies or problems in a SU2 mesh? |
|
March 1, 2016, 09:27 |
|
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 |
Hi Rob,
I did several meshes with gmsh for SU2 up to now. Important thing is that you define a physical volume (with arbitrary name) for the fluid and that you don't tick "Save All" when you export it to the SU2 format. I also got this error you describe at the beginning. Tim |
|
March 1, 2016, 13:15 |
|
#3 |
New Member
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10 |
Aha! I didn't even realize that gmsh had a direct SU2 export.... The UI of gmsh is a bit surprising in various places. I wrote my own code to read the gmsh mesh and write out an SU2 mesh.
Looking at its SU2 export vs. what I'd done, I think my problem was related to what you were talking about. gmsh counts its nodes (points) starting at 1, whereas SU2 counts starting at 0. So, to make it all work, I just added a point 0 that I didn't use anywhere. That seemed to be what was choking SU2. By instead just renumbering all the points from the msh to the su2 file, things now seem to be working. (But probably in the future I should just use the .su2 export functionality of gmsh....) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[DesignModeler] Mesh a 3D wing for validation | inspiron | ANSYS Meshing & Geometry | 0 | October 21, 2013 06:02 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
Mesh generation software is needed | H.Dou | Main CFD Forum | 12 | May 4, 2011 16:20 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |