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

Problem with running tutorial "Constrained Optimal Shape Design of a Fixed Wing"

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 15, 2016, 03:16
Question Problem with running tutorial "Constrained Optimal Shape Design of a Fixed Wing"
  #1
New Member
 
JAMES
Join Date: Dec 2016
Posts: 21
Rep Power: 9
yugang881 is on a distinguished road
Hi:
I'm now studying SU2 and try to run sample described in the tutorial "Constrained Optimal Shape Design of a Fixed Wing". When i run the "shape_optimization.py -f inv_ONERAM6_adv.cfg -n 8" in the terminal, after a few times, it shows "SU2 process returned error '1'", and the traceback is as follows:
------------------------------------------------------------------------------------------------------
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 8 /home/yg/su2/bin/SU2_GEO config_GEO.cfg
SU2 process returned error '1'
-----------------------------------------------------------------------------------------------------------
the configure file is the same as website. And when i checked the GEOMETRY file, it shows :
------------------------- Exit Success (SU2_GEO) ------------------------

OBJECTIVE_FUNCTION: invalid option value MAX_THICKNESS_SEC1. Check current SU2 options in config_template.cfg.
-----------------------------------------------------------------------------------------
I think it is problem of the MAX_THICKNESS_SEC1 constraint cost this problem.But how could i fix it ? And it is all the same as the tutorial, it would don't have this problem.
Does anyone kindly show me the way to fix it? Thanks in advance and for you kindly attention.
yugang881 is offline   Reply With Quote

 


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running tutorial vrolin OpenFOAM Installation 6 November 30, 2012 08:12
Problem running cavityGrade Tutorial CFDMike OpenFOAM Running, Solving & CFD 0 September 23, 2010 07:46
Problem in running tutorial cases preetham OpenFOAM Installation 2 June 13, 2009 16:36
problem when running icoFoam on a complex shape flow field wendywu OpenFOAM 1 May 20, 2009 23:40
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52


All times are GMT -4. The time now is 07:34.