**2. Theoretical background**

Basic mechanisms of welding residual stress and distortion together with the finite element formulations used in the 3D numerical simulation are described in the following subsections.
