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

SU2 Constrained shape design of a transonic inviscid wing Tutorial Runtime Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2024, 05:09
Default SU2 Constrained shape design of a transonic inviscid wing Tutorial Runtime Error
  #1
New Member
 
zs
Join Date: Mar 2024
Posts: 2
Rep Power: 0
ShengZhang is on a distinguished road
Hi everebody,

I'm an absolut beginner in SU2 and currently studying the Design Features of tutorials(Constrained shape design of a transonic turbulent airfoil at a cte. CL) on a virtual machine.
I encountered an error in the final step , the error is
"FileNotFoundError: [Errno 2] No such file or directory: 'config_GEO.cfg_tmp'"

May you help me please ?

Thank's a lot for your help.

ShengZhang

The record the errors are here:

PHP Code:
M6-test3mpirun -n 5 shape_optimization.py -g DISCRETE_ADJOINT -f inv_ONERAM6_adv.cfg

-------------------------------------------------------------------------
|    
___ _   _ ___                                                      |
|   / 
__| | | |_  )   Release 8.0.1 "Harrier"                           |
|   \
__ \ |_| |/ /                                                      |
|   |
___/\___//___|   Aerodynamic Shape Optimization Script             |
|                                                                       |
-------------------------------------------------------------------------
SU2 Project Websitehttps://su2code.github.io                        |
|                                                                       |
The SU2 Project is maintained by the SU2 Foundation                   |
| (
http://su2foundation.org)                                            |
-------------------------------------------------------------------------
Copyright 2012-2024SU2 Contributors (cfAUTHORS.md)                |
|                                                                       |
SU2 is free softwareyou can redistribute it and/or                  |
modify it under the terms of the GNU Lesser General Public            |
License as published by the Free Software Foundationeither          |
version 2.1 of the License, or (at your optionany later version.    |
|                                                                       |
SU2 is distributed in the hope that it will be useful,                |
but WITHOUT ANY WARRANTYwithout even the implied warranty of        |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSESee the GNU      |
Lesser General Public License for more details.                       |
|                                                                       |
You should have received a copy of the GNU Lesser General Public      |
License along with SU2. If notsee <http://www.gnu.org/licenses/>.   |
-------------------------------------------------------------------------
Foundmesh_ONERAM6_inv_FFD.su2
New Project: ./
Sequential Least SQuares Programming (SLSQPparameters:
Number of design variables198 198 
Objective function scaling factor: [1.0]
Maximum number of iterations100
Requested accuracy
1e-15
Initial guess 
for the independent variable(s): [0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0]
Lower and upper bound for each independent variable: [(-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0)]

Traceback (most recent call last):
  
File "/usr/local/bin/shape_optimization.py"line 306in <module>
    
main()
  
File "/usr/local/bin/shape_optimization.py"line 184in main
    shape_optimization
(
  
File "/usr/local/bin/shape_optimization.py"line 282in shape_optimization
    SU2
.opt.SLSQP(projectx0xbitsaccu)
  
File "/usr/local/bin/SU2/opt/scipy_tools.py"line 128in scipy_slsqp
    outputs 
fmin_slsqp(
  
File "/home/zs/Anaconda/lib/python3.10/site-packages/scipy/optimize/_slsqp_py.py"line 206in fmin_slsqp
    res 
_minimize_slsqp(funcx0argsjac=fprimebounds=bounds,
  
File "/home/zs/Anaconda/lib/python3.10/site-packages/scipy/optimize/_slsqp_py.py"line 329in _minimize_slsqp
    mieq 
sum(map(len, [atleast_1d(c['fun'](x, *c['args']))
  
File "/home/zs/Anaconda/lib/python3.10/site-packages/scipy/optimize/_slsqp_py.py"line 329in <listcomp>
    
mieq sum(map(len, [atleast_1d(c['fun'](x, *c['args']))
  
File "/usr/local/bin/SU2/opt/scipy_tools.py"line 498in con_cieq
    cons 
project.con_cieq(x)
  
File "/usr/local/bin/SU2/opt/project.py"line 263in con_cieq
    
return self._eval(konfigfuncdvs)
  
File "/usr/local/bin/SU2/opt/project.py"line 211in _eval
    vals 
design._eval(func, *args)
  
File "/usr/local/bin/SU2/eval/design.py"line 151in _eval
    vals 
eval_func(*inputs)
  
File "/usr/local/bin/SU2/eval/design.py"line 541in con_cieq
    func 
su2func(this_conconfigstate)
  
File "/usr/local/bin/SU2/eval/functions.py"line 109in function
    
geometry(func_nameconfigstate)
  
File "/usr/local/bin/SU2/eval/functions.py"line 882in geometry
    info 
su2run.geometry(config)
  
File "/usr/local/bin/SU2/run/geometry.py"line 98in geometry
    SU2_GEO
(konfig)
  
File "/usr/local/bin/SU2/run/interface.py"line 187in GEO
    konfig
.dump(tempname)
  
File "/usr/local/bin/SU2/io/config.py"line 156in dump
    dump_config
(filenameself)
  
File "/usr/local/bin/SU2/io/config.py"line 1227in dump_config
    write_config
(filenameconfig)
  
File "/usr/local/bin/SU2/io/config.py"line 1206in write_config
    os
.remove(temp_filename)
FileNotFoundError: [Errno 2No such file or directory'config_GEO.cfg_tmp'
Sequential Least SQuares Programming (SLSQPparameters:
Number of design variables198 198 
Objective function scaling factor: [1.0]
Maximum number of iterations100
Requested accuracy
1e-15
Initial guess 
for the independent variable(s): [0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.0]
Lower and upper bound for each independent variable: [(-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0), (-1000.01000.0)]

-------------------------------------------------------
Primary job  terminated normallybut 1 process returned
a non
-zero exit code.. Per user-directionthe job has been aborted.
-------------------------------------------------------
Sequential Least SQuares Programming (SLSQPparameters:
Number of design variables198 198 
Objective function scaling factor: [1.0]
Maximum number of iterations100
Requested accuracy
1e-15
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero statusthus causing
the job to be terminated
The first process to do so was:

  
Process name: [[21420,1],1]
  Exit 
code:    1
-------------------------------------------------------------------------- 
ShengZhang is offline   Reply With Quote

Reply


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
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 06:51.