The propagation of the free boundary of the solution in the dam problem and related problems