effect of thermal treatment on damage mechanical