The aim of this study is to develop a numerical model of a steam pipeline. The energy conservation equations for the pipeline wall and steam are solved using the finite volume method (FVM). The transient temperature of the pipeline wall, steam temperature and thermal stresses can be calculated using the model developed in the paper.