Thermal Analysis of the Grinding Process