Abstract
We develop a nonlinear upscaling method for nonlinear transport equations. The proposed scheme gives a coarse scale equation for the cell average of the solution. In order to compute the parameters in the coarse scale equation, a local downscaling operator is constructed. This downscaling operation recovers fine scale properties using cell averages. This is achieved by solving the equation on an oversampling region with the given cell average as constraint. Due to the nonlinearity, one needs to compute these downscaling operations on the fly and cannot pre-compute these quantities. In order to give an efficient downscaling operation, we apply a deep learning approach. We will use a deep neural network to approximate the downscaling operation. Our numerical results show that the proposed scheme can achieve good accuracy and efficiency.
Introduction
Simulating fluid transport through complex, heterogeneous materials—such as porous rock in oil reservoirs—presents a massive computational challenge. These physical systems exhibit significant variability across multiple scales, from microscopic pores to kilometer-scale formations.
Standard upscaling techniques attempt to mitigate this complexity by solving the governing equations on a coarse grid. For linear problems, pre-computing basis functions allows for an efficient bridge between fine and coarse scales. However, for nonlinear transport equations, the relationships between scales change dynamically as the simulation progresses. Traditionally, this necessitates solving thousands of local nonlinear sub-problems at every time step, a process so computationally intensive that it often negates the efficiency gains of upscaling. This paper introduces a deep learning-accelerated framework to overcome this "nonlinear bottleneck."
Methodology
The proposed method builds upon the Nonlinear Nonlocal Multicontinua Upscaling (NLNLMC) framework. The approach is structured into three primary components:
1. Macroscopic Variables
The state of the system is defined using cell averages on a coarse grid. This simplification reduces the degrees of freedom while aiming to capture the essential physics of the transport process.
2. The Downscaling Operator and Oversampling
To determine the parameters for the coarse-scale equation, the method must "downscale"—recovering fine-scale details from the coarse averages. This is achieved by solving local problems on oversampling regions. These regions are slightly larger than a single coarse cell to account for the influence of neighboring cells and ensure a more accurate reconstruction of the fine-scale solution.
3. Deep Learning Acceleration
The core innovation lies in replacing slow, iterative numerical solvers (like Newton’s method) with a Deep Neural Network (NN). The NN is trained to learn the mapping from coarse-scale averages to the fine-scale edge values required for the upscaled equation.
To handle large-scale problems efficiently, the authors introduce a Stacked Local Neural Network architecture. Instead of a single global network, multiple identical "local" networks process specific regions. This design reflects the physical locality of transport equations and significantly reduces the number of parameters, dropping from approximately 30 million in a global model to just 600,000.
Results and Discussion
The method was evaluated using synthetic datasets generated for transport equations in heterogeneous media. The training set consisted of 5,000 samples derived from local nonlinear equations with randomized coarse-scale inputs.
Performance and Accuracy
The deep learning approach demonstrated a 100x speedup in simulation time. In a representative test case, a single time step required 4,500 seconds using traditional numerical solvers, whereas the neural network-based method completed the same task in only 45 seconds.
Crucially, this speedup did not come at the cost of significant accuracy. The relative root mean square error (RMSE) for the NN model typically ranged between 4% and 6%. In contrast, standard coarse-grid finite volume methods exhibited errors exceeding 11%. The method also proved robust against spatially varying velocities and discontinuous initial conditions.
Conclusion and Future Work
By integrating deep learning into the NLNLMC framework, this research provides a viable path for efficient nonlinear upscaling. While the current model achieves high performance, future work will address two key areas: bound preservation (ensuring fluid saturation remains between 0 and 1) and generalization (developing networks that can accept media properties like permeability maps as direct inputs).
Summary updated