An OpenMP Parallel Implementation for Numerical Simulation of Gas Reservoirs Using Intel Xeon Phi Coprocessor
DOI:
https://doi.org/10.26512/ripe.v2i21.21697Keywords:
Numerical reservoir simulation. Finite difference method. Sparse algebraic system. Iterative methods. OpenMP. Parallelization.Abstract
The objective of this work is to parallelize, using the Application Programming Interface (API) OpenMP (Open Multi-Processing) and Intel Xeon Phi coprocessor based on Intel Many Integrated Core (MIC) architecture, the numerical method used to solve the algebraic system resulting from the discretization of the differential partial equation that describes the single-phase flow in a gas reservoir. The set of governing equations are the continuity equation, the Darcy’s law and an equation of state. The Hydraulic Diffusivity Equation (HDE), for the unknown pressure, is obtained from this set of fundamental equations and it is discretized by means of the Finite Difference Method (FDM) along with a time implicit formulation. Different numerical tests are performed in order to study the computational efficiency of the parallelized versions of Conjugate Gradient (CG), BiConjugate Gradient (BiCG) and BiConjugate Gradient Stabilized (BiCGStab)methods,and different production scenarios were considered for horizontal wells and single-phase gas flow. The influence of different physical parameters as, for example, permeability on the wellbore pressure is also considered. Speed-up results are considered in order to evaluate the performance of the parallel algorithms.
Downloads
References
Akgun, F., 2004. A finite element model for analyzing horizontal well BHA behavior. Journal
of Petroleum Science and Engineering, vol. 42, No. 1-2, pp. 121”“132.
Al-Mohannadi, N. S., 2004. Simulation of Horizontal Well Tests. PhD Thesis, Colorado School
of Mines/Golden.
Al-Mohannadi, N.S., Ozkan, E. & Kazemi, H., 2007. Pressure-transient responses of horizontal
and curved wells in anticlines and domes. Society of Petroleum Engineers Reservoir Evaluation
& Engineering, vol. 10, n. 1, pp. 66”“76.
Barree, R. D. & Conway, M. W., 2004. Beyond Beta Factors: A Complete Model for Darcy,
Forchheimer, and Trans-Forchheimer Flow in Porous Media. Society of Petroleum Engineers
Annual Technical Conference and Exhibition, 26-29 September, Houston, Texas, USA.
Barrett R., Berry M. W., Chan T. F., Demmel J., Donato J., Dongarra J., Eijkhout V., Pozo R.,
Romine C. & Van der Vorst H., 1994. Templates for the solution of linear systems: building
blocks for iterative methods. SIAM.
Chapman, B., Jost G. & Pas, R. V. D., 2008. Using OpenMP: Portable Shared Memory Parallel
Programming, MIT Press.
Chaudhry, A. U., 2003. GasWell Testing Handbook. Elsevier, Burlington, Massachusetts, USA.
De Souza, G., 2013. Acoplamento Poc¸o-reservat´orio na Simulac¸ ˜ao Num´erica de Reservat´orios
de G´as. PhD Thesis, Universidade Estadual do Norte Fluminense/Maca´e.
De Souza, G., Pires, A.P. & Abreu, E., 2014. Well-reservoir coupling on the numerical simulation
of horizontal wells in gas reservoirs. In Society of Petroleum Engineers Latin America and
Caribbean Petroleum Engineering Conference., 21-23 May, Maracaibo, Venezuela.
De Souza G. & Amaral Souto H. P., 2016. A comparative study of non-Darcy flows in gas
naturally fractured reservoirs. Journal of the Brazilian Society of Mechanical Sciences and
Engineering. DOI: 10.1007/s40430-016-0486-x.
Dranchuk, P. M. & Abou-Kassem, J. H., 1975. Calculation of Z factors for Natural Gases using
Equations of State. Journal of Canadian Petroleum Technology, vol. 14, n. 3, pp. 34”“36.
Dumkwu, F. A., Islam, A.W., & Carlson, E. S., 2012. Review of Well Models and Assessment
of their Impacts on Numerical Reservoir Simulation Performance. Journal of Petroleum Science
and Engineering, vols. 82-83, pp. 174”“186.
Ertekin, T., Abou-Kassem, J. H., & King, G. R., 2001. Basic Applied Reservoir Simulation.
Society of Petroleum Engineers.
He, J. & Durlofsky, L. J., 2013. Reduced-order Modeling for Compositional Simulation Using
Trajectory Piecewise Linearization. Society of Petroleum Engineers Reservoir Simulation
Symposium, 18-20 February, The Woodlands, Texas, USA.
Jmili, A., Wilhite, G. P., & Green, D., 2011. Modeling Gas-phase Mass Transfer Between
Fracture and Matrix in Naturally Fractured Reservoirs. Society of Petroleum Engineers Journal,
vol. 16, n. 4, pp. 795”“811.
Lee, A. L., Gonzalez, M. H., & Eakin, B. E., 1966. The Viscosity of Natural Gases. Petroleum
Technology, Transactions of AIME, vol. 18, n. 8, pp. 997”“1000.
Peaceman, D.W., 1983. Interpretation ofWell-block Pressures in Numerical Reservoir Simulation
with Nonsquare Grid Blocks and Anisotropic Permeability. Society of Petroleum Engineers
Journal, vol. 23, n. 3, pp. 531”“543.
Shahbazi, S., Maarefvand, P. and Gerami, S., 2015. Investigation on flow regimes and non-
Darcy effect in pressure test analysis of horizontal gas wells. Journal of Petroleum Science and
Engineering, vol. 129, pp. 121”“129.
Downloads
Published
How to Cite
Issue
Section
License
Given the public access policy of the journal, the use of the published texts is free, with the obligation of recognizing the original authorship and the first publication in this journal. The authors of the published contributions are entirely and exclusively responsible for their contents.
1. The authors authorize the publication of the article in this journal.
2. The authors guarantee that the contribution is original, and take full responsibility for its content in case of impugnation by third parties.
3. The authors guarantee that the contribution is not under evaluation in another journal.
4. The authors keep the copyright and convey to the journal the right of first publication, the work being licensed under a Creative Commons Attribution License-BY.
5. The authors are allowed and stimulated to publicize and distribute their work on-line after the publication in the journal.
6. The authors of the approved works authorize the journal to distribute their content, after publication, for reproduction in content indexes, virtual libraries and similars.
7. The editors reserve the right to make adjustments to the text and to adequate the article to the editorial rules of the journal.