CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Find fraction of area of cell occupied by body (http://www.cfd-online.com/Forums/main/14543-find-fraction-area-cell-occupied-body.html)

CF December 19, 2007 00:08

Find fraction of area of cell occupied by body
 
Hi,

I'm using 2D FVM cartesian grid and I need to find the fraction of area of each cell occupied by an irregular body. The body is defined by 2 arrays of 100 values each e.g. bodyx(/0,0.1,0.2 ..../), bodyy(/0,0.3,0.6 .../).

I need a fast way to determine for all cells the area fraction. Any suggested references?

Thanks!


All times are GMT -4. The time now is 17:02.