The Friction Stir Welding (FSW), a relatively new welding process, was developed in 1991 at the Welding Institute near Cambridge, England. There are two tool speeds to be considered in friction-stir welding; how fast the tool rotates and how quickly it traverses the interface. These two parameters have considerable importance and must be chosen with care to ensure a successful and efficient welding cycle. The relationship between the welding speeds and the heat input during welding is complex. In this paper the friction stir welding (FSW) process of stainless steel alloys has been modeled using a three dimensional finite element method. A coupled thermal viscoplastic model was used for the simulation. Tool speeds and temperature distribution are coupled and solved together using this method. The relationship between the welding speeds and the heat input during welding is obtained by numerical analysis, and the stress contour occurred by temperature field and tool force is surveyed. In addition, the effects of FSW process conditions on heating mainly near the tool pin are investigated in this paper.