A study on computational fluid dynamics simulation of friction stir welding