-
Notifications
You must be signed in to change notification settings - Fork 969
Description
What are the objective functions that are available with Turbomachinery for the adjoint solver? The test case "disk_adj_turbomachinery/transonic_stator_2D" does not work with the python script:
$ shape_optimization.py -g DISCRETE_ADJOINT -f transonic_stator_2D.cfg
and shows the following error:
File "/home/baigan/SU2/bin/SU2/opt/project.py", line 129, in __init__
group = historyOutFields[this_obj]['GROUP']
KeyError: 'ENTROPY_GENERATION'
If I change the objective function to DRAG then this error disappears but then it won't support the constraint for FLOW_ANGLE_OUT. Is ENTROPY_GENERATION supported for Turbomachinery or not?
I generated the FFD mesh using DV_KIND=FFD_SETTING and then changed to FFD_CONTROL_POINT_2D with the new mesh.
A discrete adjoint run of SU2_CFD_AD seems to converge nicely. But how can I manually go through the process of generating config files for SU2_DOT / SU2_DEF to get the next deformed shape and what is the sequence they must be run if the python script is not working?