Calculation of ball mill charge volume