calculating a grinding mill structure