Thermal-electric simulations for the temperature setting in a creep-fatigue test