CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > SU2 Shape Design

Problem with Tutorial "Constrained Optimal Shape Design of a Fixed Wing""

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 1, 2016, 06:52
Question Problem with Tutorial "Constrained Optimal Shape Design of a Fixed Wing""
  #1
New Member
 
Marc Frankenbach
Join Date: Aug 2016
Posts: 6
Rep Power: 2
MarcF is on a distinguished road
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
Attached Files
File Type: pdf drag.pdf (13.8 KB, 20 views)
File Type: pdf lift.pdf (14.0 KB, 10 views)
File Type: zip constrained_optimal_shape_design_of_a_fixed_wing.zip (80.2 KB, 9 views)
MarcF is offline   Reply With Quote

Old   October 24, 2016, 05:34
Default
  #2
New Member
 
Join Date: Nov 2013
Posts: 15
Rep Power: 5
beatlejuice is on a distinguished road
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???
beatlejuice is offline   Reply With Quote

Old   December 5, 2016, 04:49
Default
  #3
New Member
 
JAMES
Join Date: Dec 2016
Posts: 8
Rep Power: 2
yugang881 is on a distinguished road
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.
yugang881 is offline   Reply With Quote

Old   December 9, 2016, 05:30
Default
  #4
New Member
 
JAMES
Join Date: Dec 2016
Posts: 8
Rep Power: 2
yugang881 is on a distinguished road
i found that it is because the opt_constraint=MAX_THICKNESS_SEC1 caused this problem. But why can't add this?
yugang881 is offline   Reply With Quote

Reply

Tags
diverged, onera m6, shape optimization, tutorials, version 4.2

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiRegionHeater tutorial visualization problem Bufacchi OpenFOAM Running, Solving & CFD 3 September 18, 2015 09:20
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
newbie problem with cavity tutorial miki OpenFOAM Running, Solving & CFD 8 September 2, 2012 15: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 09:57


All times are GMT -4. The time now is 14:13.