원시데이터 수집 시스템
선정목록으로

Physics-Preserving IMPES Based Multiscale Methods for Immiscible Two-Phase Flow in Highly Heterogeneous Porous Media

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Yiran Wang — Department of Mathematics, The University of Alabama, Tuscaloosa, USA
  2. Eric T. Chung — Department of Mathematics, The Chinese University of Hong Kong, Sha Tin, Hong Kong
  3. Shuyu Sun — Department of Earth Science and Engineering, King Abdullah University of Science and Technology, Thuwal, Saudi Arabia
DOI
10.1007/s10915-024-02768-y
저널
Journal of Scientific Computing
발행년도
2025
발행기관
Springer Science+Business Media
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s10915-024-02768-y
토픽
Composite Material Mechanics
OpenAlex ID
W4406038841

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract In this paper, we introduce a novel physics-preserving multiscale approach to tackle the challenge of immiscible two-phase flow problems. These are typically described as a coupled system comprising Darcy’s law and mass conservation equations. Physics-preserving IMplicit Pressure Explicit Saturation (P-IMPES) scheme, is designed to uphold local mass conservation for both phases while remaining unbiased. Notably, when the time step is kept below a certain threshold, the P-IMPES scheme ensures bounds-preserving saturation for both phases. For velocity updates, we employ the mixed generalized multiscale finite element method (MGMsFEM), a highly efficient solver that operates on a coarse grid to compute unknowns. We adopt an operation splitting technique to manage the complexities of two-phase flow, utilizing an upwind strategy for explicit saturation iteration, while employing the MGMsFEM to compute velocity via a decoupled system on a coarse mesh. To validate the effectiveness and robustness of our proposed method, we conduct a series of comprehensive experiments. Additionally, we provide a rigorous analysis to establish the theoretical underpinnings of the method, which are corroborated by our numerical findings. Both simulations and analysis demonstrate that our approach strikes a favorable balance between accuracy and computational efficiency.

본문 49,503자

