A parallel implementation via the OpenMP API for numerical simulation of natural gas reservoirs

Authors

  • Leonardo Tarazona Muzí de Carvalho Polytechnic Institute of the State University of Rio de Janeiro
  • Leonardo Figueira Werneck Polytechnic Institute of the State University of Rio de Janeiro
  • Grazione de Souza Polytechnic Institute of the State University of Rio de Janeiro https://orcid.org/0000-0002-4840-4472
  • Helio Pedro Amaral Souto Instituto Politécnico - Universidade do Estado do Rio de Janeiro http://orcid.org/0000-0002-4107-6322

DOI:

https://doi.org/10.5335/rbca.v12i2.10158

Keywords:

API OpenMP, Natural Gas, Stationary Methods, Parallelization, Reservoir Simulation

Abstract

Over the past decades, the oil and gas industry has increasingly used resources to reduce computational costs in reservoir numerical simulations. Realistic case studies generally lead to the solution of systems of nonlinear algebraic equations that require significant computational processing and memory efforts. We obtain such equations from a process of discretization of partial differential equations used in reservoir flow modeling. An example of a technique applied to high-performance implementations that leads to reduced processing time is the OpenMP Application Programming Interface (API), based on shared memory usage and threads. In this work, OpenMP is used to improve the performance of a numerical flow simulator in natural gas reservoirs. Jacobi, Gauss-Seidel, and SOR stationary methods for the solution of algebraic equation systems were parallelized and compared. We choose the SOR method to be applied in studies involving the variation of the number of computational mesh volumes and the flow characteristics. In all simulations performed, gains were obtained with parallelization when compared to the performance of serial versions, reaching maximum speedup values higher than 5 in some cases.

Downloads

Download data is not yet available.

Author Biographies

  • Grazione de Souza, Polytechnic Institute of the State University of Rio de Janeiro

    Departamento de Modelagem Computacional

  • Helio Pedro Amaral Souto, Instituto Politécnico - Universidade do Estado do Rio de Janeiro
    Departamento de Modelagem Computacional

Published

2020-06-22

Issue

Section

Original Paper

How to Cite

[1]
2020. A parallel implementation via the OpenMP API for numerical simulation of natural gas reservoirs. Brazilian Journal of Applied Computing. 12, 2 (Jun. 2020), 103–121. DOI:https://doi.org/10.5335/rbca.v12i2.10158.