CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Calculation of lift/drag coefficient by FLUENT UDF (https://www.cfd-online.com/Forums/fluent-udf/157683-calculation-lift-drag-coefficient-fluent-udf.html)

rsarma August 5, 2015 05:16

Calculation of lift/drag coefficient by FLUENT UDF
 
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 11:15.