Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids Find the centroid (coordinates) of a (wall) surface Reply To: Find the centroid (coordinates) of a (wall) surface

vganore
Ansys Employee

You can go to Report > Surface Integrals, then select Report Type as Area-Weighted Average, and for Field Variable Select Mesh, and under that you can select X-Coordinate, then select the Surface for which you want to calculate the centroid. This will give you the area-weighted X-coordinate of the centroid of the entire surface. You can repeat that for Y and Z coordinates. The formula used is: Xc = Sum(AiXi)/Sum(Ai) Yc = Sum(AiYi)/Sum(Ai) Zc = Sum(Ai*Zi)/Sum(Ai) where Xi, Yi, Zi are the X, Y, Z coordinates of the centroid of each mesh cell on that surface, and Ai is the Area of each mesh cell. Note that this calculation is mesh dependent so for a curved surface the finer your mesh, the more accurate the centroid values will be.

[bingo_chatbox]