CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   cell centroid computation (https://www.cfd-online.com/Forums/fluent/43690-cell-centroid-computation.html)

KRK February 9, 2007 13:04

cell centroid computation
 
How does fluent compute cell centroids?

Looking in some of their header files, it seems, for a hexahedral cell the formula for (x-coordinate) of centroid is:

0.125*( sum(x-position of nodes) )

However, using this formula, I don't get same result as using the macro C_CENTROID(c,t).

Thanks.


All times are GMT -4. The time now is 00:04.