CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Direct differentiation method - negative gradient (https://www.cfd-online.com/Forums/su2/199204-direct-differentiation-method-negative-gradient.html)

Evgeniy February 28, 2018 09:06

Direct differentiation method - negative gradient
 
1 Attachment(s)
Dear su2 people,

i'm doing verification analysis of AD discrete adjoint method on 3D two element wing model with FFD box. When i calculated objective function gradient by using forward direct differentiation method i found that it agrees with adjoint gradient (of Lift and Drag) only if i multiply it by -1 (see attachment).
Maybe it's relevant that in my model Y axis is aligned with Lift force direction, X - with drag and Z - with side force.
Is this just coincidence of wrong results or direct differentiation method calculates negative gradient?

Thanks,
Evgeniy


All times are GMT -4. The time now is 02:26.