TY - JOUR T1 - Dynamic Modeling of Phase Crossings in Two-Phase Flow AU - S. Madsen, C. Veje & M. Willatzen JO - Communications in Computational Physics VL - 4 SP - 1129 EP - 1147 PY - 2012 DA - 2012/12 SN - 12 DO - http://doi.org/10.4208/cicp.190511.111111a UR - https://global-sci.org/intro/article_detail/cicp/7328.html KW - AB -
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.