CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   About Surface Sensitivity computation (https://www.cfd-online.com/Forums/su2/131037-about-surface-sensitivity-computation.html)

Tommy Chen March 7, 2014 12:38

About Surface Sensitivity computation
 
Hi Guys:

I want to know the part of the codes that is for computation of the surface sensitivity , including the surface grid sensitivity (probably inside SU2_MDC part) and the finally assembled sensitivity of objective function on every surface node, using the chain rule.

Could anyone point out where can I find that part of the codes.

Many thanks !

fpalacios March 10, 2014 16:14

Quote:

Originally Posted by Tommy Chen (Post 478836)
Hi Guys:

I want to know the part of the codes that is for computation of the surface sensitivity , including the surface grid sensitivity (probably inside SU2_MDC part) and the finally assembled sensitivity of objective function on every surface node, using the chain rule.

Could anyone point out where can I find that part of the codes.

Many thanks !

Hi,

the surface geometrical sensitivity and gradient projection is done in SU2_GPC. In particular the surface sensitivity (finite differences) is done in SU2_GPC.cpp (line 137 and below, it starts with the loop over the design variables).

The projection is done in the same file (SU2_GPC.cpp) starting in line 233… it is a very simple projection (a couple of dots products in the surface).

Cheers,
Francisco


All times are GMT -4. The time now is 12:21.