Published online by Cambridge University Press: 20 August 2015
Two-phase flow and heat transfer, such as boiling and condensing flows, are complicated physical phenomena that generally prohibit an exact solution and even pose severe challenges for numerical approaches. If numerical solution time is also an issue the challenge increases even further. We present here a numerical implementation and novel study of a fully distributed dynamic one-dimensional model of two-phase flow in a tube, including pressure drop, heat transfer, and variations in tube cross-section. The model is based on a homogeneous formulation of the governing equations, discretized by a high resolution finite difference scheme due to Kurganov and Tadmore.
The homogeneous formulation requires a set of thermodynamic relations to cover the entire range from liquid to gas state. This leads a number of numerical challenges since these relations introduce discontinuities in the derivative of the variables and are usually very slow to evaluate. To overcome these challenges, we use an interpolation scheme with local refinement.
The simulations show that the method handles crossing of the saturation lines for both liquid to two-phase and two-phase to gas regions. Furthermore, a novel result obtained in this work, the method is stable towards dynamic transitions of the inlet/outlet boundaries across the saturation lines. Results for these cases are presented along with a numerical demonstration of conservation of mass under dynamically varying boundary conditions. Finally we present results for the stability of the code in a case of a tube with a narrow section.