Adaptive algebraic multiscale solver for compressible flow in heterogeneous porous media

Matei Tene, Yixuan Wang, Hadi HajibeygiJournal of Computational Physics 2015

Abstract

Simulating fluid flow in heterogeneous porous media is a significant computational challenge due to the high-resolution grids required to capture geological variability and the nonlinearities inherent in compressible flow. This paper introduces the Compressible Algebraic Multiscale Solver (C-AMS), an iterative multiscale framework designed for 3D compressible flow. By utilizing a dual-grid approach and an adaptive strategy that updates mathematical operators only when necessary, C-AMS achieves computational efficiency comparable to industrial-grade solvers while ensuring physical conservation across complex 3D environments.

Introduction

Managing subsurface resources—such as optimizing oil recovery, carbon sequestration, or geothermal energy extraction—requires accurate simulations of fluid movement through the Earth’s crust. These rock formations, known as heterogeneous porous media, possess permeability properties that vary significantly over small distances. Standard industry simulations often employ "fine-scale" grids with millions of cells, leading to slow convergence for pressure equations due to the patchy nature of the rock.

While multiscale methods have proven effective for incompressible (linear) flows by solving simplified problems on coarse grids, they often struggle with the nonlinear, time-dependent (parabolic) nature of compressible flows. C-AMS addresses this gap by providing a systematic, adaptive multiscale solver capable of handling 3D nonlinearities without excessive computational overhead.

Methodology

The C-AMS framework is built upon a dual-grid approach that bridges the gap between fine-scale geological data and coarse-scale computational efficiency.

Dual-Grid and Basis Functions

The solver utilizes two superimposed grids: the primal-coarse grid and the dual-coarse grid. These structures are used to construct basis functions, which serve as the mathematical "bridges" translating information between scales.

The dual-grid structure used in C-AMS, showing the relationship between fine cells, coarse cells, and dual-coarse cells.

As shown in Figure 1, the dual-coarse cell ($Ñ_j$) and the coarse cell ($Ů^k$) provide the framework for localized computations. The researchers evaluated various basis function formulations, including those specifically designed for compressible flow and simpler incompressible variants.

Two-Stage Smoothing and Adaptivity

Multiscale methods are effective at resolving global, low-frequency errors but often leave local, high-frequency discrepancies. C-AMS employs a two-stage approach: a multiscale stage followed by a fine-scale smoother (such as ILU(0)) to resolve local errors.

A key innovation of C-AMS is its "Strategic Laziness" or adaptivity. Rather than recalculating the entire linear system and basis functions at every time step, the solver monitors the residual error. It only triggers updates when the error drops below a specific threshold, significantly reducing CPU time.

Results and Discussion

The solver was tested using synthetic benchmarks, including log-normally distributed permeability fields that mimic real-world geological layering. Tests were conducted on 3D grids ranging from 262,144 to over 16 million cells.

Basis Function Efficiency

One significant finding was that complex "compressible" basis functions did not necessarily lead to faster convergence. Simpler, incompressible-type basis functions provided a sufficiently accurate approximation while being much cheaper to compute.

Comparison of basis functions for compressible (top) and incompressible (bottom) flow equations.

As illustrated in Figure 2, the basis functions capture the pressure distribution across the domain. The study found that using the simpler incompressible basis functions (bottom) was more efficient for the iterative solver's performance.

Performance Benchmarks

C-AMS demonstrated performance competitive with SAMG, an industry-standard Algebraic MultiGrid solver. In specific patchy field tests, the adaptive strategy reduced total CPU time from 515 seconds to just 74 seconds. For massive $256^3$ grids, a coarsening ratio of $16^3$ (one coarse cell per 4,096 fine cells) was identified as the optimal balance between setup time and solution speed.

Conclusion

C-AMS represents a robust advancement in multiscale modeling for compressible flow. By combining a dual-grid framework with adaptive operator updates, it offers a scalable solution for complex 3D reservoir simulations. While the initial setup of basis functions is computationally intensive, the process is highly parallelizable, offering further potential for speedups on modern multi-core and GPU architectures. Future research will extend this framework to multiphase flow and more complex, fractured geometries.

Summary updated

BibTeX
@article{tene2015adaptive,
  author = {Matei Tene and Yixuan Wang and Hadi Hajibeygi},
  title = {{Adaptive algebraic multiscale solver for compressible flow in heterogeneous porous media}},
  journal = {Journal of Computational Physics},
  year = {2015},
  doi = {10.1016/j.jcp.2015.08.009},
}
Figure