Title: Computation of flow patterns in rivers