Analysis of residual stress relief mechanisms in post-weld heat treatment