A bed load transport model for non uniform flows