Nonhydrostatic model for surface irrigation