tue function of ball mill