Calculating the centre of a surface
I need to find centroid of multiple boundaries to implement in equation in UDF. I want Fluent to calculate the coordinates (x,z) of the centroid. I have written a code for area weighted centroid. I am getting an error. Can someone tell me what am I doing wrong?
( I think its with the A(). I need to calculate area in xz planes. Is it right?)
/* Calculating the centroid of the Boundary*/
a = (p*A)+a;
d = A + d;
instead of "A"
|All times are GMT -4. The time now is 03:55.|