|
[Sponsors] |
May 23, 2018, 18:20 |
Shape optimization traceback error
|
#1 |
New Member
Ahmed
Join Date: Nov 2017
Posts: 15
Rep Power: 9 |
Hello all,
Am trying to perform shape optimization task but i faced this error would be glad if someone could help Traceback (most recent call last): File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\shape_optimization.py", line 169, in <module> main() File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\shape_optimization.py", line 104, in main options.quiet ) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\shape_optimization.py", line 145, in shape_optimization SU2.opt.SLSQP(project,x0,xb,its,accu) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\opt\scipy_tools.py", line 140, in scipy_slsqp epsilon = eps ) File "C:\Python27\lib\site-packages\scipy\optimize\slsqp.py", line 207, in fmin_slsqp constraints=cons, **opts) File "C:\Python27\lib\site-packages\scipy\optimize\slsqp.py", line 378, in _minimize_slsqp fx = func(x) File "C:\Python27\lib\site-packages\scipy\optimize\optimize.py", line 292, in function_wrapper return function(*(wrapper_args + args)) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\opt\scipy_tools.py", line 390, in obj_f obj_list = project.obj_f(x) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\opt\project.py", line 215, in obj_f return self._eval(konfig, func,dvs) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\opt\project.py", line 184, in _eval vals = design._eval(func,*args) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\eval\design.py", line 144, in _eval vals = eval_func(*inputs) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\eval\design.py", line 240, in obj_f func += su2func(this_obj,config,state) * sign * scale File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\eval\functions.py", line 93, in function aerodynamics( config, state ) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\eval\functions.py", line 241, in aerodynamics info = su2run.direct(config) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\run\direct.py", line 83, in direct SU2_CFD(konfig) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\run\interface.py", line 117, in CFD run_command( the_Command ) File "E:\ahmed\SU2-5.0.0\SU2-5.0.0\SU2_PY\SU2\run\interface.py", line 297, in run_command raise exception , message SU2.EvaluationFailure: Path = C:\Users\mohar\Desktop\drive-download-20180523T154338Z-001\res5\backup\bizrestart\DESIGNS\DSN_001\DIRECT\ , Command = E:\ahmed\dist\dist\SU2_CFD config_CFD.cfg SU2 process returned error '1' |
|
May 23, 2018, 21:47 |
|
#2 |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
This output is what happens when something has gone wrong with the command:
SU2_CFD config_CFD.cfg within the subdirectories generated during optimization. More information should be output to a log file inside the last subdirectory listed in the error output. If the error message there is not helpful, you can go to that directory and test the last command listed by the original error message. You can also try running SU2_CFD with your original configuration file. That is the most likely place for there to be an issue. The next most likely problem is that something changed by the optimizer in the config file causes the problem, which you'll be able to narrow down by comparing it against your original input file. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |