Skip to main content
Log in

Consistent upwinding for sequential fully implicit multiscale compositional simulation

  • Original Paper
  • Published:
Computational Geosciences Aims and scope Submit manuscript

Abstract

There is strong interest to design sequential fully implicit (SFI) methods for compositional flow simulations with convergence properties that are comparable to fully implicit (FI) methods. SFI methods decompose the fully coupled system into a pressure equation and a transport system of the components. During the pressure update, the compositions are frozen, and during the transport calculations, both the pressure and total velocity are kept constant. The two systems are solved sequentially, and the solution, which is a fully implicit one, is obtained by controlling the splitting errors due to the decoupling. Having an SFI scheme that enjoys a convergence rate similar to FI makes it possible to design specialized numerical methods optimized for the different parabolic and the hyperbolic operators, as well as the use of high-order spatial and temporal discretization schemes. Here, we use the multiscale restriction-smoothed basis (MsRSB) method for the parabolic operator. We also show that phase-potential upwinding is incompatible with the total velocity formulation of the fluxes, which is common in SFI schemes. We observe that in cases with strong gravity or capillary pressure, it is possible to have flow reversals. These reversals can strongly affect the convergence rate of SFI methods. In this work, we employ phase upwinding (PU) as well as implicit hybrid upwinding (IHU) with a SFI method. IHU determines the upwinding direction differently for the viscous, buoyancy, and capillary pressure terms in the phase velocity expressions. The use of IHU leads to a consistent SFI scheme in terms of both pressure and compositions, and it improves the SFI convergence significantly in settings with strong buoyancy or capillarity. We demonstrate the robustness of the IHU-based SFI algorithm across a wide parameter range. Realistic compositional models with gas and water injection are presented and discussed.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aziz, K., Settari, A.: Petroleum reservoir simulation. Applied Science Publishers, London (1979)

    Google Scholar 

  2. Brenier, Y., Jaffré, J.: Upstream differencing for multiphase flow in reservoir simulation. SIAM J. Numer. Anal. 28(3), 685–696 (1991). https://doi.org/10.1137/0728036

    Article  Google Scholar 

  3. Cao, H., Tchelepi, H., Wallis, J., Yardumian, H.: Parallel scalable unstructured CPR-type linear solver for reservoir simulation. In: SPE Annual Technical Conference and Exhibition. Society of Petroleum Engineers (SPE) (2005). https://doi.org/10.2118/96809-MS

  4. Christie, M., Blunt, M.: Tenth SPE comparative solution project: a comparison of upscaling techniques. SPE Reserv. Eval. Eng. 4(04), 308–317 (2001). https://doi.org/10.2118/72469-PA

    Article  Google Scholar 

  5. Coats, K.: An equation of state compositional model. Soc. Pet. Eng. J. 20(05), 363–376 (1980). https://doi.org/10.2118/8284-PA

    Article  Google Scholar 

  6. Coats, K.: IMPES stability: selection of stable timesteps. SPE J. 8(02), 181–187 (2003). https://doi.org/10.2118/84924-PA

    Article  Google Scholar 

  7. Cusini, M., Lukyanov, A., Natvig, J., Hajibeygi, H.: Constrained pressure residual multiscale (cpr-ms) method for fully implicit simulation of multiphase flow in porous media. J. Comput. Phys. 299, 472–486 (2015). https://doi.org/10.1016/j.jcp.2015.07.019

    Article  Google Scholar 

  8. Eymard, R., Gallouet, T., Joly, P.: Hybrid finite element techniques for oil recovery simulation. Comput. Methods Appl. Mech. Eng. 74(1), 83–98 (1989). https://doi.org/10.1016/0045-7825(89)90088-1

    Article  Google Scholar 

  9. Forsyth, P., Sammon, P.: Practical considerations for adaptive implicit methods in reservoir simulation. J. Comput. Phys. 62(2), 265–281 (1986). https://doi.org/10.1016/0021-9991(86)90127-0

    Article  Google Scholar 

  10. Hamon, F., Mallison, B., Tchelepi, H.: Implicit hybrid upwind scheme for coupled multiphase flow and transport with buoyancy. Comput. Methods Appl. Mech. Eng. 311, 599–624 (2016). https://doi.org/10.1016/j.cma.2016.08.009

    Article  Google Scholar 

  11. Hamon, F., Mallison, B., Tchelepi, H.: Implicit hybrid upwinding for two-phase flow in heterogeneous porous media with buoyancy and capillarity. Comput. Methods Appl. Mech. Eng. 331, 701–727 (2018). https://doi.org/10.1016/j.cma.2017.10.008

    Article  Google Scholar 

  12. Henson, V., Yang, U.: BoomerAMG: a parallel algebraic multigrid solver and preconditioner. Appl. Numer. Math. 41(1), 155–177 (2002). https://doi.org/10.1016/S0168-9274(01)00115-5, Developments and trends in iterative methods for large systems of equations - in memorium Rudiger Weiss

    Article  Google Scholar 

  13. Hou, T., Wu, X.H.: A multiscale finite element method for elliptic problems in composite materials and porous media. J. Comput. Phys. 134(1), 169–189 (1997). https://doi.org/10.1006/jcph.1997.5682

    Article  Google Scholar 

  14. Jenny, P., Lee, S., Tchelepi, H.: Multi-scale finite-volume method for elliptic problems in subsurface flow simulation. J. Comput. Phys. 187(1), 47–67 (2003). https://doi.org/10.1016/S0021-9991(03)00075-5

    Article  Google Scholar 

  15. Jenny, P., Lee, S., Tchelepi, H.: Adaptive fully implicit multi-scale finite-volume method for multi-phase flow and transport in heterogeneous porous media. J. Comput. Phys. 217(2), 627–641 (2006). https://doi.org/10.1016/j.jcp.2006.01.028

    Article  Google Scholar 

  16. Jiang, J., Younis, R.: Efficient c1-continuous phase-potential upwind (c1-ppu) schemes for coupled multiphase flow and transport with gravity. Adv. Water Resour. 108, 184–204 (2017). https://doi.org/10.1016/j.advwatres.2017.07.028

    Article  Google Scholar 

  17. Karypis, G., Kumar, V.: A fast and high quality multilevel scheme for partitioning irregular graphs. In: International Conference on Parallel Processing. http://glaros.dtc.umn.edu/gkhome/views/metis, pp. 113–122 (1995)

  18. Killough, J.E., Kossack, C.A.: Fifth comparative solution project: evaluation of miscible flood simulators. Society of Petroleum Engineers (SPE), SPE Symposium on Reservoir Simulation (1987). https://doi.org/10.2118/16000-MS

  19. Lee, S., Efendiev, Y.: C1-continuous relative permeability and hybrid upwind discretization of three phase flow in porous media. Adv. Water Resour. 96, 209–224 (2016). https://doi.org/10.1016/j.advwatres.2016.07.017

    Article  Google Scholar 

  20. Lee, S., Wolfsteiner, C., Tchelepi, H.: Multiscale finite-volume formulation for multiphase flow in porous media: black oil formulation of compressible, three-phase flow with gravity. Comput. Geosci. 12(3), 351–366 (2008). https://doi.org/10.1007/s10596-007-9069-3

    Article  Google Scholar 

  21. Lee, S., Efendiev, Y., Tchelepi, H.: Hybrid upwind discretization of nonlinear two-phase flow with gravity. Adv. Water Resour. 82, 27–38 (2015). https://doi.org/10.1016/j.advwatres.2015.04.007

    Article  Google Scholar 

  22. Michelsen, M., Mollerup, J.: Thermodynamic Models: Fundamentals and Computational Aspects, 2nd edn. Tie-Line Publications, Holte (2007)

    Google Scholar 

  23. Moncorgé, A., Patacchini, L., de Loubens, R.: Multi-phase, multi-component simulation framework for advanced recovery mechanisms. In: Abu Dhabi International Petroleum Conference and Exhibition. Society of Petroleum Engineers (SPE) (2012). https://doi.org/10.2118/161615-MS

  24. Moncorgé, A., Tchelepi, H., Jenny, P.: Modified sequential fully implicit scheme for compositional flow simulation. J. Comput. Phys. 337, 98–115 (2017). https://doi.org/10.1016/j.jcp.2017.02.032

    Article  Google Scholar 

  25. Moncorgé, A., Tchelepi, H., Jenny, P.: Stable sequential fully implicit scheme for compositional simulation. In: SIAM Conference on Mathematical and Computational Issues in the Geosciences. Society of Industrial and Applied Mathematics (SIAM) (2017b). http://www.siam-gs17.de

  26. Moncorgé, A., Tchelepi, H., Jenny, P.: Sequential fully implicit formulation for compositional simulation using natural variables. J. Comput. Phys. 371, 690–711 (2018). https://doi.org/10.1016/j.jcp.2018.05.048

    Article  Google Scholar 

  27. Møyner, O., Lie, K.A.: A multiscale restriction-smoothed basis method for compressible black-oil models. SPE J. 21(06), 2079–2096 (2016). https://doi.org/10.2118/173265-PA

    Article  Google Scholar 

  28. Møyner, O., Lie, K.A.: A multiscale restriction-smoothed basis method for high contrast porous media represented on unstructured grids. J. Comput. Phys. 304, 46–71 (2016). https://doi.org/10.1016/j.jcp.2015.10.010

    Article  Google Scholar 

  29. Møyner, O., Tchelepi, H.: A mass-conservative sequential implicit multiscale method for isothermal equation of state compositional problems. SPE J. (To appear) (2018)

  30. Peaceman, D.: Fundamentals of numerical reservoir simulation. Elsevier Scientific Publishing, Amsterdam (1977)

    Google Scholar 

  31. SINTEF Digital: The MATLAB reservoir simulation toolbox. http://www.sintef.no/MRST (2018)

  32. Stueben, K.: An introduction to algebraic multigrid. Appendix in book “Multigrid” by U Trottenberg, CW Oosterlee and A Schueller, pp. 413–532. Academic Press (2001)

  33. Stueben, K., Clees, T., Klie, H., Lu, B., Wheeler, M.: Algebraic multigrid methods (amg) for the efficient solution of fully implicit formulations in reservoir simulation. In: SPE Reservoir Simulation Symposium. Society of Petroleum Engineers (SPE) (2007). https://doi.org/10.2118/105832-MS

  34. The Open Porous Media Initiative: ResInsight Post Processing of Reservoir Simulations. http://opm-project.org(2017)

  35. Thomas, G., Thurnau, D.: Reservoir simulation using an adaptive implicit method. Soc. Pet. Eng. J. 23 (05), 759–768 (1983). https://doi.org/10.2118/10120-PA

    Article  Google Scholar 

  36. Wallis, J., Kendall, R., Little, T.: Constrained residual acceleration of conjugate residual methods. In: SPE Reservoir Simulation Symposium. Society of Petroleum Engineers (SPE) (1985). https://doi.org/10.2118/13536-MS

Download references

Acknowledgments

The authors would like to thank TOTAL management for permission to publish this work. We also thank Leonardo Patacchini for suggestions.

Funding

The first author received financial support from TOTAL. The second author received financial support from the research program VISTA, funded by Equinor and conducted in close collaboration with the Norwegian Academy of Science and Letters. The third author received financial support from the Industrial Consortium on Reservoir Simulation Research at Stanford University (SUPRI-B).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to A. Moncorgé.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendices

Appendix A: Description of the models

The 1D model used in this study has 220 cells of dimensions of dx = 20 ft, dy = 10 ft, dz = 2 ft. The porosity is ϕ = 0.2 and the permeability K = 100 mD. The 2D model has 100×100 cells of dimensions of dx = dy = dz = 3 ft, porosity is ϕ = 0.2 and the permeability K = 50 mD in every direction. The rock compressibility for the 1D and 2D cases is 1.78e − 5 1/psi. The relative permeabilities are quadratic for the gas the oil and the water phases. The shape of the capillary pressure between the gas and the oil phases is provided by Table 11 and the shape of the capillary pressure between the oil and the water phases is provided by Table 12. For the 1D cases, the maximum values of the capillary pressure between the gas and the oil and between the oil and the water phases are taken to the very large values of 100.0 psi. For the 2D cases, unless specified, the maximum value of the capillary pressure between the gas and the oil phases is taken at 2.0 psi and between the oil and the water phases is taken at 25.0 psi. The fluids is taken from the SPE 5 comparative solution project [18]. The test cases have initial conditions with P = 4000.0 psi, T = 160 F and So = 1.0 except for the three-phase 2D test cases that have the initial pressure at saturated condition of P = 2302.0 psi. Table 13 provides the initial composition for the gas and the oil phases. The connection factors for all the cell-well connections are fixed at 0.3 Rbbl.cP/day-psi. For the first 1D test case, 4.0 STB/day of water is injected and the producer is controled at 4000 psi. For the second 1D test case, 3.0 STB/day of component C1 is injected and the producer is controled at 4000 psi. For the third 1D test case, 3.0 STB/day of water is injected and the producer is controled at 4000 psi. For the 2D test cases, the top-left corner is kept at the initial pressure.

