A Thermomechanical Analysis of the Friction Stir Welding Process