DEM simulation of the flow of grinding media in IsaMill