Finite element analysis of residual stresses on butt welded joints