Heat generation at the tip of a moving crack