|
[Sponsors] |
February 22, 2018, 09:57 |
error in optimization
|
#1 |
New Member
Ahmed
Join Date: Nov 2017
Posts: 15
Rep Power: 8 |
Hello all
I am trying to set up an optimization task but I faced this error which I don`t understand can someone guide me to the problem source and the solution? Thanks very much Traceback (most recent call last): File "shape_optimization.py", line 169, in <module> main() File "shape_optimization.py", line 104, in main options.quiet ) File "shape_optimization.py", line 145, in shape_optimization SU2.opt.SLSQP(project,x0,xb,its,accu) File "/home/ahmed/SU2/bin/SU2/opt/scipy_tools.py", line 140, in scipy_slsqp epsilon = eps ) File "/usr/local/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 207, in fmin_slsqp constraints=cons, **opts) File "/usr/local/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 314, in _minimize_slsqp for c in cons['ineq']])) File "/home/ahmed/SU2/bin/SU2/opt/scipy_tools.py", line 464, in con_cieq cons = project.con_cieq(x) File "/home/ahmed/SU2/bin/SU2/opt/project.py", line 235, in con_cieq return self._eval(konfig, func,dvs) File "/home/ahmed/SU2/bin/SU2/opt/project.py", line 184, in _eval vals = design._eval(func,*args) File "/home/ahmed/SU2/bin/SU2/eval/design.py", line 144, in _eval vals = eval_func(*inputs) File "/home/ahmed/SU2/bin/SU2/eval/design.py", line 457, in con_cieq func = su2func(this_con,config,state) File "/home/ahmed/SU2/bin/SU2/eval/functions.py", line 93, in function aerodynamics( config, state ) File "/home/ahmed/SU2/bin/SU2/eval/functions.py", line 241, in aerodynamics info = su2run.direct(config) File "/home/ahmed/SU2/bin/SU2/run/direct.py", line 83, in direct SU2_CFD(konfig) File "/home/ahmed/SU2/bin/SU2/run/interface.py", line 117, in CFD run_command( the_Command ) File "/home/ahmed/SU2/bin/SU2/run/interface.py", line 297, in run_command raise exception , message SU2.DivergenceFailure: Path = /home/ahmed/SU2/bin/DESIGNS/DSN_001/DIRECT/, Command = /home/ahmed/SU2/bin/SU2_CFD config_CFD.cfg SU2 process returned error '2' |
|
February 24, 2018, 14:10 |
|
#2 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Have you tried the new optimization tutorials https://su2code.github.io/tutorials/home/ ?
Best, Francisco |
|
February 26, 2018, 13:28 |
|
#3 |
New Member
Ahmed
Join Date: Nov 2017
Posts: 15
Rep Power: 8 |
Thanks for your reply
Yes I tried but had the same error |
|
February 26, 2018, 13:40 |
|
#4 |
New Member
Ahmed
Join Date: Nov 2017
Posts: 15
Rep Power: 8 |
i tried also the RAE case but showed a different error when running SU2_GEO
Kindly find attached screenshot |
|
March 1, 2018, 03:42 |
|
#5 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10 |
Hi Ahmed,
it looks like your versions of the code and of the test cases and/or tutorials are not matching. Make sure that you have the most recent version for both. Tim
__________________
Developer Director @ SU2 Foundation Get involved:
|
|
March 1, 2018, 04:04 |
|
#6 |
New Member
Ahmed
Join Date: Nov 2017
Posts: 15
Rep Power: 8 |
Thanks very much for your reply Tim
I am trying to install su2 v6 on windows but I don`t have clear steps, can you guide me? I tried to use your GitHub page but couldn`t I`d be very glad if you can guide me Thanks so much |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS Optimization failing to update Results component. | harmollo1 | ANSYS | 1 | March 21, 2019 16:30 |
Question about SU2 optimization | YoniHe | SU2 Shape Design | 3 | January 15, 2016 01:31 |
Total force optimization or pressure force optimization? | robyTKD | SU2 Shape Design | 1 | August 19, 2013 16:54 |
COMSOL: optimization applied to a laminar flow | tdh89 | COMSOL | 0 | April 30, 2012 09:57 |
BOOK ON OPTIMIZATION OF FORTRAN CODES | Alberto | Main CFD Forum | 3 | November 10, 2008 07:07 |