본문 펼치기
In this paper, we propose a physics-preserving multiscale method to solve an immiscible two-phase flow problem, which is modeled as a coupling system consisting of Darcy's law and mass conservation equations. We use a new Physics-preserving IMplicit Pressure Explicit Saturation (P-IMPES) scheme in order to maintain the local conservation of mass for both phases. Besides, this scheme is unbiased and if the time step is smaller than a certain value, the saturation of both phases are bounds-preserving. When updating velocity, MGMsFEM serves as an efficient solver by computing the unknowns on a coarse grid. We follow the operation splitting techinque to deal with the two-phase flow. In particular, we use an upwind strategy to iterate the saturation explicitly and the MGMsFEM is utilized to compute velocity with a decoupled system on a coarse mesh. To show the efficiency and robustness of the proposed method, we design a set of interesting experiments. A rigorous analysis is also included to serve as a theoretical base of the method, which is well verified by the numerical results. Both simulations and analysis indicate that the method attains a good balance between accuracy and computation cost. Introduction In scientific research and real applications, subsurface flow problems have drawn more and more attention [31,20,21,19,42,32,29] and a typical example is two-phase flow [15,28,34,33,36] in porous media. Because of the high contrast and heterogeneity of the media, one needs to use a very fine grid to discretize the domain in order to obtain sufficient accuracy, which may result in much computation cost. Furthermore, in a time-dependent problem, one needs to solve the concerned equations at different times. If a single solve is computational extensive, the total cost is even larger. Hence, it is indispensable to develop some multiscale methods to alleviate the computation burden. Upscaling [8,22,2,9] is a typical choice by averaging quantities of interest on a coarse mesh. It can accelerate the computation but at the same time the accuracy suffers because of a loss of detailed information. Multiscale methods [26,10,27,1,41,14,30], on the other hand, can achieve a better balance between workload and precision. In particular, one needs to perform some fine-scale computation to generate some multiscale bases in the offline stage. Then, during each online process, simulations are carried out on a coarse mesh with the help of the bases. Since the bases contain some detailed information in the media, multiscale methods are more accurate than upscaling methods. Among many multiscale methods, the Multiscale Finite Element Method (MsFEM) [26] is popular since it is straight-forward and relatively efficient. Solving a set of local problems on the fine grid, one can obtain a multiscale basis corresponding to each local region. Based on MsFEM, a mixed formulation is further proposed to solve velocity and pressure in a decoupled system, which can satisfy the local conservation of mass and the method in this form is called the Mixed Multiscale Finite Element Method (MMsFEM) [10,11]. Different from MsFEM, this method needs to construct velocity multiscale bases as well as pressure multiscale bases. Each velocity basis is supported in a local domain which is composed of two coarse elements sharing a common coarse edge. For each pressure basis, the support is a corresponding coarse element. However, since only one velocity and pressure bases can be obtained in each local region, the approximation effect is not sufficiently good especially when the media is highly heterogeneous. To this end, the Generalized Multiscale Finite Element Method (GMsFEM) [16,17,13] is introduced to generate multiple bases in each region. The basis construction is divided into two steps. First, one needs to construct a local snapshot space which is spanned by a set of snapshot bases. Following this, some well-designed spectral problems are utilized to reduce the dimension of snapshot space. In particular, only the eigenfunctions corresponding to smallest eigenvalues are included in the reduced space. In other words, only some representative modes are incorporated in the approximation space. However, it has been pointed out in [17] that once the dimension of approximation space exceeds a particular value, the effect of including more bases is negligible. To further improve the accuracy, in [12,43,18,40,39,38], residual-driven bases are constructed. It has been shown in [39] that the effect of using residual-driven bases is better than using more bases obtained from the eigenvalue problems. Introduction Apart from computation efficiency, another concern is the local conservation of mass. A twophase flow model is a coupling system composed of Darcy's law, conservation equations, constraints of saturations corresponding to two phases and the capillary pressure depending on the saturation corresponding to the wetting phase. To tackle the coupling system, some researches have been carried out including the standard IMplicit Pressure Explicit Saturation (IMPES) [35,37] and some variations like HF-IMPES which is proposed by Hoteit and Firoozabadi [25,24] to tackle the discontinuity of saturation. Both of two methods belong to IMplicit-EXplicit (IMEX) schemes but they can only promise the local conservation of mass for one phase, which is not sufficient in many situations. On the other hand, fully implicit method is unconditional stable but since it deals with all the unknown terms implicitly, one needs to endure a large computation cost. From the perspective of applications, it is not necessary to provide such a high accuracy. To this end, some new schemes [7,6,5] are developed to satisfy the conservation for both phases. In [7], the authors introduce a new Physics-preserving IMPES (P-IMPES) scheme by calculating the total velocity as well as the velocity induced by the capillary pressure. During this process, an upwinding strategy is used for spatial discretization of the saturation. The scheme is proved in [7] that it is local conservative for both phases, unbiased, and conditional bounds-preserving. In particular, the saturation of both phases are within their own bound when the time step is chosen less than a particular value. Introduction In this work, we propose a multiscale scheme based on the P-IMPES scheme. In particular, we utilize the multiscale mesh to update saturation and velocity separately. For saturation, we compute it on a fine grid which is same as the one used in [7]. On the other hand, to update velocity, since the heterogeneous permeability field is incorporated which may result in much computation cost, we apply the MGMsFEM to improve the computation efficiency. We design a set of interesting experiments to show the error convergence as time step, mesh size and number of multiscale bases. We use two representative media, i.e., a highly heterogeneous media as well as a high-contrast media. The local conservation of mass is verified. Besides, errors of saturation decrease when a smaller time step or coarse mesh size is used. Moreover, we demonstrate the effect of enriching multiscale space. It is worth mentioning that when we enrich the approximation space, even a smaller number of residual-driven bases are more effective than the bases constructed from the spectral problems. Since we can adaptively choose different number of bases, this multiscale method is flexible. In the last section, we present a rigorous proof of the stability and convergence of the proposed method. The stability analysis includes that the local conservation property for both phases, unbiased property as well as the conditional bounds-preserving. Motivated from [7], we show that once the time partition is finer than one degree, then the stability can be obtained. Last but not least, we derive the formulation of saturation error by finding the relation between saturation error as well as velocity error, which serves as a firm base for the numerical performance of the scheme. It turns out that the simulation results are consistent to the final analysis conclusion. Introduction The paper is composed of four parts. In the first section, we give the mathematical form of the concerned problem and present the P-IMPES scheme. Then, we state the MGMsFEM and focus on the main topic, i.e., the reduced-order method based on IMPES. Numerical results are placed in the fourth section. Lastly, we prove the stability and convergence of this method. Mathematical model and P-IMPES scheme We first present the basic mathematical model for incompressible and immiscible two-phase flow in porous media. We denote the wetting and non-wetting phases by the subscripts w and n, respectively. Our mathematical model is determined by utilizing the conservation law, Darcy's law, the saturation constraints and the capillary pressure. We consider a model with the gravity in porous media Ω ∈ R d (d = 2, 3) given as follows, Mathematical model and P-IMPES scheme The initial and boundary conditions are specified below. Mathematical model and P-IMPES scheme The mentioned notations are stated below. Mathematical model and P-IMPES scheme 1. Let S α , u α and p α be saturation, Darcy's velocity and pressure corresponding to phase α. Total velocity is denoted by u t := u w + u n . Mathematical model and P-IMPES scheme 2. Define ρ α , k rα , µ α and q α as density, relative permeability, viscosity and sink/source term of phase α. Besides, q t = q w + q n . We define ζ as the porosity, which is a constant in [0, 1]. Also, K is the absolute permeability tensor. Mathematical model and P-IMPES scheme 3. Let g be the magnitude of gravitational acceleration and z be the depth. Mathematical model and P-IMPES scheme 4. Phase mobility is denoted by λ α := krα µα . Total mobility is further defined by λ t = λ w + λ n . 5. We define fractional flow functions as f w = λ w /λ t , f n = λ n /λ t . 5. 6. We let the boundary be Γ := ∂Ω and it can be partitioned as Γ = Γ D ∪ Γ N , where Γ D and Γ N are Dirichlet and Neumann boundaries to solve u α . Moreover, to solve S α , we let 5. is the outflow boundary, and n is the unit outer normal vector to Γ. 5. 7. For phase α, p B α is defined to be boundary condition of pressure on Γ D ; g N α is set to be the boundary condition of velocity on Γ N ; S 0 α is the initial saturation. 8. Let ξ α = λ t w α with w α = −K(∇p α + ρ α g∇z), α = n, w. Besides, we define ξ c = ξ n − ξ w . 5. Then we partition the global domain Ω into a coarse grid as well as a fine grid. Let T H be the coarse-scale mesh. Define N e,c and N E,c as the number of elements and edges in T H . In particular, we let {K i } Ne,c i=1 be coarse elements of mesh size H, which form a conforming partition of Ω, i.e. 5. Among all the coarse-scale edges, we denote the number of all interior coarse-scale edges by N in,c . For each interior coarse edge, we can correspondingly define a local neighborhood D i composed of two coarse elements sharing the common coarse edge E i . Since we use some local problems in the offline stages to capture fine-scale information in the media, we also need a fine grid. Correspondingly, we define T h as the fine-scale mesh with mesh size h. For each K i , we partition it into some fine-scale elements with mesh size h. We define 5. i=1 as all fine-scale elements with the total number N e,f . Each E i is divided into some fine-scale edges with length h. We define E f (K i ) as all fine-scale edges on ∂K i . We further let 5. to denote all the fine-scale edges, where N E,f is the total number. In the construction of multiscale bases, we utilize the oversampling technique [16] to solve some local problems in oversampled local regions. In Figure 1, we use D + i to denote an oversampled local region corresponding to D i . We remark that D + i is generated by extending D i for some fine-scale elements in one direction. To compute the reference solutions, we solve (1) on a fine-scale mesh T h . Here, we use the lowest Raviart-Thomas vector field (RT0) denoted by V h for fine-scale velocity bases. Besides, we define Q h as the pressure space spanned by piecewise constant functions and each basis corresponds to a particular fine-scale element. And we use V h (D) and Q h (D) to represent V h and Q h restricted in D. The P-IMPES scheme [7] results the following equation system: 5. At time t k+1 , we define 5. Here, only A k , A k n and P k c depend on time t hence they should be updated as time. We further define F t = F w + F n . Besides, we define the corresponding matrices for β α as 5. Then, we have the following matrix formulation as follows: 5. c . This step corresponds to (5). Then we solve the following system 5. which is associated with (4) and (2). Finally, corresponding to (3), we can update saturation S h,n+1 w as follows, 5. Hence, Mixed generalized multiscale finite element method We use a mixed formulation of the generalized multiscale finite element method (MGMsFEM) [11]. The MGMsFEM contains two stages of offline construction, denoted by the offline stage I and offline stage II. In the first stage, we first construct a snapshot space by solving a set of local problems. Using a set of well-designed spectral problems, we can further reduce the snapshot space into a smaller multiscale space. Based on the multiscale bases, we can solve the previous problem on a (7) and (5). Mixed generalized multiscale finite element method Step 2: Mixed generalized multiscale finite element method Use (2) and (4) Step 3: Mixed generalized multiscale finite element method Update the wetting phase saturation S h,n+1 w by (3) for α = w. Then the non-wetting phase saturation is updated by (6). Mixed generalized multiscale finite element method coarse grid, which is much more computationally efficient. The second stage is constructing some residual-driven bases. We perform the construction of these bases in each oversampled local region. The final multiscale space is linearly spanned by the multiscale bases constructed in the above two stages. Mixed generalized multiscale finite element method We remark that the construction of multiscale bases in two stages are designed by different motivations. For the first stage, since we have constructed a large approximation space, i.e. the snapshot space, we need to reduce it properly by extracting the most important modes from the snapshot space. To this end, we solve a set of spectral problems and only incorporate a part of eigenfunctions in the multiscale space in the offline stage I. On the other hand, the goal of second stage is to enhance the approximation accuracy of multiscale space. We utilize the residuals of solving the coarse-scale system corresponding to previous multiscale space to construct new bases, which will be incorporated into the multiscale space. We present the detailed process of construction as follows. Mixed generalized multiscale finite element method Let κ 0 := λ t (S 0 w )K, which is used to construct the multiscale bases. We use traditional notations in Sobolev space such as L 2 (Ω), H 1 (Ω), H 1 0 (Ω). Besides, we use H(div; Ω; κ −1 0 ) to denote the Sobolev space containing vector fields v with v ∈ L 2 (Ω) 2 and ∇ · v ∈ L 2 (Ω). The corresponding norm of H(div; Ω; κ −1 ) is v H(div;Ω;κ −1 ) . We define the mentioned notations of inner products and norms as follows. For all u, v ∈ (L 2 (Ω)) 2 , p, q ∈ H 1 0 (Ω), we let Mixed generalized multiscale finite element method To perform the computation on T H , we define Q H to be the pressure space composed of piecewise contant functions in the coarse grid mesh T H . In the following, we show the process of computing multiscale bases in two stages. Offline stage I First of all, we construct a snapshot space using the following local problems. For each i, we define L i to be the number of local snapshots in D i . We compute ψ j i and p j i for j = 1, . . . , L i in K i,1 and Offline stage I for p = 1, 2. We set α p i to be a constant in K i,p , which satisfies α 1 i + α 2 i = 0. Moreover, δ j i is defined by Offline stage I We need to emphasize that α j i and δ j i should satisfy a compatible condition that Ki,p α j i = Ei δ j i for p = 1, 2. Instead of solving (10) directly, we solve ψ j i and p j i with a variational formulation as follows. For all u ∈ V h (K i,p ), q ∈ Q h (K i,p ), Offline stage I where the boundary conditions and the compatible requirements for α j i and δ j i are the same as the one used in (10). We remark that each ψ j i is further extended to the global domain Ω by defining ψ j i = 0 outside of D i . For simplicity, we use the same notation for the global version. We Offline stage I we use a set of local spectral problems to reduce it to a smaller approximation space. Offline stage I We first introduce the following two bilinear inner products. In each D i and E i , we define Offline stage I for all v, u ∈ V i snap . We then solve Offline stage I We arrange λ j i in an ascending order and we include the eigenvectors corresponding to the smallest eigenvalues in the local multiscale space. In particular, we define V i Offline stage I Here, the subindex 0 means no bases enrichment is performed. Offline stage I We remark that the design of local spectral problems (13) to V ms,0 is motivated from analysis. However, one can observe through out the whole process in the first stage, no information of source term f α , α = w, n, is taken into account, which will restrict the approximation accuracy to some extent. To this end, we also need a second offline stage to construct some new bases containing some useful information not included in V ms,0 . Offline stage II In this part, we will perform bases enrichment to the multiscale space obtained in Offline stage I. The construction at this stage is performed by iterations and we define V ms,k to be the multiscale space after k iterations. In this way, V ms,0 is the result of Offline stage I. We use (v k ms , p k ms ) to denote the solutions of (15) sought in V ms,k and Q H . Then we define the residual operator. Suppose D ⊂ Ω is a domain. We define V D := ∪ Di⊂D V i snap andV D is the corresponding divergence free subspace of V D . We then state the procedures of stage II as follows. At iteration k + 1, the first step is to Offline stage II where q t = q w + q n . Before stepping into the second step, we introduce a residual operator. Given a pair of multiscale solution (v ms,k , p ms,k ), the residual operator R Offline stage II Restricted onV D , R (k) D can be simplified as Offline stage II We denote the operator norm of the residual R and compare it with a given tolerance τ . If R (k) Ω > τ , we perform the following three steps. Otherwise, we can terminate the enrichment. Offline stage II The third step is to select a set of local regions to perform bases enrichment. Suppose D 1 , . . . , D B k form a nonoverlapping partition of Ω, where B k is defined to be the number of local regions partitioning Ω. For each D i , we generate an oversampled region D + i by enlarging D i for some fine-scale elements. In each (16). Offline stage II Then, we perform the construction of new bases as below. In each D + i , we compute a corresponding η i by solving Offline stage II We remark that using this construction, each η i is supported in D + i . Each D i and D + i corresponds to an inner coarse edge E i , which is showed in the Figure 1. We restrict η i · n i on E i and normalize it to get λ i . Offline stage II The final step is that we use the boundary information of the solution in the last step and solve the following problem in each K i,p individually with i = 1, . . . , B K and p = 1, 2, Offline stage II where γ p i is a constant in K i,p such that γ 1 i + γ 2 i = 0. Besides, γ p i is chosen to satisfy the compatible condition that Ki,p γ i = Ei λ i , for both K i,1 and K i,2 satisfying K i,1 ∪ K I,2 = D i . Similar to the construction of V snap , we extend each φ i to Ω by setting φ i = 0 elsewhere. We keep using φ i for simplicity of notations. Finally, we include the new bases in the previous multiscale space, i.e. Combine MGMsFEM with P-IMPES From previous MGMsFEM, one has obtained a multiscale space for velocity, Combine MGMsFEM with P-IMPES where N ms is the number of multiscale bases in the final multiscale space. We recall that Q H = {q H 1 , . . . , q H Ne,c } is a piecewise constant space corresponding to the coarse-scale mesh T H . In particular, each q H i is constant 1 on the corresponding coarse element and vanishes outsides. We recall that ξ c and u t are solutions to (5) and (4), respectively. Thus, one can use V ms and Q H to compute the pressure equation system in a coarse scale. As for the transport part, one can use the mixed finite element method to update satuation, which is the same with the P-IMPES scheme. Hence, the proposed alogrithm is a combination of MGMsFEM and P-IMPES, which can be denoted as MS-P-IMPES. We solve the following system: ∀v H ∈ V ms , q H ∈ Q H , and q ∈ Q h , Combine MGMsFEM with P-IMPES We define the mentioned notations below. Combine MGMsFEM with P-IMPES 1. Let u H,n t ∈ V ms , ξ H,n c ∈ V ms be multiscale solutions to (20) and (21) at time t n . Combine MGMsFEM with P-IMPES 2. Define p H,n w ∈ Q H as coarse-grid pressure of wetting phase at time t n , which is the solution to (20). Besides, we define p h,n n as fine-grid pressure of non-wetting phase at time t n and it can be solved by (23). For a better illustration, we also use a matrix presentaion. Before this, we then define matrix formulation for the multiscale space. For each velocity multiscale basis φ i , we evaluate it on the fine-scale edges. In particular, let b i ∈ R N E,f be a vector corresponding to φ i defined by b i [j] = φ i · n j , where n j is a unit normal vector to the fine-scale edge e i with pointing to the right or upward as displayed in Figure 2. Combine MGMsFEM with P-IMPES We also need to define a matrix for coarse-scale pressure space Q H . For each q H i , we define a corresponding vector Furthermore, we can generate the following matrices by relating them with the previous matrices asembled on the fine-scale mesh. At time t k+1 , Combine MGMsFEM with P-IMPES Correspondingly, onlyà k ,à k n andP k c should be updated as time. We defineF t =F w +F n . Combine MGMsFEM with P-IMPES Corresponding to (21), the first step is solving Combine MGMsFEM with P-IMPES c . Then, from (18) and (20), we compute the following system Combine MGMsFEM with P-IMPES Then u H,n+1 t and p H,n+1 w are obtained using (24). To satisfy the mass conservation property, we use a postprocessing techique. We define u H,n+1 t,p to be the velocity solution solved by postpocessing. Let S qt be the set of coarse elements where q t is not a constant. For each K ∈ S qt , we solve a local problem on the fine grid as follows. Combine MGMsFEM with P-IMPES We adjust the final velocity solution by u H,n+1 Combine MGMsFEM with P-IMPES Indeed, from the definition of α p i in (10), we can know ∇ · ψ j i is a constant in each coarse element for all i and j, which results that ∇ · u H,n+1 t is a piesewise constant function. For K / ∈ S, q t is a constant hence (25) and (18) are equivalent. At the end, we conclude the MS-P-IMPES Scheme in the Table 1 below. MS-P-IMPES Scheme Step 1: Seek p H,n+1 (23) and (21). MS-P-IMPES Scheme Step 2: MS-P-IMPES Scheme Use (18) and (20) MS-P-IMPES Scheme Step 3: MS-P-IMPES Scheme Update the wetting phase saturation S H,n+1 w by (19) for α = w. Then the non-wetting phase saturation is updated by (22). Table 1: MS-P-IMPES Scheme: a combination of MMsFEM and P-IMPES. We use postprocessing in the coarse elements with nonconstant source. Numerical simulations In this section, we show some numerical examples to verify the performance of MS-P-IMPES scheme. First of all, we verify that the conservation of mass is satisfied by the proposed scheme. Furthermore, we show the convergence of error as the decreasing of time step size, mesh size and increasing the number of multiscale bases. Besides, we demonstrate the approximation effects in capturing finescale information through presenting solutions in some local regions. Last but not least, we explore the effect of source terms on saturation dynamics. Numerical simulations Through the numerical simulations, we use the SPE10 benchmark model as well as a highcontrast model, denoted by κ 1 and κ 2 , whose natural logarithms are plotted in Figure 3 for the second one. The first medium is heterogeneous, i.e., the value changes rapidly in many local regions, which creates great difficulty in approximating the flow dynamics accurately. The second one is a high-contrast medium, where the contrast is approximately 2000. As for the time length, the final time is chosen to be T = 8000. The fluid properties are set as follows. The relative permeabilities are given by k rw =S 2 w and k rw = (1−S w ) 2 , whereS w is the effective saturation defined as below: Numerical simulations Herein, S rα , α = n, w is residual phase saturation and in our experiments and we choose S rw = S rn = 10 −6 . Moreover, the viscosity of the wetting phase is set as µ w = 1 and the viscosity for the non-wetting phase is µ n = 5. The density for wetting and non-wetting phases are chosen as ρ w = 1000 and ρ n = 800. In this work, we use square fine-scale and coarse-scale elements for spatial discretization. In particular, blocks with side length h are used in the fine-scale partition, where the mesh size is fixed to be 60 × 220 for κ 1 and 100 × 100 for κ 2 . On the other hand, the coarse mesh size varies, resulting different dimensions of multiscale space. Similarly, there are a fine and coarse partition in time, where the time step size for the former is set to be ∆t = 100 and the coarse size may vary. We call solutions computed on the fine mesh in space and smaller time step reference solutionss, while the one solved in the multiscale space and a coarser time partition is used for approximation. Two types of sources of wetting phase are chosen, denoted by q w,1 and q w,2 . For the non-wetting phase, we set q n = 0. In particular, q w,1 and q w,2 are defined as follows, Numerical simulations where η i , i = 1, . . . , 4 are fine-scale elements at the four corners of Ω. In particular, Numerical simulations Moreover η 5 is the fine-scale element at the center of Ω. More specifically, Numerical simulations . We call q w,1 a two-point source while q w,2 is called five-point source. In this work, we consider the L 2 norm to measure the error. In particular, we define the saturation error as Numerical simulations where we use S ref and S appro to denote the reference and approximation saturation solutions. Based on the above notations and settings, we begin with showing the local mass of conservation fulfilled by the results. As mentioned in the subsection 5.1, there are two ways to obtain the nonwetting phase saturation, denoted by S n,1 and S n,2 . If S n,1 = S n,2 , the local mass conservation is attained for both two phases. Hence, we will verify both reference solutions and coarse-scale solutions have fulfilled this requirement by showing that S n,1 and S n,2 are the same up to floatingpoint precision in all the picking time points. In Figures 4 and 5, we show reference non-wetting phase saturation S n,1 and S n,2 corresponding to κ 1 and κ 2 . We choose four time steps during the whole simulation process, i.e. t = 2000, 4000, 6000, 8000. The differences between two non-wetting saturation solutions are almost zero as one can verify from the third column, which reflects that the reference solutions can achieve the conservation of mass. As for the coarse-scale solutions, we choose "1 + 0" base for testing. If the mass conservation is achieved in this case, it is sufficient to come to conclusion that multiscale solutions can well satisfy this conservation property since solutions computed with more multiscale bases will obtain higher accuracy, which will be tested in the following results. From Figures 6 and 7, the comparisons corresponding to κ 1 and κ 2 are displayed, where the differences are also approximately zero. Thus, multiscale approximations will not lose the local conservation of mass from the above observations. In Figure 8, we compare a reference velocity and an approximation field corresponding to the medium κ 2 , where the latter one is computed with "2 + 1" bases. We remark that a local region is chosen for a clear illustration. Here one can easily observe the approximation is indistinguishable We proceed to demonstrate the error convergence with time step size, mesh size and number of multiscale bases. In the following experiments, it is sufficient to focus on dynamics of wettingphase saturation owing to the conservation of mass. Thus, without specified, saturation we discuss about refers to that of wetting-phase. We recall that the reference solutions are computed with the fine-scale mesh and with time step ∆t = 100 for comparison. In Figure 9, we present saturation errors with respect to different time step sizes. The subplot on the left corresponds to κ 1 and the error dynamics of κ 2 is displayed on the other side. We fix the mesh size and number of multiscale bases in each local region. The coarse mesh sizes are 6 × 22 and 10 × 10 for κ 1 and κ 2 . In other words, each coarse element is of the same size for κ 1 and κ 2 , which is composed of 100 fine-scale elements. We choose "5 + 0" multiscale bases in each local regions. Four time step sizes are chosen from 100, 200, 400 and 800. Overall, the errors decrease with smaller time step sizes although four curves display different patterns. With κ 1 and ∆t = 800, 400, 200, the errors keep decreasing as time and get steady at about t = 5000. However, the case with smallest ∆t is slightly different. The error first increases to t = 2000 then decreases to t = 5000 and finally turns fixed. It is worth mentioning that because of updating bases at the intermediate time, i.e. t = 4000, errors in four curves decease at this time point. With κ 2 , the phenomenon is similar, where the smallest error is obtained with the finest time partition. Besides, one can observe that with a larger ∆t more time is needed before converging . For example, the error with ∆t = 800 has a tendency to decay at the final time while the cases with ∆t = 100 and 200 have been steady from 1000 time steps before the end. This observation can be explained by the fact that reference solutions are computed with the finest time partition, which means approximations from a smaller time step is easier to converge to corresponding references. Numerical simulations In Figure 10, a comparison is displayed among three coarse mesh sizes. We show the side length of square coarse elements in the legends n. For example, 5 means the blocks contain 5 × 5 small squares in the fine mesh. It is obvious that the approximations are closer to references with smaller coarse elements. From the case with κ 1 , the error is fixed at about 1.5% with smallest coarse blocks while the error is over 5% at final time when n = 20. In the right figure, the case is similar, the final error corresponding to n = 20 (3.2%)is over six times bigger than that with n = 5 (0.5%). Furthermore, it is notable that with smaller coarse elements, the errors converge faster. For instance, in the left figure, the blue curve corresponding to the finest coarse mesh turns smooth at the earliest time. This is similar to the case when we compare different time steps, which reflects and κ 2 (right).The mesh size is present by the side length of the coarse square elements, where the legend n means each coarse block is composed of n × n fine blocks. We compare four mesh sizes n = 5, 10 and 20. The time step size is ∆t = 100 and the multiscale number is "5 + 0". Furthermore, we explore the effect of the number of multiscale bases. We fix ∆t = 100 and use coarse-scale elements composed of 100 fine-scale elements. Based on this setting, we try three choices, "3 + 0", "6 + 0" and "3 + 1" bases, which are compared in Figure 11. Two conclusions can be achieved as follows. First, using more bases in each local region can contribute to lower errors as both "6 + 0" and "3 + 1" curves present higher accuracy than the case "3 + 0". However, the effects of adding offline bases and residual-driven bases are apparently different since adding only one residual-driven basis attains almost the same precision as including three more offline bases in each local region, which shows the efficiency of residual-driven bases in reducing errors. In addition, as we enrich the multiscale bases halfway, one can notice there is a drop in error at this point, which is sharper with κ 1 than κ 2 . Because the medium κ 1 shows a higher level of complexity, updating multiscale bases depending on medium may contribute more in increasing accuracy. (b) κ 2 Figure 11: Comparison of the L 2 error of the saturation for κ 1 (left), κ 2 (right). We compare the approximations with "3 + 0", "6 + 0" and "3 + 1" multiscale bases. The coarse mesh sizes are 6 × 22 for κ 1 (left) and 10 × 10 for κ 2 (right), respectively. The time step size is fixed to be ∆t = 100. Numerical simulations In Figures 12 and 13, we show dynamics of reference and approximation saturation at three time points, i.e. t = 2000, 4000 and 8000. As errors can only indicate accuracy from a global perspective, we can focus on approximation effect of the proposed method in local regions through comparing saturation directly. We demonstrate reference saturation as well as the results from using "3 + 0", "6 + 0" and "3 + 1" multiscale bases. The mesh size and time step are fixed, which are set to be 10 × 10 coarse elements and ∆t = 100. In Figures 12 and 13, we show the results with respect to κ 1 and κ 2 . By comparing the approximations with the reference solutions, we can hardly see any obvious distinctions even for the case with highest error (with "3 + 0" bases). For example, on the first row of Figure 12, we can see there are blurred regions at the boundary of the reference flow, which are characterized by the solutions computed with multiscale solutions. Hence the fine-scale pattern is well-captured by the approximations, which is shown in Figures 14 and 15 in a more straight-forward manner. We still utilize the previous coarse mesh size and time step, i.e. ∆t = 100 and coarse elements including 100 fine blocks. In both figures, we pick and highlight a local region with a white block where there is an abrupt change in the concerned quantities. Hence, the heterogeneity in medium can result a fast change in the corresponding saturation, which is challenging for approximations. However, the solutions computed with multicsale bases can well characterize the fine-scale pattern, which reflects the high fidelity of the proposed method. Numerical simulations Finally, we investigate the effect of source terms on saturation dynamics. In Figures 16 and 16, we plot reference saturation dynamics driven by sources q w,1 and q w,2 with κ 1 and κ 2 , respectively. The time step size is set to be ∆t = 100 and the coarse mesh size is 6 × 22 for κ 1 and 10 × 10 for κ 2 . Two sources q w,1 and q w,2 are given in (26). We recall that the force values are the same but the locations are different, which creates different effects on the flow motion. In particular, flow moves faster with the five-point source at lower left corner compared with that with the twopoint source. Besides, because of the heterogeneous media κ 1 , the dynamics at each corner present different pattern, which is more complicated than the two-point source case. More specifically, the flow moves faster at two lower corners since the medium values changes more frequently there. On the other hand, the central symmetry in κ 2 results to a corresponding similar pattern in the flow dynamics, where flows from diagonal corners have similar motions. Figure 12: Saturation dynamics with κ 1 . The reference saturation is shown on the top row at three different time levels. The second and third rows are L z = 3 + 0, L z = 6 + 0, respectively. The last row is using three offline bases and enriched by one online basis for each coarse neighborhood, which is denoted by L z = 3 + 1. Figure 13: Saturation dynamics with κ 2 . The reference saturation is shown on the top row at three different time levels. The second and third rows are L z = 3 + 0, L z = 6 + 0, respectively. The last row is using three offline bases and enriched by one online basis for each coarse neighborhood, which is denoted by L z = 3 + 1. Analysis In this section, we will derive the analysis of the proposed method in two main parts. First, as the analysis in [7], we show some important properties of the MS-P-IMPES scheme. Then, we derive an essential relationship between saturation error and velocity error. In both of analysis and numerical simulations, we neglect the capillary pressure and gravity effect. Analysis In the first part, we prove three significant properties as follows: Analysis 1. Local conservation of mass. Analysis 2. Unbiased property of solutions. Analysis 3. bounds-preserving of saturation of both phases. Local conservation of mass and unbiased property We will prove that both of the two phases satisfy the local conservation of mass stated as below. Local conservation of mass and unbiased property Theorem 1. For any K h ∈ T h , the saturation of phase α will satisfy the following local conservation of mass as follows, Local conservation of mass and unbiased property Proof. To show the first property, we first prove the two schemes to update saturation are equivalent. The first scheme is used above in (19) and (22). Here we directly solve saturation of one phase (supposing the wetting phase) and update the other one using that the sum should be equal to 1. Local conservation of mass and unbiased property We review this scheme as follows, The first saturation update scheme is solving Local conservation of mass and unbiased property One the other hand, the second scheme solves saturation of both phases directly as below. For all q ∈ Q h , we solve S H,n+1 α for both α = w, n by solving the following two equations. Local conservation of mass and unbiased property Since (28) is the same as (30), it remains to show that S H,n+1 n solved by (29) and (31) are the same. Due to the postpocessing technique, (18) can be replaced by (25). Subtract (28) by (25) and we can obtain Apply (29) and we can obtain (31). Reversely, one can attain (29) by combining (30) and (31). Indeed, by adding (30) to (31) (18) and (20). Also, ξ H,n+1 c is uniquely solved by (21). Hence, p H,n+1 n can be obtained by (23). Now we remain to show u H,n+1 α is unbiased for α = w, n. It can be verified using the following relations: Local conservation of mass and unbiased property Hence, we finish the proof in the unbiased property of the MS-P-IMPES scheme. bounds-preserving property This part is motivated by [7]. First, we need two lemmas. Lemma 2. There exits a positive constant l α such that Lemma 2. This lemma informs that the fractional flow functions are bounded by linear functions of saturation. Lemma 2. Lemma 3. We define q α in (1) a sink term if q α ≤ 0. In this case, there exist two positive constants l 1 and l 2 such that Lemma 2. The above two lemmas are proved in [7]. Based on them, the theorem that guarantees the bounds-preserving property is stated below. Lemma 2. Theorem 4. We assume S H,n α ∈ (0, 1) with tolerance saturation S tα satisfying S H,n α ≥ S tα > 0, α = w, n. We define ∆t = t n+1 − t n . For any K h ∈ T h , if ∆t h is small enough, it holds that S H,n+1 α ∈ (0, 1), α = w, n. Lemma 2. Proof. The proof is motivated by Lemma 4.3 in [7] except that the u h,n+1 t in the condition of determine proper ∆t should be replaced by u H,n+1 t , which is solved in the MS-P-IMPES scheme. We present the proof below for the convenience of readers. Lemma 2. For all K h ∈ T h , we choose q = 1 K h in (28) Lemma 2. To prove S H,n+1 Lemma 2. We recall that S H,n w ≥ S tw > 0, hence there exists ǫ 1 and ǫ 2 such that when ∆t ζh ≤ ǫ 1 and |v H,n+1 w · n| F ≤ ǫ 2 with F ⊂ ∂K h,+ w,n+1 \ ∂K h,+ w,n , it holds that S H,n+1 w ≥ ηS tw > 0 for some constant η ∈ (0, 1). In particular, ∆t should be small enough such that the following two requirements satisfy: Lemma 2. We remark that the second condition requires |v H,n+1 w · n| to be small enough on the fine edges where v H,n+1 w · n changes sign from t n to t n+1 , which can be achieved if the ∆t is small enough. We further define ∆t 1 to be the smallest value satisfying the above two requirements. Hence with ∆t ≤ ∆t 1 , we have S H,n+1 w ≥ ηS tw > 0. Similarly, we can determine ∆t 2 such that when ∆t ≤ ∆t 2 , S H,n+1 n ≥ ηS tn > 0. Due to the relation S H,n+1 w +S H,n+1 n = 1, we can easily obtain that S H,n+1 α < 1 for α = w, n. Finally, we choose ∆t = min{∆t 1 , ∆t 2 } and then S H,n+1 α ∈ (0, 1). Error analysis In this part, we derive the error analysis for saturation. For simplification, we consider only consider linear or quadratic relative permeability, i.e. k rα = S p α , for p = 1, 2. Without loss of generality, only in this part, we assume µ w = µ n = 1 since we can always put the constant viscosity into the constant coefficients of the final errors. Besides, we choose p B α = 0 and g N α = 0 for α = w, n. We also assume that κ min,0 = min x K(x) = 1. In this way, our proof will be present in a more concise way. Error analysis Assumption 5. For each K h , we assume that on each e ⊂ ∂K h , it holds that Error analysis This assumption states that the reference and approximation flows should have the same direction on each fine edge and it can be verified by Figure 8. We then proceed to the relationship between the relationship between norms on the boundary and in the elements. Error analysis Proof. Let I = [0, 1] × [0, 1] be a reference element and Error analysis Let D be a domain and two norms on V h (D) are defined below. Owing to the relation of norms on finite-dimensional space, we can easily obtain Error analysis Based on the definition of v I , one can attain that Error analysis Combine (34) and (35) and we can obtain the desired result. Error analysis Lemma 7. Recall that u h,n+1 t is the solution to (4) and we have Error analysis Proof. Based on the simplications made at the beginning at this subsection, (2) and (4) can be reduced to the following form: ∀v ∈ V h and q ∈ Q h , Error analysis By choosing v = u h,n+1 t in (38) and q = p h,n+1 w , we have Error analysis From [3], the Raviart-Thomas elements satisfy the following inf-sup condition: Error analysis Using (38), one can obtain Error analysis where we use κ min,n = λ t (S h,n w )K ≤ C for some constant C. Applying Cauchy-Schwarz inequality in (40) and using (41), we can obtain Error analysis Thus, (37) can be attained by applying Cauchy-Schwarz inequality once again. Error analysis Since both ∇ · u h,n+1 t and ∇ · u H,n+1 t are constant in K h , we can attain Error analysis where |K h | is the area of K h . Hence, (45) can be replaced by Error analysis Then we can deal with the second term on the right hand side of (43). Using the relation proved in Lemma 6, Error analysis Applying (46) again, we can transform (48) to Error analysis Finally, by combining (43), (47) and (49), we conclude with (42). Error analysis In the following two lemmas, we give estimations on u h,n+1 t − u H,n+1 t L 2 (Ω) . Before this, we present some notations. Error analysis 1. C err = CV H h and C V depends on the polynomial order of the fine-grid bases in V snap . R (i) D is the residual operator after i iterations at time t p , which is defined in (16). B i is the number of non-overlapping domains, on which we perform the bases enrichment. R (i) Then, we estimate the velocity error u h,n+1 t − u H,n+1 t L 2 (Ω) . We split the difference in four parts. In particular, we define R (i) We remark that multiscale bases constructed at initial time are used in different time steps. Meanwhile, κ n and κ H n are dependent on time t n , which are different with κ 0 at the beginning. As a result, w 2 and w 4 should be considered. As for w 1 and w 4 , they are resulted from approximation with multiscale space. In the following two lemmas, we focus on estimate w 2 L 2 (Ω) to w 4 L 2 (Ω) . (20) at time t n+1 and t 1 . Then the following estimations hold, R (i) Proof. We first recall (4) and (2) at time t n+1 and t 1 . R (i) Taking v = u h,n+1 R (i) Since R (i) , where the last inequality holds based on Lemma 7. Similarly, (52) can be obtained. R (i) Next we evaluate w 3 L 2 (Ω) . R (i) where C err = CV H h and C V depends on the polynomial order of the fine-grid basis functions in V snap . R (i) Based on above preparations, we conclude the error estimation for velocity in the theorem below. (63) R (i) Proof. The goal of this part is to evaluate u h,n+1 t − u H,n+1 t L 2 (Ω) . To this end, we use an error splitting as follows. R (i) Then, we deal with two parts of the right hand side in (64) separately. R (i) By the definitions of κ n and κ H n , we have R (i) (λ t (S h,n w )) 1 2 + (λ t (S H,n w )) 1 2 ≤ C|S h,n w − S H,n w |. From Lemma 7, (65) can be replaced by For the other part in (64), we have From Lemma 7, (65) can be replaced by Summarize the conclusion in Lemma 9 to 10 and we have From Lemma 7, (65) can be replaced by where m is the total number of iterations of bases enrichment. Thus, it arrives at From Lemma 7, (65) can be replaced by Combining (66) and (67), we conclude with (63). From Lemma 7, (65) can be replaced by Finally, we estimate the saturation error. (3) and (19), respectively. We have the following estimation. From Lemma 7, (65) can be replaced by where C 1 (∆t) = C∆t h(ζ−C∆t) , C 2 (∆t) = ( hζ ∆t + C κ + 1)C 1 (∆t) , and Proof. First we rewrite the fine-scale and coarse-scale transport equations. ∀q ∈ Q h , From Lemma 7, (65) can be replaced by where we use Cauchy-Schwarz inequality in the last step. Here we recall that K h,0 := K h and define N neigh to be the number of neighboring fine elements of K h . Summing over all K h ∈ Ω and applying Cauchy-Schwarz inequality again , it holds that From Lemma 7, (65) can be replaced by where C κ := 8(1 + κ max,0 ) q t 2 L 2 (Ω) . Here we use κ max,n ≤ 2κ max,0 for all n. Applying Cauchy-Schwarz inequality once again, we obtain that From Lemma 7, (65) can be replaced by Define P h be the L 2 − projection into Q h and based on S h,0 w = S h,0 w = P h (S 0 w ), we finish the error estimation for saturation with From Lemma 7, (65) can be replaced by Indeed, since (77) is relatively simple, induction is sufficient to prove (78) and it is unnecessary to apply Discrete Gronwall inequality [23]. Conclusion In this work, we propose a physics-preserving multiscale scheme to solve a two-phase flow problem with heterogeneous media. The scheme can satisfy the local conservation for two phases and it is proved to be unbiased and conditional bounds-preserving for saturation, where a sufficiently small time step is required. Moreover, the scheme is well-designed because of using multiscale bases. In particular, one solve the saturation on a fine mesh while the velocity is computed on a coarse mesh by utilizing a set of multiscale bases. It is notable that the multiscale bases are computed on a fine mesh to capture the fine-scale information contained in the permeability field. Besides, we use some residual-driven bases to further reduce the velocity error and those new bases are computed on a fine mesh as well. Hence, contributed by the representative approximation space, this method can achieve a good computation efficiency but not lose much precision. Conclusion To illustrate the performance of the method, we use a set of well-designed numerical experiments. Through these experiments, one can see the proposed scheme is physics-preserving, i.e., the local conservation of mass for both phases are satisfied. Moreover, the error is convergent with smaller time step and coarse mesh size. Besides, the effect of using more bases is also distinguishable especially when residual-driven bases are constructed. Hence, from numerical results, the method is efficient and relatively accurate. On the other hand, we provide a rigorous analysis which serves as the base of the numerical performance. The analysis roughly contains two parts. We first prove the method is physics-preserving, i.e., it is locally conservative for both phases. Besides, we prove that it is unbiased as well as conditional bounds-preserving, where the condition is to choose a small enough time step. In the second part, we prove the error convergence, which is based on exploring the relation of velocity error and saturation error. From the final conclusion, one can observe that the saturation error indeed depends on time step size, coarse mesh size as well as the number of multiscale bases. In addition, shown in the final conclusion, the error convergence of multiscale bases in two stages has different forms, which sheds some light on the fact that residualdriven bases are more powerful in reducing errors. Overall, the numerical results are consistent to analysis. From both perspectives of analysis and numerical examples, the proposed method is efficient as well as relevant accurate.

