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

Error for executing Deformation with Multiple FFD Control Point

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2021, 05:31
Question Error for executing Deformation with Multiple FFD Control Point
  #1
Member
 
Join Date: Jun 2020
Posts: 30
Rep Power: 6
Daaman is on a distinguished road
Hi,

I'm trying to perform the mesh deformation of Onera M6 mesh with SU2_DEF using multiple FFD control points based on the discussion here. The same mesh has been used in the current case as used in the tutorial of Onera M6. I have used the following lines of code in my config file-

Code:
% ------------------------ DESIGN VARIABLE PARAMETERS ------------------------%
%
% Kind of deformation (FFD_SETTING, FFD_CONTROL_POINT_2D, FFD_CAMBER_2D, FFD_THICKNESS_2D,
%                      HICKS_HENNE, PARABOLIC,
%                      NACA_4DIGITS, DISPLACEMENT, ROTATION, FFD_CONTROL_POINT, 
%                      FFD_NACELLE, FFD_TWIST, FFD_ROTATION,
%                      FFD_CAMBER, FFD_THICKNESS, SURFACE_FILE)
DV_KIND= FFD_CONTROL_POINT, FFD_CONTROL_POINT
%
% Marker of the surface in which we are going apply the shape deformation
DV_MARKER= ( UPPER_SIDE, LOWER_SIDE, TIP )
%
DV_PARAM= ( WING, 0, 8, 0, 0.0, 0.0, 1.0 );( WING, 0, 8, 1, 0.0, 0.0, 1.0 )
%
% New value of the shape deformation
DV_VALUE= 0.02, 0.02
%
On executing SU2_DEF, .su2 format of mesh is generated which is used as an input for the simulation. But on executing discrete_adjoint.py, I get the following error-

Code:
Error in "void CConfig::SetConfig_Parsing(std::istream&)":
-------------------------------------------------------------------------
DV_VALUE: DV_VALUE does not contain enough entries to match DV_KIND or DV_PARAM.

------------------------------ Error Exit -------------------------------
From the looks of the error and my config file, I do have equal number of arguments in the DV_VALUE as well as DV_KIND or DV_PARAM, which makes me wonder what might have caused this error.

I have attached my config file as well. Any help is appreciated. Thanks!
Attached Files
File Type: txt Adjoint_ONERAM6.txt (29.4 KB, 8 views)
Daaman is offline   Reply With Quote

Old   May 4, 2021, 10:05
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Hi, try placing the FFD_DEFINITION above those parameters.
pcg is offline   Reply With Quote

Old   May 4, 2021, 14:58
Default
  #3
Member
 
Join Date: Jun 2020
Posts: 30
Rep Power: 6
Daaman is on a distinguished road
Hi, thanks for the reply. I tried placing FFD_DEFINITION above the parameters as suggested, but the same error pops up.
Daaman is offline   Reply With Quote

Old   May 15, 2021, 11:39
Default
  #4
Member
 
Join Date: Jun 2020
Posts: 30
Rep Power: 6
Daaman is on a distinguished road
Could this be a bug?
Daaman is offline   Reply With Quote

Old   May 15, 2021, 16:53
Default
  #5
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
What version of the code are you using?
pcg is offline   Reply With Quote

Old   May 15, 2021, 16:58
Default
  #6
Member
 
Join Date: Jun 2020
Posts: 30
Rep Power: 6
Daaman is on a distinguished road
I'm using version 7.1.1.
Daaman is offline   Reply With Quote

Old   May 15, 2021, 17:55
Default
  #7
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Ok... it looks like (yet another) bug of the python scripts, but SU2_CFD and SU2_CFD_AD work fine...
I'm one of the main developers and I never use those scripts, simplified interfaces are the root of all evil.
pcg is offline   Reply With Quote

Old   May 16, 2021, 05:31
Default
  #8
Member
 
Join Date: Jun 2020
Posts: 30
Rep Power: 6
Daaman is on a distinguished road
Thanks for looking that up. Yes, I was able to run the other solvers with FFD_SETTING though. But, it fails to run with multiple FFD_CONTROL_POINT. I'll open this as an issue on SU2's git.
Daaman is offline   Reply With Quote

Old   June 17, 2022, 11:35
Default
  #9
New Member
 
ZEHUA LIU
Join Date: Apr 2022
Posts: 4
Rep Power: 4
948104577 is on a distinguished road
same problem when using Hick-Henne
948104577 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
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
Sampling fields values passing through multiple windows b.simpson OpenFOAM Post-Processing 0 May 1, 2020 11:14
Free Form Deformation (FFD) for CFD Mesh fazaghifari Main CFD Forum 0 April 3, 2018 05:42
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 22:02.