3.4.3 Finite element simulation of residual stress