섹션 본문 150문단 · 46,308자

(제목 없음)

1In this paper, we propose a physics-preserving multiscale method to solve an immiscible two-phase flow problem, which is modeled as a coupling system consisting of Darcy's law and mass conservation equations. We use a new Physics-preserving IMplicit Pressure Explicit Saturation (P-IMPES) scheme in order to maintain the local conservation of mass for both phases. Besides, this scheme is unbiased and if the time step is smaller than a certain value, the saturation of both phases are bounds-preserving. When updating velocity, MGMsFEM serves as an efficient solver by computing the unknowns on a coarse grid. We follow the operation splitting techinque to deal with the two-phase flow. In particular, we use an upwind strategy to iterate the saturation explicitly and the MGMsFEM is utilized to compute velocity with a decoupled system on a coarse mesh. To show the efficiency and robustness of the proposed method, we design a set of interesting experiments. A rigorous analysis is also included to serve as a theoretical base of the method, which is well verified by the numerical results. Both simulations and analysis indicate that the method attains a good balance between accuracy and computation cost.

Introduction

2In scientific research and real applications, subsurface flow problems have drawn more and more attention [31,20,21,19,42,32,29] and a typical example is two-phase flow [15,28,34,33,36] in porous media. Because of the high contrast and heterogeneity of the media, one needs to use a very fine grid to discretize the domain in order to obtain sufficient accuracy, which may result in much computation cost. Furthermore, in a time-dependent problem, one needs to solve the concerned equations at different times. If a single solve is computational extensive, the total cost is even larger. Hence, it is indispensable to develop some multiscale methods to alleviate the computation burden. Upscaling [8,22,2,9] is a typical choice by averaging quantities of interest on a coarse mesh. It can accelerate the computation but at the same time the accuracy suffers because of a loss of detailed information. Multiscale methods [26,10,27,1,41,14,30], on the other hand, can achieve a better balance between workload and precision. In particular, one needs to perform some fine-scale computation to generate some multiscale bases in the offline stage. Then, during each online process, simulations are carried out on a coarse mesh with the help of the bases. Since the bases contain some detailed information in the media, multiscale methods are more accurate than upscaling methods. Among many multiscale methods, the Multiscale Finite Element Method (MsFEM) [26] is popular since it is straight-forward and relatively efficient. Solving a set of local problems on the fine grid, one can obtain a multiscale basis corresponding to each local region. Based on MsFEM, a mixed formulation is further proposed to solve velocity and pressure in a decoupled system, which can satisfy the local conservation of mass and the method in this form is called the Mixed Multiscale Finite Element Method (MMsFEM) [10,11]. Different from MsFEM, this method needs to construct velocity multiscale bases as well as pressure multiscale bases. Each velocity basis is supported in a local domain which is composed of two coarse elements sharing a common coarse edge. For each pressure basis, the support is a corresponding coarse element. However, since only one velocity and pressure bases can be obtained in each local region, the approximation effect is not sufficiently good especially when the media is highly heterogeneous. To this end, the Generalized Multiscale Finite Element Method (GMsFEM) [16,17,13] is introduced to generate multiple bases in each region. The basis construction is divided into two steps. First, one needs to construct a local snapshot space which is spanned by a set of snapshot bases. Following this, some well-designed spectral problems are utilized to reduce the dimension of snapshot space. In particular, only the eigenfunctions corresponding to smallest eigenvalues are included in the reduced space. In other words, only some representative modes are incorporated in the approximation space. However, it has been pointed out in [17] that once the dimension of approximation space exceeds a particular value, the effect of including more bases is negligible. To further improve the accuracy, in [12,43,18,40,39,38], residual-driven bases are constructed. It has been shown in [39] that the effect of using residual-driven bases is better than using more bases obtained from the eigenvalue problems.

