Computation of the Thermal Field in Tools During Machining Processes