Abstract

Summary Direct numerical simulation of two-phase flow at the pore scale is computationally challenging due to high requirements on physical fidelity and because of the spatial resolution necessary to accurately represent pore geometries. In this paper, we explore how GPGPU-accelerated iterative linear solvers can help to make these simulations feasible in workflows such as relative permeability estimation. Our target application is a Cahn-Hilliard-Navier-Stokes solver that uses a discontinuous Galerkin discretization in space and an implicit discretization in time. The performance bottleneck of the application is the solution of sparse linear systems in each time step. We evaluate and compare the performance of a CPU-based iterative solver from the Trilinos package and its GPGPU-accelerated counterpart from the AMGX package. In simulations with realistic porous rock geometries, we demonstrate that the weak scalability of the two solvers are comparable. At the same time, the GPGPU-accelerated solvers are approximately forty times faster on our multi-GPGPU compute nodes, resulting in more than a four-fold speedup of the overall simulation. Our results show that GPGPUs can improve parallel efficiency in pore-scale flow simulations, and they can help to make larger simulations feasible.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.