CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   v2.0.8 seg fault occurs after convergence is achieved (https://www.cfd-online.com/Forums/su2/125102-v2-0-8-seg-fault-occurs-after-convergence-achieved.html)

newToSU2 October 18, 2013 17:46

v2.0.8 seg fault occurs after convergence is achieved
 
Hi, everyone,

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!

taxalian October 19, 2013 02:14

Hi,
Try reinstalling fresh copy of SU2 2.0.8 and also refer to the following thread:

http://www.cfd-online.com/Forums/su2...seg-fault.html

newToSU2 October 21, 2013 17:01

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?



Quote:

Originally Posted by taxalian (Post 457755)
Hi,
Try reinstalling fresh copy of SU2 2.0.8 and also refer to the following thread:

http://www.cfd-online.com/Forums/su2...seg-fault.html


economon November 5, 2013 16:46

Hi,

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?

T

jwang1_09 November 27, 2013 06:21

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 14:26.