%0 Journal Article %T Thermal simulation of two-phase flow in under-balanced drilling operation with oil and gas production %J Journal of Computational Applied Mechanics %I University of Tehran %Z 2423-6713 %A Hajidavalloo, Ebrahim %A Falavand Jozaei, Ali %A Azimi, Aziz %A Shekari, Younes %A Ghobadpouri, Saeed %D 2018 %\ 12/01/2018 %V 49 %N 2 %P 314-322 %! Thermal simulation of two-phase flow in under-balanced drilling operation with oil and gas production %K Under-Balanced Drilling (UBD) %K Bottom-Hole Pressure (BHP) %K Pressure distribution %K Two-fluid model %K Temperature profile %R 10.22059/jcamech.2018.255751.261 %X The accurate prediction of wellbore temperature distribution helps to accurately estimate well pressure profile and bottom-hole pressure (BHP) which is important in the under-balanced drilling (UBD) operation. In this paper effect of temperature variation due to heat transfer of drilling fluid with the formation and also oil and gas production from the reservoir into the annulus in under-balanced drilling condition were investigated. Gas-liquid two-phase flow model considering thermal interaction with the formation is used to numerically simulate a well with real dimensions. Based on drilling fluids flow and heat transfer characteristics in wells, conservations of mass and momentum and energy equations have been developed to compute BHP and wellbore temperature and pressure profile. After temperature and pressure validation of the numerical model, the effect of heat transfer between drilling fluid inside the well and the formation was considered on the pressure distribution and bottom-hole pressure. The results of two-phase flow, considering thermal effect gives better results compared to two-phase flow with geothermal temperature distribution analysis and better accuracy in comparison with other models. %U https://jcamech.ut.ac.ir/article_65810_b292632d89f8df97fb47d78911fe6a1a.pdf