Text this: FEM optimization of process parameters and in-process cooling in the friction stir processing of magnesium alloy AZ31b