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

Mesh validation software?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2016, 08:22
Default Mesh validation software?
  #1
New Member
 
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10
rknop is on a distinguished road
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?
rknop is offline   Reply With Quote

Old   March 1, 2016, 08:27
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
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
talbring is offline   Reply With Quote

Old   March 1, 2016, 12:15
Default
  #3
New Member
 
Rob Knop
Join Date: Mar 2016
Location: Western PA
Posts: 5
Rep Power: 10
rknop is on a distinguished road
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....)
rknop 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[DesignModeler] Mesh a 3D wing for validation inspiron ANSYS Meshing & Geometry 0 October 21, 2013 05:02
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
Mesh generation software is needed H.Dou Main CFD Forum 12 May 4, 2011 15:20
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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