Seol mar théacs é seo: Mathematical modeling of branched flows in alluvial channels