I'm trying to make a model of surface runoff of rain water. I'm using GRASS GIS function r.flow, which generates nice smooth lines of runoff. What I need is edit these flowlines some way to avoid crossing between lines (see picture). As a input data, I'm using DEM in 5 meters resolution, which is smoothed by circle filter 9 x 9 cells.
Do you have some ideas how to automatically adjust lines? I can use ArcGIS, GRASS GIS, QGIS or SAGA GIS. I can even write some in Python. But I do not know how to solve it.