Skip to main content

An Introduction to the Numerics of Flow in Porous Media using Matlab

  • Chapter
Geometric Modelling, Numerical Simulation, and Optimization

Abstract

Even though the art of reservoir simulation has evolved through more than four decades, there is still a substantial research activity that aims toward faster, more robust, and more accurate reservoir simulators. Here we attempt to give the reader an introduction to the mathematics and the numerics behind reservoir simulation. We assume that the reader has a basic mathematical background at the undergraduate level and is acquainted with numerical methods, but no prior knowledge of the mathematics or physics that govern the reservoir flow process is needed. To give the reader an intuitive understanding of the equations that model filtration through porous media, we start with incompressible single-phase flow and move step-by-step to the black-oil model and compressible two-phase flow. For each case, we present a basic numerical scheme in detail, before we discuss a few alternative schemes that reflect trends in state-of-the-art reservoir simulation. Two and three-dimensional test cases are presented and discussed. Finally, for the most basic methods we include simple Matlab codes so that the reader can easily implement and become familiar with the basics of reservoir simulation.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. J.E. Aarnes, V. Kippe, K.-A. Lie, and A.B. Rustad. Modelling of multiscale structures in flow simulations for petroleum reservoirs. In this book.

    Google Scholar 

  2. I. Aavatsmark, T. Barkve, Ø. Bøe, and T. Mannseth. Discretization on unstructured grids for inhomogeneous, anisotropic media. part i: Derivation of the methods. Siam J. Sci. Comp., 19(5):1700–1716, 1998.

    Article  MATH  Google Scholar 

  3. I. Aavatsmark, T. Barkve, Ø. Bøe, and T. Mannseth. Discretization on unstructured grids for inhomogeneous, anisotropic media. part ii: Discussion and numerical results. Siam J. Sci. Comp., 19(5):1717–1736, 1998.

    Article  MATH  Google Scholar 

  4. T. Arbogast. An overview of subgrid upscaling for elliptic problems in mixed form. In Z. Chen, R. Glowinski, and K. Li, editors, Current trends in scientific computing, Contemporary Mathematics, pages 21–32. AMS, 2003.

    Google Scholar 

  5. T. Arbogast. Analysis of a two-scale, locally conservative subgrid upscaling for elliptic problems. SIAM J. Numer. Anal., 42(2):576–598, 2004.

    Article  MATH  MathSciNet  Google Scholar 

  6. K. Aziz and A. Settari. Petroleum reservoir simulation. Elsevier, London and New York, 1979.

    Google Scholar 

  7. J.W. Barker and S. Thibeau. A critical review of the use of pseudorelative permeabilities for upscaling. SPE Reservoir Eng., 12(2):138–143, 1997.

    Google Scholar 

  8. D. Braess. Finite elements: Theory fast solvers and applications in solid mechanics. Cambridge University Press, Cambridge, 1997.

    MATH  Google Scholar 

  9. S.C. Brenner and L.R. Scott. The mathematical theory of finite element methods. Springer-Verlag, New York, 1994.

    MATH  Google Scholar 

  10. F. Brezzi and M. Fortin. Mixed and hybrid finite element methods. Computational Mathematics. Springer-Verlag, New York, 1991.

    MATH  Google Scholar 

  11. G. Chavent and J. Jaffre. Mathematical models and finite elements for reservoir simulation. North Holland, 1982.

    Google Scholar 

  12. Z. Chen and T.Y. Hou. A mixed multiscale finite element method for elliptic problems with oscillating coefficients. Math. Comp., 72:541–576, 2003.

    Article  MATH  MathSciNet  Google Scholar 

  13. Zhangxin Chen, Guanren Huan, and Yuanle Ma. Computational methods for multiphase flows in porous media. Computational Science & Engineering. Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 2006.

    MATH  Google Scholar 

  14. M. A. Christie and M. J. Blunt. Tenth SPE comparative solution project: A comparison of upscaling techniques. SPE Reservoir Eval. Eng., 4(4):308–317, 2001. url: www.spe.org/csp.

    Google Scholar 

  15. M.A. Christie. Upscaling for reservoir simulation. JPT J. Pet. Tech., 48:1004–1010, 1996.

    Google Scholar 

  16. L.P. Dake. Fundamentals of reservoir engineering. Elsevier, Amsterdam, 1978.

    Google Scholar 

  17. M. Delshad and G.A Pope. Comparison of the three-phase relative permeability models. Transp. Porous Media, 4:59–83, 1979.

    Google Scholar 

  18. A.H. Demond and P.V. Roberts. An examination of relative permeability relations for two-phase flow in porous media. Water Res. Bull., 23:617–628, 1987.

    Google Scholar 

  19. B. Engquist and W. E. The heterogeneous multi-scale methods. Comm. Math. Sci., 1:87–133, 2003.

    MATH  MathSciNet  Google Scholar 

  20. B. Engquist and W. E. Multiscale modeling and computation. Notices Amer. Math. Soc., 50(9):1062–1070, 2003.

    MATH  MathSciNet  Google Scholar 

  21. R.E. Ewing. The mathematics of reservoir simulation. SIAM, 1983.

    Google Scholar 

  22. T.R. Hagen, M.O. Henriksen, J.M. Hjelmervik, and K.-A. Lie. How to solve systems of conservation laws numerically using the graphics processor as a highperformance computational engine. In this book.

    Google Scholar 

  23. H.H. Haldorsen and C.J. MacDonald. Stochastic modeling of underground reservoir facies (SMURF). In SPE Annual Technical Conference and Exhibition, 27–30 September, Dallas, Texas, SPE 16751, 1987.

    Google Scholar 

  24. M. Honarpour and S.M. Mahmood. Relative-permeability measurements: An overview. J. Petr. Tech, 40:963–966, 1988.

    Article  Google Scholar 

  25. T.Y. Hou and X-H. Wu. A multiscale finite element method for elliptic problems in composite materials and porous media. J. Comput. Phys., 134:169–189, 1997.

    Article  MATH  MathSciNet  Google Scholar 

  26. R. Juanes and T.W. Patzek. Relative permeabilities for strictly hyperbolic models of three-phase flow in porous media. Tranp. Porous Media, 57(2):125–152, 2004.

    Article  MathSciNet  Google Scholar 

  27. R. Juanes and T.W. Patzek. Three-phase displacement theory: an improved description of relative permeabilities. SPE J., 9(3):302–313, 2004.

    Google Scholar 

  28. L. Lake. Enhanced oil recovery. Prentice Hall, Inglewood Cliffs, NJ, 1989.

    Google Scholar 

  29. B.B. Maini and T. Okazawa. Effects of temperature on heavy oil-water relative permeability. J. Can. Petr. Tech, 26:33–41, 1987.

    Google Scholar 

  30. D.W. Peaceman. Fundamentals of numerical reservoir simulation. Elsevier, Amsterdam, 1977.

    Google Scholar 

  31. P.A. Raviart and J.M. Thomas. A mixed finite element method for second order elliptic equations. In I. Galligani and E. Magenes, editors, Mathematical Aspects of Finite Element Methods, pages 292–315. Springer-Verlag, Berlin — Heidelberg — New York, 1977.

    Chapter  Google Scholar 

  32. P. Renard and G. de Marsily. Calculating equivalent permeability. Adv. Water Resour., 20:253–278, 1997.

    Article  Google Scholar 

  33. H.L. Stone. Estimation of three-phase relative permeability and residual oil. J. Can. Petr. Tech, 12:53–61, 1973.

    Google Scholar 

  34. S.M. Skjæveland and Jon Kleppe, editors. SPOR Monograph, Recent advances in improved oil recovery methods for North Sea sandstone reservoirs. Norwegian Petroleum Directorate, Norway, 1992.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Aarnes, J.E., Gimse, T., Lie, KA. (2007). An Introduction to the Numerics of Flow in Porous Media using Matlab. In: Hasle, G., Lie, KA., Quak, E. (eds) Geometric Modelling, Numerical Simulation, and Optimization. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-68783-2_9

Download citation

Publish with us

Policies and ethics