Numerical analysis of the effect of pore on local stresses in spot welds