I have multiple cubes each of unit volume arranged in a rectangular space. some of the cubes are piled upon one another.
Now if water is poured over , it accumulates in some gaps formed due to irregular arrangement of cubes.
How can i find the volume of water accumulated , assuming we know within each unit cell how many cubes are piled over each other.
Any hints or advice is welcome.