CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2

possible bug in fixed CL model in SU2-5.0.0

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2017, 11:41
Default possible bug in fixed CL model in SU2-5.0.0
New Member
Join Date: Sep 2016
Location: Xi'an China
Posts: 19
Rep Power: 9
Haowang is on a distinguished road
Hello everyone,
I encountered a "double free" message when i am evaluating fixed CL RANS simulation.
I have tested three cases to see when does this error occur.
The first case is a RANS simulation for CRM wing. My configure file is opt_crm.txt in the attachment.
In this case, when I set FIXED_CL_MODE= YES, then in the end of the SU2_CFD execution, it will return messages below:
Writing comma-separated values (CSV) surface files.
Merging coordinates in the Master node.
Merging solution in the Master node.
Writing SU2 native restart file.
Writing the forces breakdown file.
*** Error in `SU2_CFD': double free or corruption (!prev): 0x0000000007dc2aa0 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00d07000 r-xp 00000000 08:28 1068882                            /home/wanghao/software/SU2-5.0.0_me/bin/SU2_CFD
00f06000-00f2d000 r--p 00906000 08:28 1068882                            /home/wanghao/software/SU2-5.0.0_me/bin/SU2_CFD
00f2d000-00f30000 rw-p 0092d000 08:28 1068882                            /home/wanghao/software/SU2-5.0.0_me/bin/SU2_CFD
00f30000-00fc2000 rw-p 00000000 00:00 0 
02c42000-1e248000 rw-p 00000000 00:00 0                                  [heap]
7fba8c000000-7fba8c021000 rw-p 00000000 00:00 0 
7fba8c021000-7fba90000000 ---p 00000000 00:00 0 
7fba913ec000-7fbaa516c000 rw-p 00000000 00:00 0 
7fbaa516c000-7fbaa51ad000 rw-s 00000000 00:14 80                         /dev/shm/mpich_shar_tmphYlQha (deleted)
7fbaa51ad000-7fbaa51ee000 rw-s 00000000 00:14 71                         /dev/shm/mpich_shar_tmpJXXyK4 (deleted)
7fbaa51ee000-7fbaa522f000 rw-s 00000000 00:14 65                         /dev/shm/mpich_shar_tmpqe47BR (deleted)
7fbaa522f000-7fbaa550c000 rw-p 00000000 00:00 0 
7fbaa*** Error in `SU2_CFD': double free or corruption (!prev): 0x0000000006243650 ***
550c000-7fbaa5517000 r-xp 00000000 08:21 262591                     /lib/x86_64-linux-gnu/
7fbaa5517000-7fbaa5716000 ---p 0000b000 08:21 262591                     /lib/x86_64-linux-gnu/
7fbaa5716000-7fbaa5717000 r--p 0000a000 08:21 262591                     /lib/x86_64-linux-gnu/
7fbaa5717000-7fbaa5718000 rw-p 0000b000 08:21 262591                     /lib/x86_64-linux-gnu/
7fbaa5718000-7fbaa571e000 rw-p 00000000 00:00 0 
7fbaa571e000-7fbaa7aa0000 rw-s 00000000 00:14 49                         /dev/shm/mpich_shar_tmp1WxrYH (deleted)
7fbaa7aa0000-7fbaa7c5f000 r-xp 00000000 08:21 262587                     /lib/x86_64-linux-gnu/
7fbaa7c5f000-7fbaa7e5f000 ---p 001bf000 08:21 262587                     /lib/x86_64-linux-gnu/
7fbaa7e5f000-7fbaa7e63000 r--p 001bf000 08:21 262587                     /lib/x86_64-linux-gnu/
7fbaa7e63000-7fbaa7e65000 rw-p 001c3000 08:21 262587                     /lib/x======= Backtrace: =========
*** Error in `SU2_CFD': double free or corruption (!prev): 0x0000000007959770 ***
7fbaa7e65000-7fbaa7e69000 rw-p 00000000 00:00 0 
7fbaa7e69000-7fbaa7e7f000 r-xp 00000000 08:21 267380                     /lib/x86_64-linux-gnu/
7fbaa7e7f000-7fbaa807e000 ---p 00016000 08:21 267380                     /lib/x86_64-linux-gnu/
7fbaa807e000-7fbaa807f000 rw-p 00015000 08:21 267380                     /lib/x86_64-linux-gnu/
7fbaa807f000-7fbaa8187000 r-xp 00000000 08:21 262585                     /lib/x86_64-linux-gnu/
7fbaa8187000-7fbaa8386000 ---p 00108000 08:21 262585                     /lib/x86_64-linux-gnu/
7fbaa8386000-7fbaa8387000 r--p 00107000 08:21 262585                     /lib/x86_64-linux-gnu/
But, if i turn off the FIXED_CL_MODE, this error won't occur.
Then i tried an invisid test case, this case is orriginally from the TestCases folder of SU2 (TestCases/euler/naca0012). In this case, SU2 works well for both FIXED_CL_MODE and FIXED_AOA_MODE.
Finally, i tried another tutorial case for NACA0012 (from /TestCases/rans/naca0012), then SU2 has the same problem in FIXED_CL_MODE as in the first case.



For info, i attached all the configure files for all three cases. I am using UBUNTU 16.04, build SU2 with parallel build mode. I also tried AD build mode, and it has the same problems.
Hoppfully someone could help me with this. Thank you!
Haowang is offline   Reply With Quote

Old   May 16, 2017, 07:31
New Member
Join Date: Nov 2016
Posts: 5
Rep Power: 9
ygd is on a distinguished road
Hi Wang Hao,

I also noticed this problem when I run flow or optimisation cases using SU2 V5.0. Please refer to this thread:
Segmentation fault in SU2 V5.0

For inviscid cases, the fixed CL mode works successfully; however, for viscous cases, segmentation fault occurs either for flow analysis or optimisation cases. The problems are quite similar to yours.

Guangda Yang
ygd is offline   Reply With Quote

Old   July 1, 2019, 01:31
Default Crm
New Member
Drashan Y.N
Join Date: Jun 2019
Posts: 14
Rep Power: 6
darshangowda046 is on a distinguished road
hi i am trying to optimise crm wing but i am not able to create wing_box

Last edited by darshangowda046; July 1, 2019 at 04:59.
darshangowda046 is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 05:53
Fixed CL mode in SU2 V4.2 ygd SU2 0 November 15, 2016 09:59
heterogenous Model of a fixed bed Reactor Jul_Z FLUENT 2 November 2, 2016 08:28
coalChemistryFoam: "Foam::error::printStack(Foam::Ostream&) at ??:?" musabai OpenFOAM Running, Solving & CFD 2 February 20, 2015 14:07
Is it possible to model natural convection in a 2D horizontal model in fluent caitoc FLUENT 1 May 5, 2014 13:32

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