Analytical Solution to the Zero-Inertia Problem for Surge Flow Phenomena in Nonprismatic Channels