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

Unable to use shape_optimization.py for tutorial unsteady problem when adding constra

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2022, 12:08
Default Unable to use shape_optimization.py for tutorial unsteady problem when adding constra
  #1
New Member
 
Qiulin
Join Date: Feb 2022
Posts: 5
Rep Power: 4
qren3 is on a distinguished road
When I use shape_optimization.py to optimize an airfoil in the tutorials, I cannot put thickness or area as constrants due to this error:


Traceback (most recent call last):
File "/.../shape_optimization.py", line 183, in <module>
main()
File "/.../shape_optimization.py", line 92, in main
shape_optimization( options.filename ,
File "/.../shape_optimization.py", line 110, in shape_optimization
config = SU2.io.Config(filename)
File "/.../SU2/io/config.py", line 123, in __init__
tavg_keyGroup = "TAVG_" + historyOutFields[key_inner]["GROUP"]
KeyError: 'AIRFOIL_THICKNESS'


However, adding the constraint of lift or drag can work well.
But the area and thickness can be found in config_template.
How can I solve this problem? Thank you very much.
qren3 is offline   Reply With Quote

Reply

Tags
su2 adjoint


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
chtMultiRegionSimpleFoam 3D problem Lucie OpenFOAM Pre-Processing 2 June 21, 2016 06:23
2D unsteady convection problem xces FLUENT 0 June 6, 2014 17:10
unsteady heat transfer model problem Beryl FLUENT 0 July 13, 2011 00:26
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 16:45
Unsteady Boundary Layer Problem C.J.Yoon Main CFD Forum 0 January 27, 2006 05:19


All times are GMT -4. The time now is 05:24.