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

SU2 crashes while generating output files

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

Like Tree1Likes
  • 1 Post By BenP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2019, 10:56
Default SU2 crashes while generating output files
  #1
New Member
 
Join Date: Aug 2019
Posts: 2
Rep Power: 0
BenP is on a distinguished road
Hello, I have a problem where SU2 crashes when generating output files. There is no error message, the simulation just stops. I've attached a screenshot of the command prompt output I get as well as my .cfg file.

I suspect the problem originates from the mesh I am using (generated with gmsh), but if there was something wrong then would SU2 not crash before ever needing to write any output files? Or at least there would be something visibly wrong with the outputs at each iteration?

From setting the WRT_SOL_FREQ option to effectively remove any periodic output generation, I can see that the solution does converge properly, but then crashes on convergence.

The .su2 file I am using can be accessed using this link (it's fairly large so I couldn't directly upload it). https://1drv.ms/u/s!An1_lpfAG0BCg5VQ...WAtyA?e=9T3g85

I am running SU2 6.0.0 in serial on Windows 10.

Does anyone know why SU2 would operate seemingly as it should but only crash when writing the outputs?

Any help is greatly appreciated
Attached Images
File Type: jpg SU2_crash.JPG (122.9 KB, 7 views)
Attached Files
File Type: txt vehicle_su2_cfg.txt (9.8 KB, 3 views)
BenP is offline   Reply With Quote

Old   August 19, 2019, 00:48
Default Same issue of SU2 crashing before writing output files
  #2
New Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 20
Rep Power: 2
hk.narahari is on a distinguished road
I have been having the same trouble ( as reported a few days back). The code runs OK ( 100 or 1 iteration) but crashes before writing out the files. I too had created the grid in GMSH for 3 different geometries with same issue, hope it gives a clue to the cause of the problem.
Thanks in advance
Narahari
hk.narahari is offline   Reply With Quote

Old   August 19, 2019, 10:53
Default Fixed
  #3
New Member
 
Join Date: Aug 2019
Posts: 2
Rep Power: 0
BenP is on a distinguished road
I managed to find a solution that works for me.

My understanding is that GMSH will automatically duplicate surfaces that need re-orientated after using any of the Boolean commands available with the OpenCascade kernel (I used a lot of these to create the geometry I was using).

My mistake was setting GMSH to "save all elements" when exporting the SU2 mesh, which would inadvertently save the duplicated surfaces as well and subsequently cause SU2 to crash when trying to generate outputs.

By default, GMSH will create an SU2 mesh by only exporting elements that have been assigned to a physical entity.

While I had assigned all the necessary "Physical Surfaces", I hadn't assigned a "Physical Volume" to the main control volume. Once doing this and making sure to leave the "save all elements" box unchecked, gmsh no longer exported the duplicated surfaces and I could run SU2 without any problem.

Hope this helps in some way.
hk.narahari likes this.
BenP is offline   Reply With Quote

Old   August 21, 2019, 03:24
Default
  #4
New Member
 
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 20
Rep Power: 2
hk.narahari is on a distinguished road
I tried your suggestion for a couple of cases and it worked . Thanks a lot, I was really stuck because of that bug.
Regards
Narahari
hk.narahari is offline   Reply With Quote

Reply

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2 Turbulent Simulation flow output Indu Kant Deo SU2 0 June 11, 2019 17:18
3D Windturbine simulation in SU2 k.vimalakanthan SU2 14 February 8, 2019 14:43
SU2 basics - displaying output and ending a run kmiller SU2 3 August 25, 2018 19:00
Problems generating xy files after executing foamLog arieljeds OpenFOAM Post-Processing 1 September 18, 2016 04:52
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 16:53.