An energy stable evolution method for simulating two-phase equilibria of multi-component fluids at constant moles, volume and temperature

In this paper, we propose an energy-stable evolution method for the calculation of the phase equilibria under given volume, temperature, and moles (VT-flash). An evolution model for describing the dynamics of two-phase fluid system is based on Fick’s law of diffusion for multi-component fluids and the Peng-Robinson equation of state. The mobility is obtained from diffusion coefficients by relating the gradient of chemical potential to the gradient of molar density. The evolution equation for moles of each component is derived using the discretization of diffusion equations, while the volume evolution equation is constructed based on the mechanical mechanism and the Peng-Robinson equation of state. It is proven that the proposed evolution system can well model the VT-flash problem, and moreover, it possesses the property of total energy decay. By using the Euler time scheme to discretize this evolution system, we develop an energy stable algorithm with an adaptive choice strategy of time steps, which allows us to calculate the suitable time step size to guarantee the physical properties of moles and volumes, including positivity, maximum limits, and correct definition of the Helmhotz free energy function. The proposed evolution method is also proven to be energy-stable under the proposed time step choice. Numerical examples are tested to demonstrate efficiency and robustness of the proposed method.

[1]  Daniel A. Cogswell A phase-field study of ternary multiphase microstructures , 2010 .

[2]  Shuyu Sun,et al.  Numerical modeling of two-phase binary fluid mixing using mixed finite elements , 2012, Computational Geosciences.

[3]  M. Michelsen The isothermal flash problem. Part II. Phase-split calculation , 1982 .

[4]  Mary F. Wheeler,et al.  Symmetric and Nonsymmetric Discontinuous Galerkin Methods for Reactive Transport in Porous Media , 2005, SIAM J. Numer. Anal..

[5]  Larry W. Lake,et al.  Fundamentals of Enhanced Oil Recovery , 2014 .

[6]  Shuyu Sun,et al.  Efficient numerical methods for simulating surface tension of multi-component mixtures with the gradient theory of fluid interfaces☆ , 2015 .

[7]  Jiří Mikyška,et al.  General algorithm for multiphase equilibria calculation at given volume, temperature, and moles , 2015 .

[8]  Abbas Firoozabadi,et al.  Investigation of mixture stability at given volume, temperature, and number of moles , 2012 .

[9]  Jirí Mikyska,et al.  Compositional modeling in porous media using constant volume flash and flux computation without the need for phase identification , 2014, J. Comput. Phys..

[10]  JISHENG KOU,et al.  Numerical Methods for a Multicomponent Two-Phase Interface Model with Geometric Mean Influence Parameters , 2015, SIAM J. Sci. Comput..

[11]  D. Peng,et al.  A New Two-Constant Equation of State , 1976 .

[12]  M. Michelsen The isothermal flash problem. Part I. Stability , 1982 .

[13]  Jiří Mikyška,et al.  Fast and robust algorithm for calculation of two-phase equilibria at given volume, temperature, and moles , 2013 .

[14]  Shuyu Sun,et al.  Two-Phase Fluid Simulation Using a Diffuse Interface Model with Peng-Robinson Equation of State , 2014, SIAM J. Sci. Comput..

[15]  Abbas Firoozabadi,et al.  A new thermodynamic function for phase‐splitting at constant temperature, moles, and volume , 2011 .

[16]  C. Miqueu,et al.  Modelling of the surface tension of binary and ternary mixtures with the gradient theory of fluid interfaces , 2004 .

[17]  Shuyu Sun,et al.  Unconditionally stable methods for simulating multi-component two-phase interface models with Peng-Robinson equation of state and various boundary conditions , 2016, J. Comput. Appl. Math..