Table 11 Shape of the capillary pressure between the gas and the oil phases
Table 12 Shape of the capillary pressure between the oil and the water phases
Table 13 Initial gas and oil compositions for SPE 5 fluid

Appendix B: Partial molar volumes for black-oil formulation

In this appendix, we give more details on the computation of the partial molar volumes for the specific case of the black-oil formulation [1, 30]. The black-oil model contains as many components as phases and assumes that, when mass exchange occurs between the phases, the phase compositions are direct functions of the gas phase pressure P; that is, for each phase p and each component c

$$ x_{p,c}= x_{p,c}^{sat}(P). $$
(57)

As a result, when mass exchange occurs between the phases, the phase mole densities ρp are also only functions of the pressure. We can express the number of moles of each component c

$$ N_{c} = \sum\limits_{p} x_{p,c} N_{p} $$
(58)

in function of the number of moles for each phase pNp. In the black-oil assumption, as there are as many components as phases, we can reverse the relationship:

$$ N_{p} = \sum\limits_{c} {\gamma}_{p,c} N_{c} $$
(59)

with the coefficients γp,c only functions of pressure. The partial molar volume of component c is then written as:

$$ V_{T_{c}}=\frac{\partial V_{T}}{\partial N_{c}} = \sum\limits_{p} \frac{\partial \left( \frac{N_{p}}{\rho_{p}} \right)}{\partial N_{c}} = \sum\limits_{p} \frac{\partial N_{p}}{\partial N_{c}} \frac{1}{\rho_{p}} = \sum\limits_{p} {\gamma}_{p,c} \frac{1}{\rho_{p}}. $$
(60)

