Abstract
Simulating multiphase fluid flow in heterogeneous porous media is a critical but computationally intensive task in engineering. Traditional numerical solvers, while accurate, are often too slow for real-time applications or large-scale optimization. This paper proposes a physics-informed deep learning approach using specialized architectures: Locally Connected Networks (LCN) and Sparse Velocity layers. These models are designed to respect physical constraints like mass conservation and leverage the inherent sparsity of fluid dynamics equations. Results demonstrate up to a 50x speedup over conventional solvers with minimal loss in accuracy, providing a robust surrogate model for complex reservoir simulations.
Introduction
Simulating fluid flow in porous media, such as underground oil reservoirs or aquifers, is a significant computational challenge. The "heterogeneous" nature of these materials means their properties, like permeability, vary drastically across small distances. Accurate simulation typically requires methods like the Mixed Finite Element Method (MFEM), which involves solving massive systems of linear equations at every time step. While deep learning offers a potential for acceleration, standard neural networks often ignore physical laws and struggle with the high dimensionality of fine simulation grids.
Methodology
The researchers developed specialized deep learning architectures that mimic the underlying physics of fluid flow.
Locally Connected Networks (LCN)
For predicting fluid velocity, the authors utilized Locally Connected Networks instead of standard Convolutional Neural Networks (CNNs). Unlike CNNs, which apply the same filter across the entire input, LCNs use unique filters for different grid locations. This allows the model to capture the specific spatial "fingerprint" of the rock's permeability at each point.
Physics-Constrained Loss
To ensure physical consistency, a custom penalty was added to the loss function. This "physics-constrained" loss punishes the network if it predicts velocity fields that violate local mass conservation, forcing the model to adhere to fundamental physical laws rather than just fitting data.
The Sparse Velocity Layer
The core innovation for the transport (saturation) problem is the Sparse Velocity Layer. Recognizing that fluid at one point only interacts with its immediate neighbors, the authors designed a layer with a pentadiagonal weight matrix. This structure matches the sparsity of the underlying physical equations and uses fluid velocity as a direct multiplier for the weights.
Residual Learning
A ResNet-style architecture was employed to predict changes in fluid saturation over time. This approach enhances stability during long-term iterative simulations compared to predicting absolute values.
Experimental Setup
The models were trained and validated using synthetic datasets:
- Permeability Map: Based on the SPE10 model (layer 53), a benchmark for highly heterogeneous media.
- Source Configurations: Included "five-spot" reservoir setups and two-well configurations.
- Training Data: Approximately 1,000 samples for training and 250 for validation.
Key Results
- Computational Efficiency: The flow problem prediction took 0.001 seconds, a 50x speedup over the 0.05 seconds required by a standard Matlab solver.
- High Accuracy: The LCN model achieved a mean error of 0.6%, outperforming standard Deep Neural Networks (2.1% error).
- Physical Fidelity: The custom loss function reduced local mass conservation error by an order of magnitude (from $1.64 \times 10^{-8}$ to $1.64 \times 10^{-9}$).
- Iterative Stability: Saturation error remained low (~2.2%) even after 199 time steps, whereas dense networks typically failed.
Conclusion
By integrating physical sparsity and constraints into neural network design, the authors created an efficient and accurate surrogate model for multiphase flow. Future work will focus on handling physical uncertainty, partial data availability, and scaling to 3D systems.
Summary updated