Space-Time Nonlinear Upscaling Framework Using Non-local Multi-continuum Approach
Wing T. Leung, Eric T. Chung, Yalchin Efendiev, Maria Vasilyeva, Mary, Wheeler

TL;DR
This paper introduces a space-time nonlinear upscaling framework for porous media that handles multiscale coefficients without scale separation, utilizing nonlocal multi-continuum concepts and machine learning for efficient solutions.
Contribution
The paper extends previous results by developing a nonlinear nonlocal multi-continuum upscaling method applicable to complex porous media problems without scale separation.
Findings
Effective upscaling for nonlinear porous media problems.
Use of machine learning to identify complex solution maps.
Numerical validation on two-phase flow and transport applications.
Abstract
In this paper, we develop a space-time upscaling framework that can be used for many challenging porous media applications without scale separation and high contrast. Our main focus is on nonlinear differential equations with multiscale coefficients. The framework is built on nonlinear nonlocal multi-continuum upscaling concept and significantly extends the results in the proceeding paper. Our approach starts with a coarse space-time partition and identifies test functions for each partition, which plays a role of multi-continua. The test functions are defined via optimization and play a crucial role in nonlinear upscaling. In the second stage, we solve nonlinear local problems in oversampled regions with some constraints defined via test functions. These local solutions define a nonlinear map from macroscopic variables determined with the help of test functions to the fine-grid…
| MSE | RMSE (%) | MAE (%) | |
|---|---|---|---|
| Test 1 | |||
| 0.113 | 3.368 | 2.798 | |
| 0.029 | 1.725 | 1.587 | |
| 0.283 | 5.322 | 4.381 | |
| 0.048 | 2.196 | 2.443 | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Space-Time Nonlinear Upscaling Framework Using Non-local Multi-continuum Approach
Wing T. Leung ICES, University of Texas, Austin, TX, USA ([email protected])
Eric T. Chung Department of Mathematics, The Chinese University of Hong Kong, Shatin, New Territories, Hong Kong SAR, China ([email protected])
Yalchin Efendiev Department of Mathematics & Institute for Scientific Computation (ISC), Texas A&M University, College Station, Texas, USA ([email protected])
Maria Vasilyeva Institute for Scientific Computation (ISC), Texas A&M University, College Station, Texas, USA ([email protected])
Mary Wheeler ICES, University of Texas, Austin, TX, USA ([email protected])
Abstract
In this paper, we develop a space-time upscaling framework that can be used for many challenging porous media applications without scale separation and high contrast. Our main focus is on nonlinear differential equations with multiscale coefficients. The framework is built on nonlinear nonlocal multi-continuum upscaling concept [16] and significantly extends the results in the proceeding paper [17].
Our approach starts with a coarse space-time partition and identifies test functions for each partition, which play a role of multi-continua. The test functions are defined via optimization and play a crucial role in nonlinear upscaling. In the second stage, we solve nonlinear local problems in oversampled regions with some constraints defined via test functions. These local solutions define a nonlinear map from macroscopic variables determined with the help of test functions to the fine-grid fields. This map can be thought as a downscaled map from macroscopic variables to the fine-grid solution. In the final stage, we seek macroscopic variables in the entire domain such that the downscaled field solves the global problem in a weak sense defined using the test functions. We present an analysis of our approach for an example nonlinear problem.
Our unified framework plays an important role in designing various upscaled methods. Because local problems are directly related to the fine-grid problems, it simplifies the process of finding local solutions with appropriate constraints [16]. Using machine learning (ML), we identify the complex map from macroscopic variables to fine-grid solution. We present numerical results for several porous media applications, including two-phase flow and transport.
1 Introduction
Many porous media models are nonlinear and deriving these nonlinear macroscopic equations rely on some assumptions. For example, the well-known two-phase flow and transport model assumes that the relative permeabilities are functions of local saturations [6]. Similarly, for unsaturated flows, the nonlinear relations between pressures and capillary curves use local relations. All these problems have space-time heterogeneities. Some rigorous upscaling tools are needed to generalize these models and understand the errors associated in these macroscopic models. This is one of our goals in this paper.
Many approaches are suggested for nonlinear upscaling in the past, e.g., [2, 26, 3, 25, 13, 7, 9, 22, 1, 20, 31, 32, 42, 40, 4, 37, 12, 15, 10, 44, 5, 11, 36, 41, 46]. For multi-phase flows, these techniques include permeability or transmissibility upscaling [21, 45, 8, 38] for single-phase flow and pseudo-relative permeability approach [8, 39, 6]. The pseudo-relative permeability approach computes nonlinear relative permeability functions. These nonlinear approaches are known to lack robustness and are process dependent [23, 24]. To overcome these difficulties, one needs a better understanding of nonlinear upscaling methods for space-time heterogeneous problems. Nonlinear upscaling methods for scale separation cases are rigorously treated in [43, 27]. Among these approaches, some deal with problems that have both space and time heterogeneities.
Our proposed approaches take their origin in the Constraint Energy Minimizing Generalized Multiscale Finite Element Method (GMsFEM) and Nonlocal Multi-Continua upscaling, which are related. The main idea of these approaches is to use multiple macroscopic parameters to represent the solution over each coarse-grid block. We refer to these degrees of freedom as continua, which are important for achieving a high order accuracy. We note that generalized continua concepts are also introduced in computational mechanics [28], which include generalized continuum theories (e.g., [28]), computational continua framework (e.g., [35]), and other approaches. Computational continua ([35, 29]), which use nonlocal quadrature to couple the coarse scale system stated on unions of some disjoint computational unit cells, are introduced for non-scale-separation heterogeneous media. In [34, 33, 30], the computational continua with model reduction technique is combined.
An important step that connects multiscale methods and upscaling techniques includes using basis functions such that the resulting degrees of freedom have physical meanings, typically averages of the solution. For nonlinear problems, using linear basis functions is not very suitable. The local problems are nonlinear problems. For this reason, in our first work [17], we provided a framework for NLMC for stationary problems. In this paper, we provide a unified framework for nonlinear NLMC for problems with space-time heterogeneities, analysis, and machine learning based simplified local solves.
In Figure 1, we illustrate the main steps of our approach. Below, we briefly describe them. In the first step, we identify continua in each coarse block. This is done with the help of test functions, which can separate the features that can not be localized within the region of influence (oversampling region designated with green color in Figure 1). For nonlinear problems, each continua is defined by a corresponding test function. Continua play the role of macroscale variables. In our examples, macroscale variables are average solution values in some selected heterogeneous regions (such as channels).
In Step 2, once we identify the continua, we use oversampling regions to define downscaling maps. The oversampling region represents the region of influence and thus, the macroscopic parameter interactions are defined within oversampling regions. The local nonlinear problems are formulated in the oversampled regions using constraints. However, these computations are expensive and require appropriate local problems. Instead, we propose to use local space-time models of the original PDEs and perform many tests with various boundary conditions and sources. These local solutions are used to train macroscopic parameters as a function of multiple macroscale continua variables. For machine learning, we use deep learning algorithms, which allow approximating complex multi-continua dependent functions.
In Step 3, we seek a coarse-grid solution (the values in each continua) such that the downscaled global fine-scale solution satisfies the variational formulation that uses the test functions defined in Step 1. An example of test functions that we use is piecewise constant functions in each subregions (defined as channels). Then, the macroscale variables are average solutions defined in these subregions. The corresponding downscaled maps represent the local fine-grid solutions given these constraints. The global coarse-grid formulation can be thought as a mass balance equation formulated for each continua.
The main contributions of this paper are the following:
- •
Novel upscaled model for space-time;
- •
Unified framework using test functions;
- •
Easy local problems and machine learning calculations;
- •
Numerical results that uses machine learning and nonlinear upscaled models.
In the paper, we present an analysis of our approach for a model problem, which consists of heterogeneous p-Laplacian (). This model problem requires nonlinear upscaling and some oversampling in order to show an optimal convergence of our proposed approach.
In conclusion, the paper is organized as follows. In Section 2, we give some preliminary results of the nonlocal multicontinua approach. In Section 3, we present our approach, which uses the space-time nonlocal multicontinua approach. In this section, we present examples and convergence results. The numerical results are presented in Section 4.
2 Overview of NLMC methods
In this section, we will give a brief overview of the NLMC method for linear problems [16]. Our goal is to summarize the key ideas and motivate our new space-time nonlinear NLMC method. We consider a model elliptic equation with a heterogeneous coefficient
[TABLE]
Here is the heterogeneous field, is a given source and is the physical domain.
The NLMC method is defined on a coarse mesh, , of the domain . We write , where denotes the -th coarse element and denotes the number of coarse elements in . For each coarse element , we define an oversampled region , which is obtained by enlarging the coarse block by a few coarse grid layers. We will also denote when the oversampling region is obtained by enlarging by coarse grid layers. See Figure 2 for an illustration of coarse grid and oversample region. In particular, a structured coarse grid is shown with boundaries of coarse elements are denoted red. A coarse cell is denoted green and its oversampled region obtained by enlarging by one coarse grid layer is enclosed by black lines.
The NLMC method consists of three main ingredients:
Choice of continua. 2. 2.
Local basis functions. 3. 3.
Global coupling.
For each coarse element , we will identify multiple continua corresponding to various solution features. This can be done via a local spectral problem or a suitable weight function. Using the definition of continua, we will define a set of local basis functions by solving some local problems on oversample regions. Then, the final NLMC system is defined using these multiscale basis functions and a suitable variational formulation. In the following, we will discuss these concepts in detail.
Now we will specify the definition of continuum that is used in our studies. For each coarse block , we will identify a set of continua which are represented by a set of auxiliary basis functions , where denotes the -th continuum. There are multiple ways to construct these functions .
One way is to follow the idea proposed in CEM-GMsFEM [18]. In this framework, the auxiliary basis functions are obtained as the dominant eigenfunctions of a local spectral problem defined on . These eigenfunctions can capture the heterogeneities and the contrast of the medium. We can also follow the framework in the original NLMC method [16], designed for flows in fractured media, which can be easily modified for general heterogeneous media. In this approach, one identifies explicit information of fracture networks. The auxiliary basis functions are piecewise constant functions, namely, they equal one within one fracture network and zero otherwise. Moreover, one can define the continua by using properties of the heterogeneous media. In this case, the auxiliary basis functions are piecewise constant functions defined with respect to a partition of the coarse cell , such as the medium coefficients have a bounded contrast in each subregion [47].
Once the auxiliary basis functions are specified, we can construct the required basis functions. The idea generalizes the original energy minimization framework in CEM-GMsFEM. First, we denote the space of auxiliary basis functions as . Consider a given coarse element and a given continuum within . We will use the corresponding auxiliary basis function to construct our required multiscale basis function by solving a problem in an oversampled region . Specifically, we find and such that
[TABLE]
where denotes the standard delta function and is a weight function. We remark the function serves as a Lagrange multiplier for the constraints in the second equation of (2). We also remark that the basis function has mean value one on the -th continuum within and has mean value zero in all other continua in all coarse elements within . In practice, the above system (2) is solved in using a fine mesh, which is typically a refinement of the coarse grid. See Figure 2 for an illustration.
Finally, we can derive the NLMC system. Let be the space spanned by the basis functions . We will represent the approximate solution as a linear combination of basis functions, namely,
[TABLE]
Then, we will find by the following variational formulation
[TABLE]
This variational formulation results in the following upscaled model for the solution :
[TABLE]
where the upscaled stiffness matrix is defined as
[TABLE]
and the upscaled source term is defined as
[TABLE]
We remark that the nonlocal connections of the continua are coupled by the matrix . We also remark that the local computation in (2) results from a spatial decay property of the multiscale basis function, see [18, 19, 14] for the theoretical foundation.
The above NLMC idea can be extended to nonlinear elliptic problems, resulting in a nonlinear NLMC method (14)-(15). See Section 3.4 for the derivation and the convergence analysis.
3 Nonlinear non-local multicontinua model
In this section, we present the nonlinear non-local multicontinua (NLMC) method. We will first give some general concept of the methodology in Section 3.1. Then, in Section 3.2, we give some illustrative examples including linear problems and pseudomonotone problems. The main methodological details of the method are presented in Section 3.3. Finally, we present a convergence analysis of the method for a model elliptic problem in Section 3.4.
3.1 General concept
We will first present some general concepts of our nonlinear NLMC using the following model nonlinear problem
[TABLE]
where is a nonlinear operator that has a multiscale dependence with respect to space (and time, in general) and is a linear operator. In the above equation, is the solution and is a given source term. Our method has three key ingredients, namely, the choice of continua, the construction of local downscaling map and the construction of the coarse scale model. We will summarize these concepts in the following.
- •
The choice of continua
The continua serve as our macroscopic variables in each coarse element. Our approach uses a set of test functions to define the continua. To be more specific, we consider a coarse element . We will choose a set of test functions to define our continua, where denotes the -th continuum. Using these test functions, we can define our macroscopic variables as
[TABLE]
where is a space-time inner product.
- •
The construction of local downscaling map
Our upscale model uses a local downscaling map to bring microscopic information to the coarse grid model. The proposed downscaling map is a function defined on an oversampling region subject to some constraints related to the macroscopic variables. In time-dependent problems, the oversampling region can be regarded as a zone of influence for coarse-grid variables defined on the target coarse block . More precisely, we consider a coarse element , and an oversampling region such that . Then we find a function by solving the following local problem
[TABLE]
The above equation (5) is solved subjected to constraints defined by the following functionals
[TABLE]
This constraint fixes some averages of with respect to . We remark that the function serves as the Lagrange multiplier for the above constraints. This local solution builds a downscaling map
[TABLE]
- •
The construction of coarse scale model
We will construct the coarse scale model using the test functions and the local downscaling map. Our upscaling solution is defined as a combination of the local downscaling maps. To compute , we use the following variational formulation
[TABLE]
The above equation (6) is our coarse scale model.
We would like to briefly summarize above steps. The first step defines multicontinua, which play the role of macroscopic variables. They are critical in multiscale modeling and need to be defined apriori. The second step constructs downscaling maps and can be computationally intensive. We will propose a machine learning technique in combination with solving local problems of the original equation subject to various boundary conditions. From here, the macroscale fluxes will be defined as a function of macroscopic variables in oversampled regions. This high dimensional functions will be learned using machine learning techniques during coarse-grid solution step (Step 3). Next, we will give some examples (Section 3.2) and then present a more detailed description of the algorithm (Section 3.3).
3.2 Examples
We will present two model problems, and discuss how our nonlinear NLMC is applied.
3.2.1 Linear case
In this section, we will construct our upscaling model for a case that is a linear operator. We will follow the general concepts in Section 3.1. First, we discuss the choice of continua. For each coarse element , we consider a set of test functions defined for . Here the index denotes the -th continuum. One choice of these test functions is a set of piecewise constant functions. Another choice of these test functions is the first dominant eigenfunctions of an appropriate spectral problem.
Next, we discuss the construction of the local downscaling map. We fix a continuum in the coarse region . Let be an oversampling region. With the assumption that is linear, we can represent the downscaling map, denoted by , as a linear combination of some generic local solutions . To find these functions , we solve the following
[TABLE]
on the oversample region , where is an inner product and plays the role of Lagrange multiplier. Using these functions , we can represent the local downscaling map as
[TABLE]
Since is linear, we have
[TABLE]
Let be a set of partition of unity functions corresponding to the partition of the domain . The final upscale solution is then defined as the combination . Using the test functions , we can compute the macroscopic value by the following variational formulation
[TABLE]
3.2.2 Pseudomonotone case
Next, we consider another example for which is a pseudo-monotone operator. In this case, to compute the downscaling map, , we will need to solve the following local problem: find and such that
[TABLE]
The coarse grid system is then defined as
[TABLE]
3.3 More details of general framework
In this section, we give the details of our nonlinear NLMC framework. We consider the following model problem of finding such that
[TABLE]
with , where is a nonlinear differential operator, is a fixed time and is a suitable function space. We use a different notation for nonlinear differential operator as in (4) to simplify the notations, and our methodology remains applicable to the problem described by (4).
Next, we discuss the mesh. We assume that is partitioned by a coarse mesh (see Figure 2) with mesh size and is partitioned into coarse time intervals denoted as . A space-time element is then defined by for a coarse cell and the -th time interval . The construction of our nonlinear NLMC method follows the three steps explained in Section 3.1.
Approximation by global basis
The discussion of our method starts with the use of global basis functions. In this case, the basis functions are global in space and in time. The motivation of this follows from the global basis of CEM-GMsFEM [18], for which coarse grid convergence is obtained.
- •
Choice of continua
The continua is defined using a set of test functions. Consider a space-time element , we will introduce a set of test functions which corresponding to different continua of the problem. We notice that is supported in . We let be the number of such test functions. Then we will define macroscopic variables by
[TABLE]
where is a weighted inner product with weighting function such that . Note that this condition for the weighting function is motivated by the weighting function used in CEM-GMsFEM.
- •
Global downscaling map
We will define a downscaling map. This downscaling map will give a function defined globally in space and in time with constraints defined using a given set of macroscopic values. More precisely, we fix a set of macroscopic values . We will then define a function such that and . These functions are obtained by solving
[TABLE]
We notice that the global function has macroscopic values equal to the given values and the function serves as the Lagrange multiplier for these constraints.
- •
Coarse grid model
Next, using the downscaling map, we can define the global coarse grid problem as: finding such that
[TABLE]
Then, the global numerical solution is defined by .
Nonlinear NLMC method
Now we will present the nonlinear NLMC method. The key ingredient is that we will replace the global downscaling map above by a local downscaling map.
- •
Local downscaling map
We will introduce the localized downscaling operator . Consider a space-time element . We define a space-time oversampling region where . We will then define a function such that and , where and are restrictions of and on respectively. These functions are obtained by solving
[TABLE]
Finally the localized downscale operator is defined by where and is a partition of unity such that
- •
Coarse grid model
The coarse grid problem is then defined as: finding such that
[TABLE]
and the nonlinear NLMC solution is defined by .
3.4 Error sources and analysis
In this section, we present a concept of the analysis for the method. We will use a simple monotone elliptic equation to illustrate the main ideas. We consider the following problem: find such that
[TABLE]
where is a heterogeneous function. The weak formulation of the above equation can be written as: find such that
[TABLE]
where, for any open subset of the domain, the operator is defined by
[TABLE]
We will assume that the heterogeneous function satisfies the following two properties.
Assumption on
If the vector field , then . 2. 2.
Lipschitz continuity with respect to :
We assume there exist a function such that
[TABLE] 3. 3.
Monotonicity:
We assume that the following coercivity condition holds
[TABLE]
Next, for any open subset of the domain, we define two inner products and as follows
[TABLE]
where and is a set of partition of unity functions corresponding to the coarse mesh such that . The norms and corresponding to these inner products are defined as
[TABLE]
respectively. To simplify the notation, we use , and to denote , and respectively.
In the following Lemma, we will show that the operator satisfies some coercivity and continuity properties.
Lemma 1**.**
For , , we have
[TABLE]
and
[TABLE]
Moreover, we have
[TABLE]
Proof.
By the assumption (13), we have
[TABLE]
which proves the first inequality. By the assumption (12), we have
[TABLE]
which gives the second inequality. Recall that . Thus we have
[TABLE]
which shows the third inequality. This completes the proof of this lemma. ∎
We next prove the following technical result.
Lemma 2**.**
For , , we have
[TABLE]
Proof.
Notice that . Thus, we have
[TABLE]
We will first estimate the term . By the Cauchy-Schwarz inequality, we have
[TABLE]
and, by using (12), we have
[TABLE]
Combining the above, we have
[TABLE]
To estimate the second term , we use the fact that and assumption (12) to obtain
[TABLE]
This completes the proof of this lemma. ∎
In the following, we will formulate our nonlinear NLMC method for the equation (11). The coarse scale degrees of freedom (continua) of the solution is defined as
[TABLE]
for some where if . The auxiliary space is then defined as
[TABLE]
We remark that the functions in defines the continua. In particular, defines the -th continuum in the coarse cell .
Next, to construct the numerical upscaling equation for (11), we will define a global downscaling operator such that and
[TABLE]
Next, we will define a projection operator such that
[TABLE]
The global solution is defined by
[TABLE]
and the global downscaled solution is defined as .
Approximation by global basis
We summarize the main steps:
Find
[TABLE] 2. 2.
Define
[TABLE]
Next, we will construct the nonlinear NLMC method. For each , we will define a local downscaling operator such that and
[TABLE]
The multiscale solution is defined by
[TABLE]
and the downscaled multiscale solution is defined as where is a partition of unity such that with and
Nonlinear NLMC method
We summarize the main steps:
Find
[TABLE] 2. 2.
Define
[TABLE]
The analysis of our scheme is based on three assumptions. We summarize them below.
Assumption 1: For all , , we have
[TABLE]
Assumption 2: For , , there exist a function such that
[TABLE]
Assumption 3: There exist a such that
[TABLE]
We will prove the following lemma for the stability of the downscale map.
Lemma 3**.**
By assumption 2, we have
[TABLE]
and
[TABLE]
Proof.
First, by Lemma 1 and (14), we have
[TABLE]
and by (15), we have
[TABLE]
Therefore, we have
[TABLE]
By Assumption 2, there exist a function such that
[TABLE]
Hence, we have
[TABLE]
This shows the first required inequality. Using a similar argument, we can prove that
[TABLE]
This completes the proof of the lemma. ∎
In the following lemma, we will give an error bound for the solution .
Lemma 4**.**
Let be the solution of (11) and be the solution of (16)-(17). We have
[TABLE]
Proof.
First of all, we note that . So, we have
[TABLE]
and
[TABLE]
Therefore, by (13), we have
[TABLE]
where the last inequality follows from Assumption 1. This completes the proof. ∎
In the next lemma, we give a localization result. To do so, we need some notations for the oversampling domain and the cutoff function with respect to these oversampling domains. For each coarse cell , we denote as the oversampling coarse region by enlarging by coarse grid layers. For , we define such that and
[TABLE]
Note that, we have .
Lemma 5**.**
Assume is an oversampling region obtained by enlarging the coarse cell by coarse grid layers. Let . We have
[TABLE]
and
[TABLE]
Proof.
The first step of the proof is to show the following inequality
[TABLE]
To do so, we denote and . By (13), we obtain
[TABLE]
Recalling that . We notice that
[TABLE]
Therefore, we have
[TABLE]
Next, we define and obtain
[TABLE]
Therefore, we have
[TABLE]
Next we will estimate . By Assumption 2, for , there exist a such that
[TABLE]
Thus, for , we have
[TABLE]
Combining (23) and (24), we have
[TABLE]
This shows (22).
By using (22), we have
[TABLE]
and we therefore obtain
[TABLE]
This gives the first required inequality. The second required inequality follows from (24). This completes the proof of tis lemma. ∎
The following result gives an error estimate for our nonlinear NLMC solution.
Theorem 1**.**
Consider the oversampling domain obtained by enlarging by coarse cell layers. Let be the solution of (11) and be the solution of (18)-(19). Then we have
[TABLE]
where
[TABLE]
Moreover, if M\sim O\Big{(}\log(H^{-1})+\log(C_{\kappa})\Big{)} and , then we have
[TABLE]
Proof.
We will analyze the error by first separating the error into three parts as follows
[TABLE]
By Lemma 4, we have
[TABLE]
and by Lemma 5, we have
[TABLE]
By Lemma 3, we have
[TABLE]
and
[TABLE]
Therefore, we obtain
[TABLE]
Next, we will estimate the term . By Lemma 1 and Assumption 3, we have
[TABLE]
and by Lemma 5, we have
[TABLE]
Therefore, we have
[TABLE]
Combining the above results, we obtain
[TABLE]
To show the second part of the theorem, we notice that
[TABLE]
If is large enough such that
[TABLE]
then we have
[TABLE]
and
[TABLE]
This completes the proof of the theorem.
∎
4 Numerical results
In this section, we present numerical results for the proposed method. In our examples, we will use simplified local problems to compute macroscale parameters. These local computations will involve machine learning algorithms. We consider following model problems in fractured and heterogeneous porous media:
- Test 1: Nonlinear flow problem (unsaturated flow problem)
- Test 2: Nonlinear transport and flow problem (two-phase flow problem)
We solve model problem in with no flux boundary conditions. Heterogeneous porous matrix permeability and location of the source terms and fracture position are depicted in Figure 3. We set source terms , . We use coarse grid and fine grid.
*Test 1. * We consider the solution of the nonlinear equation in fractured heterogeneous media. For the nonlinear coefficients, we use with , (). We set , , and with 20 time steps.
*Test 2. * We consider the solution of the two-phase flow problem in fractured and heterogeneous porous media. For nonlinear coefficients, we set and . We set (), and with 700 time steps.
Each sample contains the information about heterogeneous permeability and fracture positions up to the fine grid resolution in local domain, coarse grid mean value of the solution in oversampled local domain
[TABLE]
and output
[TABLE]
Each dataset is divided into training and validation sets with ratio.
For the training of the neural networks, we use a global dataset, where we extract local information from the fine grid calculations on the global domain . We train four neural networks for each type of transmissibility: for horizontal coarse edges for matrix-matrix flow, for vertical coarse edges s for matrix-matrix flow, for matrix - fracture flow and for fracture - fracture flow. For calculations, we use epochs with a batch size and Adam optimizer with learning rate . For accelerating of the training process of the multi-input CNN, we use GPU. We use convolutions and maxpooling layers with RELU activation for and , and convolutions with RELU activation for . For each input data, we have 2 layers of CNN with one final fully connected layer. Convolution layer contains 8 and 16 feature maps for and ; and 4 and 8 feature maps for . We use dropout with rate 10 % in each layer in order to prevent over-fitting. Finally, we combine CNN output and perform two additional fully connected layers with size 200 and 1(one final output). Presented algorithm is used to learn dependence between multi-input data and upscaled nonlinear transmissibilities.
For error calculation on the dataset, we used mean square errors, relative mean absolute and relative root mean square errors
[TABLE]
where and denotes reference and predicted values for sample Learning performance for neural networks are presented in Table 1 for Test 1 and Test 2. We observe a good convergence with small error for each neural network.
Next, we consider errors between solution of the coarse grid problem with the reference and predicted upscaled transmissibilities. To measure difference between reference solution and coarse grid solution, we compute relative error
[TABLE]
where , is the reference solution (mean value on coarse grid of the fine grid solution) and is the solution on the coarse grid. In Figure 4, we depict solution of the problem for Test 1 on the fine grid, coarse grid upscaled solution using classic approach and for new method presented (, , and ). We have and at final time.
In Figure 5, we depict the solution of the problem for Test 2. On the first column, we depict a reference fine grid solution (, ), mean value on coarse grid of the fine grid solution (, ) on the second column, coarse grid solution using upscaling method (, ) on the third column and coarse grid solution using nonlinear nonlocal machine learning method (, ) on the fourth column. On the first, second and third rows, we show a saturation for time , and on fourth row, we have pressure for time , . Fine grid (reference) solution is performed using finite volume approximation with embedded discrete fracture model, where for error calculations, we used a mean values of the reference solution on the coarse grid, and . On the last column of the Figure 5, we depict a coarse grid solution using nonlinear nonlocal transmissibilities that calculate based on the machine learning approach. For machine learning approach, we have , , and for upscaling , at final time , .
5 Conclusions
In the paper, we present a general nonlinear upscaling framework for nonlinear differential equations with multiscale coefficients. The framework is built on nonlinear nonlocal multi-continuum upscaling concept. The approach first identifies test functions for each coarse block, which are used to identify macroscale variables (called continua). In the second stage, we solve nonlinear local problems in oversampled regions with some constraints defined via test functions. Simplified local problems are proposed for numerical results. Deep learning algorithms are used to approximate the nonlinear fluxes that are derived in nonlinear upscaling. In the final stage, macroscale formulation is given and it seeks the values of macroscopic variables such that the downscaled field solves the global problem in a weak sense defined using the test function. We present an analysis of our approach for an example nonlinear problem. We present numerical results for several porous media applications, including two-phase flow and transport.
Acknowledgements
The research of Eric Chung is partially supported by the Hong Kong RGC General Research Fund (Project numbers 14304217 and 14302018) and CUHK Faculty of Science Direct Grant 2018-19.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Assyr Abdulle and Yun Bai. Adaptive reduced basis finite element heterogeneous multiscale method. Comput. Methods Appl. Mech. Engrg. , 257:203–220, 2013.
- 2[2] G. Allaire and R. Brizzi. A multiscale finite element method for numerical homogenization. SIAM J. Multiscale Modeling and Simulation , 4(3):790–812, 2005.
- 3[3] T. Arbogast. Implementation of a locally conservative numerical subgrid upscaling scheme for two-phase Darcy flow. Comput. Geosci , 6:453–481, 2002.
- 4[4] T. Arbogast, G. Pencheva, M.F. Wheeler, and I. Yotov. A multiscale mortar mixed finite element method. SIAM J. Multiscale Modeling and Simulation , 6(1):319–346, 2007.
- 5[5] T. Arbogast, G. Pencheva, M.F. Wheeler, and I. Yotov. A multiscale mortar mixed finite element method. Multiscale Model. Simul. , 6(1):319–346, 2007.
- 6[6] J.W. Barker and S. Thibeau. A critical review of the use of pseudorelative permeabilities for upscaling. SPE Reservoir Eng. , 12:138–143, 1997.
- 7[7] Donald L Brown and Daniel Peterseim. A multiscale method for porous microstructures. ar Xiv preprint ar Xiv:1411.1944 , 2014.
- 8[8] Y. Chen, L. Durlofsky, M. Gerritsen, and X. Wen. A coupled local-global upscaling approach for simulating flow in highly heterogeneous formations. Advances in Water Resources , 26:1041–1060, 2003.
