CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

tutorial 8

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2014, 04:52
Default tutorial 8
New Member
Join Date: Jul 2013
Posts: 3
Rep Power: 12
YOBA is on a distinguished road
Hello, I'm trying to test SU2 tutorial 8 but every time i launch it i get the same error. I'm using windows 7, SU2 v3.0 and Python v 2.7 with numpy and scipy. All environment are set up. All launched in serial. And I have to correct the in processes condition > 1 instead of 0, cuz when i launch script -f inv_ONERAM6.cfg without any parameter -p (btw launch with -p 0 worked without any changes in code) it show me error "could not find an mpi interface".

def build_command( the_Command , processes=0 ):
""" builds an mpi command for given number of processes """
the_Command = base_Command % the_Command
if processes > 1:
if not mpi_Command:
raise RuntimeError , 'could not find an mpi interface'
the_Command = mpi_Command % (processes,the_Command)
return the_Command

this list i get in cmd.exe

----------------------- Volumetric grid deformation ---------------------
Performing the deformation of the volumetric grid.
Traceback (most recent call last):
File "C:\SU2\", line 124, in <module>
File "C:\SU2\", line 69, in main
options.step )
File "C:\SU2\", line 107, in shape_optimization
File "C:\SU2\SU2\opt\", line 102, in scipy_slsqp
epsilon = 1.0e-06 )
File "C:\Python27\lib\site-packages\scipy\optimize\", line 200, in fmi
constraints=cons, **opts)
File "C:\Python27\lib\site-packages\scipy\optimize\", line 354, in _mi
fx = func(x)
File "C:\Python27\lib\site-packages\scipy\optimize\", line 281, in
return function(*(wrapper_args + args))
File "C:\SU2\SU2\opt\", line 120, in obj_f
obj = project.obj_f(x)
File "C:\SU2\SU2\opt\", line 203, in obj_f
return self._eval(konfig, func,dvs)
File "C:\SU2\SU2\opt\", line 172, in _eval
vals = design._eval(func,*args)
File "C:\SU2\SU2\eval\", line 132, in _eval
vals = eval_func(*inputs)
File "C:\SU2\SU2\eval\", line 230, in obj_f
func = su2func(this_obj,config,state)
File "C:\SU2\SU2\eval\", line 75, in function
aerodynamics( config, state )
File "C:\SU2\SU2\eval\", line 148, in aerodynamics
info = update_mesh(config,state)
File "C:\SU2\SU2\eval\", line 424, in update_mesh
info = su2run.deform(config)
File "C:\SU2\SU2\run\", line 93, in deform
File "C:\SU2\SU2\run\", line 136, in MDC
run_command( the_Command )
File "C:\SU2\SU2\run\", line 279, in run_command
raise Exception , message
Exception: Path = C:\test\oneram6\DESIGNS\DSN_002\DEFORM\,
Command = C:\SU2\SU2_MDC config_MDC.cfg
SU2 process returned error '3'

Help me please
YOBA is offline   Reply With Quote

Old   January 28, 2014, 07:45
New Member
Join Date: Jul 2013
Posts: 3
Rep Power: 12
YOBA is on a distinguished road
I'm trying to use Tutorial 8 for my own wing model and i have some troubles with FFD box deformation. Can anyone give me advise what should i need to change or correct to solve this?
Attached Images
File Type: jpg expor1t.jpg (50.8 KB, 20 views)
File Type: jpg export.jpg (38.2 KB, 16 views)
File Type: jpg Untitled.jpg (94.3 KB, 22 views)
YOBA is offline   Reply With Quote

Old   January 28, 2014, 15:53
Trent Lukaczyk
Join Date: Feb 2011
Location: Stanford, CA
Posts: 75
Rep Power: 15
rktchip is on a distinguished road
strange error... can you run SU2_MDC on this config manually?

go to DESIGNS/DSN_001/DEFORM and try the command there.

SU2_MDC config_MDC.cfg
rktchip is offline   Reply With Quote

Old   January 29, 2014, 05:40
New Member
Join Date: Jul 2013
Posts: 3
Rep Power: 12
YOBA is on a distinguished road
I don't have this folder because I'm using previous version of SU2 (2.0) x64. But i have config_opt_MDC_inv_ONERAM6.cfg so i think it's the same config file for MDC that uses in SU2 v 3.0. And it's proceed success.
My wing mesh converted from ICEM CFD .CGNS to .SU2 format using config file options, so maybe problem in this? And i noticed that when i start SU2_CFD manually the
------------------------- Geometry preprocessing -------------
Setting local point and element connectivity.
Checking the numerical grid orientation.
Identifying edges and vertices.
Computing centers of gravity.
Setting the control volume structure.
Volume of the computational grid: 0.49979.
Searching for closest normal neighbor on the surface.
Searching for sharp corners on the geometry.
Setting the multigrid structure.
CVs of the MG level: 6835. Agglom. rate 1/5.78186. MG level: 1
CVs of the MG level: 1495. Agglom. rate 1/4.57191. MG level: 2
CVs of the MG level: 727. Agglom. rate 1/2.0564. MG level: 3.

Volume of the computational grid: 0.49979. is very small.
Attached Images
File Type: jpg Untitled2.jpg (101.5 KB, 15 views)
YOBA is offline   Reply With Quote

Old   February 12, 2014, 13:05
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road

Could you please share the output from the portion of the code where the CGNS file is parsed? It should print the number of nodes, elements, boundaries (with marker names), etc. This should help verify whether the conversion process worked. You can also run a single iteration of the solver afterward and view the output solution file to visually verify that the mesh is ok.

economon is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 03:25
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 09:41

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