3Apart from computation efficiency, another concern is the local conservation of mass. A twophase flow model is a coupling system composed of Darcy's law, conservation equations, constraints of saturations corresponding to two phases and the capillary pressure depending on the saturation corresponding to the wetting phase. To tackle the coupling system, some researches have been carried out including the standard IMplicit Pressure Explicit Saturation (IMPES) [35,37] and some variations like HF-IMPES which is proposed by Hoteit and Firoozabadi [25,24] to tackle the discontinuity of saturation. Both of two methods belong to IMplicit-EXplicit (IMEX) schemes but they can only promise the local conservation of mass for one phase, which is not sufficient in many situations. On the other hand, fully implicit method is unconditional stable but since it deals with all the unknown terms implicitly, one needs to endure a large computation cost. From the perspective of applications, it is not necessary to provide such a high accuracy. To this end, some new schemes [7,6,5] are developed to satisfy the conservation for both phases. In [7], the authors introduce a new Physics-preserving IMPES (P-IMPES) scheme by calculating the total velocity as well as the velocity induced by the capillary pressure. During this process, an upwinding strategy is used for spatial discretization of the saturation. The scheme is proved in [7] that it is local conservative for both phases, unbiased, and conditional bounds-preserving. In particular, the saturation of both phases are within their own bound when the time step is chosen less than a particular value.

