Flow of granular materials down a vertical pipe