|
[Sponsors] |
Unable to use shape_optimization.py for tutorial unsteady problem when adding constra |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Qiulin
Join Date: Feb 2022
Posts: 5
Rep Power: 4 ![]() |
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. |
|
![]() |
![]() |
![]() |
Tags |
su2 adjoint |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam 3D problem | Lucie | OpenFOAM Pre-Processing | 2 | June 21, 2016 05:23 |
2D unsteady convection problem | xces | FLUENT | 0 | June 6, 2014 16:10 |
unsteady heat transfer model problem | Beryl | FLUENT | 0 | July 12, 2011 23:26 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 15:45 |
Unsteady Boundary Layer Problem | C.J.Yoon | Main CFD Forum | 0 | January 27, 2006 04:19 |