The phase mole densities have been removed of the partial derivatives as they are only functions of pressure. Using Eqs. 59 and 60 gives

$$ \begin{array}{@{}rcl@{}} \sum\limits_{c} z_{c} V_{T_{c}} &=& \frac{1}{{\sum}_{c} N_{c}} \sum\limits_{c} N_{c} V_{T_{c}} \end{array} $$
(61)
$$ \begin{array}{@{}rcl@{}} &=& \frac{1}{{\sum}_{c} N_{c}} \sum\limits_{c} N_{c} \left( \sum\limits_{p} {\gamma}_{p,c} \frac{1}{\rho_{p}}\right) \end{array} $$
(62)
$$ \begin{array}{@{}rcl@{}} &=& \frac{1}{{\sum}_{c} N_{c}} \sum\limits_{p} \left( \sum\limits_{c} {\gamma}_{p,c} N_{c} \right) \frac{1}{\rho_{p}} \end{array} $$
(63)
$$ \begin{array}{@{}rcl@{}} &=& \frac{1}{{\sum}_{c} N_{c}} \sum\limits_{p} \frac{N_{p}}{\rho_{p}} \end{array} $$
(64)
$$ \begin{array}{@{}rcl@{}} &=& \sum\limits_{p} \frac{\frac{N_{p}}{{\sum}_{c} N_{c}}}{\rho_{p}} = \sum\limits_{p} \frac{\beta_{p}}{\rho_{p}}. \end{array} $$
(65)

with βp the mole fraction of the phase p. By definition, the quantity \(\frac {\beta _{p}}{\rho _{p}}\) is the volume of phase p divided by the total number of moles. It is then equivalent to

$$ \frac{\beta_{p}}{\rho_{p}} = \frac{S_{p}}{{\sum}_{q} \rho_{q} S_{q}}, $$
(66)

