CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Shape Design (https://www.cfd-online.com/Forums/su2-shape-design/)
-   -   Question about OPT_OBJECTIVE (https://www.cfd-online.com/Forums/su2-shape-design/199873-question-about-opt_objective.html)

lbfhappy March 18, 2018 03:23

Question about OPT_OBJECTIVE
 
Hey all,

When I'm using the optimization function of SU2 to optimize a mesh model made by myself, I want to get the minimum value of LIFT.

I found SU2 seek the maximum value of LIFT by default?

Therefore, I wrote OPT_OBJECTIVE=LIFT*(-0.1), but it reported error.
Then I wrote OPT_OBJECTIVE=LIFT*-0.1, it seems work.

Is my operation correct? Is there document about discipline in detail of SU2 configuration file?

Bingfei

fpalacios March 18, 2018 21:34

Yep OPT_OBJECTIVE=LIFT*-0.1 is correct. Anyway my recommendation is to take a look at the new SU2 v6 tutorial.

OPT_GRADIENT_FACTOR and OPT_RELAX_FACTOR are new important variables

Best,
Francisco


All times are GMT -4. The time now is 08:33.