|
[Sponsors] |
Problem with Tutorial "Constrained Optimal Shape Design of a Fixed Wing"" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 1, 2016, 07:52 |
Problem with Tutorial "Constrained Optimal Shape Design of a Fixed Wing""
|
#1 |
New Member
Marc Frankenbach
Join Date: Aug 2016
Posts: 6
Rep Power: 10 |
Hi there,
when I try to follow the Tutorial "Constrained Optimal Shape Design of a Fixed Wing", SU2 does not come to a solution. For the first designs everything seems to run normally, but with the 157th design SU2 exits with "Error 1". An inspection of the log file (find attached) of Design 157 shows that there is an increasing number of non-physical points until it comes to the Error "SU2 has diverged". Evaluation of the history_project.dat file shows that for about the first five designs drag gets minimized but than kind of a saw tooth profile establishes (pictures for drag and lift attached). I used Version 4.2 of SU2. Except for changing OUTPUT_FORMAT to PARAVIEW I used an unmodified inv_ONERAM6_adv.cfg (find attached) file (downloaded on 29.08.2016). Furthermore I strictly followed the instructions of the Tutorial. For all other Tutorials SU2 worked quite fine. Since Iīm new to SU2, I canīt figure out why it does not work. So I would appreciate some help. Thanks in advance, Marc Frankenbach |
|
October 24, 2016, 06:34 |
|
#2 |
Member
Join Date: Nov 2013
Posts: 35
Rep Power: 13 |
Hello,
I have absolutely the same problem with the "Constrained Optimal Shape Design of a Fixed Wing" - Tutorial as MarcF. The case does not find a minimum and diverges at the Design 157th. I used the inv_ONERAM6_adv.cfg as i found it and only changed the output to PARAVIEW. As I said, it is the same problem as for MarcF ... SU2-Version is the same and so on ... even the plots that MarcF provides look identical. Should the tutorial behave like this? Has anybody run the tutorial where a minimum was found by SU2??? |
|
December 5, 2016, 04:49 |
|
#3 |
New Member
JAMES
Join Date: Dec 2016
Posts: 21
Rep Power: 10 |
i also can't get a minimum solve. and even the inv_ONERAM6_adv.cfg can just run 1 step. then it shows
Traceback (most recent call last): File "/home/yg/su2/bin/shape_optimization.py", line 157, in <module> main() File "/home/yg/su2/bin/shape_optimization.py", line 101, in main options.quiet ) File "/home/yg/su2/bin/shape_optimization.py", line 140, in shape_optimization SU2.opt.SLSQP(project,x0,xb,its,accu) File "/home/yg/su2/bin/SU2/opt/scipy_tools.py", line 138, in scipy_slsqp epsilon = eps ) File "/usr/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 206, in fmin_slsqp constraints=cons, **opts) File "/usr/lib/python2.7/dist-packages/scipy/optimize/slsqp.py", line 394, in _minimize_slsqp for con in cons['ineq']]) File "/home/yg/su2/bin/SU2/opt/scipy_tools.py", line 245, in con_dcieq dcons = project.con_dcieq(x) File "/home/yg/su2/bin/SU2/opt/project.py", line 240, in con_dcieq return self._eval(konfig, func,dvs) File "/home/yg/su2/bin/SU2/opt/project.py", line 184, in _eval vals = design._eval(func,*args) File "/home/yg/su2/bin/SU2/eval/design.py", line 144, in _eval vals = eval_func(*inputs) File "/home/yg/su2/bin/SU2/eval/design.py", line 509, in con_dcieq grad = su2grad(this_con,grad_method,config,state) File "/home/yg/su2/bin/SU2/eval/gradients.py", line 123, in gradient grads = geometry( func_name, config, state ) File "/home/yg/su2/bin/SU2/eval/gradients.py", line 709, in geometry info = su2run.geometry(config) File "/home/yg/su2/bin/SU2/run/geometry.py", line 95, in geometry SU2_GEO(konfig) File "/home/yg/su2/bin/SU2/run/interface.py", line 213, in GEO run_command( the_Command ) File "/home/yg/su2/bin/SU2/run/interface.py", line 297, in run_command raise exception , message SU2.EvaluationFailure: Path = /home/yg/su2/bin/DESIGNS/DSN_001/GEOMETRY/, Command = mpirun -n 6 /home/yg/su2/bin/SU2_GEO config_GEO.cfg SU2 process returned error '1' Does anyone knows the reason? Thanks for attention. |
|
December 9, 2016, 05:30 |
|
#4 |
New Member
JAMES
Join Date: Dec 2016
Posts: 21
Rep Power: 10 |
i found that it is because the opt_constraint=MAX_THICKNESS_SEC1 caused this problem. But why can't add this?
|
|
Tags |
diverged, onera m6, shape optimization, tutorials, version 4.2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiRegionHeater tutorial visualization problem | Bufacchi | OpenFOAM Running, Solving & CFD | 3 | September 18, 2015 10:20 |
Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 06:34 |
newbie problem with cavity tutorial | miki | OpenFOAM Running, Solving & CFD | 8 | September 2, 2012 16:22 |
Problem with scalarTransportFoam illistrated using pitzDaily tutorial | mlawson | OpenFOAM | 2 | January 18, 2011 14:39 |
Problem in Tutorial problem of fluent | Phanindra | FLUENT | 5 | April 17, 2007 10:57 |