Some effects of temperature on the erosion of metals