v2.0.8 seg fault occurs after convergence is achieved
I am new to SU2. I tried to run some sample cases. However, I always got a seg fault when convergence was achieved. After some investigations, I found out that the seg fault occurs in the function call MergeCoordinates in output_structure.cpp: Line 4863. Interestingly, if I put any print out statement right after line 4863, the seg fault no longer occurs. I know there must be something wrong.
I do not see any other users experience this issue. I am wondering if this is because I did not install the program correctly or any of my environment settings is not correct.
Moreover, I left the dummy print out statement there (in line 4864) and let the program run anyway. I compared my results for the naca0012 sample case with those on SU2 website (http://adl.stanford.edu/docs/display...Start+Tutorial).
In my flow.dat file, it looks like:
TITLE = "Visualization of the volumetric solution"
VARIABLES = "x","y","Conservative_1","Conservative_2","Conserv ative_3","Conservative_4","Pressure","Pressure_Coe fficient","Mach", "Sharp_Edge_Dist"
However, in flow.plt file on SU2 website, it looks like:
TITLE = "Visualization of the volumetric grid"
VARIABLES = "x", "y", "z", "Density", "Velocity_x", "Velocity_y", "Velocity_z", "Pressure", "Mach_Number"
Apparently, they are generated by different functions. Again, is it normal? or if I need to change anything in my cfg file or environment settings?
Last thing is in my flow.dat, most numbers look fine except there are some "nan" for Pressure_Coefficient.
I am very sorry. I listed a lot of issues. They may be caused by the same problem. I am really frustrated. Please help!!
Any advices, suggestions, and/or comments will be appreciated! Thank you in advance!
Try reinstalling fresh copy of SU2 2.0.8 and also refer to the following thread:
Thanks for the reply. I did try to clean and rebuild the program. I used "make clean" and "make uninstall". It did not solve the problem.
Did I use the correct way to remove an old version program?
Were you able to resolve the issue by downloading and installing a fresh version of the code (2.0.8) as described in the post that was linked?
hello, I also I also encountered the problem about seg fault. Do you solve the problem? And could you tell me the way?
Thank you very much.
|All times are GMT -4. The time now is 15:22.|