giving the relationship

$$ \sum\limits_{c} z_{c} V_{T_{c}} = \sum\limits_{p} \frac{\beta_{p}}{\rho_{p}} = \sum\limits_{p} \frac{S_{p}}{{\sum}_{q} \rho_{q} S_{q}} = \frac{1}{{\sum}_{q} \rho_{q} S_{q}}. $$
(67)

For a system with two hydrocarbon phases, gas and oil, and two hydrocarbon components, light component l and heavy component h, the partial molar volumes are written as:

$$ \begin{array}{@{}rcl@{}} V_{T_{l}} &=& \left( \frac{1-x_{o,l}^{sat}}{\rho_{g}} - \frac{x_{g,h}^{sat}}{\rho_{o}} \right) \gamma \end{array} $$
(68)
$$ \begin{array}{@{}rcl@{}} V_{T_{h}} &=& \left( -\frac{x_{o,l}^{sat}}{\rho_{g}} + \frac{1-x_{g,h}^{sat}}{\rho_{o}} \right) \gamma \end{array} $$
(69)

with γ the inverse of the determinant of the matrix composed by the mole fractions of the components in phases

$$ \gamma = \frac{1}{(1-x_{g,h}^{sat}) (1-x_{o,l}^{sat}) - x_{g,h}^{sat} x_{o,l}^{sat}}. $$
(70)

Usually, we express this system of two hydrocarbon components with four functions of pressure: Rs, Rv, Bg, Bo [1, 30]. The phase compositions are then written as

$$ \begin{array}{@{}rcl@{}} x_{o,l}^{sat} &=& \frac{R_{s}}{\alpha_{b}+R_{s}} \end{array} $$
(71)
$$ \begin{array}{@{}rcl@{}} \text{and } x_{g,h}^{sat} &=& \frac{R_{v}}{\frac{1}{\alpha_{b}}+R_{v}}, \end{array} $$
(72)

the phase mole densities as

$$ \begin{array}{@{}rcl@{}} \rho_{g} &=& \frac{1}{{M^{w}_{g}}} \frac{\overline{\rho_{l}^{sc}} + \overline{\rho_{h}^{sc}} R_{v}}{B_{g}} \end{array} $$
(73)
$$ \begin{array}{@{}rcl@{}} \text{and } \rho_{o} &=& \frac{1}{{M^{w}_{o}}} \frac{\overline{\rho_{l}^{sc}}R_{s} + \overline{\rho_{h}^{sc}}}{B_{o}}, \end{array} $$
(74)

with the molar weights of phase gas and oil as

$$ \begin{array}{@{}rcl@{}} {M^{w}_{g}} &=& (1-x_{g,h}^{sat})\cdot {M^{w}_{l}} + x_{g,h}^{sat}\cdot {M^{w}_{h}} \end{array} $$
(75)
$$ \begin{array}{@{}rcl@{}} \text{and } {M^{w}_{o}} &=& x_{o,l}^{sat}\cdot {M^{w}_{l}} + (1-x_{o,l}^{sat})\cdot {M^{w}_{h}}, \end{array} $$
(76)

in function of the coefficient

$$ \alpha_{b} = \frac{{M^{w}_{l}}}{{M^{w}_{h}}} \frac{\overline{\rho_{h}^{sc}}}{\overline{\rho_{l}^{sc}}} $$
(77)

with \({M^{w}_{l}}\) and \({M^{w}_{l}}\) the molar weights of components l and h, respectively, and \(\overline {\rho _{l}^{sc}}\) and \(\overline {\rho _{h}^{sc}}\) the mass densities at surface conditions of components l and h, respectively.

Appendix C: SI metric conversion factors

1

psi

=

100000/14.5037

Pa

1

ft

=

1/3.2808

m

1

lb

=

1/2.20462262

kg

1

mD

=

9.869e-16

m2

1

cP

=

0.001

Pa.s

1

day

=

86400

s

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Moncorgé, A., Møyner, O., Tchelepi, H.A. et al. Consistent upwinding for sequential fully implicit multiscale compositional simulation. Comput Geosci 24, 533–550 (2020). https://doi.org/10.1007/s10596-019-09835-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10596-019-09835-6

Keywords

Navigation