shallow water solution in a channel