how to make a simulation of a ball mill