An experimental investigation on friction stir welding of AZ31B magnesium alloy