Analysis of friction stir welds using thermocouple measurements