Skip to main content
Log in

Numerical simulation of non-isothermal flow in oil reservoirs using a coprocessor and the OpenMP

  • Published:
Computational and Applied Mathematics Aims and scope Submit manuscript

Abstract

The numerical simulation of the flow in oil reservoirs has become, over decades, a standard tool applied by the oil and gas industry to forecast the behavior of a hydrocarbon producing field. To reduce the computational effort of these simulations, which in general demand more time as the case studied becomes more realistic, like other researchers, we use high-performance computing techniques in reservoir simulation. In this context, the main contribution of this work is the proposal of a strategy for the numerical simulation of non-isothermal flow in oil reservoirs using an operator splitting, the OpenMP, a coprocessor, and a one-equation model for temperature without the need to consider local thermal equilibrium. Throughout the development of this work, we used a non-isothermal flow modeling in porous media, the control-volume finite-difference method for discretization, and a linearization of the non-linear algebraic equations by Picard’s method. Our main objective was the parallelization of the numerical code using the OpenMP and, from the variation in the number of threads used in the simulations, we were able to reach speedups higher than 45 in some cases.

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.

Algorithm 1
Algorithm 2
Algorithm 3
Algorithm 4
Algorithm 5
Algorithm 6
Algorithm 7
Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

Download references

Acknowledgements

The authors gratefully thanks Rio de Janeiro State University, Coordination for the Improvement of Higher Education Personnel (CAPES)-Finance Code 001, and National Council for Scientific and Carlos Chagas Filho Foundation for Research Support of the State of Rio de Janeiro (FAPERJ) for their support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Helio Pedro Amaral Souto.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Communicated by Maicon Ribeiro Correa.

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Werneck, L.F., Heringer, J.D.d.S., de Souza, G. et al. Numerical simulation of non-isothermal flow in oil reservoirs using a coprocessor and the OpenMP. Comp. Appl. Math. 42, 365 (2023). https://doi.org/10.1007/s40314-023-02496-3

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s40314-023-02496-3

Keywords

Mathematics Subject Classification

Navigation