CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   How to get Gradients of Constraints from SU2? (https://www.cfd-online.com/Forums/su2/250484-how-get-gradients-constraints-su2.html)

Vishnu Sankar June 17, 2023 19:37

How to get Gradients of Constraints from SU2?
 
Hello there,


I would like to know how to calculate the gradients of flow constraints (Cl, Cm etc..) and gradients of geometric constraints (th, vol etc.) from SU2.



I came across the "continuous_adjoint.py" python file in SU2_PY. I tried running it on the Quick Start naca0012 case (config file here) as the config file has lift, moment and thickness constraint. The output, however, only calculates the gradients of Cd with respect to the design variable.



But I would like to know how to get the gradients of Cl, Cm and thickness with respect to the design variables. Any suggestions/idea how to get them?


Thanks!


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