Effect of Residual Stress on Thermal Deformation Behavior