Numerical simulation of welding distortion in thin plates