how to calculate flowrate for grinding machine