4In this work, we propose a multiscale scheme based on the P-IMPES scheme. In particular, we utilize the multiscale mesh to update saturation and velocity separately. For saturation, we compute it on a fine grid which is same as the one used in [7]. On the other hand, to update velocity, since the heterogeneous permeability field is incorporated which may result in much computation cost, we apply the MGMsFEM to improve the computation efficiency. We design a set of interesting experiments to show the error convergence as time step, mesh size and number of multiscale bases. We use two representative media, i.e., a highly heterogeneous media as well as a high-contrast media. The local conservation of mass is verified. Besides, errors of saturation decrease when a smaller time step or coarse mesh size is used. Moreover, we demonstrate the effect of enriching multiscale space. It is worth mentioning that when we enrich the approximation space, even a smaller number of residual-driven bases are more effective than the bases constructed from the spectral problems. Since we can adaptively choose different number of bases, this multiscale method is flexible. In the last section, we present a rigorous proof of the stability and convergence of the proposed method. The stability analysis includes that the local conservation property for both phases, unbiased property as well as the conditional bounds-preserving. Motivated from [7], we show that once the time partition is finer than one degree, then the stability can be obtained. Last but not least, we derive the formulation of saturation error by finding the relation between saturation error as well as velocity error, which serves as a firm base for the numerical performance of the scheme. It turns out that the simulation results are consistent to the final analysis conclusion.

5The paper is composed of four parts. In the first section, we give the mathematical form of the concerned problem and present the P-IMPES scheme. Then, we state the MGMsFEM and focus on the main topic, i.e., the reduced-order method based on IMPES. Numerical results are placed in the fourth section. Lastly, we prove the stability and convergence of this method.

Mathematical model and P-IMPES scheme

6We first present the basic mathematical model for incompressible and immiscible two-phase flow in porous media. We denote the wetting and non-wetting phases by the subscripts w and n, respectively. Our mathematical model is determined by utilizing the conservation law, Darcy's law, the saturation constraints and the capillary pressure. We consider a model with the gravity in porous media Ω ∈ R d (d = 2, 3) given as follows,

7The initial and boundary conditions are specified below.

8The mentioned notations are stated below.

91. Let S α , u α and p α be saturation, Darcy's velocity and pressure corresponding to phase α. Total velocity is denoted by u t := u w + u n .

102. Define ρ α , k rα , µ α and q α as density, relative permeability, viscosity and sink/source term of phase α. Besides, q t = q w + q n . We define ζ as the porosity, which is a constant in [0, 1]. Also, K is the absolute permeability tensor.

113. Let g be the magnitude of gravitational acceleration and z be the depth.

124. Phase mobility is denoted by λ α := krα µα . Total mobility is further defined by λ t = λ w + λ n .

5.

13We define fractional flow functions as f w = λ w /λ t , f n = λ n /λ t .

146. We let the boundary be Γ := ∂Ω and it can be partitioned as Γ = Γ D ∪ Γ N , where Γ D and Γ N are Dirichlet and Neumann boundaries to solve u α . Moreover, to solve S α , we let

15is the outflow boundary, and n is the unit outer normal vector to Γ.

167. For phase α, p B α is defined to be boundary condition of pressure on Γ D ; g N α is set to be the boundary condition of velocity on Γ N ; S 0 α is the initial saturation. 8. Let ξ α = λ t w α with w α = −K(∇p α + ρ α g∇z), α = n, w. Besides, we define ξ c = ξ n − ξ w .

17Then we partition the global domain Ω into a coarse grid as well as a fine grid. Let T H be the coarse-scale mesh. Define N e,c and N E,c as the number of elements and edges in T H . In particular, we let {K i } Ne,c i=1 be coarse elements of mesh size H, which form a conforming partition of Ω, i.e.

18Among all the coarse-scale edges, we denote the number of all interior coarse-scale edges by N in,c . For each interior coarse edge, we can correspondingly define a local neighborhood D i composed of two coarse elements sharing the common coarse edge E i . Since we use some local problems in the offline stages to capture fine-scale information in the media, we also need a fine grid. Correspondingly, we define T h as the fine-scale mesh with mesh size h. For each K i , we partition it into some fine-scale elements with mesh size h. We define

19i=1 as all fine-scale elements with the total number N e,f . Each E i is divided into some fine-scale edges with length h. We define E f (K i ) as all fine-scale edges on ∂K i . We further let

20to denote all the fine-scale edges, where N E,f is the total number. In the construction of multiscale bases, we utilize the oversampling technique [16] to solve some local problems in oversampled local regions. In Figure 1, we use D + i to denote an oversampled local region corresponding to D i . We remark that D + i is generated by extending D i for some fine-scale elements in one direction. To compute the reference solutions, we solve (1) on a fine-scale mesh T h . Here, we use the lowest Raviart-Thomas vector field (RT0) denoted by V h for fine-scale velocity bases. Besides, we define Q h as the pressure space spanned by piecewise constant functions and each basis corresponds to a particular fine-scale element. And we use V h (D) and Q h (D) to represent V h and Q h restricted in D. The P-IMPES scheme [7] results the following equation system:

21At time t k+1 , we define

22Here, only A k , A k n and P k c depend on time t hence they should be updated as time. We further define F t = F w + F n . Besides, we define the corresponding matrices for β α as

23Then, we have the following matrix formulation as follows:

24c . This step corresponds to (5). Then we solve the following system

25which is associated with (4) and (2). Finally, corresponding to (3), we can update saturation S h,n+1 w as follows,

26Hence,

Mixed generalized multiscale finite element method

27We use a mixed formulation of the generalized multiscale finite element method (MGMsFEM) [11]. The MGMsFEM contains two stages of offline construction, denoted by the offline stage I and offline stage II. In the first stage, we first construct a snapshot space by solving a set of local problems. Using a set of well-designed spectral problems, we can further reduce the snapshot space into a smaller multiscale space. Based on the multiscale bases, we can solve the previous problem on a (7) and (5).

28Step 2:

29Use (2) and (4) Step 3:

30Update the wetting phase saturation S h,n+1 w by (3) for α = w. Then the non-wetting phase saturation is updated by (6).

31coarse grid, which is much more computationally efficient. The second stage is constructing some residual-driven bases. We perform the construction of these bases in each oversampled local region. The final multiscale space is linearly spanned by the multiscale bases constructed in the above two stages.

32We remark that the construction of multiscale bases in two stages are designed by different motivations. For the first stage, since we have constructed a large approximation space, i.e. the snapshot space, we need to reduce it properly by extracting the most important modes from the snapshot space. To this end, we solve a set of spectral problems and only incorporate a part of eigenfunctions in the multiscale space in the offline stage I. On the other hand, the goal of second stage is to enhance the approximation accuracy of multiscale space. We utilize the residuals of solving the coarse-scale system corresponding to previous multiscale space to construct new bases, which will be incorporated into the multiscale space. We present the detailed process of construction as follows.

33Let κ 0 := λ t (S 0 w )K, which is used to construct the multiscale bases. We use traditional notations in Sobolev space such as L 2 (Ω), H 1 (Ω), H 1 0 (Ω). Besides, we use H(div; Ω; κ −1 0 ) to denote the Sobolev space containing vector fields v with v ∈ L 2 (Ω) 2 and ∇ · v ∈ L 2 (Ω). The corresponding norm of H(div; Ω; κ −1 ) is v H(div;Ω;κ −1 ) . We define the mentioned notations of inner products and norms as follows. For all u, v ∈ (L 2 (Ω)) 2 , p, q ∈ H 1 0 (Ω), we let

34To perform the computation on T H , we define Q H to be the pressure space composed of piecewise contant functions in the coarse grid mesh T H . In the following, we show the process of computing multiscale bases in two stages.

Offline stage I

35First of all, we construct a snapshot space using the following local problems. For each i, we define L i to be the number of local snapshots in D i . We compute ψ j i and p j i for j = 1, . . . , L i in K i,1 and

36for p = 1, 2. We set α p i to be a constant in K i,p , which satisfies α 1 i + α 2 i = 0. Moreover, δ j i is defined by

37We need to emphasize that α j i and δ j i should satisfy a compatible condition that Ki,p α j i = Ei δ j i for p = 1, 2. Instead of solving (10) directly, we solve ψ j i and p j i with a variational formulation as follows. For all u ∈ V h (K i,p ), q ∈ Q h (K i,p ),

38where the boundary conditions and the compatible requirements for α j i and δ j i are the same as the one used in (10). We remark that each ψ j i is further extended to the global domain Ω by defining ψ j i = 0 outside of D i . For simplicity, we use the same notation for the global version. We

39we use a set of local spectral problems to reduce it to a smaller approximation space.

