CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Change the python file with shape optimization (https://www.cfd-online.com/Forums/su2/138583-change-python-file-shape-optimization.html)

454514566@qq.com July 7, 2014 06:59

Change the python file with shape optimization
 
In the shape optimization,I want to make AOA set as DV,so the AOA and airfoil shape can be optimized.But the SU2 V3.2 can not handle it.
My mind is change the python file that make SU2 do it.
DO I need to change what the file is?

fpalacios July 19, 2014 13:21

If you want AoA as a design variable there are several options:
- use rotation with FFD boxes.
- use
% Activate fixed lift mode (specify a CL instead of AoA, NO/YES)
FIXED_CL_MODE= YES
%
% Target coefficient of lift for fixed lift mode (0.0 by default)
TARGET_CL= 0.1
- And obviously, it is possible to implement the AoA as a design variable (in fact SU2 already computes the derivative of AoA with respect to the design variables).

I hope this helps,
Thanks for using SU2,

Francisco


All times are GMT -4. The time now is 19:13.