A parallel implementation via the OpenMP API for numerical simulation of natural gas reservoirs
DOI:
https://doi.org/10.5335/rbca.v12i2.10158Keywords:
API OpenMP, Natural Gas, Stationary Methods, Parallelization, Reservoir SimulationAbstract
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
Downloads
Published
Issue
Section
License

Todos os artigos estão licenciados com a licença Creative Commons Atribuição-NãoComercial-SemDerivações 4.0 Internacional. Autores que publicam nesta revista concordam com os seguintes termos:
a) Autores mantém os direitos autorais e concedem à revista o direito de primeira publicação, com o trabalho simultaneamente licenciado sob a Licença Creative Commons Attribution que permite o compartilhamento do trabalho com reconhecimento da autoria e publicação inicial nesta revista.
b) Autores têm autorização para assumir contratos adicionais separadamente, para distribuição não-exclusiva da versão do trabalho publicada nesta revista (ex.: publicar em repositório institucional ou como capítulo de livro), com reconhecimento de autoria e publicação inicial nesta revista.
c) Autores têm permissão e são estimulados a publicar e distribuir seu trabalho online (ex.: em repositórios institucionais ou na sua página pessoal) a qualquer ponto antes ou durante o processo editorial, já que isso pode gerar alterações produtivas, bem como aumentar o impacto e a citação do trabalho publicado (Veja O Efeito do Acesso Livre).