Numerical simulation of the electron beam welding process