Find fraction of area of cell occupied by body
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?
|All times are GMT -4. The time now is 17:02.|