|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Alberto Sette
Join Date: May 2015
Posts: 2
Rep Power: 0 ![]() |
Hello,
when I use shape_optimization.py on the ONERAM6 inviscid test case i get the following error: Traceback (most recent call last): File "shape_optimization.py", line 154, in <module> main() File "shape_optimization.py", line 99, in main options.quiet ) File "shape_optimization.py", line 137, in shape_optimization SU2.opt.SLSQP(project,x0,xb,its,accu) File "/usr/local/bin/SU2/opt/scipy_tools.py", line 128, in scipy_slsqp epsilon = eps ) File "/usr/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 200, in fmin_slsqp constraints=cons, **opts) File "/usr/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 302, in _minimize_slsqp mieq = sum(map(len, [atleast_1d(c['fun'](x, *c['args'])) for c in cons['ineq']])) File "/usr/local/bin/SU2/opt/scipy_tools.py", line 211, in con_cieq cons = project.con_cieq(x) File "/usr/local/bin/SU2/opt/project.py", line 233, in con_cieq return self._eval(konfig, func,dvs) File "/usr/local/bin/SU2/opt/project.py", line 182, in _eval vals = design._eval(func,*args) File "/usr/local/bin/SU2/eval/design.py", line 142, in _eval vals = eval_func(*inputs) File "/usr/local/bin/SU2/eval/design.py", line 432, in con_cieq func = su2func(this_con,config,state) File "/usr/local/bin/SU2/eval/functions.py", line 85, in function aerodynamics( config, state ) File "/usr/local/bin/SU2/eval/functions.py", line 224, in aerodynamics info = su2run.direct(config) File "/usr/local/bin/SU2/run/direct.py", line 81, in direct SU2_CFD(konfig) File "/usr/local/bin/SU2/run/interface.py", line 110, in CFD run_command( the_Command ) File "/usr/local/bin/SU2/run/interface.py", line 268, in run_command raise exception , message RuntimeError: Path = /home/ulixes/SU2/RUN/ottimizzazione/DESIGNS/DSN_001/DIRECT/, Command = /usr/local/bin/SU2_CFD config_CFD.cfg SU2 process returned error '134' terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped) I'm running SU2-4.0.2 on a Ubuntu-14.04 VM with a parallel configuration(with mpich2, if it can be of any help). I get the error either if I'm using one or multiple cores. I have no idea of what is causing the problem: did anyone experience the same error? I have read of similar problems in older versions of the software, but the proposed solutions didn't fit my configuration. Thank you for your attention. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Alberto Sette
Join Date: May 2015
Posts: 2
Rep Power: 0 ![]() |
I shall try to install it as soon as possible, and report the result. Thank you.
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 ![]() |
I believe that it is also possible for this error to occur if an incorrect number of design variable parameters have been specified - there are some failsafes in the code to catch that sort of thing, but it will not hurt to check that your design variable definitions have the right number of parameters if other solutions do not work for you.
|
|
![]() |
![]() |
![]() |
Tags |
su2 error, su2 optimization |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Shape optimization questions | AdriC | SU2 Shape Design | 6 | January 27, 2016 04:25 |
Shape Optimization with PBC | jubroll | SU2 Shape Design | 1 | June 12, 2015 00:38 |
Airfoil Shape Optimization using gradient based methods | jaiswal | Main CFD Forum | 1 | April 10, 2014 11:22 |
Shape Optimization Error, Incorrect values produces by SU2_GDC | Dhig | SU2 Shape Design | 1 | March 20, 2014 05:58 |
Testcase for shape optimization using RANS simualtion | diwakaranant | SU2 Shape Design | 1 | April 18, 2013 13:27 |