CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF help! C_centroid (https://www.cfd-online.com/Forums/fluent/35919-udf-help-c_centroid.html)

Bikash March 3, 2005 02:23

UDF help! C_centroid
 
hi,

i have a 2D circular disc of certain radius. how do i find the radius of each point(cell) in my domain. if i use c_centroid, i guess i will get the cordinate of the centroid of each cell,in cartesian coordinates. i couldnt find an example to extract the x and y coordinates using arrays.

how do i reterive the centroid of each cell in cylindrical coordinates.

i would be greatful, if anyone could help me get the radius of each cell from the center of the disc.

an example would be greatly appreciated.

thank you. bikash



All times are GMT -4. The time now is 06:48.