40We first introduce the following two bilinear inner products. In each D i and E i , we define

41for all v, u ∈ V i snap . We then solve

42We arrange λ j i in an ascending order and we include the eigenvectors corresponding to the smallest eigenvalues in the local multiscale space. In particular, we define V i

43Here, the subindex 0 means no bases enrichment is performed.

44We remark that the design of local spectral problems (13) to V ms,0 is motivated from analysis. However, one can observe through out the whole process in the first stage, no information of source term f α , α = w, n, is taken into account, which will restrict the approximation accuracy to some extent. To this end, we also need a second offline stage to construct some new bases containing some useful information not included in V ms,0 .

Offline stage II

45In this part, we will perform bases enrichment to the multiscale space obtained in Offline stage I. The construction at this stage is performed by iterations and we define V ms,k to be the multiscale space after k iterations. In this way, V ms,0 is the result of Offline stage I. We use (v k ms , p k ms ) to denote the solutions of (15) sought in V ms,k and Q H . Then we define the residual operator. Suppose D ⊂ Ω is a domain. We define V D := ∪ Di⊂D V i snap andV D is the corresponding divergence free subspace of V D . We then state the procedures of stage II as follows. At iteration k + 1, the first step is to

46where q t = q w + q n . Before stepping into the second step, we introduce a residual operator. Given a pair of multiscale solution (v ms,k , p ms,k ), the residual operator R

47Restricted onV D , R (k) D can be simplified as

48We denote the operator norm of the residual R and compare it with a given tolerance τ . If R (k) Ω > τ , we perform the following three steps. Otherwise, we can terminate the enrichment.

49The third step is to select a set of local regions to perform bases enrichment. Suppose D 1 , . . . , D B k form a nonoverlapping partition of Ω, where B k is defined to be the number of local regions partitioning Ω. For each D i , we generate an oversampled region D + i by enlarging D i for some fine-scale elements. In each (16).

50Then, we perform the construction of new bases as below. In each D + i , we compute a corresponding η i by solving

51We remark that using this construction, each η i is supported in D + i . Each D i and D + i corresponds to an inner coarse edge E i , which is showed in the Figure 1. We restrict η i · n i on E i and normalize it to get λ i .

52The final step is that we use the boundary information of the solution in the last step and solve the following problem in each K i,p individually with i = 1, . . . , B K and p = 1, 2,

53where γ p i is a constant in K i,p such that γ 1 i + γ 2 i = 0. Besides, γ p i is chosen to satisfy the compatible condition that Ki,p γ i = Ei λ i , for both K i,1 and K i,2 satisfying K i,1 ∪ K I,2 = D i . Similar to the construction of V snap , we extend each φ i to Ω by setting φ i = 0 elsewhere. We keep using φ i for simplicity of notations. Finally, we include the new bases in the previous multiscale space, i.e.

Combine MGMsFEM with P-IMPES

54From previous MGMsFEM, one has obtained a multiscale space for velocity,

55where N ms is the number of multiscale bases in the final multiscale space. We recall that Q H = {q H 1 , . . . , q H Ne,c } is a piecewise constant space corresponding to the coarse-scale mesh T H . In particular, each q H i is constant 1 on the corresponding coarse element and vanishes outsides. We recall that ξ c and u t are solutions to (5) and (4), respectively. Thus, one can use V ms and Q H to compute the pressure equation system in a coarse scale. As for the transport part, one can use the mixed finite element method to update satuation, which is the same with the P-IMPES scheme. Hence, the proposed alogrithm is a combination of MGMsFEM and P-IMPES, which can be denoted as MS-P-IMPES. We solve the following system: ∀v H ∈ V ms , q H ∈ Q H , and q ∈ Q h ,

56We define the mentioned notations below.

571. Let u H,n t ∈ V ms , ξ H,n c ∈ V ms be multiscale solutions to (20) and (21) at time t n .

582. Define p H,n w ∈ Q H as coarse-grid pressure of wetting phase at time t n , which is the solution to (20). Besides, we define p h,n n as fine-grid pressure of non-wetting phase at time t n and it can be solved by (23). For a better illustration, we also use a matrix presentaion. Before this, we then define matrix formulation for the multiscale space. For each velocity multiscale basis φ i , we evaluate it on the fine-scale edges. In particular, let b i ∈ R N E,f be a vector corresponding to φ i defined by b i [j] = φ i · n j , where n j is a unit normal vector to the fine-scale edge e i with pointing to the right or upward as displayed in Figure 2.

59We also need to define a matrix for coarse-scale pressure space Q H . For each q H i , we define a corresponding vector Furthermore, we can generate the following matrices by relating them with the previous matrices asembled on the fine-scale mesh. At time t k+1 ,

60Correspondingly, onlyà k ,à k n andP k c should be updated as time. We defineF t =F w +F n .

61Corresponding to (21), the first step is solving

62c . Then, from (18) and (20), we compute the following system

63Then u H,n+1 t and p H,n+1 w are obtained using (24). To satisfy the mass conservation property, we use a postprocessing techique. We define u H,n+1 t,p to be the velocity solution solved by postpocessing. Let S qt be the set of coarse elements where q t is not a constant. For each K ∈ S qt , we solve a local problem on the fine grid as follows.

64We adjust the final velocity solution by u H,n+1

65Indeed, from the definition of α p i in (10), we can know ∇ · ψ j i is a constant in each coarse element for all i and j, which results that ∇ · u H,n+1 t is a piesewise constant function. For K / ∈ S, q t is a constant hence (25) and (18) are equivalent. At the end, we conclude the MS-P-IMPES Scheme in the Table 1 below.

MS-P-IMPES Scheme

66Step 1: Seek p H,n+1 (23) and (21).

67Step 2:

68Use (18) and (20)

69Step 3:

70Update the wetting phase saturation S H,n+1 w by (19) for α = w. Then the non-wetting phase saturation is updated by (22). Table 1: MS-P-IMPES Scheme: a combination of MMsFEM and P-IMPES. We use postprocessing in the coarse elements with nonconstant source.

Numerical simulations

71In this section, we show some numerical examples to verify the performance of MS-P-IMPES scheme. First of all, we verify that the conservation of mass is satisfied by the proposed scheme. Furthermore, we show the convergence of error as the decreasing of time step size, mesh size and increasing the number of multiscale bases. Besides, we demonstrate the approximation effects in capturing finescale information through presenting solutions in some local regions. Last but not least, we explore the effect of source terms on saturation dynamics.

72Through the numerical simulations, we use the SPE10 benchmark model as well as a highcontrast model, denoted by κ 1 and κ 2 , whose natural logarithms are plotted in Figure 3 for the second one. The first medium is heterogeneous, i.e., the value changes rapidly in many local regions, which creates great difficulty in approximating the flow dynamics accurately. The second one is a high-contrast medium, where the contrast is approximately 2000. As for the time length, the final time is chosen to be T = 8000. The fluid properties are set as follows. The relative permeabilities are given by k rw =S 2 w and k rw = (1−S w ) 2 , whereS w is the effective saturation defined as below:

73Herein, S rα , α = n, w is residual phase saturation and in our experiments and we choose S rw = S rn = 10 −6 . Moreover, the viscosity of the wetting phase is set as µ w = 1 and the viscosity for the non-wetting phase is µ n = 5. The density for wetting and non-wetting phases are chosen as ρ w = 1000 and ρ n = 800. In this work, we use square fine-scale and coarse-scale elements for spatial discretization. In particular, blocks with side length h are used in the fine-scale partition, where the mesh size is fixed to be 60 × 220 for κ 1 and 100 × 100 for κ 2 . On the other hand, the coarse mesh size varies, resulting different dimensions of multiscale space. Similarly, there are a fine and coarse partition in time, where the time step size for the former is set to be ∆t = 100 and the coarse size may vary. We call solutions computed on the fine mesh in space and smaller time step reference solutionss, while the one solved in the multiscale space and a coarser time partition is used for approximation. Two types of sources of wetting phase are chosen, denoted by q w,1 and q w,2 . For the non-wetting phase, we set q n = 0. In particular, q w,1 and q w,2 are defined as follows,

74where η i , i = 1, . . . , 4 are fine-scale elements at the four corners of Ω. In particular,

75Moreover η 5 is the fine-scale element at the center of Ω. More specifically,

76. We call q w,1 a two-point source while q w,2 is called five-point source. In this work, we consider the L 2 norm to measure the error. In particular, we define the saturation error as

77where we use S ref and S appro to denote the reference and approximation saturation solutions. Based on the above notations and settings, we begin with showing the local mass of conservation fulfilled by the results. As mentioned in the subsection 5.1, there are two ways to obtain the nonwetting phase saturation, denoted by S n,1 and S n,2 . If S n,1 = S n,2 , the local mass conservation is attained for both two phases. Hence, we will verify both reference solutions and coarse-scale solutions have fulfilled this requirement by showing that S n,1 and S n,2 are the same up to floatingpoint precision in all the picking time points. In Figures 4 and 5, we show reference non-wetting phase saturation S n,1 and S n,2 corresponding to κ 1 and κ 2 . We choose four time steps during the whole simulation process, i.e. t = 2000, 4000, 6000, 8000. The differences between two non-wetting saturation solutions are almost zero as one can verify from the third column, which reflects that the reference solutions can achieve the conservation of mass. As for the coarse-scale solutions, we choose "1 + 0" base for testing. If the mass conservation is achieved in this case, it is sufficient to come to conclusion that multiscale solutions can well satisfy this conservation property since solutions computed with more multiscale bases will obtain higher accuracy, which will be tested in the following results. From Figures 6 and 7, the comparisons corresponding to κ 1 and κ 2 are displayed, where the differences are also approximately zero. Thus, multiscale approximations will not lose the local conservation of mass from the above observations. In Figure 8, we compare a reference velocity and an approximation field corresponding to the medium κ 2 , where the latter one is computed with "2 + 1" bases. We remark that a local region is chosen for a clear illustration. Here one can easily observe the approximation is indistinguishable We proceed to demonstrate the error convergence with time step size, mesh size and number of multiscale bases. In the following experiments, it is sufficient to focus on dynamics of wettingphase saturation owing to the conservation of mass. Thus, without specified, saturation we discuss about refers to that of wetting-phase. We recall that the reference solutions are computed with the fine-scale mesh and with time step ∆t = 100 for comparison. In Figure 9, we present saturation errors with respect to different time step sizes. The subplot on the left corresponds to κ 1 and the error dynamics of κ 2 is displayed on the other side. We fix the mesh size and number of multiscale bases in each local region. The coarse mesh sizes are 6 × 22 and 10 × 10 for κ 1 and κ 2 . In other words, each coarse element is of the same size for κ 1 and κ 2 , which is composed of 100 fine-scale elements. We choose "5 + 0" multiscale bases in each local regions. Four time step sizes are chosen from 100, 200, 400 and 800. Overall, the errors decrease with smaller time step sizes although four curves display different patterns. With κ 1 and ∆t = 800, 400, 200, the errors keep decreasing as time and get steady at about t = 5000. However, the case with smallest ∆t is slightly different. The error first increases to t = 2000 then decreases to t = 5000 and finally turns fixed. It is worth mentioning that because of updating bases at the intermediate time, i.e. t = 4000, errors in four curves decease at this time point. With κ 2 , the phenomenon is similar, where the smallest error is obtained with the finest time partition. Besides, one can observe that with a larger ∆t more time is needed before converging . For example, the error with ∆t = 800 has a tendency to decay at the final time while the cases with ∆t = 100 and 200 have been steady from 1000 time steps before the end. This observation can be explained by the fact that reference solutions are computed with the finest time partition, which means approximations from a smaller time step is easier to converge to corresponding references.

