|
[Sponsors] |
August 13, 2019, 11:56 |
SU2 crashes while generating output files
|
#1 |
New Member
Join Date: Aug 2019
Posts: 2
Rep Power: 0 |
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 |
|
August 19, 2019, 01:48 |
Same issue of SU2 crashing before writing output files
|
#2 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
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 |
|
August 19, 2019, 11:53 |
Fixed
|
#3 |
New Member
Join Date: Aug 2019
Posts: 2
Rep Power: 0 |
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. |
|
August 21, 2019, 04:24 |
|
#4 |
Member
Dr. H.K. Narahari
Join Date: Jan 2019
Posts: 49
Rep Power: 7 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems generating xy files after executing foamLog | arieljeds | OpenFOAM Post-Processing | 2 | October 15, 2023 12:06 |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
SU2 Turbulent Simulation flow output | Indu Kant Deo | SU2 | 2 | October 16, 2021 10:14 |
SU2 basics - displaying output and ending a run | kmiller | SU2 | 3 | August 25, 2018 20:00 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |