Chemical engineeriing for ball mills