78In Figure 10, a comparison is displayed among three coarse mesh sizes. We show the side length of square coarse elements in the legends n. For example, 5 means the blocks contain 5 × 5 small squares in the fine mesh. It is obvious that the approximations are closer to references with smaller coarse elements. From the case with κ 1 , the error is fixed at about 1.5% with smallest coarse blocks while the error is over 5% at final time when n = 20. In the right figure, the case is similar, the final error corresponding to n = 20 (3.2%)is over six times bigger than that with n = 5 (0.5%). Furthermore, it is notable that with smaller coarse elements, the errors converge faster. For instance, in the left figure, the blue curve corresponding to the finest coarse mesh turns smooth at the earliest time. This is similar to the case when we compare different time steps, which reflects and κ 2 (right).The mesh size is present by the side length of the coarse square elements, where the legend n means each coarse block is composed of n × n fine blocks. We compare four mesh sizes n = 5, 10 and 20. The time step size is ∆t = 100 and the multiscale number is "5 + 0". Furthermore, we explore the effect of the number of multiscale bases. We fix ∆t = 100 and use coarse-scale elements composed of 100 fine-scale elements. Based on this setting, we try three choices, "3 + 0", "6 + 0" and "3 + 1" bases, which are compared in Figure 11. Two conclusions can be achieved as follows. First, using more bases in each local region can contribute to lower errors as both "6 + 0" and "3 + 1" curves present higher accuracy than the case "3 + 0". However, the effects of adding offline bases and residual-driven bases are apparently different since adding only one residual-driven basis attains almost the same precision as including three more offline bases in each local region, which shows the efficiency of residual-driven bases in reducing errors. In addition, as we enrich the multiscale bases halfway, one can notice there is a drop in error at this point, which is sharper with κ 1 than κ 2 . Because the medium κ 1 shows a higher level of complexity, updating multiscale bases depending on medium may contribute more in increasing accuracy. (b) κ 2 Figure 11: Comparison of the L 2 error of the saturation for κ 1 (left), κ 2 (right). We compare the approximations with "3 + 0", "6 + 0" and "3 + 1" multiscale bases. The coarse mesh sizes are 6 × 22 for κ 1 (left) and 10 × 10 for κ 2 (right), respectively. The time step size is fixed to be ∆t = 100.

79In Figures 12 and 13, we show dynamics of reference and approximation saturation at three time points, i.e. t = 2000, 4000 and 8000. As errors can only indicate accuracy from a global perspective, we can focus on approximation effect of the proposed method in local regions through comparing saturation directly. We demonstrate reference saturation as well as the results from using "3 + 0", "6 + 0" and "3 + 1" multiscale bases. The mesh size and time step are fixed, which are set to be 10 × 10 coarse elements and ∆t = 100. In Figures 12 and 13, we show the results with respect to κ 1 and κ 2 . By comparing the approximations with the reference solutions, we can hardly see any obvious distinctions even for the case with highest error (with "3 + 0" bases). For example, on the first row of Figure 12, we can see there are blurred regions at the boundary of the reference flow, which are characterized by the solutions computed with multiscale solutions. Hence the fine-scale pattern is well-captured by the approximations, which is shown in Figures 14 and 15 in a more straight-forward manner. We still utilize the previous coarse mesh size and time step, i.e. ∆t = 100 and coarse elements including 100 fine blocks. In both figures, we pick and highlight a local region with a white block where there is an abrupt change in the concerned quantities. Hence, the heterogeneity in medium can result a fast change in the corresponding saturation, which is challenging for approximations. However, the solutions computed with multicsale bases can well characterize the fine-scale pattern, which reflects the high fidelity of the proposed method.

80Finally, we investigate the effect of source terms on saturation dynamics. In Figures 16 and 16, we plot reference saturation dynamics driven by sources q w,1 and q w,2 with κ 1 and κ 2 , respectively. The time step size is set to be ∆t = 100 and the coarse mesh size is 6 × 22 for κ 1 and 10 × 10 for κ 2 . Two sources q w,1 and q w,2 are given in (26). We recall that the force values are the same but the locations are different, which creates different effects on the flow motion. In particular, flow moves faster with the five-point source at lower left corner compared with that with the twopoint source. Besides, because of the heterogeneous media κ 1 , the dynamics at each corner present different pattern, which is more complicated than the two-point source case. More specifically, the flow moves faster at two lower corners since the medium values changes more frequently there. On the other hand, the central symmetry in κ 2 results to a corresponding similar pattern in the flow dynamics, where flows from diagonal corners have similar motions. Figure 12: Saturation dynamics with κ 1 . The reference saturation is shown on the top row at three different time levels. The second and third rows are L z = 3 + 0, L z = 6 + 0, respectively. The last row is using three offline bases and enriched by one online basis for each coarse neighborhood, which is denoted by L z = 3 + 1. Figure 13: Saturation dynamics with κ 2 . The reference saturation is shown on the top row at three different time levels. The second and third rows are L z = 3 + 0, L z = 6 + 0, respectively. The last row is using three offline bases and enriched by one online basis for each coarse neighborhood, which is denoted by L z = 3 + 1.

Analysis

81In this section, we will derive the analysis of the proposed method in two main parts. First, as the analysis in [7], we show some important properties of the MS-P-IMPES scheme. Then, we derive an essential relationship between saturation error and velocity error. In both of analysis and numerical simulations, we neglect the capillary pressure and gravity effect.

82In the first part, we prove three significant properties as follows:

831. Local conservation of mass.

842. Unbiased property of solutions.

853. bounds-preserving of saturation of both phases.

Local conservation of mass and unbiased property

86We will prove that both of the two phases satisfy the local conservation of mass stated as below.

87Theorem 1. For any K h ∈ T h , the saturation of phase α will satisfy the following local conservation of mass as follows,

88Proof. To show the first property, we first prove the two schemes to update saturation are equivalent. The first scheme is used above in (19) and (22). Here we directly solve saturation of one phase (supposing the wetting phase) and update the other one using that the sum should be equal to 1.

89We review this scheme as follows, The first saturation update scheme is solving

90One the other hand, the second scheme solves saturation of both phases directly as below. For all q ∈ Q h , we solve S H,n+1 α for both α = w, n by solving the following two equations.

91Since (28) is the same as (30), it remains to show that S H,n+1 n solved by (29) and (31) are the same. Due to the postpocessing technique, (18) can be replaced by (25). Subtract (28) by (25) and we can obtain Apply (29) and we can obtain (31). Reversely, one can attain (29) by combining (30) and (31). Indeed, by adding (30) to (31) (18) and (20). Also, ξ H,n+1 c is uniquely solved by (21). Hence, p H,n+1 n can be obtained by (23). Now we remain to show u H,n+1 α is unbiased for α = w, n. It can be verified using the following relations:

92Hence, we finish the proof in the unbiased property of the MS-P-IMPES scheme.

bounds-preserving property

93This part is motivated by [7]. First, we need two lemmas.

Lemma 2.

94There exits a positive constant l α such that

95This lemma informs that the fractional flow functions are bounded by linear functions of saturation.

96Lemma 3. We define q α in (1) a sink term if q α ≤ 0. In this case, there exist two positive constants l 1 and l 2 such that

97The above two lemmas are proved in [7]. Based on them, the theorem that guarantees the bounds-preserving property is stated below.

98Theorem 4. We assume S H,n α ∈ (0, 1) with tolerance saturation S tα satisfying S H,n α ≥ S tα > 0, α = w, n. We define ∆t = t n+1 − t n . For any K h ∈ T h , if ∆t h is small enough, it holds that S H,n+1 α ∈ (0, 1), α = w, n.

99Proof. The proof is motivated by Lemma 4.3 in [7] except that the u h,n+1 t in the condition of determine proper ∆t should be replaced by u H,n+1 t , which is solved in the MS-P-IMPES scheme. We present the proof below for the convenience of readers.

100For all K h ∈ T h , we choose q = 1 K h in (28)

101To prove S H,n+1

102We recall that S H,n w ≥ S tw > 0, hence there exists ǫ 1 and ǫ 2 such that when ∆t ζh ≤ ǫ 1 and |v H,n+1 w · n| F ≤ ǫ 2 with F ⊂ ∂K h,+ w,n+1 \ ∂K h,+ w,n , it holds that S H,n+1 w ≥ ηS tw > 0 for some constant η ∈ (0, 1). In particular, ∆t should be small enough such that the following two requirements satisfy:

103We remark that the second condition requires |v H,n+1 w · n| to be small enough on the fine edges where v H,n+1 w · n changes sign from t n to t n+1 , which can be achieved if the ∆t is small enough. We further define ∆t 1 to be the smallest value satisfying the above two requirements. Hence with ∆t ≤ ∆t 1 , we have S H,n+1 w ≥ ηS tw > 0. Similarly, we can determine ∆t 2 such that when ∆t ≤ ∆t 2 , S H,n+1 n ≥ ηS tn > 0. Due to the relation S H,n+1 w +S H,n+1 n = 1, we can easily obtain that S H,n+1 α < 1 for α = w, n. Finally, we choose ∆t = min{∆t 1 , ∆t 2 } and then S H,n+1 α ∈ (0, 1).

Error analysis

104In this part, we derive the error analysis for saturation. For simplification, we consider only consider linear or quadratic relative permeability, i.e. k rα = S p α , for p = 1, 2. Without loss of generality, only in this part, we assume µ w = µ n = 1 since we can always put the constant viscosity into the constant coefficients of the final errors. Besides, we choose p B α = 0 and g N α = 0 for α = w, n. We also assume that κ min,0 = min x K(x) = 1. In this way, our proof will be present in a more concise way.

105Assumption 5. For each K h , we assume that on each e ⊂ ∂K h , it holds that

106This assumption states that the reference and approximation flows should have the same direction on each fine edge and it can be verified by Figure 8. We then proceed to the relationship between the relationship between norms on the boundary and in the elements.

107Proof. Let I = [0, 1] × [0, 1] be a reference element and

108Let D be a domain and two norms on V h (D) are defined below. Owing to the relation of norms on finite-dimensional space, we can easily obtain

109Based on the definition of v I , one can attain that

110Combine (34) and (35) and we can obtain the desired result.

111Lemma 7. Recall that u h,n+1 t is the solution to (4) and we have

112Proof. Based on the simplications made at the beginning at this subsection, (2) and (4) can be reduced to the following form: ∀v ∈ V h and q ∈ Q h ,

113By choosing v = u h,n+1 t in (38) and q = p h,n+1 w , we have

114From [3], the Raviart-Thomas elements satisfy the following inf-sup condition:

115Using (38), one can obtain

116where we use κ min,n = λ t (S h,n w )K ≤ C for some constant C. Applying Cauchy-Schwarz inequality in (40) and using (41), we can obtain

117Thus, (37) can be attained by applying Cauchy-Schwarz inequality once again.

118Since both ∇ · u h,n+1 t and ∇ · u H,n+1 t are constant in K h , we can attain

119where |K h | is the area of K h . Hence, (45) can be replaced by

120Then we can deal with the second term on the right hand side of (43). Using the relation proved in Lemma 6,

121Applying (46) again, we can transform (48) to

122Finally, by combining (43), (47) and (49), we conclude with (42).

123In the following two lemmas, we give estimations on u h,n+1 t − u H,n+1 t L 2 (Ω) . Before this, we present some notations.

1241. C err = CV H h and C V depends on the polynomial order of the fine-grid bases in V snap .

R (i)

125D is the residual operator after i iterations at time t p , which is defined in (16). B i is the number of non-overlapping domains, on which we perform the bases enrichment.

126Then, we estimate the velocity error u h,n+1 t − u H,n+1 t L 2 (Ω) . We split the difference in four parts. In particular, we define

127We remark that multiscale bases constructed at initial time are used in different time steps. Meanwhile, κ n and κ H n are dependent on time t n , which are different with κ 0 at the beginning. As a result, w 2 and w 4 should be considered. As for w 1 and w 4 , they are resulted from approximation with multiscale space. In the following two lemmas, we focus on estimate w 2 L 2 (Ω) to w 4 L 2 (Ω) . (20) at time t n+1 and t 1 . Then the following estimations hold,

