Dynamic modeling of spot welds using thin layer interface theory