Temperature evolution during fatigue damage