Smooth formulation for isothermal compositional simulation with improved nonlinear convergence

Compositional simulation is challenging, because of highly nonlinear couplings between multi-component flow in porous media with thermodynamic phase behavior. The coupled nonlinear system is commonly solved by the fully-implicit scheme. Various compositional formulations have been proposed. However, severe convergence issues of Newton solvers can arise under the conventional formulations. Crossing phase boundaries produces kinks in discretized equations, and subsequently causing oscillations or even divergence of Newton iterations. The objective of this work is to develop a smooth formulation that removes all the property switches and discontinuities associated with phase changes. We show that it can be very difficult and costly to smooth the conservation equations directly. Therefore, we first reformulate the coupled system, so that the discontinuities are transferred to the phase equilibrium model. In this way a single and concise non-smooth equation is achieved and then a smoothing approximation can be made. The new formulation with a smoothing parameter provides smooth transitions of variables across all the phase regimes. In addition, we employ a continuation method where the solution progressively evolves toward the target system. We evaluate the efficiency of the new smooth formulation and the continuation method using several complex problems. Compared to the standard natural formulation, the developed formulation and method exhibit superior nonlinear convergence behaviors. The continuation method leads to smooth and stable iterative performance, with a negligible impact on solution accuracy. Moreover, it works robustly for a wide range of flow conditions without parameter tuning.

[1]  Jiamin Jiang,et al.  Efficient C1-continuous phase-potential upwind (C1-PPU) schemes for coupled multiphase flow and transport with gravity , 2017 .

[2]  Yalchin Efendiev,et al.  C1-Continuous relative permeability and hybrid upwind discretization of three phase flow in porous media , 2016 .

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

[4]  Abbas Firoozabadi,et al.  Relationship of the volume-balance method of compositional simulation to the Newton-Raphson method , 1990 .

[5]  L. Biegler,et al.  Iterated linear programming strategies for non-smooth simulation: A penalty based method for vapor—liquid equilibrium applications , 1993 .

[6]  Anahita Abadpour,et al.  Method of Negative Saturations for Modeling Two-phase Compositional Flow with Oversaturated Zones , 2009 .

[7]  Hamdi A. Tchelepi,et al.  Adaptively Localized Continuation-Newton Method—Nonlinear Solvers That Converge All the Time , 2010 .

[8]  Paul I. Barton,et al.  Nonsmooth model for dynamic simulation of phase changes , 2016 .

[9]  L. X. Nghiem,et al.  An Efficient Approach to Adaptive- Implicit Compositional Simulation With an Equation of State , 1992 .

[10]  Hamdi A. Tchelepi,et al.  Trust-region based solver for nonlinear transport in heterogeneous porous media , 2013, J. Comput. Phys..

[11]  Curtis H. Whitson,et al.  The negative flash , 1989 .

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

[13]  Hamdi A. Tchelepi,et al.  Compositional Nonlinear Solver Based On Trust Regions Of The Flux Function Along Key Tie-Lines , 2011, ANSS 2011.

[14]  Eva Farkas,et al.  General Purpose Compositional Model , 1985 .

[15]  John Lohrenz,et al.  Calculating Viscosities of Reservoir Fluids From Their Compositions , 1964 .

[16]  Hamdi A. Tchelepi,et al.  Dissipation-based continuation method for multiphase flow in heterogeneous porous media , 2018, J. Comput. Phys..

[17]  K. Aziz,et al.  Petroleum Reservoir Simulation , 1979 .

[18]  K. H. Coats AN EQUATION OF STATE COMPOSITIONAL MODEL , 1980 .

[19]  D. Keyes,et al.  Jacobian-free Newton-Krylov methods: a survey of approaches and applications , 2004 .

[20]  Bintong Chen,et al.  A Non-Interior-Point Continuation Method for Linear Complementarity Problems , 1993, SIAM J. Matrix Anal. Appl..

[21]  Jeroen C. Vink,et al.  A Variable-Switching Method for Mass-Variable-Based Reservoir Simulators , 2018 .

[22]  Denis Voskov,et al.  An Extended Natural Variable Formulation for Compositional Simulation Based on Tie-Line Parameterization , 2012, Transport in Porous Media.

[23]  Hamdi A. Tchelepi,et al.  Compositional Space Parameterization: Theory and Application for Immiscible Displacements , 2009 .

[24]  Patrick Jenny,et al.  Unconditionally convergent nonlinear solver for hyperbolic conservation laws with S-shaped flux functions , 2009, J. Comput. Phys..

[25]  Masao Fukushima,et al.  Smoothing Newton and Quasi-Newton Methods for Mixed Complementarity Problems , 2000, Comput. Optim. Appl..

[26]  Christian Kanzow,et al.  Some Noninterior Continuation Methods for Linear Complementarity Problems , 1996, SIAM J. Matrix Anal. Appl..

[27]  Eric Flauraud,et al.  Study of Compositional Multi-Phase Flow Formulations with Cubic EOS , 2015, ANSS 2015.

[28]  Wei Yan,et al.  Study on the Application of the Tie-Line-Table-Look-Up-Based Methods to Flash Calculations in Compositional Simulations , 2013 .

[29]  L. Biegler,et al.  Nonsmooth dynamic simulation with linear programming based methods , 1997 .

[30]  Khalid Aziz,et al.  Parallel Automatically Differentiable Data-Types for Next-Generation Simulator Development , 2007 .

[31]  Hamdi A. Tchelepi,et al.  Comparison of nonlinear formulations for two-phase multi-component EoS based simulation , 2012 .

[32]  Hamdi A. Tchelepi,et al.  Nonlinear Formulation Based on an Equation-of-State Free Method for Compositional Flow Simulation , 2013 .

[33]  Faruk O. Alpak,et al.  A Mimetic Finite Volume Discretization Method for Reservoir Simulation , 2010 .

[34]  Rainer Helmig,et al.  A new approach for phase transitions in miscible multi-phase flow in porous media , 2011 .

[35]  Yalchin Efendiev,et al.  Hybrid upwind discretization of nonlinear two-phase flow with gravity , 2015 .

[36]  Bradley T. Mallison,et al.  Implicit Hybrid Upwind scheme for coupled multiphase flow and transport with buoyancy , 2016 .

[37]  Bradley T. Mallison,et al.  Automatic Differentiation Framework for Compositional Simulation on Unstructured Grids with Multi-Point Discretization Schemes , 2011, ANSS 2011.

[38]  P. Deuflhard Newton Methods for Nonlinear Problems: Affine Invariance and Adaptive Algorithms , 2011 .