A mathematical model of steady flow in curved shallow channels