I want to make a water simulation where I measure how effective a sea barrier is, and at which angle it should be to the water in order to maximize effectiveness. Since I obviously need a quantitative way to measure how much water gets over the barrier, how would I accurately measure the volume of the water on both sides of the barrier?