128Proof. We first recall (4) and (2) at time t n+1 and t 1 .

129Taking v = u h,n+1

130Since

131, where the last inequality holds based on Lemma 7. Similarly, (52) can be obtained.

132Next we evaluate w 3 L 2 (Ω) .

133where C err = CV H h and C V depends on the polynomial order of the fine-grid basis functions in V snap .

134Based on above preparations, we conclude the error estimation for velocity in the theorem below. (63)

135Proof. The goal of this part is to evaluate u h,n+1 t − u H,n+1 t L 2 (Ω) . To this end, we use an error splitting as follows.

136Then, we deal with two parts of the right hand side in (64) separately.

137By the definitions of κ n and κ H n , we have

138(λ t (S h,n w )) 1 2 + (λ t (S H,n w )) 1 2 ≤ C|S h,n w − S H,n w |.

From Lemma 7, (65) can be replaced by

139For the other part in (64), we have

140Summarize the conclusion in Lemma 9 to 10 and we have

141where m is the total number of iterations of bases enrichment. Thus, it arrives at

142Combining (66) and (67), we conclude with (63).

143Finally, we estimate the saturation error. (3) and (19), respectively. We have the following estimation.

144where C 1 (∆t) = C∆t h(ζ−C∆t) , C 2 (∆t) = ( hζ ∆t + C κ + 1)C 1 (∆t) , and Proof. First we rewrite the fine-scale and coarse-scale transport equations. ∀q ∈ Q h ,

145where we use Cauchy-Schwarz inequality in the last step. Here we recall that K h,0 := K h and define N neigh to be the number of neighboring fine elements of K h . Summing over all K h ∈ Ω and applying Cauchy-Schwarz inequality again , it holds that

146where C κ := 8(1 + κ max,0 ) q t 2 L 2 (Ω) . Here we use κ max,n ≤ 2κ max,0 for all n. Applying Cauchy-Schwarz inequality once again, we obtain that

147Define P h be the L 2 − projection into Q h and based on S h,0 w = S h,0 w = P h (S 0 w ), we finish the error estimation for saturation with

148Indeed, since (77) is relatively simple, induction is sufficient to prove (78) and it is unnecessary to apply Discrete Gronwall inequality [23].

Conclusion

149In this work, we propose a physics-preserving multiscale scheme to solve a two-phase flow problem with heterogeneous media. The scheme can satisfy the local conservation for two phases and it is proved to be unbiased and conditional bounds-preserving for saturation, where a sufficiently small time step is required. Moreover, the scheme is well-designed because of using multiscale bases. In particular, one solve the saturation on a fine mesh while the velocity is computed on a coarse mesh by utilizing a set of multiscale bases. It is notable that the multiscale bases are computed on a fine mesh to capture the fine-scale information contained in the permeability field. Besides, we use some residual-driven bases to further reduce the velocity error and those new bases are computed on a fine mesh as well. Hence, contributed by the representative approximation space, this method can achieve a good computation efficiency but not lose much precision.

150To illustrate the performance of the method, we use a set of well-designed numerical experiments. Through these experiments, one can see the proposed scheme is physics-preserving, i.e., the local conservation of mass for both phases are satisfied. Moreover, the error is convergent with smaller time step and coarse mesh size. Besides, the effect of using more bases is also distinguishable especially when residual-driven bases are constructed. Hence, from numerical results, the method is efficient and relatively accurate. On the other hand, we provide a rigorous analysis which serves as the base of the numerical performance. The analysis roughly contains two parts. We first prove the method is physics-preserving, i.e., it is locally conservative for both phases. Besides, we prove that it is unbiased as well as conditional bounds-preserving, where the condition is to choose a small enough time step. In the second part, we prove the error convergence, which is based on exploring the relation of velocity error and saturation error. From the final conclusion, one can observe that the saturation error indeed depends on time step size, coarse mesh size as well as the number of multiscale bases. In addition, shown in the final conclusion, the error convergence of multiscale bases in two stages has different forms, which sheds some light on the fact that residualdriven bases are more powerful in reducing errors. Overall, the numerical results are consistent to analysis. From both perspectives of analysis and numerical examples, the proposed method is efficient as well as relevant accurate.

참고문헌 48건

  1. Thermo-Fluid Dynamics of Two-Phase Flow Springer eBooks · Springer Nature · 2010 10.1007/978-1-4419-7985-8
  2. Hyperbolic two-pressure models for two-phase flow Journal of Computational Physics · Elsevier BV · 1984 10.1016/0021-9991(84)90056-1
  3. Monotonicity Considerations for Saturated--Unsaturated Subsurface Flow SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1997 10.1137/s1064827594265824
  4. Analysis of Gas-Cap or Dissolved-Gas Drive Reservoirs Society of Petroleum Engineers Journal · Society of Petroleum Engineers · 1961 10.2118/1518-g
  5. A family of Multiscale Hybrid-Mixed finite element methods for the Darcy equation with rough coefficients Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.03.019
  6. Interpolation-free monotone finite volume method for diffusion equations on polygonal meshes Journal of Computational Physics · Elsevier BV · 2008 10.1016/j.jcp.2008.09.031
  7. A Multiscale Mortar Mixed Finite Element Method Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2007 10.1137/060662587
  8. Separated two-phase flow model: application to critical two-phase flow International Journal of Multiphase Flow · Elsevier BV · 1983 10.1016/0301-9322(83)90015-0
  9. Mathematical Modeling of Two-Phase Flow Annual Review of Fluid Mechanics · Annual Reviews · 1983 10.1146/annurev.fl.15.010183.001401
  10. A mixed multiscale finite element method for elliptic problems with oscillating coefficients Mathematics of Computation · American Mathematical Society · 2002 10.1090/s0025-5718-02-01441-2
  11. Analysis of an upscaling method based on conservation of dissipation Transport in Porous Media · Springer Science+Business Media · 1994 10.1007/bf00624051
  12. A new upscaling method for fractured porous media Advances in Water Resources · Elsevier BV · 2015 10.1016/j.advwatres.2015.03.009
  13. A general purpose computer program for multi-dimensional one- and two-phase flow Mathematics and Computers in Simulation · Elsevier BV · 1981 10.1016/0378-4754(81)90083-5
  14. A multiscale two-point flux-approximation method Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.07.003
  15. A Multiscale Finite Element Method for Elliptic Problems in Composite Materials and Porous Media Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5682
  16. Mixed Generalized Multiscale Finite Element Methods and Applications Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2015 10.1137/140970574
  17. A fully coupled physically-based spatially-distributed model for evaluating surface/subsurface flow Advances in Water Resources · Elsevier BV · 2004 10.1016/j.advwatres.2004.02.016
  18. Adaptive Local–Global Upscaling for General Flow Scenarios in Heterogeneous Formations Transport in Porous Media · Springer Science+Business Media · 2006 10.1007/s11242-005-0619-7
  19. Coupling surface and subsurface flows in a depth averaged flood wave model Journal of Hydrology · Elsevier BV · 2007 10.1016/j.jhydrol.2007.01.045
  20. Monotone finite volume schemes for diffusion equations on polygonal meshes Journal of Computational Physics · Elsevier BV · 2008 10.1016/j.jcp.2008.03.007
  21. The variational multiscale method—a paradigm for computational mechanics Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1998 10.1016/s0045-7825(98)00079-6
  22. A consistent approach for applying numerical boundary conditions for multiphase subsurface flow Journal of Contaminant Hydrology · Elsevier BV · 1996 10.1016/0169-7722(95)00099-2
  23. Inverse methods for subsurface flow: A critical review of stochastic techniques Stochastic Hydrology and Hydraulics · Springer Nature · 1990 10.1007/bf01547729
  24. Generalized multiscale finite element methods (GMsFEM) Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.04.045
  25. An efficient method for discretizing 3D fractured media for subsurface flow and transport simulations International Journal for Numerical Methods in Fluids · Wiley · 2010 10.1002/fld.2383
  26. An efficient numerical model for incompressible two-phase flow in fractured media Advances in Water Resources · Elsevier BV · 2008 10.1016/j.advwatres.2008.02.004
  27. Numerical modeling of two-phase flow in heterogeneous permeable media with different capillarity pressures Advances in Water Resources · Elsevier BV · 2007 10.1016/j.advwatres.2007.06.006
  28. Residual-driven online generalized multiscale finite element methods Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.07.068
  29. A multiscale mortar multipoint flux mixed finite element method ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2012 10.1051/m2an/2011064
  30. A Multilevel Upscaling Method for Material Characterization of Additively Manufactured Part Under Uncertainties Journal of Mechanical Design · American Society of Mechanical Engineers · 2015 10.1115/1.4031012
  31. Online Adaptive Local-Global Model Reduction for Flows in Heterogeneous Porous Media Computation · Multidisciplinary Digital Publishing Institute · 2016 10.3390/computation4020022
  32. Multi-Scale Finite-Volume Method for Highly Heterogeneous Porous Media with Shale Layers 2004 10.3997/2214-4609-pdb.9.b006
  33. The Multiscale Robin Coupled Method for flows in porous media Journal of Computational Physics · Elsevier BV · 2017 10.1016/j.jcp.2017.11.002
  34. One-Dimensional, Incompressible, Noncapillary, Two-Phase Fluid Flow in a Porous Medium Transactions of the AIME · Society of Petroleum Engineers · 1959 10.2118/978-g
  35. Fully mass-conservative IMPES schemes for incompressible two-phase flow in porous media Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.03.023
  36. A fully mass-conservative iterative IMPEC method for multicomponent compressible flow in porous media Journal of Computational and Applied Mathematics · Elsevier BV · 2019 10.1016/j.cam.2019.05.012
  37. A multiscale hybrid method for Darcy’s problems using mixed finite element local solvers Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2019 10.1016/j.cma.2019.05.013
  38. Generalized multiscale finite element methods for space–time heterogeneous parabolic equations Computers & Mathematics with Applications · Elsevier BV · 2018 10.1016/j.camwa.2018.04.028
  39. Residual driven online mortar mixed finite element methods and applications Journal of Computational and Applied Mathematics · Elsevier BV · 2018 10.1016/j.cam.2018.02.032
  40. GENERALIZED MULTISCALE FINITE ELEMENT METHODS: OVERSAMPLING STRATEGIES International Journal for Multiscale Computational Engineering · Begell House · 2014 10.1615/intjmultcompeng.2014007646
  41. Adaptive Mixed GMsFEM for Flows in Heterogeneous Media Numerical Mathematics Theory Methods and Applications · Cambridge University Press · 2016 10.4208/nmtma.2016.m1603
  42. Multiscale mixed methods for two-phase flows in high-contrast porous media Journal of Computational Physics · Elsevier BV · 2020 10.1016/j.jcp.2020.109316
  43. A new physics-preserving IMPES scheme for incompressible and immiscible two-phase flow in heterogeneous porous media Journal of Computational and Applied Mathematics · Elsevier BV · 2020 10.1016/j.cam.2020.113035
  44. A Comparison of Mixed Multiscale Finite Element Methods for Multiphase Transport in Highly Heterogeneous Media Water Resources Research · Wiley · 2021 10.1029/2020wr028877
  45. Online conservative generalized multiscale finite element method for highly heterogeneous flow models Computational Geosciences · Springer Science+Business Media · 2021 10.1007/s10596-021-10074-x
  46. Variational Formulations and Finite Element Methods Springer series in computational mathematics · Springer Nature · 1991 10.1007/978-1-4612-3172-1_1
  47. A local–global multiscale method for highly heterogeneous stochastic groundwater flow problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.114688
  48. A locally conservative multiscale method for stochastic highly heterogeneous flow Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116020