The residual stresses which result from the manufacture are present in the mechanical part with absence of any external force, but also they can be generated by various procedures. These stresses are the result of incompatibilities of deformation related to the heterogeneity of the plastic strain. Therefore, as the crack propagated in the residual stress field, the distribution of residual stresses is changed. The purpose of this work is to generate the thermomechanical residual stresses on along direction of crack propagation using a numerical simulation by Ansys software. This numerical approach allows us to evaluate the thermomechanical relaxation of the compressive residual stresses induced by plastic strain at crack tip.