Close packing of particles under gravity flow