Hydrodynamic model of fish orientation in a channel flow