Ergodic limit for spatial moments in non uniform flow