all the producing and assembling processes exert residual stress on the pieces that may lead to structural failure. therefore, calculating the residual stress in such structures has been common in recent years. in this article, distribution of temperature and residual stress resulting from arc welding in three-pass butt joint in p91 austenitic stainless steel pipes is calculated and estimated u...