CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Calculation of lift/drag coefficient by FLUENT (https://www.cfd-online.com/Forums/fluent/157660-calculation-lift-drag-coefficient-fluent.html)

rsarma August 4, 2015 11:01

Calculation of lift/drag coefficient by FLUENT
 
Hi all,

Is there a way to calculate the lift/drag coefficient over e.g. a wing via Fluent UDF? Please see part of the code below:

begin_f_loop(f,t)
{
F_AREA(A,f,t);
PF_y+ = F_P(f,t)*A[1];
}
end_f_loop(f,t)

I thought the variable PF_y divided by the dynamic pressure, should give me the lift force in the respective direction. But the result does not match with the lift monitor value reported by FLUENT. Please let me know if you know of this issue.

Kind Regards,
RS


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