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

Adaptive multiscale model reduction with Generalized Multiscale Finite Element Methods

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Eric T. Chung — Department of Mathematics, The Chinese University of Hong Kong, Shatin, Hong Kong
  2. Yalchin Efendiev — Department of Mathematics, Texas A&M University, College Station, TX 77843, United States
  3. Thomas Y. Hou — Applied and Computational Math. 9-94, California Institute of Technology, Pasadena 91125, United States
DOI
10.1016/j.jcp.2016.04.054
저널
Journal of Computational Physics
발행년도
2016
발행기관
Elsevier BV
피인용수
211
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jcp.2016.04.054
토픽
Composite Material Mechanics
OpenAlex ID
W2344009215

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
multiscale model reduction, finite element methods, heterogeneous media, numerical homogenization, adaptive strategy
판단 근거
이 논문은 복잡한 다중 스케일(multiscale) 문제를 해결하기 위한 수치 해석적 모델링 기법(GMsFEM)을 다루고 있습니다. 직접적인 제품 연구는 아니나, 불균질한 매질 내의 확산이나 흐름을 시뮬레이션하는 이 방법론은 수소연료전지(PEMFC)의 이온 전도성 고분자막이나 가습기 내의 수분 이동 등 복잡한 미세 구조를 가진 소재의 성능을 예측하는 모델링에 응용될 수 있습니다.
R&D 활용 포인트
PEMFC의 고분자 전해질막(PEM)이나 중공사막 내에서의 수분/이온 이동 현상을 정밀하게 시뮬레이션하고, 미세 구조 변화에 따른 성능 변화를 예측하는 수치 해석 모델 개발에 활용 가능합니다.
평가 입력
본문 178,706자 중 30,032자 발췌

초록

초록이 없습니다.

본문 178,706자

본문 펼치기
## Adaptive multiscale model reduction with Generalized Multiscale Finite Element Methods Eric Chung <sup>_∗_</sup> Yalchin Efendiev <sup>_†_</sup> Thomas Y. Hou <sup>_‡_</sup> April 29, 2016 Abstract In this paper, we discuss a general multiscale model reduction framework based on multiscale finite element methods. We give a brief overview of related multiscale methods. Due to page limitations, the overview focuses on a few related methods and is not intended to be comprehensive. We present a general adaptive multiscale model reduction framework, the Generalized Multiscale Finite Element Method. Besides the method’s basic outline, we discuss some important ingredients needed for the method’s success. We also discuss several applications. The proposed method allows performing local model reduction in the presence of high contrast and no scale separation. ### 1 Introduction 1.1 Objectives In this paper, we will present a novel multiscale model reduction technique for solving many challenging problems with multiple scales and high contrast. Our approach systematically and adaptively adds degrees of freedom in local regions as needed and goes beyond scale separation cases. The objectives of the paper are the following: (1) to demonstrate the main concepts of our unified approach for local multiscale model reduction; (2) to discuss the method’s main ingredients; and (3) to demonstrate its applications to a variety of challenging multiscale problems. 1.2 The need for a systematic multiscale model reduction approach Computational meshes. In order to present our approach, we need the notions of coarse and fine meshes, which are illustrated in Figure 1. We assume that the computational domain Ωis partitioned by a coarse grid _T_ <sup>_H_</sup>, which does not necessarily resolve any multiscale features. We let _Nc_ be the number of nodes in the coarse grid and _Ne_ be the number of coarse edges. We use the notation _K_ to represent a generic coarse element in _T_ <sup>_H_</sup> . To represent multiscale basis functions, we perform a refinement of _T_ <sup>_H_</sup> to obtain a fine grid _T_ <sup>_h_</sup>, with mesh size _h >_ 0. The fine grid can essentially resolve all multiscale features of the problem and we perform the computations of the local basis functions on the fine grid. Scale separation approaches and their limitations. Many current approaches for handling complex multiscale problems typically limit themselves to two or more distinct idealized scales (e.g., pore and Darcy scales). These include homogenization and numerical homogenization methods [64, 37, 68]. To demonstrate some of the main concepts, we consider _L_ ( _u_ ) = _f,_ (1) _∗_ Department of Mathematics, The Chinese University of Hong Kong, Shatin, Hong Kong _†_ Department of Mathematics, Texas A&M University, College Station, TX 77843 _‡_ Applied and Computational Math. 9-94, California Institute of Technology, Pasadena 91125 1 where _L_ ( _u_ ) is a differential operator representing the fine-scale process. One can use many different examples for _L_ ( _u_ ). To convey our main idea, we consider a simple and well-studied heterogeneous diffusion _L_ ( _u_ ) = _−_ div( _κ_ ( _x_ ) _∇u_ ), where one assumes _κ_ ( _x_ ) to be a multiscale field representing the media properties. Homogenization and numerical homogenization techniques derive or postulate macroscopic equations and formulate local problems for computing the macroscopic parameters. For example, in the heterogeneous diffusion example, one computes the effective properties _κ_ <sup>_∗_</sup> ( _x_ ) on a coarse grid as a constant tensor, _κ_ <sup>_∗_</sup> _ij_ <sup>, (see</sup> Figure 1 for illustration of coarse and fine grids) via solving local problems (see Section 2). Using _κ_ <sup>_∗_</sup> ( _x_ ), one solves the global problem (1). _The_ _number_ _of_ _macroscopic_ _parameters_ _represents_ _the_ _effective_ _dimension_ _of_ _the_ _local_ _solution_ _space_ . Consequently, these (numerical homogenization) approaches cannot represent many important local features of the solution space unless they are identified apriori in a modeling step. In this paper, we propose a novel approach that avoids these limitations and determines necessary local degrees of freedom as needed. Global model reduction approaches. The proposed approaches share some common features with global model reduction techniques [49, 5, 12], which construct global basis functions. Our approach uses local dimension reduction techniques. However, there are many important differences as we will discuss. First, global model reduction approaches, though powerful in reducing the degrees of freedom, lack local adaptivity and numerical discretization properties (e.g., conservations of local mass and energy,...) that local approaches enjoy. Many successful macroscopic laws (e.g., Darcy’s law, and so on) are possible because the solution space admits a large compression _locally_ . We will present several distinct examples to demonstrate this. For this reason, it is important to construct local multiscale model reduction techniques that can identify local degrees of freedom and be consistent with homogenization when there is scale separation. The proposed method is a first systematic step in developing such approaches. Multiscale Finite Element Methods and some related methods. The proposed methods take their origin in Multiscale Finite Element Methods [50, 54] and Generalized Finite Element Methods [60]. The main idea of MsFEM is to construct local multiscale basis functions, _φ_ <sup>_ωi_</sup> for each coarse block _ωi_, and replace macroscopic equations by using a limited number of basis functions. More precisely, for each coarse node _i_ (see Figure 1), we construct multiscale basis function _φ_ <sup>_ωi_</sup> and seek an approximate solution of (1) _u_ approx = <sup>�</sup> _i_ <sup>_ciφωi_</sup> <sup>.</sup> <sup>These</sup> <sup>approaches</sup> <sup>motivate</sup> <sup>our</sup> <sup>new</sup> <sup>techniques</sup> <sup>as</sup> <sup>MsFEMs</sup> <sup>are</sup> <sup>the</sup> <sup>first</sup> <sup>methods</sup> <sup>that</sup> replace macroscopic equation concepts with carefully designed multiscale basis functions within finite element methods. Multiscale finite element approaches are shown to be powerful and have many advantages over numerical homogenization methods as MsFEMs can recover fine-scale information and be flexible in terms of gridding. However, these methods do not contain a systematic way to add degrees of freedom locally and adaptively, which are the proposed method’s main contributions. Approaches, such as variational multiscale methods [53] (see also, [47]), multiscale finite volume [54], mortar multiscale method [4], localized reduced basis [6, 28] can be related to the MsFEM and seek to approximate the solution when there is no scale separation. Other classes of approaches built on numerical homogenization methods (e.g., [29, 58, 48, 41]) are limited to problems with scale separation and when macroscopic equations can be formulated. Due to the lack of space, we will briefly discuss a few of these methods in the paper. 1.3 The basic concepts of Generalized Multiscale Finite Element Method General idea of GMsFEM. In this paper, we will develop novel solution strategies centered around adaptive multiscale model reduction. The GMsFEM was first presented in [32] and later investigated in several other papers (e.g., [43, 44, 33, 35, 8, 25, 26, 23, 24]). The GMsFEM is motivated by our earlier works on designing multiscale coarse spaces for domain decomposition preconditioners [42, 31, 34], the studies in MsFEM, and the concepts of global model reduction methods (e.g., [49, 5] and references therein), which employ global snapshots and Proper Orthogonal Decomposition (POD). The proposed approach is a generalization of the MsFEM and defines appropriate local snapshots and local spectral decompositions. The need for such systematic methods will be discussed in the examples of various applications. Our proposed approaches add local degrees of freedom as needed and provide _numerical_ macroscopic equations for problems without scale separation and high contrast. Because of the proposed multiscale model reduction’s local nature of, one can adaptively add the degrees of freedom based on error estimators and rigorously estimate the errors. 2 _~~<u>ωE</u>~~_ K <sup>+</sup> ~~<u>K</u>~~ ω <sup>+</sup> i ~~<u>K1</u>~~ ~~<u>K2</u>~~ _~~<u>ωi</u>~~_ ~~<u>K3</u>~~ ~~<u>K4</u>~~ Figure 1: Illustration of fine grid, coarse grid, coarse neighborhood and oversampled domain. To our best knowledge, this is one of the first local systematic multiscale model reduction frameworks that can be easily adopted for different applications. Multiscale basis functions and snapshot spaces. The main idea of our multiscale approach is to systematically select important degrees of freedom for the solution in each coarse block (see Figure 1 for coarse and fine grid illustration). More precisely, for each coarse block _ωi_ (or _K_ ), we identify local multiscale basis functions _φ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> ( _j_ = 1 _, ..., Nωi_ ) and seek the solution in the span of these basis functions. For problems with scale separation, one needs a limited number of degrees of freedom. However, as the heterogeneities get more complicated, one needs a systematic approach to find the additional degrees of freedom. In each coarse grid, we first build the snapshot space, _V_ snap <sup>_ωi_</sup> <sup>= span</sup> <sup>_{ψ_</sup> _j_ <sup>_ωi}_</sup> <sup>.</sup> <sup>The</sup> <sup>choice</sup> <sup>of</sup> <sup>the</sup> <sup>snapshot</sup> <sup>space</sup> <sup>depends</sup> on the global discretization and the particular application. The appropriate snapshot space (1) yields faster convergence, (2) imposes problem relevant restrictions on the coarse spaces (e.g., divergence free solutions) and (3) reduces the computational cost of building the offline spaces. Each snapshot can be constructed, for example, using random boundary conditions or source terms [9]. Reducing the degrees of freedom. Once we construct the snapshot space _V_ snap <sup>_ωi_</sup> <sup>, we identify the offline</sup> space, which is a principal component subspace of the snapshot space and derived based on analysis. To obtain the offline space, we perform a dimension reduction of the snapshot space. This reduction identifies dominant modes, which we use to construct a multiscale space. If the snapshot space and the local spectral problems are appropriately chosen, we obtain reduced dimensional spaces corresponding to numerical homogenization in the case of scale separation. When there is no scale separation, we have a constructive method to add the necessary extra degrees of freedom that capture the relevant interactions between scales. Adaptivity and nonlinearities. The algorithmic framework proposed above is general and can be used for different multiscale, high contrast, and perforated problems [22, 26, 43, 8]. The multiscale basis functions are constructed locally and using an adaptive criteria. Thus, in different regions, we expect a different number of basis functions depending on the local features of the problem, such as heterogeneities and high contrast. For example, in the regions with scale separation, we expect only a limited number of degrees of freedom. The adaptivity will be achieved using error indicators. In nonlinear problems, one performs local nonlinear interpolation to approximate the Jacobian or other nonlinear terms. The above multiscale procedure can be complemented with online basis functions which helps to converge to the fine-scale solution by constructing multiscale basis functions in the simulations [23, 24] (also, see Figure 2 for the ingredients of proposed multiscale method). Limitations. Though the proposed approaches can be used in many applications, it is limited to problems where the solution space locally has a low dimensional structure. If the latter is not the case, our approaches will use many degrees of freedom and the computational gain may not be significant in 3 Figure 2: Multiscale model reduction. Ingredients and Applications. those regions. Many multiscale application problems we have encountered can benefit from local adaptive multiscale model reduction. 1.3.1 Methodological ingredients of GMsFEM Our computational framework will rely on several important ingredients (see Figure 2) that are general for various discretizations (such as mixed methods, discontinuous Galerkin, and etc,) and applications. These ingredients include (1) a procedure for identifying local snapshot spaces and multiscale basis, (2) developing global coupling mechanisms for multiscale basis functions, (3) adaptivity strategies, (4) local nonlinear interpolation tools, and (5) online basis functions. These ingredients are building blocks that are needed for constructing an accurate and robust multiscale model reduction. We will motivate the use of multiscale model reduction by showing how it can take us beyond conventional macroscopic modeling and discuss some relevant ingredients. The proposed framework provides a promising tool and capability for solving a large class of multiscale problems without scale separation and high contrast. This framework is tested and applied in various applications where we have followed the general framework to construct local multiscale spaces. We identify main ingredients of the framework, which can be further investigated for speed-up and accuracy. 1.4 Applications and organization of the paper We apply the proposed adaptive multiscale framework to several challenging and distinct applications where one deals with a rich hierarchy of scales. These include (1) flows in heterogeneous porous media (2) diffusion in fractured media (3) multiscale processes in perforated regions (4) wave propagation in heterogeneous media (5) nonlinear diffusion equations in heterogeneous media. We will discuss some of the applications here. In Section 2, we describe numerical homogenization and its limitations. In Section 3, we discuss Multiscale Finite Element Method. In Section 4, we describe the GMsFEM and its basic principles. In Section 5, adaptive strategies for the GMsFEM are described. Section 6 is devoted to the construction of the online basis functions. We describe the selected global couplings in Section 7. The GMsFEM using sparsity in the snapshot space is discussed in Section 8. We discuss the GMsFEM for space-time heterogeneous problems 4 in Section 9. In Section 10, we discuss the GMsFEM for problems in perforated domains. We present some selected applications in Section 11. In Section 12, we discuss some remaining aspects of the GMsFEM, such as applications to nonlinear problems and its use in global model reduction techniques. ### 2 A brief introduction to numerical homogenization 2.1 Numerical homogenization The _main_ _idea_ _of_ _numerical_ _homogenization_ is to identify the homogenized coefficients in each coarse-grid block. The basic underlying principle is to compute these upscaled quantities such that they preserve some averages for a given set of local boundary conditions. We discuss it on an example. We consider a simple example = _f,_ (2) _<u>∂</u>_ _∂xi_ - _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _∂xj_ _u_ = _f,_ (2) where _κij_ ( _x_ ) is a heterogeneous field. The objective is to define an upscaled (or homogenized) conductivity for each coarse block without directly using the periodicity. Following the homogenization technique, the local problems are solved in each coarse block _Nl_ = 0 in _K,_ (3) _<u>∂</u>_ _∂xi_ - _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _∂xj_ where _K_ is a coarse block. The boundary condition needs to be chosen such that it represents the local heterogeneities. We limit ourselves to Dirichlet boundary conditions _Nl_ = _xl_ on _∂K_ . One can use other boundary conditions [68]. We note that if the local problem is homogenized and the homogenized coefficients are constant, then the solution of the homogenized equation is _Nl_ <sup>_∗_</sup> <sup>=</sup> <sup>_xl_</sup> <sup>in</sup> <sup>_K_</sup> <sup>.</sup> <sup>The</sup> <sup>upscaled</sup> <sup>coefficients</sup> <sup>_κ_</sup> _ij_ <sup>_∗,nh_</sup> can be defined by averaging the fluxes: - _<u>∂</u>_ _l_ <sup>_∗_</sup> <sup>=</sup> <sup>_xl_</sup> <sup>in</sup> <sup>_K_</sup> <sup>.</sup> <sup>The</sup> <sup>upscaled</sup> <sup>coefficients</sup> <sup>_κ_</sup> _ij_ <sup>_∗,nh_</sup> _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _κ_ <sup>_∗_</sup> _ij_ <sup>_,nh_</sup> _<u>∂</u>_ _∂xj_ _Nl_ <sup>_∗_</sup> _l_ <sup>_∗_</sup> <sup>=</sup> _K_ _ij_ _Nl._ (4) _∂xj_ _K_ The motivation behind this upscaling is to state that the average flux response for the fine-scale local problem with prescribed boundary conditions is the same as that for the upscaled solution. If we take _Nl_ <sup>_∗_</sup> <sup>=</sup> <sup>_xl_</sup> <sup>in</sup> <sup>_K_</sup> <sup>,</sup> we have _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> <u>1</u> <sup>_∗_</sup> _il_ <sup>_,nh_</sup> = _|K|_ _K_ _κ_ <sup>_∗_</sup> _il_ <sup>_,nh_</sup> _Nl._ (5) _∂xj_ Remark 1 (Convergence) . _Assuming that κij_ ( _x_ ) = _κij_ ( _x/ϵ_ ) _,_ _one can study the convergence of the numerical_ _homogenization_ _technique_ _and_ _show_ _([68])_ _that_ _|κ_ <sup>_∗_</sup> _il_ <sup>_,nh_</sup> <sup>_∗_</sup> _il_ <sup>_| ≤_</sup> <sup>_C_</sup> <sup>_∗_</sup> _il_ <sup>_,nh_</sup> _−_ _κ_ <sup>_∗_</sup> _il_ - _<u>ϵ</u>_ _H_ <sup>_,_</sup> _where_ _κ_ <sup>_∗_</sup> _il_ <sup>_,nh_</sup> <sup>_∗_</sup> _il_ <sup>_is_</sup> <sup>_the_</sup> <sup>_“correct”_</sup> <sup>_homogenized_</sup> <sup>_coefficients._</sup> <sup>_∗_</sup> _il_ <sup>_,nh_</sup> _is_ _the_ _numerical_ _homogenization_ _and_ _κ_ <sup>_∗_</sup> _il_ Remark 2 (Oversampling) . _The_ _convergence_ _analysis_ _suggests_ _that_ _the_ _boundary_ _layers_ _due_ _to_ _artificial_ _linear_ _boundary_ _conditions,_ _Nl_ = _xl,_ _cause_ _the_ _resonance_ _errors._ _To_ _reduce_ _these_ _resonance_ _errors,_ _over-_ _sampling_ _technique_ _has_ _been_ _proposed._ _The_ _main_ _idea_ _of_ _this_ _method_ _is_ _to_ _solve_ _local_ _problems_ _in_ _a_ _larger_ _domain._ _In_ _oversampling_ _method_ _[50],_ _the_ _local_ _problem_ _that_ _is_ _analogous_ _to_ _(3)_ _is_ _solved_ _in_ _a_ _larger_ _domain_ _(see_ _Figure_ _1)._ _In_ _particular,_ _if_ _we_ _denote_ _the_ _large_ _domain_ _by_ _K_ <sup>+</sup> _while_ _the_ _target_ _coarse_ _block_ _by_ _K_ _(see_ _Figure_ _1),_ _then_ = 0 _in_ _K_ <sup>+</sup> _._ (6) _<u>∂</u>_ _∂xi_ - _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _∂xj_ _Nl_ <sup>_ovs_</sup> _Nl_ <sup>_ovs_</sup> 5 _l_ <sup>_ovs_</sup> = _xl_ _on_ _∂K_ <sup>+</sup> _._ _The_ _upscaled_ _conductivity_ _κ_ <sup>_∗_</sup> _ij_ <sup>_,ovs_</sup> _For_ _simplicity,_ _we_ _can_ _use_ _Nl_ <sup>_ovs_</sup> _For_ _simplicity,_ _we_ _can_ _use_ _Nl_ <sup>_ovs_</sup> = _xl_ _on_ _∂K_ <sup>+</sup> _._ _The_ _upscaled_ _conductivity_ _κ_ <sup>_∗_</sup> _ij_ <sup>_,ovs_</sup> _is_ _computed_ _by_ _equating_ _the_ _fluxes_ _on_ _the_ _target_ _coarse_ _block:_ _K_ _κ_ <sup>_∗_</sup> _ij_ <sup>_,ovs_</sup> _<u>∂</u>_ _∂xj_ _Nl_ <sup>_∗,ovs_</sup> = _K_ _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _∂xj_ _Nl_ <sup>_ovs_</sup> _._ (7) _Noting_ _that_ _the_ _domain_ _K_ <sup>+</sup> _is_ _only_ _slightly_ _larger,_ _we_ _can_ _still_ _claim_ _that_ _Nl_ <sup>_∗,ovs_</sup> = _xl,_ _and_ _thus,_ <u>1</u> _κ_ <sup>_∗_</sup> _il_ <sup>_,ovs_</sup> = _|K|_ _K_ _κij_ ( _x_ ) <sup>_<u>∂</u>_</sup> _∂xj_ _Nl_ <sup>_ovs_</sup> _._ (8) _The_ _advantage_ _of_ _this_ _approach_ _is_ _that_ _one_ _reduces_ _the_ _effects_ _of_ _the_ _oscillatory_ _boundary_ _conditions._ _One_ _can_ _show_ _([68])_ _that_ _the_ _error_ _for_ _the_ _residual_ _is_ _small_ _and_ _scales_ _as_ _ϵ/H_ _instead_ _of_ - _ϵ/H._ 2.2 Limitations The above numerical homogenization concepts (for linear and nonlinear problems) are often used to derive macroscopic equations. These techniques assume that the solution space has a reduced dimensional structure. For example, as we can observe from the above example and derivations, the solution in each coarse block is approximated by three local fields (in 3D). In fact, this “effective” dimension is related to the number of elements (constants) in the effective properties. In general, for many macroscopic equations, one implicitly assumes the local effective dimension for the solution space related to the number of macroscopic parameters. In many cases, the assumptions on the limited effective dimension of microscale problem break down and the local solution space may need more degrees of freedom. This requires general approaches, where we do not rely on macroscale equations, and approximate the solution space via multiscale basis functions. Next, we give a brief overview of these concepts. ### 3 Multiscale Finite Element Method In this section, we will give a brief overview of MsFEM as a method for solving a problem on a coarse grid. MsFEMs consist of two major ingredients: (1) multiscale basis functions and (2) a global numerical formulation which couples these multiscale basis functions. Multiscale basis functions are designed to capture the fine-scale features of the solution. Important multiscale features of the solution need to be incorporated into these localized basis functions which contain information about the scales which are smaller (as well as larger) than the local numerical scale defined by the basis functions. In particular, we need to incorporate the features of the solution that can be localized and use additional basis functions to capture the information about the features that need to be separately included in the coarse space. A global formulation couples these basis functions to provide an accurate approximation of the solution. As before, we consider the second order elliptic equations with heterogeneous coefficients _L_ ( _u_ ) = _f,_ (9) where _L_ ( _u_ ) = _−_ _∂x_ <sup>_<u>∂</u>_</sup> _i_ - _κij_ ( _x_ ) _∂x_ <sup>_<u>∂</u>_</sup> _j_ <sup>_u_</sup> - with appropriate boundary conditions. We seek multiscale basis functions supported in each domain _ωj_, denoted by _φ_ <sup>_ωj_</sup> . Then, the coarse-grid solution is represented by where _L_ ( _u_ ) = _−_ <sup>_<u>∂</u>_</sup> _∂xi_ - _κij_ ( _x_ ) _∂x_ <sup>_<u>∂</u>_</sup> _∂x_ <sup>_<u>∂</u>_</sup> _j_ <sup>_u_</sup> _uH_ = _i_ _ciφ_ <sup>_ωi_</sup> _,_ where _ci_ are determined from _a_ ( _uH_ _, vH_ ) = ( _f, vH_ ) _,_ for all _vH_ _∈_ _V_ 0 _._ (10) In the above formulation, we define _V_ 0 = span _{φ_ <sup>_ωi_</sup> _}_, _κ_ ( _x_ ) _∇u_ ( _x_ ) _∇v_ ( _x_ ) and ( _f, v_ ) = 6 Ω _a_ ( _u, v_ ) = Ω _f_ ( _x_ ) _v_ ( _x_ ) _._ (11) One can also view MsFEM in the discrete setting. Assume that the basis functions are defined on a fine grid as Φ <sup>_ωi_</sup> with _i_ varying from 1 to _Nc_, where _Nc_ is the number of multiscale basis functions. Given coarse-scale basis functions, the coarse space is given by _V_ 0 = span _{_ Φ <sup>_ωi_</sup> _}_ <sup>_N_</sup> _i_ =1 <sup>_c_</sup> <sup>_,_</sup> (12) and the coarse matrix is given by _AH_ = _R_ 0 <sup>_T_</sup> <sup>_AR_</sup> <sup>0</sup> <sup>where</sup> <sup>_A_</sup> <sup>is</sup> <sup>the</sup> <sup>fine-scale</sup> <sup>stiffness</sup> <sup>matrix</sup> <sup>and</sup> _R_ 0 = [Φ <sup>_ω_</sup> <sup>1</sup> _, . . .,_ Φ <sup>_ωNc_</sup> ] _._ Here Φ <sup>_ωi_</sup> ’s are discrete coarse-scale basis functions defined on a fine grid (i.e., column vectors). Multiscale finite element solution is the finite element projection of the fine-scale solution into the space _V_ 0. More precisely, multiscale solution _UH_ is given by _AH_ _uH_ = _fH_ _,_ where _fH_ = _R_ 0 <sup>_T_</sup> _fH_ = _R_ 0 <sup>_T_</sup> <sup>_b_</sup> <sup>.</sup> <sup>Next,</sup> <sup>we</sup> <sup>discuss</sup> <sup>some</sup> <sup>coarse</sup> <sup>spaces.</sup> Linear boundary conditions. Let _χ_ <sup>0</sup> _i_ <sup>be</sup> <sup>the</sup> Linear boundary conditions. Let _χ_ <sup>0</sup> _i_ <sup>be</sup> <sup>the</sup> <sup>standard</sup> <sup>piecewise</sup> <sup>linear</sup> <sup>or</sup> <sup>piecewise</sup> <sup>polynomial</sup> <sup>basis</sup> function supported in _ωi_ . We define multiscale finite element basis functions that coincide with _χ_ <sup>0</sup> _i_ <sup>on</sup> <sup>the</sup> boundaries of the coarse partition. In particular, <sup>_ms_</sup> _i_ ) = 0 in _K_ _∈_ _ωi,_ _χ_ <sup>_ms_</sup> _i_ div( _κ∇χ_ <sup>_ms_</sup> _i_ <sup>_ms_</sup> _i_ = _χ_ <sup>0</sup> _i_ <sup>0</sup> _i_ in _∂K,_ _∀_ _K_ _⊂_ _ωi,_ (13) where _K_ is a coarse grid block within _ωi_ . Note that multiscale basis functions coincide with standard finite element basis functions on the boundaries of coarse grid blocks, while are oscillatory in the interior of each coarse grid block. Remark 3. _We_ _would_ _like_ _to_ _remark_ _that_ _the_ _MsFEM_ _formulation_ _allows_ _one_ _to_ _take_ _advantage_ _of_ _scale_ _separation._ _In_ _particular,_ _K_ _can_ _be_ _chosen_ _to_ _be_ _a_ _volume_ _smaller_ _than_ _the_ _coarse_ _grid_ _and_ _the_ _integrals_ _in_ _the_ _stiffness_ _matrix_ _computations_ _need_ _to_ _be_ _re-scaled_ _(see_ _[37]_ _for_ _discussions)._ Remark 4 (The relation between MsFEM and numerical homogenization) . _It_ _can_ _be_ _shown_ _([37])_ _that_ _the_ _MsFEM_ _with_ _one_ _basis_ _function_ _on_ _triangular_ _elements_ _yields_ _the_ _same_ _coarse-grid_ _stiffness_ _matrix_ _as_ _the_ _numerical homogenization.This is due to the fact that the numerical homogenization uses the local solutions of_ _PDEs_ _as_ _in_ _the_ _MsFEM._ _However,_ _the_ _MsFEM_ _has_ _several_ _advantages,_ _which_ _include_ _fine-scale_ _information_ _recovery,_ _adaptivity_ _based_ _on_ _the_ _residual,_ _the_ _use_ _of_ _global_ _information_ _and_ _so_ _on_ _([37])._ Remark 5 (The relation between MsFEM and some other multiscale techniques) . _The_ _relation_ _between_ _the_ _MsFEM_ _and_ _other_ _multiscale_ _methods_ _is_ _discussed_ _in_ _[37]._ _It_ _can_ _be_ _shown_ _that_ _the_ _MsFEM_ _can_ _use_ _an_ _approximation_ _of_ _multiscale_ _basis_ _functions_ _if_ _there_ _is_ _a_ _periodicity._ _As_ _a_ _result,_ _the_ _MsFEM_ _can_ _recover_ _a_ _similar_ _approximation_ _and_ _the_ _computational_ _cost_ _as_ _Heterogeneous_ _Multiscale_ _Method_ _([29])_ _for_ _elliptic_ _equations_ _in_ _the_ _presence_ _of_ _scale_ _separation._ _The_ _relation_ _of_ _the_ _MsFEM_ _and_ _variational_ _multiscale_ _method_ _([53]) is also discussed_ _in_ _[37]._ _The_ _variational multiscale method (VMM) recovers the fine-scale information_ _via_ _the_ _equation_ _for_ _the_ _residual._ _The_ _localization_ _of_ _this_ _equation_ _and_ _the_ _choice_ _of_ _the_ _initial_ _multiscale_ _spaces_ _are_ _important_ _for_ _the_ _VMM._ _It_ _can_ _be_ _shown_ _that_ _with_ _a_ _simple_ _choice,_ _one_ _can_ _recover_ _the_ _MsFEM._ _On_ _the_ _other_ _hand,_ _one_ _can_ _use_ _more_ _sophisticated_ _coarse_ _spaces_ _and_ _the_ _residual_ _recovery,_ _to_ _improve_ _the_ _accuracy_ _of_ _the_ _VMM_ _[10]._ Oversampling technique. Because of linear boundary conditions, the basis functions do not capture the fine-scale features of the solution along the boundaries. This can lead to large errors. When coefficients have a single physical scale _ϵ_, it has been shown that the error (see [52]) is proportional to _ϵ/H_, and thus can be large when _H_ is close to _ϵ_ . Motivated by such examples, Hou and Wu in [50] proposed an oversampling technique for multiscale finite element method. Specifically, let _ψ_ <sup>+</sup> <sup>_,ωi_</sup> be the basis functions satisfying the homogeneous elliptic equation in the larger domain _K_ <sup>+</sup> _⊃_ _K_ (see Figure 1). We then form the actual basis _φ_ <sup>+</sup> <sup>_,ωi_</sup> by linear combination of _ψ_ <sup>+</sup> <sup>_,ωi_</sup>, _φ_ <sup>+</sup> <sup>_,ωi_</sup> = <sup>�</sup> _j_ <sup>_αijψ_</sup> <sup>+</sup> <sup>_,ωj_</sup> <sup>,</sup> <sup>and</sup> <sup>restricting</sup> <sup>them</sup> <sup>to</sup> <sup>_K_</sup> <sup>.</sup> <sup>The</sup> <sup>coefficients</sup> 7 _αij_ are determined by condition _φ_ <sup>+</sup> <sup>_,ωi_</sup> ( _xj_ ) = _δij_, where _xj_ are nodal points. Other conditions can also be imposed (e.g., _αij_ are determined based on homogenized parts of _ψ_ <sup>+</sup> <sup>_,ωi_</sup> ). Note that this method is nonconforming. One can also multiply the oversampling functions by linear basis functions to restrict them onto _ωi_ and have a conforming method. Numerical results and more discussions on oversampling methods can be found in [37]. Many other boundary conditions are introduced and analyzed in the literature. For example, reduced boundary conditions are found to be efficient in many porous media applications ([54]). The use of limited global information. Previously, we discussed multiscale methods which employ local information in computing basis functions with the exception of energy minimizing basis functions. The accuracy of these approaches depends on local boundary conditions. Though effective in many cases, multiscale methods that only use local information may not accurately capture the local features of the solution. In a number of previous papers, multiscale methods that employ limited global information is introduced. The main idea of these multiscale methods is to incorporate some fine-scale information about the solution that can not be computed locally and that is given globally. More precisely, in these approaches, we assume that the solution can be represented by a number of fields _p_ 1,..., _pN_, such that _u ≈_ _G_ ( _p_ 1 _, ..., pN_ ) _,_ (14) where _G_ is sufficiently smooth function, and _p_ 1,.., _pN_ are global fields. These fields typically contain the essential information about the heterogeneities at different scales and can also be local fields defined in larger domains. In the above assumption (14), _pi_ are solutions of elliptic equations. These global fields are used to construct multiscale basis functions (often multiple basis functions per a coarse node). Finding _p_ 1, ..., _pN_, in general, can be a difficult task and we refer to Owhadi and Zhang [62] as well as to [36] where various choices of global information are proposed. ### 4 Generalized Multiscale Finite Element Method. Basic Concepts 4.1 Overview Previous multiscale finite element concepts focus on constructing one basis function per node. As we discussed earlier these approaches are similar to numerical homogenization (upscaling), i.e., one can use one basis function to localize the effects of local heterogeneities. However, for many complex heterogeneities, multiple basis functions are needed to represent the local solution space. For example, if the coarse region contains several high-conductivity regions, one needs multiple multiscale basis functions to represent the local solution space. In this section, we discuss how to systematically construct multiscale basis functions in a general framework Generalized Multiscale Finite Element Methods. Generalized Multiscale Finite Element Method (GMsFEM) incorporates complex input space information and the input-output relation. It systematically enriches the coarse space through our local construction. Our approach, as in many multiscale and model reduction techniques, divides the computation into two stages (see Figure 3): offline and online. In the offline stage, we construct a small dimensional space that can be efficiently used in the online stage to construct multiscale basis functions. These multiscale basis functions can be re-used for any input parameter to solve the problem on a coarse-grid. Thus, this provides a substantial computational saving in the online stage. Below, we present an outline of the algorithm and will discuss its main ideas on the example of (9). Offline computations: (1) Coarse grid generation; (2) Construction of snapshot space that will be used to compute an offline space. (3) Construction of a small dimensional offline space by performing dimension reduction in the space of snapshots. Online computations: (1) For each input parameter, compute multiscale basis functions (for parameter dependent problems); (2) Solution of a coarse-grid problem for any force term and boundary condition; (3) Iterative solvers, if needed. 8 OFFLINE ONLINE _Given a parameter;_ _Generate a coarse grid_ _For each coarse region_ _Compute local_ _snapshots_ _Reduce the dimension_ _of local snapshot space_ _using a spectral_ _decomposition_ _Output: Reduced dimensional_ _offline space and downscaling operators_ _a right_ _hand side;_ _and boundary condition_ _For each coarse region_ _Compute local basis_ _using a spectral decomposition_ _Solve a coarse−scale problem_ _<mark>Iterative process (if needed)</mark>_ Figure 3: Flow chart 4.2 Examples of snapshot spaces. Oversampling and non-oversampling The snapshot space, denoted by _VH,_ <sup>_ωi_</sup> snap <sup>for</sup> <sup>a</sup> <sup>generic</sup> <sup>domain</sup> <sup>_ωi_</sup> <sup>,</sup> <sup>is</sup> <sup>defined</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>region</sup> <sup>_ωi_</sup> <sup>(with</sup> elements of the space denoted _ψl_ <sup>_ωi_</sup> <sup>) and can approximate the solution space with a prescribed accuracy.</sup> <sup>The</sup> appropriate snapshot space (1) yields faster convergence, (2) imposes problem relevant restrictions on the coarse spaces (e.g., divergence free solutions) and (3) reduces the computational cost of building the offline spaces. In particular, we emphasize that the use of oversampling in the snapshot spaces can improve the convergence. 4.2.1 All fine-grid functions We can use local fine-scale spaces consisting of fine-grid basis functions within a coarse region. More precisely, the snapshot vectors consists of unit vectors defined on a fine grid within a coarse region. In this case, the offline spaces will be computed on a fine grid directly ([31]). 4.2.2 Harmonic extensions This choice of snapshot space consists of harmonic extension of fine-grid functions defined on the boundary of _ωi_ . More precisely, for each fine-grid function, _δl_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>_δ_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>)</sup> <sup>=</sup> <sup>_δl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ωi_</sup> <sup>),</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>_δ_</sup> _l_ <sup>_h_</sup> of _ωi_ . More precisely, for each fine-grid function, _δl_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>_δ_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>)</sup> <sup>=</sup> <sup>_δl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ωi_</sup> <sup>),</sup> where _Jh_ ( _ωi_ ) denotes the set of fine-grid boundary nodes on _∂ωi_, we obtain a snapshot function _ψl_ <sup>_ωi_</sup> by _l_ <sup>_ωi_</sup> by _L_ ( _ψl_ <sup>_ωi_</sup> <sup>) = 0</sup> <sup>in</sup> <sup>_ωi_</sup> subject to the boundary condition, _ψl_ <sup>_ωi_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>on</sup> <sup>_∂ωi_</sup> <sup>.</sup> <sup>Here</sup> <sup>_δl,k_</sup> <sup>= 1</sup> <sup>if</sup> <sup>_l_</sup> <sup>=</sup> <sup>_k_</sup> <sup>and</sup> <sup>_δl,k_</sup> <sup>= 0</sup> <sup>if</sup> <sup>_l̸_</sup> <sup>=</sup> <sup>_k_</sup> <sup>.</sup> _l_ <sup>_ωi_</sup> = _δl_ <sup>_h_</sup> <sup>_̸_</sup> 4.2.3 Oversampling approaches To describe the oversampling approach, we consider the harmonic extension as described above in the oversampled region (see, e.g., Figure 1). This choice of snapshot space consists of harmonic extension of fine-grid functions defined on the boundary of _ωi_ <sup>+.</sup> <sup>More precisely, for each fine-grid function,</sup> <sup>_δ_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>), which is</sup> defined by _δl_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) =</sup> <sup>_δl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+),</sup> <sup>where</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+)</sup> <sup>denotes</sup> <sup>the</sup> <sup>set</sup> <sup>of</sup> <sup>fine-grid</sup> <sup>boundary</sup> <sup>nodes</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>+,</sup> we obtain a snapshot function _ψl_ <sup>+</sup> <sup>_,ωi_</sup> by _l_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) =</sup> <sup>_δl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+</sup> _i_ <sup>+),</sup> <sup>where</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+</sup> _i_ <sup>+.</sup> <sup>More precisely, for each fine-grid function,</sup> <sup>_δ_</sup> _l_ <sup>_h_</sup> _i_ <sup>+)</sup> <sup>denotes</sup> <sup>the</sup> <sup>set</sup> <sup>of</sup> <sup>fine-grid</sup> <sup>boundary</sup> <sup>nodes</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>+</sup> _l_ <sup>+</sup> <sup>_,ωi_</sup> by _L_ ( _ψl_ <sup>+</sup> <sup>_,ωi_</sup> _i_ _l_ <sup>+</sup> <sup>_,ωi_</sup> ) = 0 in _ωi_ <sup>+</sup> subject to the boundary condition, _ψl_ <sup>+</sup> <sup>_,ωi_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>+</sup> _l_ <sup>+</sup> <sup>_,ωi_</sup> = _δl_ <sup>_h_</sup> _i_ <sup>+.</sup> 9 4.2.4 Randomized boundary conditions In the above construction of snapshot vectors, many local problems are solved. This is not necessary and one can only solve a relatively small number of snapshot vectors. The number of snapshot vectors is defined by the number of offline multiscale basis functions. In this case, we will use random boundary conditions. More precisely, for each fine-grid function, _rl_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>_r_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) =</sup> <sup>_rl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+),</sup> <sup>where</sup> _rl,k_ are random numbers, we obtain a snapshot function _ψl_ <sup>+</sup> <sup>_,ωi_</sup> by More precisely, for each fine-grid function, _rl_ <sup>_h_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>),</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>by</sup> <sup>_r_</sup> _l_ <sup>_h_</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>) =</sup> <sup>_rl,k,_</sup> <sup>_∀xk_</sup> <sup>_∈_</sup> <sup>_Jh_</sup> <sup>(</sup> <sup>_ω_</sup> _i_ <sup>+</sup> _l_ <sup>+</sup> <sup>_,ωi_</sup> by _L_ ( _ψl_ <sup>+</sup> <sup>_,ωi_</sup> _i_ _l_ <sup>+</sup> <sup>_,ωi_</sup> ) = 0 in _ωi_ <sup>+</sup> subject to the boundary condition, _ψl_ <sup>+</sup> <sup>_,_</sup> <sup>snap</sup> _l_ <sup>_h_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>+</sup> _l_ <sup>+</sup> <sup>_,_</sup> <sup>snap</sup> = _rl_ <sup>_h_</sup> _i_ <sup>+.</sup> 4.3 Offline spaces The offline space, denoted by _VH,_ <sup>_ωi_</sup> off <sup>for</sup> <sup>a</sup> <sup>generic</sup> <sup>domain</sup> <sup>_ωi_</sup> <sup>,</sup> <sup>is</sup> <sup>defined</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>region</sup> <sup>_ωi_</sup> <sup>(with</sup> elements of the space denoted _φ_ <sup>_ω_</sup> _l_ <sup>_i_</sup> <sup>)</sup> <sup>and</sup> <sup>used</sup> <sup>to</sup> <sup>approximate</sup> <sup>the</sup> <sup>solution.</sup> The offline space is constructed by performing a spectral decomposition in the snapshot space and selecting the dominant eigenvectors (corresponding to the smallest eigenvalues). The choice of the spectral problem is important for the convergence and is derived from the analysis as it is described below. The convergence rate of the method is proportional to 1 _/_ Λ _∗_, where Λ _∗_ is the smallest eigenvalue among all coarse blocks whose corresponding eigenvector is not included in the offline space. Our goal is to select the local spectral problem to remove as many small eigenvalues as possible so that we can obtain smaller dimensional coarse spaces to achieve a higher accuracy. 4.3.1 General concept and example The construction of the offline space requires solving an appropriate local spectral eigenvalue problem. The local spectral problem is derived from the analysis. A first step in the analysis is to decompose the energy functional corresponding to the error into coarse subdomains. For simplicity, we denote the energy functional corresponding to the domain Ωby _a_ Ω( _u, u_ ), e.g., _a_ Ω( _u, u_ ) = �Ω <sup>_κ∇u · ∇u_</sup> <sup>.</sup> <sup>Then,</sup> Ω <sup>_κ∇u · ∇u_</sup> <sup>.</sup> <sup>Then,</sup> _H_ <sup>_ω_</sup> <sup>)</sup> <sup>_,_</sup> (15) _aω_ ( _u_ <sup>_ω_</sup> _−_ _u_ <sup>_ω_</sup> _H_ <sup>_ω_</sup> _H_ <sup>_, uω −_</sup> <sup>_u_</sup> _H_ <sup>_ω_</sup> _a_ Ω( _u −_ _uH_ _, u −_ _uH_ ) _⪯_ _ω_ where _ω_ are coarse regions ( _ωi_ ), _u_ <sup>_ω_</sup> is the localization of the solution using the snapshot vectors defined for _ω_ and _u_ <sup>_ω_</sup> _H_ <sup>is</sup> <sup>the</sup> <sup>component</sup> <sup>of</sup> <sup>the</sup> <sup>solution</sup> <sup>_uH_</sup> <sup>spanned</sup> <sup>by</sup> <sup>the</sup> <sup>basis</sup> <sup>in</sup> <sup>_ω_</sup> <sup>.</sup> (sinceThe _u_ <sup>_ω_</sup> local _∈_ _VH,_ spectral <sup>_ω_</sup> snap <sup>)</sup> <sup>such</sup> decomposition <sup>that</sup> <sup>for</sup> <sup>any</sup> is <sup>_ψ_</sup> chosen <sup>_∈_</sup> <sup>_V_</sup> _H,_ <sup>_ω_</sup> snapto bound <sup>,</sup> <sup>there</sup> _a_ <sup>exists</sup> _ω_ ( _u_ <sup>_ω_</sup> _−_ <sup>_ψ_</sup> _u_ <sup>0</sup> <sup>_ω_</sup> _H_ <sup>_∈, uVω_</sup> _H,_ <sup>_ω −_</sup> off <sup>_u_</sup> <sup>with,</sup> <sup>_ω_</sup> _H_ <sup>).</sup> <sup>We</sup> <sup>seek</sup> <sup>the</sup> <sup>subspace</sup> <sup>_V_</sup> _H,_ <sup>_ω_</sup> off and _u_ <sup>_ω_</sup> _H_ <sup>is</sup> <sup>the</sup> <sup>component</sup> <sup>of</sup> <sup>the</sup> <sup>solution</sup> <sup>_uH_</sup> <sup>spanned</sup> <sup>by</sup> <sup>the</sup> <sup>basis</sup> <sup>in</sup> <sup>_ω_</sup> <sup>.</sup> The local spectral decomposition is chosen to bound _aω_ ( _u_ <sup>_ω_</sup> _−_ _u_ <sup>_ω_</sup> _H_ <sup>_, uω −_</sup> <sup>_ω_</sup> _H_ <sup>).</sup> <sup>We</sup> <sup>seek</sup> <sup>the</sup> <sup>subspace</sup> <sup>_V_</sup> _H,_ <sup>_ω_</sup> _H,_ <sup>_ω_</sup> snap <sup>)</sup> <sup>such</sup> <sup>that</sup> <sup>for</sup> <sup>any</sup> <sup>_ψ_</sup> <sup>_∈_</sup> <sup>_V_</sup> _H,_ <sup>_ω_</sup> _H,_ <sup>_ω_</sup> snap <sup>,</sup> <sup>there</sup> <sup>exists</sup> <sup>_ψ_</sup> <sup>0</sup> <sup>_∈_</sup> <sup>_V_</sup> _H,_ <sup>_ω_</sup> <sup>_ω_</sup> _H_ <sup>_, uω −_</sup> <sup>_uω_</sup> _H_ _H,_ <sup>_ω_</sup> off <sup>with,</sup> _aω_ ( _ψ −_ _ψ_ 0 _, ψ −_ _ψ_ 0) _⪯_ _δsω_ ( _ψ −_ _ψ_ 0 _, ψ −_ _ψ_ 0) _,_ (16) where _sω_ ( _·, ·_ ) is an auxiliary bilinear form, which needs to be chosen and _δ_ is a threshold related to eigenvalues. First, we would like the fine-scale solution to be bounded in _sω_ ( _·, ·_ ). We note that, in computations, (16) involves solving a generalized eigenvalue problem with a mass matrix defined using _sω_ ( _·, ·_ ) and the basis functions are selected based on dominant eigenvalues as described above. The threshold value _δ_ is chosen based on the eigenvalue distribution. Secondly, we would like the eigenvalue problem to have a fast decay in the spectrum (this typically requires using oversampling techniques). Thirdly, we would like to bound <sup>_ω_</sup> _H_ <sup>)</sup> <sup>_⪯_</sup> <sup>�</sup> <sup>_a_</sup> <sup>Ω(</sup> <sup>_u, u_</sup> <sup>)</sup> <sup>_,_</sup> _ω_ _sω_ ( _u_ <sup>_ω_</sup> _−_ _u_ <sup>_ω_</sup> _H_ <sup>_ω_</sup> _H_ <sup>_, uω −_</sup> <sup>_uω_</sup> _H_ where - _a_ Ω( _u, u_ ) can be bounded independent of physical parameters and the mesh sizes. In this step, one can need energy minimizing snapshots (See Remark 8 and [18]). 10 Next, we discuss a choice for _aω_ ( _·, ·_ ) and _sω_ ( _·, ·_ ). Recall that for (16), we need a a local spectral problem, which is to find a real number _λ_ and _v_ _∈_ _VH,_ <sup>_ωi_</sup> snap <sup>such</sup> <sup>that</sup> _aωi_ ( _v, w_ ) = _λsωi_ ( _v, w_ ) _,_ _∀w_ _∈_ _VH,_ <sup>_ωi_</sup> snap <sup>_,_</sup> (17) where _aωi_ is a symmetric non-negative definite bilinear operator and _sωi_ is a symmetric positive definite bilinear operators defined on _VH,_ <sup>_ωi_</sup> snap <sup>_× V_</sup> _H,_ <sup>_ωi_</sup> snap <sup>.</sup> <sup>Based</sup> <sup>on</sup> <sup>our</sup> <sup>analysis,</sup> <sup>we</sup> <sup>can</sup> <sup>choose</sup> _H,_ <sup>_ωi_</sup> snap <sup>_× V_</sup> _H,_ <sup>_ωi_</sup> _H,_ <sup>_ωi_</sup> snap <sup>.</sup> <sup>Based</sup> <sup>on</sup> <sup>our</sup> <sup>analysis,</sup> <sup>we</sup> <sup>can</sup> <sup>choose</sup> _ωi_ _κvw,_ _aωi_ ( _v, w_ ) = _ωi_ _κ∇v · ∇w,_ _sωi_ ( _v, w_ ) = where _κ_ - = <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> <sup>_κ∇χ_</sup> _i_ <sup>_ms_</sup> _i_ <sup>_ms_</sup> _·_ _∇χ_ <sup>_ms_</sup> _i_ and _χ_ <sup>_ms_</sup> _i_ <sup>_ms_</sup> _i_ are multiscale basis functions (see (13)). We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> where _κ_ - = <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> <sup>_κ∇χ_</sup> _i_ <sup>_ms_</sup> _·_ _∇χ_ <sup>_ms_</sup> _i_ and _χ_ <sup>_ms_</sup> _i_ are multiscale basis functions (see (13)). We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> be the eigenvalues of (17) arranged in ascending order. We will use the first _li_ eigenfunctions to construct our offline space _VH,_ <sup>_ωi_</sup> off <sup>.</sup> The choice of the eigenvalue problem is motivated by the convergence analysis. The convergence rate is proportional to 1 _/_ Λ _∗_ (with the proportionality constant depending on _H_ ), where Λ _∗_ is the smallest eigenvalue that the corresponding eigenvector is not included in the offline space. We would like to remove as many small eigenvalues as possible. The eigenvectors of the corresponding small eigenvalues represent important features of the solution space. By choosing the multiscale basis functions, _χ_ <sup>_ms_</sup> _i_, in the construction of local spectral problem, some localizable important features are taken into consideration through _χ_ <sup>_ms_</sup> _i_ and, as a result, we have fewer small eigenvalues (see [31] for more discussions). For constructing conforming multiscale basis functions, the selected eigenfunctions are multiplied by the partition of unity functions, such as _χ_ <sup>_ms_</sup> _i_ or _χ_ <sup>0</sup> _i_ <sup>(cf.,</sup> <sup>[60]).</sup> The multiplication by the partition of unity functions modifies the multiscale nature of the selected multiscale eigenfunctions. We will discuss some other important discretizations such as mixed, discontinuous Galerkin discretizations, which can be more suitable for the coupling of the multiscale eigenfunctions and which avoid the multiplication by the partition of unity functions. The global offline space _VH,_ off is formed as the union of all _VH,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>Once</sup> <sup>the</sup> <sup>offline</sup> <sup>space</sup> <sup>_ms_</sup> _i_ or _χ_ <sup>0</sup> _i_ of unity functions. The global offline space _VH,_ off is formed as the union of all _VH,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>Once</sup> <sup>the</sup> <sup>offline</sup> <sup>space</sup> is constructed, we solve (10) and find _uH_ = <sup>�</sup> _ci,jφj_ <sup>_ωi_</sup> _∈_ _VH,_ off such that _j_ <sup>_ωi_</sup> _∈_ _VH,_ off such that _a_ ( _uH_ _, vH_ ) = ( _f, vH_ ) _,_ _∀vH_ _∈_ _VH,_ off _._ (18) 4.3.2 An implementation view Next, we present an implementation view of the local spectral decomposition. The space formed by the snapshot vectors is _l_ <sup>+</sup> <sup>_,ωi_</sup> : 1 _≤_ _l ≤_ _L_ <sup>+</sup> _i_ <sup>_}_</sup> _VH,_ <sup>_ωi_</sup> _H,_ <sup>_ωi_</sup> snap <sup>= span</sup> <sup>_{_</sup> <sup>Ψ</sup> _l_ <sup>_ωi_</sup> _l_ <sup>_ωi_</sup> : 1 _≤_ _l ≤_ _Li},_ _VH,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>= span</sup> <sup>_{_</sup> <sup>Ψ</sup> _l_ <sup>+</sup> <sup>_,ωi_</sup> for each coarse neighborhood _ωi_ and for each oversampled coarse neighborhood _ωi_ <sup>+</sup> for each coarse neighborhood _ωi_ and for each oversampled coarse neighborhood _ωi_ <sup>+,</sup> <sup>respectively,</sup> <sup>where</sup> <sup>_Li_</sup> and _L_ <sup>+</sup> _i_ <sup>are</sup> <sup>the</sup> <sup>dimensions</sup> <sup>of</sup> <sup>the</sup> <sup>snapshot</sup> <sup>spaces</sup> <sup>_V_</sup> _H,_ <sup>_ωi_</sup> snap <sup>and</sup> <sup>_V_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>.</sup> <sup>We</sup> <sup>note</sup> <sup>that</sup> <sup>in</sup> <sup>the</sup> <sup>case</sup> <sup>when</sup> <sup>_ωi_</sup> <sup>is</sup> adjacent to the global boundary, no oversampled domain is used. We can put all snapshot functions using a matrix representation _H,_ <sup>_ωi_</sup> snap <sup>and</sup> <sup>_V_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>+</sup> _i_ <sup>are</sup> <sup>the</sup> <sup>dimensions</sup> <sup>of</sup> <sup>the</sup> <sup>snapshot</sup> <sup>spaces</sup> <sup>_V_</sup> _H,_ <sup>_ωi_</sup> _L_ <sup>+</sup> _i_ _,_ _R_ snap <sup>_ωi_</sup> <sup>=</sup> �Ψ <sup>_ω_</sup> 1 <sup>_i, . . .,_</sup> <sup>Ψ</sup> <sup>_ω_</sup> _L_ <sup>_i_</sup> _i_ - _,_ _R_ snap <sup>+</sup> <sup>_,ωi_</sup> <sup>=</sup> �Ψ <sup>+</sup> 1 <sup>_,ωi_</sup> <sup>+</sup> 1 <sup>_,ωi_</sup> _, . . .,_ Ψ <sup>+</sup> _L_ <sup>+</sup> <sup>_,ωi_</sup> _i_ The local spectral problems (17) can be written in a matrix form as _A_ <sup>_ωi_</sup> Ψ <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>=</sup> <sup>_λω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_iSωi_</sup> <sup>Ψ</sup> <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_i,_</sup> _A_ <sup>+</sup> <sup>_,ωi_</sup> Ψ <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>=</sup> <sup>_λω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_iS_</sup> <sup>+</sup> <sup>_,ωi_</sup> <sup>Ψ</sup> _k_ <sup>_ωi_</sup> _k_ <sup>_ωi_</sup> (19) for the _k_ -th eigenpair. We present two choices: one with no oversampling and one with oversampling, though one can consider various options [35]. In (19), with no oversampling, we can choose _A_ <sup>_ωi_</sup> = [ _a_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>]</sup> and _S_ <sup>_ωi_</sup> = [ _s_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>],</sup> <sup>where</sup> <sup>_aω_</sup> _mn_ <sup>_i_</sup> <sup>=</sup> - _ωi_ <sup>_κ∇ψ_</sup> _m_ <sup>_ωi_</sup> <sup>_· ∇ψ_</sup> _n_ <sup>_ωi_</sup> = ( _R_ snap <sup>_ωi_</sup> <sup>)</sup> <sup>_T AR_</sup> snap <sup>_ωi_</sup> <sup>and</sup> and _s_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>=</sup> - _ωi_ <sup>_κ ψ_</sup> <sup>�</sup> _m_ <sup>_ωi_</sup> <sup>_ψ_</sup> _n_ <sup>_ωi_</sup> = and _S_ <sup>_ωi_</sup> = [ _s_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>],</sup> <sup>where</sup> <sup>_aω_</sup> _mn_ <sup>_i_</sup> <sup>=</sup> - _ωi_ <sup>_κ∇ψ_</sup> _m_ <sup>_ωi_</sup> <sup>_· ∇ψ_</sup> _n_ <sup>_ωi_</sup> = ( _R_ snap <sup>_ωi_</sup> <sup>)</sup> <sup>_T AR_</sup> snap <sup>_ωi_</sup> <sup>and</sup> and _s_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>=</sup> - _ωi_ <sup>_κ ψ_</sup> <sup>�</sup> _m_ <sup>_ωi_</sup> <sup>_ψ_</sup> _n_ <sup>_ωi_</sup> = ( _R_ snap <sup>_ωi_</sup> <sup>)</sup> <sup>_T SR_</sup> snap <sup>_ωi_</sup> <sup>.</sup> <sup>With</sup> <sup>oversampling,</sup> <sup>we</sup> <sup>can</sup> <sup>choose</sup> <sup>_A_</sup> <sup>+</sup> <sup>_,ωi_</sup> <sup>=</sup> <sup>[</sup> <sup>_a_</sup> <sup>+</sup> _mn_ <sup>_,ωi_</sup> <sup>]</sup> <sup>and</sup> <sup>_S_</sup> <sup>+</sup> <sup>_,ωi_</sup> <sup>=</sup> <sup>[</sup> <sup>_s_</sup> <sup>+</sup> _mn_ <sup>_,ωi_</sup> <sup>],</sup> <sup>where</sup> <sup>_a_</sup> _mn_ <sup>+</sup> <sup>_,ωi_</sup> = - _· ∇ψ_ <sup>+</sup> <sup>_,ωi_</sup> = ( _R_ snap <sup>+</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_T AR_</sup> <sup>+</sup> <sup>_,ωi_</sup> = - _ψ_ <sup>+</sup> <sup>_,ωi_</sup> = ( _R_ snap <sup>+</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_T SR_</sup> <sup>+</sup> <sup>_,ωi_</sup> _ωi_ <sup>_κ∇ψ_</sup> _m_ <sup>_ωi_</sup> <sup>_· ∇ψ_</sup> _n_ <sup>_ωi_</sup> = ( _R_ snap <sup>_ωi_</sup> <sup>)</sup> <sup>_T AR_</sup> snap <sup>_ωi_</sup> <sup>and</sup> and _s_ <sup>_ω_</sup> _mn_ <sup>_i_</sup> <sup>=</sup> _i_ <sup>+</sup> <sup>_κ∇ψ_</sup> _m_ <sup>+</sup> <sup>_,ωi_</sup> _· ∇ψn_ <sup>+</sup> <sup>_,ωi_</sup> = ( _R_ snap <sup>+</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_T AR_</sup> snap <sup>+</sup> <sup>_,ωi_</sup> <sup>and</sup> <sup>_s_</sup> _mn_ <sup>+</sup> <sup>_,ωi_</sup> = _ω_ <sup>+</sup> <sup>+</sup> _m_ _ψn_ <sup>+</sup> <sup>_,ωi_</sup> = ( _R_ snap <sup>+</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_T SR_</sup> snap <sup>+</sup> <sup>_,ωi_</sup> <sup>.</sup> <sup>To</sup> <sup>generate</sup> _i_ <sup>_κ ψ_</sup> <sup>�</sup> <sup>+</sup> <sup>_,ωi_</sup> _ω_ <sup>+</sup> 11 the offline space we then choose the smallest _li_ eigenvalues and form the corresponding eigenvectors in the <sup>_ω_</sup> _k_ <sup>_i_</sup> and Ψ <sup>+</sup> _k_ <sup>_,ωi_</sup> _i_ _j_ <sup>_L_</sup> =1 <sup>+</sup> <sup>Ψ</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> _ψj_ <sup>+</sup> <sup>_,ωi_</sup> respective space of snapshots by setting _φ_ <sup>_ω_</sup> _k_ <sup>_i_</sup> _j_ <sup>_L_</sup> =1 <sup>_i_</sup> <sup>Ψ</sup> _kj_ <sup>_ωi_</sup> _kj_ <sup>_ωiψ_</sup> _j_ <sup>_ωi_</sup> _j_ <sup>_ωi_</sup> or _φ_ <sup>+</sup> _k_ <sup>_,ωi_</sup> <sup>+</sup> _k_ <sup>_,ωi_</sup> = <sup>�</sup> _j_ <sup>_L_</sup> =1 _i_ <sup>+</sup> respective space of snapshots by setting _φ_ <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>= �</sup> _j_ <sup>_L_</sup> =1 <sup>_i_</sup> <sup>Ψ</sup> _kj_ <sup>_ωiψ_</sup> _j_ <sup>_ωi_</sup> or _φ_ <sup>+</sup> _k_ <sup>_,ωi_</sup> = <sup>�</sup> _j_ <sup>_L_</sup> =1 _i_ <sup>+</sup> <sup>Ψ</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> _ψj_ <sup>+</sup> <sup>_,ωi_</sup> (for _k_ = 1 _, . . ., Li_ or _k_ = 1 _, · · ·_ _, L_ <sup>+</sup> _i_ <sup>),</sup> <sup>where</sup> <sup>Ψ</sup> <sup>_ω_</sup> _kj_ <sup>_i_</sup> <sup>and</sup> <sup>Ψ</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> are the coordinates of the vector Ψ <sup>_ω_</sup> _k_ <sup>_i_</sup> and Ψ <sup>+</sup> _k_ <sup>_,ωi_</sup> respectively. Collecting all offline basis functions and using a single index notation, we then create the offline matrices _R_ off <sup>+</sup> <sup>=</sup> - _ψ_ 1 <sup>+</sup> <sup>_,_</sup> <sup>off</sup> _, . . ., ψM_ <sup>+</sup> <sup>_,_</sup> off <sup>off</sup> - and _R_ off = - _ψ_ 1 <sup>off</sup> <sup>_, . . ., ψ_</sup> _M_ <sup>off</sup> off� to be used in the online space construction, where <sup>_ω_</sup> _kj_ <sup>_i_</sup> <sup>and</sup> <sup>Ψ</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> <sup>+</sup> _i_ <sup>),</sup> <sup>where</sup> <sup>Ψ</sup> <sup>_ω_</sup> _kj_ <sup>_i_</sup> _kj_ <sup>+</sup> <sup>_,ωi_</sup> are the coordinates of the vector Ψ <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>_ω_</sup> _k_ <sup>_i_</sup> <sup>= �</sup> _j_ <sup>_Li_</sup> 1 <sup>off</sup> <sup>_, . . ., ψ_</sup> _M_ <sup>off</sup> off _M_ off - to be used in the online space construction, where off <sup>+</sup> <sup>=</sup> - _ψ_ 1 <sup>+</sup> <sup>_,_</sup> <sup>off</sup> 1 <sup>+</sup> <sup>_,_</sup> <sup>off</sup> _, . . ., ψM_ <sup>+</sup> <sup>_,_</sup> off <sup>off</sup> and _R_ off = - _ψ_ 1 <sup>off</sup> _M_ off is the total number of offline basis functions. The discrete system corresponding to (18) is _R_ <sup>_T_</sup> off <sup>_T_</sup> <sup>_AR_</sup> <sup>off</sup> <sup>_u_</sup> <sup>discrete</sup> _H_ <sup>discrete</sup> _H_ = _R_ off <sup>_T_</sup> off <sup>_T_</sup> <sup>_f_</sup> where _u_ <sup>discrete</sup> _H_ is the discrete version of _uH_ . 4.4 A numerical example We present a numerical result that demonstrate the convergence of the GMsFEM. More detailed numerical studies can be found in the literature. We consider the permeability field, _κ_ ( _x_ ) (see (9)) that is shown in Figure 4, the source term _f_ = 0, and the boundary condition to be _x_ 1. The fine grid is 100 _×_ 100, coarse grid is 10 _×_ 10. We consider the snapshot space spanned by harmonic functions in the oversampled domain (with randomized boundary conditions) and vary the number of basis functions per node. The numerical results are shown in Table 1 in which _ea_ and _e_ 2 denote errors in energy and _L_ <sup>2</sup> norms repsectively. As we observe from these numerical results the GMsFEM converges as we increase the number of basis functions. We also show the convergence when using polynomial basis functions. It is clear that the FEM method with polynomial basis functions does not converge and one can only observe this convergence only after a very large number of basis functions are chosen so that we cross the fine-scale threshold. We note that the convergence with one basis function per node does not perform well for the GMsFEM because of the high contrast. The first, second, and third smallest eigenvalues, Λ _∗_, among all coarse blocks are 0 _._ 0024, 24 _._ 0071, 35 _._ 6941, respectively. We emphasize that if the eigenvalue problem (and the snapshot space) is not chosen appropriately, one can get more very small eigenvalues ([31]). As we see that the first smallest eigenvalue is very small and, as a result, the error is large, when using one basis function. The eigenvalue distribution is important for online basis construction, as will be discussed later. 10 20 30 40 50 60 70 80 90 100 x 104 5.5 5 4.5 4 3.5 3 2.5 2 1.5 1 0.5 20 40 60 80 100 Figure 4: The permeability field _κ_ ( _x_ ). ### 5 Adaptivity in GMsFEM The success of the GMsFEM depends on adaptive implementation and appropriate error indicators. In this section, we discuss an a-posteriori error indicator for the GMsFEM framework. We will demonstrate the main idea using a continuous Galerkin formulation; however, this concept can be generalized to other discretizations as we will discuss later on. This error indicator is further used to develop an adaptive 12 <u>#basis</u> <u>(DOF)</u> _<u>ea</u>_ _<u>e</u>_ <u>2</u> <u>1</u> <u>(81)</u> <u>69.05%</u> <u>12.19%</u> <u>2</u> <u>(162)</u> <u>22.55%</u> <u>1.19%</u> <u>3</u> <u>(243)</u> <u>19.86%</u> <u>0.99%</u> <u>4</u> <u>(324)</u> <u>16.31%</u> <u>0.70%</u> <u>5</u> <u>(405)</u> <u>14.20%</u> <u>0.65%</u> <u>DOF</u> _<u>ea</u>_ _<u>e</u>_ <u>2</u> <u>81</u> <u>103.2%</u> <u>23%</u> <u>361</u> <u>100%</u> <u>23%</u> <u>841</u> <u>80.33%</u> <u>15%</u> Table 1: Left table: The convergence for the GMsFEM using multiscale basis functions. Right table: The convergence for FEM using polynomials basis functions. enrichment algorithm for the linear elliptic equation with multiscale high-contrast coefficients. Rigorous a-posteriori error indicators are needed to perform an adaptive enrichment. We would like to point out that there are many related activities in designing a-posteriori error estimates for global reduced models. The main difference is that the error estimators presented in this section are based on a special local eigenvalue problem and use the eigenstructure of the offline space. We can consider various kinds of error indicators that are based on the _L_ <sup>2</sup> -norm of the local residual and the other is based on the weighted _H_ <sup>_−_</sup> <sup>1</sup> -norm (we will also call it _H_ <sup>_−_</sup> <sup>1</sup> -norm based) of the local residual where the weight is related to the coefficient of the elliptic equation. The latter will be studied in the paper and we refer to [25] for more details. Let _uH_ _∈_ _VH,_ off be the solution obtained in (18). Consider a given coarse neighborhood _ωi_ . We define a space _Vi_ = _H_ 0 <sup>1(</sup> <sup>_ωi_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_V_</sup> <sup>which</sup> <sup>is</sup> <sup>equipped</sup> <sup>with</sup> <sup>the</sup> <sup>norm</sup> <sup>_∥v∥_</sup> <sup>2</sup> _Vi_ <sup>=</sup> - _ωi_ <sup>_κ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_|∇v|_</sup> <sup>2.</sup> <sup>We</sup> <sup>also</sup> <sup>define</sup> <sup>the</sup> <sup>following</sup> 0 <sup>1(</sup> <sup>_ωi_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_V_</sup> <sup>which</sup> <sup>is</sup> <sup>equipped</sup> <sup>with</sup> <sup>the</sup> <sup>norm</sup> <sup>_∥v∥_</sup> <sup>2</sup> _Vi_ <sup>=</sup> space _Vi_ = _H_ 0 <sup>1(</sup> <sup>_ωi_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_V_</sup> <sup>which</sup> <sup>is</sup> <sup>equipped</sup> <sup>with</sup> <sup>the</sup> <sup>norm</sup> <sup>_∥v∥_</sup> <sup>2</sup> _Vi_ <sup>=</sup> - _ωi_ <sup>_κ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_|∇v|_</sup> <sup>2.</sup> <sup>We</sup> <sup>also</sup> <sup>define</sup> <sup>the</sup> <sup>following</sup> linear functional on _Vi_ by _κ∇uH_ _· ∇v._ (20) _Ri_ ( _v_ ) = _fv −_ _ωi_ _ωi_ This is called the _H_ <sup>_−_</sup> <sup>1</sup> -residual on _ωi_, The functional norm of _Ri_, denoted by _∥Ri∥Vi_ <sup>_∗_</sup> <sup>,</sup> <sup>gives</sup> <sup>a</sup> <sup>measure</sup> <sup>of</sup> the size of the residual. The first important result states that these residuals give a computable indicator of the error _u −_ _uH_ in the energy norm. We have _∥u −_ _uH_ _∥_ <sup>2</sup> _V_ <sup>_≤_</sup> <sup>_C_</sup> <sup>err</sup> _∥u −_ _uH_ _∥_ <sup>2</sup> _V_ _Nc_ _i_ =1 _∥Ri∥_ <sup>2</sup> _V_ <sup>2</sup> _V_ <sup>_∗_</sup> _i_ <sup>_∗_</sup> <sup>(</sup> <sup>_λ_</sup> _l_ <sup>_ω_</sup> _i_ <sup>_i_</sup> _l_ <sup>_ω_</sup> _i_ <sup>_i_</sup> +1 <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_,_</sup> (21) where _C_ err is a uniform constant, and _λ_ <sup>_ω_</sup> _li_ <sup>_i_</sup> where _C_ err is a uniform constant, and _λ_ <sup>_ω_</sup> _li_ <sup>_i_</sup> +1 <sup>denotes</sup> <sup>the</sup> <sup>(</sup> <sup>_li_</sup> <sup>+ 1)-th</sup> <sup>eigenvalue</sup> <sup>for</sup> <sup>the</sup> <sup>problem</sup> <sup>(19)</sup> <sup>in</sup> <sup>the</sup> coarse neighborhood _ωi_, and corresponds to the first eigenvector that is not included in the construction of _VH,_ <sup>_ωi_</sup> off <sup>.</sup> The above error indicator allows one to construct an adaptive enrichment algorithm. It is an iterative process, and basis functions are added in each iteration based on the current solution. We use the index _m ≥_ 1 to represent the enrichment level. At the enrichment level _m_, we use _VH,_ <sup>_m_</sup> off <sup>to denote the corresponding</sup> GMsFEM space and _u_ <sup>_m_</sup> _H_ <sup>the</sup> <sup>corresponding</sup> <sup>solution</sup> <sup>obtained</sup> <sup>in</sup> <sup>(18)</sup> <sup>using</sup> <sup>the</sup> <sup>space</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>.</sup> <sup>Furthermore,</sup> we use _li_ <sup>_m_</sup> to denote the number of basis functions used in the coarse neighborhood _ωi_ . We will present the strategy for getting the space _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>from</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>.</sup> <sup>Let</sup> <sup>0</sup> <sup>_< θ_</sup> <sup>_<_</sup> <sup>1</sup> <sup>be</sup> <sup>a</sup> <sup>given</sup> <sup>number</sup> <sup>independent</sup> <sup>of</sup> <sup>_m_</sup> <sup>.</sup> <sup>First</sup> of all, we compute the local residuals for every coarse neighborhood _ωi_ : _H,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>_m_</sup> _H_ <sup>the</sup> <sup>corresponding</sup> <sup>solution</sup> <sup>obtained</sup> <sup>in</sup> <sup>(18)</sup> <sup>using</sup> <sup>the</sup> <sup>space</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> _H,_ <sup>_m_</sup> off <sup>+1</sup> <sup>from</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> _ηi_ <sup>2</sup> _i_ <sup>2</sup> <sup>=</sup> <sup>_∥Ri∥_</sup> _V_ <sup>2</sup> _V_ <sup>2</sup> <sup>_∗_</sup> _i_ <sup>_∗_</sup> <sup>(</sup> <sup>_λ_</sup> _l_ <sup>_ω_</sup> _i_ <sup>_mi_</sup> _l_ <sup>_m_</sup> _l_ <sup>_ω_</sup> _i_ <sup>_mi_</sup> <sup>+1)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_,_</sup> _i_ = 1 _,_ 2 _, · · ·_ _, Nc,_ where _Ri_ ( _v_ ) is defined using _u_ <sup>_m_</sup> _H_ <sup>,</sup> <sup>namely,</sup> _ωi_ _κ∇u_ <sup>_m_</sup> _H_ <sup>_· ∇v,_</sup> _∀v_ _∈_ _Vi._ _κ∇u_ <sup>_m_</sup> _H_ _Ri_ ( _v_ ) = _ωi_ _fv −_ Next, we will add basis functions for the coarse neighborhoods with large residuals. To do so, we reenumerate the coarse neighborhoods so that the above local residuals _ηi_ <sup>2</sup> <sup>are</sup> <sup>arranged</sup> <sup>in</sup> <sup>decreasing</sup> <sup>order</sup> 13 _η_ 1 <sup>2</sup> <sup>_≥_</sup> <sup>_η_</sup> 2 <sup>2</sup> <sup>_≥· · · ≥_</sup> <sup>_η_</sup> _N_ <sup>2</sup> <sup>.</sup> <sup>We</sup> <sup>then</sup> <sup>select</sup> <sup>the</sup> <sup>smallest</sup> <sup>integer</sup> <sup>_k_</sup> <sup>such</sup> <sup>that</sup> _k_ _i_ =1 _ηi_ <sup>2</sup> <sup>_._</sup> (22) _θ_ _Nc_ _i_ =1 _ηi_ <sup>2</sup> <sup>_≤_</sup> For those coarse neighborhoods _ω_ 1 _, · · ·_ _, ωk_ (in the new enumeration) chosen in the above procedure, we will add basis functions by using the next eigenfunctions Ψ <sup>_ω_</sup> _li_ <sup>_i_</sup> +1 <sup>_,_</sup> <sup>Ψ</sup> <sup>_ω_</sup> _li_ <sup>_i_</sup> +2 <sup>_, · · ·_</sup> <sup>.</sup> <sup>We</sup> <sup>remark</sup> <sup>that</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>new</sup> additional basis depends on the eigenvalue decay. The resulting space is called _V_ off <sup>_m_</sup> <sup>+1</sup> . We remark that the choice of _k_ defined in (22) is called the Dorlfer’s bulk marking strategy [27]. As we mentioned the local basis functions do not contain any global information, and thus they cannot be used to efficiently capture these global behaviors. We will therefore present in the next section a fundamental ingredient of GMsFEM - the development of online basis functions that is necessary to obtain a coarse representation of the fine-scale solution and gives a rapid convergence of the corresponding adaptive enrichment algorithm. Remark 6 (Implementation) . _The_ _algorithm_ _above_ _can_ _be_ _described_ _as_ _follows._ _We_ _start_ _with_ _an_ _initial_ _space_ _with_ _a_ _small_ _number_ _of_ _basis_ _functions_ _for_ _each_ _coarse_ _grid_ _block._ _Then_ _we_ _solve_ _the_ _problem_ _and_ _compute_ _the_ _error_ _estimator._ _We_ _locate_ _the_ _coarse_ _grid_ _blocks_ _with_ _large_ _errors_ _and_ _add_ _more_ _basis_ _functions_ _for_ _these_ _coarse_ _grid_ _blocks._ _This_ _procedure_ _is_ _repeated_ _until_ _the_ _error_ _goes_ _below_ _a_ _certain_ _tolerance._ _We_ _remark_ _that_ _the_ _adaptive_ _strategy_ _belongs_ _to_ _the_ _online_ _process,_ _because_ _it_ _is_ _the_ _actual_ _simulation._ _On_ _the_ _other_ _hand,_ _the_ _generation_ _of_ _basis_ _functions_ _belongs_ _to_ _the_ _offline_ _process._ _About_ _stopping_ _criteria_ _for_ _this_ _algorithm,_ _one_ _can_ _stop_ _the_ _algorithm_ _when_ _the_ _total_ _number_ _of_ _basis_ _functions_ _reach_ _a_ _certain_ _level._ _On_ _the_ _other_ _hand,_ _one_ _can_ _stop_ _the_ _algorithm_ _when_ _the_ _value_ _of_ _the_ _error_ _indicator_ _goes_ _below_ _a_ _certain_ _tolerance._ Remark 7 (Goal Oriented Adaptivity) . _For_ _some_ _practical_ _problems,_ _one_ _is_ _interested_ _in_ _approximating_ _some_ _function_ _of_ _the_ _solution,_ _known_ _as_ _the_ _quantity_ _of_ _interest,_ _rather_ _than_ _the_ _solution_ _itself._ _Examples_ _include an average or weighted average of the solution over a particular subdomain,_ _or some localized solution_ _response._ _In_ _these_ _cases,_ _goal-oriented_ _adaptive_ _methods_ _yield_ _a_ _more_ _efficient_ _approximation_ _than_ _standard_ _adaptivity,_ _as_ _the_ _enrichment_ _of_ _degrees_ _of_ _freedom_ _is_ _focused_ _on_ _the_ _local_ _improvement_ _of_ _the_ _quantity_ _of_ _interest_ _rather_ _than_ _across_ _the_ _entire_ _solution._ _In_ _[30],_ _we_ _study_ _goal-oriented_ _adaptivity_ _for_ _multiscale_ _methods,_ _and_ _in_ _particular_ _the_ _design_ _of_ _error_ _indicators_ _to_ _drive_ _the_ _adaptive_ _enrichment_ _based_ _on_ _the_ _goal_ _function._ _In_ _this_ _methodology,_ _one_ _seeks_ _to_ _determine_ _the_ _number_ _of_ _multiscale_ _basis_ _functions_ _adaptively_ _for_ _each_ _coarse_ _region_ _to_ _efficiently_ _reduce_ _the_ _error_ _in_ _the_ _goal_ _functional._ _Two_ _estimators_ _are_ _studied._ _One_ _is_ _a_ _residual_ _based_ _strategy_ _and_ _the_ _other_ _uses_ _dual_ _weighted_ _residual_ _method_ _for_ _multiscale_ _problems._ _The_ _method_ _is_ _demonstrated_ _on_ _high-contrast_ _problems_ _with_ _heterogeneous_ _multiscale_ _coefficients,_ _and_ _is_ _seen_ _to_ _outperform the standard residual based strategy with respect to efficient reduction of error in the goal function._ 5.1 Numerical Results We show numerical results for the _H_ <sup>_−_</sup> <sup>1</sup> adaptivity. We consider the permeability field shown in Figure 4 for (9) and the forcing term shown in Figure 5. In Table 2, we present the numerical results and in Figure 5 (right plot), we compare the convergence of the adaptive GMsFEM and the GMsFEM, which uses a uniform number of basis functions. As we observe that the adaptive GMsFEM converges faster. <u>#DOF</u> _<u>ea</u>_ _<u>e</u>_ <u>2</u> <u>81</u> <u>75.04%</u> <u>42.48%</u> <u>151</u> <u>30.47%</u> <u>7.84%</u> <u>245</u> <u>22.65%</u> <u>4.70%</u> <u>334</u> <u>18.76%</u> <u>3.59%</u> <u>395</u> <u>16.84%</u> <u>3.08%</u> <u>#DOF</u> _<u>ea</u>_ _<u>e</u>_ <u>2</u> <u>81</u> <u>75.04%</u> <u>42.48%</u> <u>162</u> <u>33.39%</u> <u>6.74%</u> <u>243</u> <u>27.00%</u> <u>5.52%</u> <u>324</u> <u>25.11%</u> <u>4.72%</u> <u>405</u> <u>21.68%</u> <u>3.50%</u> Table 2: Errors for the adaptive GMsFEM. Left: Adaptive enrichment. Right: Uniform enrichment. 14 −0.2 −0.4 −0.6 −0.8 −1 −1.2 −1.4 −1.6 −1.8 −2 10 20 30 40 50 60 70 80 90 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 Adaptive enrichment <u>Uniform enrichment</u> 100 0 20 40 60 80 100 −2.2 4 4.5 5 5.5 6 6.5 7 log(DOF) Figure 5: Left: Source function _f_ . Right: The convergence of adaptive vs. uniform enrichment. ### 6 Residual-based online procedure Previously, we discussed adaptive enrichment procedures and derived an a-posteriori error indicator, which gives an estimate of the local error over coarse grid regions. We developed the error indicators based on the _L_ <sup>2</sup> -norm of the local residual and on the weighted _H_ <sup>_−_</sup> <sup>1</sup> -norm of the local residual, where the weight is related to the coefficient of the elliptic equation. Adaptivity is important for local multiscale methods as it identifies regions with large errors. However, after adding some initial basis functions, one needs to take into account some global information as the distant effects can be important. In this section, we discuss the development of online basis functions that substantially accelerate the convergence of GMsFEM. The online basis functions are constructed based on a residual and motivated by the analysis. We show that one needs to have a sufficient number of initial (offline) basis functions to guarantee an error decay independent of the contrast. In particular, the error decay in one adaptive iteration is proportional to 1 _−_ _C_ Λ _∗_ (see (25) for more precise estimate), where Λ _∗_ is the smallest eigenvalue among all coarse blocks that the corresponding eigenvector is not included in the offline space. Thus, it is important to include all eigenvectors corresponding to very small eigenvalues in the offline space. In general, we would like to apply one iteration of the online procedure and reach a desired error threshold. Numerical results are presented to demonstrate that one needs to have a sufficient number of initial basis functions in the offline space before constructing online multiscale basis functions. 6.1 Residual-based online adaptive GMsFEM We use the index _m_ _≥_ 1 to represent the enrichment level. At the enrichment level _m_, we use _VH,_ <sup>_m_</sup> We use the index _m_ _≥_ 1 to represent the enrichment level. At the enrichment level _m_, we use _VH,_ <sup>_m_</sup> off <sup>to</sup> denote the corresponding GMsFEM space and _u_ <sup>_m_</sup> _H_ <sup>the</sup> <sup>corresponding</sup> <sup>solution.</sup> <sup>The</sup> <sup>sequence</sup> <sup>of</sup> <sup>functions</sup> _{u_ <sup>_m_</sup> _H_ <sup>_}m≥_</sup> <sup>1</sup> <sup>will converge to the fine-scale solution.</sup> <sup>We emphasize that the space</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>can contain both offline</sup> and online basis functions. We will construct a strategy for getting the space _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>from</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>.</sup> <sup>The</sup> <sup>online</sup> basis functions are computed based on some local residuals for the current multiscale solution, that is, the function _u_ <sup>_m_</sup> _H,_ off <sup>.</sup> Suppose that we need to add a basis function _φ_ <sup>on</sup> <sup>_,ωi_</sup> _∈_ _Vi_ on the _i_ -th coarse neighbourhood _ωi_ . Let _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>=</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>+ span</sup> <sup>_{φ_</sup> <sup>on</sup> <sup>_,ωi}_</sup> <sup>be</sup> <sup>the</sup> <sup>new</sup> <sup>approximation</sup> <sup>space,</sup> <sup>and</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> <sup>+1</sup> _∈_ _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>be</sup> <sup>the</sup> <sup>corresponding</sup> GMsFEM solution. It is easy to see that _u_ <sup>_m_</sup> _H_ <sup>+1</sup> satisfies <sup>_m_</sup> _H_ <sup>_}m≥_</sup> <sup>1</sup> <sup>will converge to the fine-scale solution.</sup> <sup>We emphasize that the space</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> _H,_ <sup>_m_</sup> off <sup>+1</sup> <sup>from</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> _H,_ <sup>_m_</sup> off <sup>+ span</sup> <sup>_{φ_</sup> <sup>on</sup> <sup>_,ωi}_</sup> <sup>be</sup> <sup>the</sup> <sup>new</sup> <sup>approximation</sup> <sup>space,</sup> <sup>and</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> <sup>+1</sup> _H,_ <sup>_m_</sup> off <sup>+1</sup> <sup>=</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> _H_ <sup>_m_</sup> <sup>+1</sup> _∈_ _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>_m_</sup> _H_ <sup>+1</sup> satisfies _∥u −_ _u_ <sup>_m_</sup> _H_ <sup>+1</sup> <sup>2</sup> _V_ <sup>=</sup> inf _v∈VH,_ <sup>_m_</sup> <sup>+1</sup> off <sup>_m_</sup> _H_ <sup>+1</sup> _∥_ <sup>2</sup> _V_ _∥u −_ _v∥_ <sup>2</sup> _V_ <sup>_._</sup> _H,_ off Taking _v_ = _u_ <sup>_m_</sup> _H_ <sup>+1</sup> + _αφ_ <sup>on</sup> <sup>_,ωi_</sup>, where _α_ is a scalar to be determined, we have _∥u −_ _u_ <sup>_m_</sup> _H_ <sup>+1</sup> <sup>2</sup> _V_ <sup>_≤∥u −_</sup> <sup>_um_</sup> _H_ _H_ <sup>_m∥_</sup> <sup>2</sup> _V_ <sup>_m_</sup> _H_ <sup>+1</sup> _∥_ <sup>2</sup> _V_ <sup>_m_</sup> _H_ <sup>_−_</sup> <sup>_αφ_</sup> <sup>on</sup> <sup>_,ωi∥_</sup> <sup>2</sup> _V_ <sup>2</sup> _V_ <sup>=</sup> <sup>_∥u −_</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> <sup>2</sup> _V_ <sup>_−_</sup> <sup>2</sup> <sup>_αa_</sup> <sup>(</sup> <sup>_u −_</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> _H_ <sup>_m, φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>) +</sup> <sup>_α_</sup> <sup>2</sup> <sup>_a_</sup> <sup>(</sup> <sup>_φ_</sup> <sup>on</sup> <sup>_,ωi, φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_._</sup> (23) The last two terms in the above inequality measure the amount of reduction in error when the new basis function _φ_ <sup>on</sup> <sup>_,ωi_</sup> is added to the space _VH,_ <sup>_m_</sup> off <sup>.</sup> <sup>To</sup> <sup>determine</sup> <sup>_φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>,</sup> <sup>we</sup> <sup>first</sup> <sup>assume</sup> <sup>that</sup> <sup>the</sup> <sup>basis</sup> <sup>function</sup> 15 _φ_ <sup>on</sup> <sup>_,ωi_</sup> is normalized so that _a_ ( _φ_ <sup>on</sup> <sup>_,ωi_</sup> _, φ_ <sup>on</sup> <sup>_,ωi_</sup> ) = 1. In order to maximize the reduction in error, one can show that _α_ = _a_ ( _u −_ _u_ <sup>_m_</sup> _H_ <sup>_, φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>).</sup> <sup>Using</sup> <sup>this</sup> <sup>choice</sup> <sup>of</sup> <sup>_α_</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup> _∥u −_ _u_ <sup>_m_</sup> _H_ <sup>+1</sup> <sup>2</sup> _V_ <sup>_≤∥u −_</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> <sup>_m_</sup> _H_ <sup>+1</sup> _∥_ <sup>2</sup> _V_ _H_ <sup>_m∥_</sup> <sup>2</sup> _V_ <sup>2</sup> _V_ <sup>_−|a_</sup> <sup>(</sup> <sup>_u −_</sup> <sup>_u_</sup> _H_ <sup>_m_</sup> _H_ <sup>_m, φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>)</sup> <sup>_|_</sup> <sup>2</sup> <sup>_._</sup> We can show that _a_ ( _φ_ <sup>on</sup> <sup>_,ωi_</sup> _, v_ ) = ( _f, v_ ) _−_ _a_ ( _u_ <sup>_m_</sup> _H_ <sup>_, v_</sup> <sup>)</sup> <sup>_,_</sup> _∀v_ _∈_ _Vi_ (24) and _∥φ_ <sup>on</sup> <sup>_,ωi_</sup> _∥Vi_ = _∥Ri∥Vi_ <sup>_∗_</sup> <sup>.</sup> <sup>Hence,</sup> <sup>the</sup> <sup>new</sup> <sup>online</sup> <sup>basis</sup> <sup>function</sup> <sup>_φ_</sup> <sup>on</sup> <sup>_,ωi_</sup> <sup>_∈_</sup> <sup>_Vi_</sup> <sup>can</sup> <sup>be</sup> <sup>obtained</sup> <sup>by</sup> <sup>solving</sup> <sup>(24).</sup> In addition, the residual norm _∥Ri∥Vi_ <sup>_∗_</sup> <sup>provides</sup> <sup>a</sup> <sup>measure</sup> <sup>on</sup> <sup>the</sup> <sup>amount</sup> <sup>of</sup> <sup>reduction</sup> <sup>in</sup> <sup>energy</sup> <sup>error.</sup> and _∥φ_ <sup>on</sup> <sup>_,ωi_</sup> _∥Vi_ = _∥Ri∥Vi_ <sup>_∗_</sup> In addition, the residual norm _∥Ri∥Vi_ <sup>_∗_</sup> <sup>provides</sup> <sup>a</sup> <sup>measure</sup> <sup>on</sup> <sup>the</sup> <sup>amount</sup> <sup>of</sup> <sup>reduction</sup> <sup>in</sup> <sup>energy</sup> <sup>error.</sup> In [23, 24], we have studied the convergence of the above online adaptive procedure. To simplify notations, we write _ri_ = _∥Ri∥Vi_ <sup>_∗_</sup> <sup>.</sup> <sup>We</sup> <sup>have</sup> <sup>shown</sup> <sup>that</sup> _i_ <sup>_∗_</sup> <sup>.</sup> <sup>We</sup> <sup>have</sup> <sup>shown</sup> <sup>that</sup> _ri_ <sup>2(</sup> <sup>_λω_</sup> _<u>ni</u>_ <sup>_i_</sup> <u>+1</u> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <u>�</u> _Nj_ =1 _c_ <sup>_r_</sup> _j_ <sup>2(</sup> <sup>_λω_</sup> _nj_ <sup>_j_</sup> +1 _j_ <sup>2(</sup> <sup>_λω_</sup> _nj_ <sup>_j_</sup> <sup>_ω_</sup> _nj_ <sup>_j_</sup> +1 <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>2</sup> _V_ <sup>_,_</sup> (25) _∥u −_ _u_ <sup>_m_</sup> _H_ <sup>+1</sup> <sup>2</sup> _V_ <sup>_≤_</sup> <sup>_m_</sup> _H_ <sup>+1</sup> _∥_ <sup>2</sup> _V_ - _<u>ni</u>_ <u>+1</u> 1 _−_ <sup>_λωi_</sup> _C_ err _ri_ <sup>2</sup> _<u>i</u>_ <sup>2(</sup> <sup>_λω_</sup> _<u>ni</u>_ <sup>_i_</sup> - _∥u −_ _u_ <sup>_m_</sup> _H_ <sup>_m_</sup> _H_ <sup>_∥_</sup> <sup>2</sup> _V_ where _ni_ is the number of offline basis in _ωi_ . The above inequality gives the convergence of the online adaptive GMsFEM with a precise convergence rate for the case when one online basis function is added per iteration. The estimate (25) shows that the eigenvectors corresponding to very small eigenvalues need to be included in the offline space in order to achieve a significant error reduction in one iteration. To enhance the convergence and efficiency of the online adaptive GMsFEM, we consider enrichment on non-overlapping coarse neighborhoods. Let _I_ _⊂{_ 1 _,_ 2 _, · · ·_ _, N_ _}_ be the index set of some non-overlapping coarse neighborhoods. For each _i_ _∈_ _I_, we can obtain a basis function _φ_ <sup>on</sup> <sup>_,ωi_</sup> _∈_ _Vi_ using (24). We define _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>=</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>+ span</sup> <sup>_{φ_</sup> <sup>on</sup> <sup>_,ωi,_</sup> <sup>_i ∈_</sup> <sup>_I}_</sup> <sup>.</sup> _VH,_ <sup>_m_</sup> off <sup>+1</sup> <sup>=</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> off <sup>+ span</sup> <sup>_{φ_</sup> <sup>on</sup> <sup>_,ωi,_</sup> <sup>_i ∈_</sup> <sup>_I}_</sup> <sup>.</sup> We remark that the error will decrease independent of physical parameters such as the contrast and scales if the offline space is appropriately chosen. We will demonstrate the effectiveness of this method by a numerical example. We remark that one can also derive apriori error estimate for _∥u −_ _u_ <sup>_m_</sup> _H,_ <sup>+1</sup> off <sup>_∥_</sup> <sup>2</sup> _V_ <sup>.</sup> _H,_ <sup>_m_</sup> off <sup>+1</sup> <sup>=</sup> <sup>_V_</sup> _H,_ <sup>_m_</sup> <sup>_m_</sup> _H,_ <sup>+1</sup> off <sup>_∥_</sup> <sup>2</sup> _V_ <sup>2</sup> _V_ <sup>.</sup> 6.2 Numerical result In Table 3, we present numerical results for online enrichment for the GMsFEM. We use the permeability field shown in Figure 4 and the forcing term shown in Figure 5 (left figure). As we observe the online enrichment does not improve the error if we have only one offline basis function. We remind that the first, second, and third smallest eigenvalues, Λ _∗_, among all coarse blocks are 0 _._ 0024, 24 _._ 0071, 35 _._ 6941, respectively. Because the first eigenvalue is small, the error decrease in one online iteration is small. In particular, for each online iteration, the error decreases slightly. It is important that one adaptive online iteration can decrease the error substantially. As we increase the number of offline basis functions, the convergence is very fast and one online iteration is sufficient to reduce the error significantly. In one iteration, the error drops below 1% for the energy error. We note that this procedure can be implemented adaptively and we add online basis functions only in some regions. <u>DOF</u> _<u>\</u>_ <u>#initial</u> <u>basis</u> <u>1</u> <u>2</u> <u>3</u> <u>1</u> <u>2</u> <u>3</u> <u>81</u> <u>75.06%</u> <u>-</u> <u>-</u> <u>42.49%</u> <u>-</u> <u>-</u> <u>162</u> <u>32.77%</u> <u>33.50%</u> <u>-</u> <u>16.29%</u> <u>6.76%</u> <u>-</u> <u>243</u> <u>21.59%</u> <u>1.13%</u> <u>27.14%</u> <u>7.33%</u> <u>0.079%</u> <u>5.54</u> <u>324</u> <u>3.46%</u> <u>0.019%</u> <u>1.35%</u> <u>1.21%</u> <u>0.0018%</u> <u>0.081</u> <u>405</u> <u>2.45%</u> <u>2.61e-04%</u> <u>0.018%</u> <u>0.68%</u> <u>1.81e-05%</u> <u>0.0011</u> <u>486</u> <u>1.18%</u> <u>2.88e-06%</u> <u>2.49e-04%</u> <u>0.31%</u> <u>1.74e-07%</u> <u>1.60e-05%</u> Table 3: The errors for the GMsFEM with the online procedure (left table: _H_ <sup>1</sup> errors; right table: _L_ <sup>2</sup> errors). 16 ### 7 Selected global discretizations and energy minimizing oversam- pling In previous sections, we used continuous Galerkin coupling for multiscale basis functions. In many applications, one needs to use various discretizations. For example, for flows in porous media, mass conservation is very important and, thus, it is advantageous to use mixed methods. In seismic wave applications involving the time-explicit discretization of wave equations, one needs block-diagonal mass matrices, which can be obtained using discontinuous Galerkin approaches. In this section, we present two global couplings, mixed finite element and Interior Penalty Discontinuous Galerkin (IPDG) couplings. We refer to [39] for Hybridized Discontinuous Galerkin (HDG) coupling and to [18] for comparisons between using IPDG and HDG couplings with multiscale basis functions. For each discretization, we define snapshot spaces and local spectral decompositions in the snapshot spaces. As we emphasized earlier the construction of the snapshot spaces and local multiscale spaces depends on the global discretization. For example, for mixed GMsFEM, the multiscale spaces are constructed for the velocity field using two neighboring coarse elements. We will present some ingredients of GMsFEM introduced earlier in the construction of multiscale basis functions, e.g., oversampling techniques and online multiscale basis functions. We also mention a new ingredient for multiscale basis construction - energy minimizing snapshots. In a mixed formulation, the problem can be formulated as _κ_ <sup>_−_</sup> <sup>1</sup> _v_ + _∇u_ = 0 in Ω _,_ div( _v_ ) = _f_ in Ω _,_ (26) with Neumann boundary condition _v · n_ = _v_ Ω on _∂_ Ω. Depending on a discretization technique, the coarse grid configuration will vary. For a mixed formulation, coarse grid blocks that share common edges (faces) will be used in constructing multiscale basis functions. In a discontinuous Galerkin formulation, the support of multiscale basis functions is limited to coarse blocks. 7.1 Discretizations 7.1.1 The mixed GMsFEM For the mixed GMsFEM, we will construct basis functions whose supports are _ωE_, which are the two coarse elements that share a common edge (face) _E_ . In particular, we let _E_ <sup>_H_</sup> be the set of all edges (faces) of the coarse grid and let _Ne_ be the total number of edges (faces) of the coarse grid. We define the coarse grid neighborhood _ωE_ of a face _E_ _∈E_ <sup>_H_</sup> as _ωE_ = - _{K_ _∈T_ <sup>_H_</sup> : _E_ _∈_ _∂K},_ _i_ = 1 _,_ 2 _, · · ·_ _, Ne,_ which is a union of two coarse grid blocks if _Ei_ is an interior edge (face) (see Figure 1). For a coarse edge _Ei_, we write _ωEi_ = _ωi_ to unify the notations. Next, we define the notations for the solution spaces for the pressure _u_ and the velocity _v_ . Let _QH,_ off be the space of functions which are constant on each coarse grid block. We will use this space to approximate _u_ . For the multiscale approximation of the velocity _v_, we will follow the general framework of the GMsFEM and construct a multiscale space _VH,_ off for the velocity. Using the pressure space _QH,_ off and the velocity space _VH,_ off, we solve for _uH_ _∈_ _QH,_ off and _vH_ _∈_ _VH,_ off such that Ω Ω _κ_ <sup>_−_</sup> <sup>1</sup> _vH_ _· w −_ Ω div( _w_ ) _uH_ = 0 _,_ _∀w_ _∈_ _V_ <sup>˙</sup> _H,_ off _,_ div( _vH_ ) _q_ = Ω _fq,_ _∀q_ _∈_ _QH,_ off _,_ (27) with boundary condition _vH · n_ = _v_ Ω _,H_ on _∂_ Ω, where _V_ <sup>˙</sup> _H,_ off = _{v_ _∈_ _VH,_ off : _v · n_ = 0 on _∂_ Ω _}_, and _v_ Ω _,H_ is the projection of _v_ Ω in the multiscale space. We remark that we will define the snapshot and offline spaces so that the functions in _VH,_ off are globally _H_ (div)-conforming, and as a result the normal components of the basis are continuous across coarse grid edges. 17 7.1.2 DG GMsFEM (GMsDGM) For the GMsDGM, the general methodology for the construction of multiscale basis functions is similar to the above mixed GMsFEM. We will construct multiscale basis functions for the approximation of _u_ in (9). The main difference is that the functions in the snapshot space _VH,_ snap and the offline space _VH,_ off are supported in coarse element _K_, instead of the coarse neighborhood _ωi_ . Moreover, in the oversampling approach, the oversampled regions _K_ <sup>+</sup> are defined by enlarging coarse elements _K_ (see Figure 1). The construction of basis functions will be given in the next section. When the offline space _VH,_ off is available, we can find the solution _uH_ _∈_ _VH,_ off such that (see [15, 24]) _a_ DG( _uH_ _, q_ ) = ( _f, q_ ) _,_ _∀q_ _∈_ _VH,_ off _,_ (28) where the bilinear form _a_ DG is defined as _E_ _E∈E_ <sup>_H_</sup> _<u>κ</u>_ <u>[[</u> _u_ ]][[ _q_ ]] (29) _E_ - _{_ _κ∇u · nE_ _}_ [[ _q_ ]] + _{_ _κ∇q · nE_ _}_ [[ _u_ ]] + _<u>γ</u>_ _h_ _a_ DG( _u, q_ ) = _aH_ ( _u, q_ ) _−_ _E∈E_ <sup>_H_</sup> _K∈T_ <sup>_H_</sup> <sup>_a_</sup> _H_ <sup>_K_</sup> with _aH_ ( _p, q_ ) = <sup>�</sup> _H_ <sup>_K_</sup> <sup>(</sup> <sup>_p, q_</sup> <sup>),</sup> <sup>_aK_</sup> _H_ with _aH_ ( _p, q_ ) = <sup>�</sup> _K∈T_ <sup>_H_</sup> <sup>_a_</sup> _H_ <sup>_K_</sup> <sup>(</sup> <sup>_p, q_</sup> <sup>),</sup> <sup>_aK_</sup> _H_ <sup>(</sup> <sup>_p, q_</sup> <sup>)</sup> <sup>=</sup> - _K_ <sup>_κ∇p · ∇q_</sup> <sup>,</sup> <sup>where</sup> <sup>_γ_</sup> <sup>_>_</sup> <sup>0</sup> <sup>is</sup> <sup>a</sup> <sup>penalty</sup> <sup>parameter,</sup> <sup>_nE_</sup> <sup>is</sup> <sup>a</sup> fixed unit normal vector defined on the coarse edge _E_ _∈E_ <sup>_H_</sup> . Note that, in (29), the average and the jump operators are defined in the classical way. Specifically, consider an interior coarse edge _E_ _∈E_ <sup>_H_</sup> and let _KL_ and _KR_ be the two coarse grid blocks sharing the edge _E_ . For a piecewise smooth function _G_, we define _{_ _G_ _}_ = <sup><u>1</u></sup> 2 <sup>(</sup> <sup>_GR_</sup> <sup>+</sup> <sup>_GL_</sup> <sup>)</sup> <sup>_,_</sup> <sup>[[</sup> <sup>_G_</sup> <sup>]]</sup> <sup>=</sup> <sup>_GR_</sup> <sup>_−_</sup> <sup>_GL,_</sup> <sup>on</sup> <sup>_E_</sup> <sup>,</sup> <sup>where</sup> <sup>_GR_</sup> <sup>=</sup> <sup>_G|KR_</sup> <sup>and</sup> <sup>_GL_</sup> <sup>=</sup> <sup>_G|KL_</sup> <sup>and</sup> <sup>we</sup> <sup>assume</sup> <sup>that</sup> <sup>the</sup> normal vector _nE_ is pointing from _KR_ to _KL_ . Moreover, on the edge _E_, we define _<u>κ</u>_ = ( _κKR_ + _κKL_ ) _/_ 2 where _κKL_ is the maximum value of _κ_ over _KL_ and _κKR_ is defined similarly. For a coarse edge _E_ lying on the boundary _∂D_, we define _{_ _G_ _}_ = [[ _G_ ]] = _G,_ and _<u>κ</u>_ = _κK_ on _E_, where we always assume that _nE_ is pointing outside of _D_ . We note that the DG coupling (28) is the classical interior penalty discontinuous Galerkin (IPDG) method with the multiscale basis functions as the approximation space. <sup>_K_</sup> _H_ <sup>(</sup> <sup>_p, q_</sup> <sup>)</sup> <sup>=</sup> 7.2 Basis construction 7.2.1 Multiscale basis functions in mixed GMsFEM. Non-oversampling First, we present the construction of the snapshot space for the approximation of the velocity _v_ . The space is a large function space containing basis functions whose normal traces on coarse grid edges are resolved up to the fine grid level. Let _Ei_ _∈E_ <sup>_H_</sup> be a coarse edge. We can write the edge _Ei_ = <sup>�</sup> _j_ <sup>_J_</sup> =1 <sup>_i_</sup> <sup>_ej_</sup> <sup>,</sup> <sup>where</sup> <sup>the</sup> <sup>_ej_</sup> <sup>’s</sup> <sup>are</sup> the fine grid edges (faces) contained in _Ei_ and _Ji_ is the total number of those fine grid edges. To construct the snapshot vectors, for each _j_ = 1 _,_ 2 _, · · ·_ _, Ji_, we will solve the following local problem _κ_ <sup>_−_</sup> <sup>1</sup> _ψi,j_ + _∇ηi,j_ = 0 in _K_ _⊂_ _ωi,_ div( _ψi,j_ ) = _αi,j_ in _K_ _⊂_ _ωi,_ (30) subject to the Neumann boundary conditions _ψi,j_ _· ni_ = 0 on _∂ωi_ and _ψi,j_ _· nEi_ = _δj_ <sup>_h_</sup> subject to the Neumann boundary conditions _ψi,j_ _· ni_ = 0 on _∂ωi_ and _ψi,j_ _· nEi_ = _δj_ <sup>_h_</sup> <sup>on</sup> <sup>_Ei_</sup> <sup>,</sup> <sup>where</sup> <sup>_nE_</sup> _i_ <sup>is</sup> <sup>a</sup> unit normal vector on _Ei_, _δj_ <sup>_h_</sup> <sup>is</sup> <sup>a</sup> <sup>fine-scale</sup> <sup>discrete</sup> <sup>delta</sup> <sup>function</sup> <sup>defined</sup> <sup>by</sup> _j_ <sup>_h_</sup> <sup>is</sup> <sup>a</sup> <sup>fine-scale</sup> <sup>discrete</sup> <sup>delta</sup> <sup>function</sup> <sup>defined</sup> <sup>by</sup> _δj_ <sup>_h_</sup> <sup>=</sup> <sup>_{_</sup> <sup>1</sup> <sup>on</sup> <sup>_ej_</sup> <sup>;</sup> <sup>0</sup> <sup>on</sup> <sup>_Ei\ej}_</sup> (31) and _n_ is the outward unit-normal vector on _∂ωi_ . The function _αi,j_ is constant on each coarse grid block within _ωi_ and it should satisfy the condition - _K_ <sup>_αi,j_</sup> <sup>=</sup> - _∂K_ <sup>_ψi,j_</sup> <sup>_· ni_</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>grid</sup> <sup>_K_</sup> <sup>_∈_</sup> <sup>_ωi_</sup> <sup>.</sup> <sup>We</sup> <sup>denote</sup> _K_ <sup>_αi,j_</sup> <sup>=</sup> within _ωi_ and it should satisfy the condition - _K_ <sup>_αi,j_</sup> <sup>=</sup> - _∂K_ <sup>_ψi,j_</sup> <sup>_· ni_</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>grid</sup> <sup>_K_</sup> <sup>_∈_</sup> <sup>_ωi_</sup> <sup>.</sup> <sup>We</sup> <sup>denote</sup> the number of snapshots from (30) by _Li_ and the space spanned by these functions by _VH,_ <sup>_ωi_</sup> snap <sup>.</sup> Now, we define the local spectral problem for _VH,_ <sup>_ωi_</sup> snap <sup>for</sup> <sup>the</sup> <sup>construction</sup> <sup>of</sup> <sup>the</sup> <sup>offline</sup> <sup>space</sup> <sup>_V_</sup> _H,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>The</sup> local spectral problem is to find real number _λ_ and _v_ _∈_ _VH,_ <sup>_ωi_</sup> snap <sup>such</sup> <sup>that</sup> number of snapshots from (30) by _Li_ and the space spanned by these functions by _VH,_ <sup>_ωi_</sup> snap <sup>.</sup> Now, we define the local spectral problem for _VH,_ <sup>_ωi_</sup> snap <sup>for</sup> <sup>the</sup> <sup>construction</sup> <sup>of</sup> <sup>the</sup> <sup>offline</sup> <sup>space</sup> _H,_ <sup>_ωi_</sup> snap <sup>for</sup> <sup>the</sup> <sup>construction</sup> <sup>of</sup> <sup>the</sup> <sup>offline</sup> <sup>space</sup> <sup>_V_</sup> _H,_ <sup>_ωi_</sup> _H,_ <sup>_ωi_</sup> snap <sup>such</sup> <sup>that</sup> _ai_ ( _v, w_ ) = _λsi_ ( _v, w_ ) _,_ _∀w_ _∈_ _VH,_ <sup>_ωi_</sup> snap <sup>_,_</sup> (32) 18 where _ai_ is a symmetric non-negative definite bilinear operator and _si_ is a symmetric positive definite bilinear operators defined on _VH,_ <sup>_ωi_</sup> snap <sup>_× V_</sup> _H,_ <sup>_ωi_</sup> snap <sup>.</sup> <sup>Motivated</sup> <sup>by</sup> <sup>the</sup> <sup>analysis</sup> <sup>([21]),</sup> <sup>we</sup> <sup>choose</sup> _H,_ <sup>_ωi_</sup> snap <sup>_× V_</sup> _H,_ <sup>_ωi_</sup> _H,_ <sup>_ωi_</sup> snap <sup>.</sup> <sup>Motivated</sup> <sup>by</sup> <sup>the</sup> <sup>analysis</sup> <sup>([21]),</sup> <sup>we</sup> <sup>choose</sup> _ωi_ _κ_ <sup>_−_</sup> <sup>1</sup> _v · w_ + div( _v_ )div( _w_ ) _._ _ai_ ( _v, w_ ) = _Ei_ ( _v · nEi_ )( _w · nEi_ ) _,_ _si_ ( _v, w_ ) = We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> <sup>_ω_</sup> _j_ <sup>_i_</sup> be the eigenvalues of (32) arranged in ascending order, and _ψj_ <sup>_ωi_</sup> We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> be the eigenvalues of (32) arranged in ascending order, and _ψj_ <sup>_ωi_</sup> be the corresponding eigenfunc tions. We will use the first _li_ eigenfunctions to construct our offline space _VH,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>We note that it is important</sup> tions. We will use the first _li_ eigenfunctions to construct our offline space _VH,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>We note that it is important</sup> to keep the eigenfunctions with small eigenvalues in the offline space. The global offline space _VH,_ off is the union of all _VH,_ <sup>_ωi_</sup> off <sup>.</sup> The _oversampling_ can be performed by using the snapshots in the regions surrounding the edge and computing boundary conditions. We refer to [21] for the details. 7.2.2 Multiscale basis functions in GMsDGM. Oversampling For each _Ki_ _∈T_ <sup>_H_</sup>, we consider an oversampled region _Ki_ <sup>+</sup> _i_ <sup>+</sup> <sup>_⊃_</sup> <sup>_Ki_</sup> <sup>.</sup> <sup>We</sup> <sup>define</sup> <sup>_ψ_</sup> _i,j_ <sup>+</sup> _i,j_ <sup>+</sup> <sup>such</sup> <sup>that</sup> _−∇·_ ( _κ∇ψi,j_ <sup>+</sup> _i,j_ <sup>+</sup> <sup>) = 0</sup> <sup>in</sup> <sup>_K_</sup> _i_ <sup>+</sup> _i_ <sup>+</sup> <sup>_,_</sup> _ψi,j_ = _δj_ <sup>_h_</sup> _j_ <sup>_h_</sup> on _∂Ki_ <sup>+</sup> _i_ <sup>+</sup> <sup>_,_</sup> (33) _j_ <sup>_h_</sup> <sup>is</sup> <sup>the</sup> <sup>delta</sup> <sup>function</sup> <sup>defined</sup> <sup>in</sup> <sup>Section</sup> <sup>4.</sup> <sup>We</sup> <sup>denote</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>local</sup> <sup>snapshots</sup> <sup>by</sup> <sup>_L_</sup> <sup>+</sup> _i_ where _δj_ <sup>_h_</sup> where _δj_ <sup>_h_</sup> <sup>is</sup> <sup>the</sup> <sup>delta</sup> <sup>function</sup> <sup>defined</sup> <sup>in</sup> <sup>Section</sup> <sup>4.</sup> <sup>We</sup> <sup>denote</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>local</sup> <sup>snapshots</sup> <sup>by</sup> <sup>_L_</sup> <sup>+</sup> _i_ <sup>and</sup> <sup>the</sup> space spanned by these functions by _VH,_ <sup>+</sup> <sup>_,K_</sup> snap <sup>_i_</sup> <sup>.</sup> These basis functions _ψi,j_ <sup>+</sup> <sup>are supported in</sup> <sup>_K_</sup> _i_ <sup>+.</sup> <sup>We denote the restriction of</sup> <sup>_ψ_</sup> _i,j_ <sup>+</sup> <sup>on</sup> <sup>_Ki_</sup> <sup>by</sup> <sup>_ψi,j_</sup> <sup>.</sup> <sup>Then we</sup> remove the linear dependence of _ψi,j_ by performing Proper Orthogonal Decomposition (POD) ([49]). Next, we will define the local spectral problem as finding _λ_ and _v_ _∈_ _VH,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>such</sup> <sup>that</sup> spanned by these functions by _VH,_ <sup>+</sup> <sup>_,K_</sup> snap <sup>_i_</sup> <sup>.</sup> These basis functions _ψi,j_ <sup>+</sup> <sup>are supported in</sup> _i_ <sup>+.</sup> <sup>We denote the restriction of</sup> <sup>_ψ_</sup> _i,j_ <sup>+</sup> _i,j_ <sup>+</sup> <sup>are supported in</sup> <sup>_K_</sup> _i_ <sup>+</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>such</sup> <sup>that</sup> _ai_ ( _v, w_ ) = _λsi_ ( _v, w_ ) _∀w_ _∈_ _VH,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>_,_</sup> (34) where _ai_ is a symmetric non-negative definite bilinear operator and _si_ is a symmetric positive bilinear operators defined on _VH,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>_× V_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>,</sup> <sup>_ai_</sup> <sup>(</sup> <sup>_v, w_</sup> <sup>) =</sup> - _Ki_ <sup>+</sup> <sup>_κ∇v · ∇w_</sup> <sup>and</sup> <sup>_si_</sup> <sup>(</sup> <sup>_v, w_</sup> <sup>) =</sup> - _∂Ki_ <sup>_κ v w_</sup> <sup>.</sup> We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> be the eigenvalues of (34) arranged in ascending order, and _ψj_ <sup>+</sup> <sup>_,ωi_</sup> be the corresponding eigen functions. We denote _ψj_ <sup>_ωi_</sup> as the restriction of _ψj_ <sup>+</sup> <sup>_,ωi_</sup> on _Ki_ We will use the first _li_ restricted eigenfunctions to construct the offline space _VH,_ <sup>_ωi_</sup> off <sup>.</sup> <sup>We</sup> <sup>note</sup> <sup>that</sup> <sup>it</sup> <sup>is</sup> <sup>important</sup> <sup>to</sup> <sup>keep</sup> <sup>the</sup> <sup>eigenfunctions</sup> <sup>with</sup> <sup>small</sup> eigenvalues in the offline space. The global offline space _VH,_ off is the union of all _VH,_ <sup>_ωi_</sup> off <sup>.</sup> Remark 8 (Energy minimizing oversampling) . _For_ _efficient_ _online_ _simulations,_ _one_ _needs_ _to_ _develop_ _energy_ _minimizing_ _snapshot_ _vectors_ _[18]._ _In_ _these_ _approaches,_ _the_ _snapshot_ _vectors_ _are_ _computed_ _by_ _solving_ _local_ _constrained_ _minimization_ _problems._ _More_ _precisely,_ _first,_ _we_ _use_ _an_ _oversampled_ _region_ _to_ _construct_ _the_ _snapshot_ _space._ _We_ _denote_ _them_ _ψ_ 1 <sup>+</sup> <sup>_, ..., ψ_</sup> _N_ <sup>+</sup> <sup>_for_</sup> <sup>_simplicity_</sup> <sup>_and_</sup> <sup>_consider_</sup> <sup>_one_</sup> <sup>_coarse_</sup> <sup>_block._</sup> <sup>_Next,_</sup> <sup>_we_</sup> <sup>_consider_</sup> _the restriction of these snapshot vectors in a target coarse block and identify linearly independent components,_ _ψ_ 1 _, ..., ψM_ _,_ _M_ _≤_ _N_ _._ _A_ _next_ _important_ _ingredient_ _is_ _to_ _construct_ _minimum_ _energy_ _snapshot_ _vectors_ _that_ _represent the snapshot functions in the target coarse region._ _These snapshot vectors are constructed by solving_ _a_ _local_ _minimization_ _problem._ _We_ _denote_ _them_ _by_ _ψ_ <sup>�</sup> 1 _, ...,_ _ψ_ <sup>�</sup> _M_ _._ _In_ _the_ _final_ _step,_ _we_ _perform_ _a_ _local_ _spectral_ _decomposition_ _to_ _compute_ _multiscale_ _basis_ _functions_ _([18])._ _Energy_ _minimizing_ _snapshots_ _are_ _important_ _for_ _online_ _basis_ _computations_ _and_ _are_ _used_ _to_ _show_ _the_ _stable_ _decomposition._ _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>_× V_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> _i_ <sup>+</sup> <sup>_κ∇v · ∇w_</sup> <sup>and</sup> <sup>_si_</sup> <sup>(</sup> <sup>_v, w_</sup> <sup>) =</sup> _∂Ki_ <sup>_κ v w_</sup> <sup>.</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_i_</sup> <sup>,</sup> <sup>_ai_</sup> <sup>(</sup> <sup>_v, w_</sup> <sup>) =</sup> _Ki_ <sup>+</sup> <sup>_ω_</sup> _j_ <sup>_i_</sup> be the eigenvalues of (34) arranged in ascending order, and _ψj_ <sup>+</sup> <sup>_,ωi_</sup> We let _λ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> _j_ <sup>_ωi_</sup> as the restriction of _ψj_ <sup>+</sup> <sup>_,ωi_</sup> _H,_ <sup>_ωi_</sup> off <sup>.</sup> Remark 8 (Energy minimizing oversampling) . _For_ _efficient_ _online_ _simulations,_ _one_ _needs_ _to_ _develop_ _energy_ _minimizing_ _snapshot_ _vectors_ _[18]._ _In_ _these_ _approaches,_ _the_ _snapshot_ _vectors_ _are_ _computed_ _by_ _solving_ _local_ _constrained_ _minimization_ _problems._ _More_ _precisely,_ _first,_ _we_ _use_ _an_ _oversampled_ _region_ _to_ _construct_ _the_ _snapshot_ _space._ _We_ _denote_ _them_ _ψ_ 1 <sup>+</sup> <sup>_, ..., ψ_</sup> _N_ <sup>+</sup> <sup>_for_</sup> <sup>_simplicity_</sup> <sup>_and_</sup> <sup>_consider_</sup> <sup>_one_</sup> <sup>_coarse_</sup> <sup>_block._</sup> <sup>_Next,_</sup> <sup>_we_</sup> <sup>_consider_</sup> 7.3 Numerical results We present the numerical results for the mixed GMsFEM. The permeability field is as shown in Figure 4 and _f_ = 1. The coarse grid 10 _×_ 10 and we use zero Dirichlet boundary conditions. In Table 4, the relative errors measured in the norm _∥v∥_ <sup>2</sup> = �Ω <sup>_κ−_</sup> <sup>1</sup> <sup>_|v|_</sup> <sup>2</sup> <sup>are</sup> <sup>shown</sup> <sup>as</sup> <sup>we</sup> <sup>increase</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>basis</sup> <sup>functions.</sup> errors measured in the norm _∥v∥_ <sup>2</sup> = �Ω <sup>_κ−_</sup> <sup>1</sup> <sup>_|v|_</sup> <sup>2</sup> <sup>are</sup> <sup>shown</sup> <sup>as</sup> <sup>we</sup> <sup>increase</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>basis</sup> <sup>functions.</sup> As we observe from this table, the mixed GMsFEM has a very good convergence rate. In general, we have observed a good accuracy when the mixed formulation of the GMsFEM is used. With only 3 basis functions per node, the error in the velocity field is less than 5%. We note that the total degrees of freedom for the fine-grid solution is 20200. 19 <u>#basis</u> <u>1</u> <u>(220)</u> <u>2</u> <u>(440)</u> <u>3</u> <u>(660)</u> <u>4</u> <u>(880)</u> <u>5</u> <u>(1100)</u> _<u>∥vh −</u>_ _<u>vH</u>_ _<u>∥/∥vh∥</u>_ <u>16.50%</u> <u>6.41%</u> <u>3.91%</u> <u>2.65%</u> <u>1.64%</u> Table 4: Convergence history with increasing number of offline basis functions for the mixed GMsFEM. ### 8 Discussions on the sparsity in the snapshot space In previous approaches, multiscale basis functions are constructed using local snapshot spaces, where a snapshot space is a large space that represents the solution behavior in a coarse block. In a number of applications, one may have a sparsity in the snapshot space for an appropriate choice of a snapshot space. More precisely, the solution may only involve a portion of the snapshot space. In this case, one can use sparsity techniques to identify multiscale basis functions. We briefly discuss two such sparse local multiscale model reduction approaches (see [14] for details). In the first approach (which is used for parameter-dependent multiscale PDEs), we use local minimization techniques, such as sparse POD, to identify multiscale basis functions, which are sparse in the snapshot space. These minimization techniques use _l_ 1 minimization to find local multiscale basis functions, which are further used for finding the solution. In the second approach (which is used for the Helmholtz equation), we directly apply _l_ 1 minimization techniques to solve the underlying PDEs. This approach is more expensive as it involves a large snapshot space; however, in this example, we cannot identify a local minimization principle, such as local generalized SVD. We consider _Lu_ = _f_, where _L_ is a differential operator. For example, we consider parameter-dependent heterogeneous flows, _Lu_ = _−_ div( _κ_ ( _x_ ; _µ_ ) _∇u_ ), and the Helmholtz equation, _Lu_ = _−_ div( _κ_ ( _x_ ) _∇u_ ) _−_ _ζ_ <sup>2</sup> _n_ ( _x_ ) _u_ . Previous approaches use all snapshot vectors when seeking multiscale basis functions. In a number of applications, the solution is sparse in the snapshot space, which implies that in the expansion _ci,jψi_ <sup>_ωj_</sup> <sup>_,_</sup> _u_ = _i,j_ many coefficients _ci,j_ are zeros. In this case, one can save computational effort by employing sparsity techniques. The main challenge in these applications is to construct a snapshot space, where the solution is sparse. In the first example, this can be achieved, because an online parameter value _µ_ can be close to some of the pre-selected offline values of _µ_ ’s, and thus, the multiscale basis functions (and the solution) can have a sparse representation in the snapshot space. In the second example, we select cases where the solution _u_ contains only a few snapshot vectors corresponding to some wave directions. We note that if the snapshot space is not chosen carefully, one may not have the sparsity. We can consider two distinct cases. _•_ First approach: “Local-Sparse Snapshot Subspace Approach”. Determining the online sparse space locally via local spectral sparse decomposition in the snapshot space (motivated by parameter-dependent problems). _•_ Second approach: “Sparse Snapshot Subspace Approach”. Determining the online space globally via a global solve (motivated by using plane wave snapshot vectors and the Helmholtz equation). See Figure 6 for illustration. We use sparsity techniques (e.g., [11, 67]) to identify local multiscale basis functions and solve the global problem. The numerical results and more discussions can be found in [14]. ### 9 Space-time GMsFEM Many multiscale processes vary over multiple space and time scales. In many applications, the heterogeneities change due to the time can be significant and it needs to be taken into account in reduced-order models. Some well-known approaches for handling _separable_ spatial and temporal scales are homogenization techniques 20 Figure 6: Illustration of the approaches. [55, 63, 65, 40]. In these methods, one solves local problems in space and time. We remind a well-known case of the parabolic equation _∂u/∂t −_ div( _κ_ ( _x, t_ ) _∇u_ ) = _f,_ (35) subject to smooth initial and boundary conditions. The homogenized equation has the same form as (35), but with the smooth coefficients _κ_ <sup>_∗_</sup> ( _x, t_ ). One can compute the coefficients using the solutions of local spacetime parabolic equations in the periodic cell. This localization is possible thanks to the scale separation. One can extend this homogenization procedure to numerical homogenization type methods [61, 41], where one solves the local parabolic equations in each coarse block. Previous approaches within GMsFEM focused on constructing multiscale spaces and relevant ingredients in space only. The extension of the GMsFEM to space-time heterogeneous problems requires a modification of the space only problems because of (1) the parabolic nature of cell solutions, (2) extra degrees of freedom associated with space-time cells, and (3) local boundary conditions in space-time cells. In the approach that we are going to discuss, we construct snapshot spaces in space-time local domains. We construct the snapshot solutions by solving local problems. We can construct a complete snapshot space by taking all possible boundary conditions; however, this can lead to very high computational cost. For this reason, we use randomized boundary conditions for local snapshot vectors. Computing multiscale basis functions employs local spectral problems in space-time domain. We consider the parabolic differential equation (35) in a space-time domain Ω _×_ (0 _, T_ ) and assume _u_ = 0 on _∂_ Ω _×_ (0 _, T_ ) and _u_ ( _x,_ 0) = _β_ ( _x_ ) in Ω. The proposed method follows the space-time finite element framework, where the time dependent multiscale basis functions are constructed on the coarse grid. Therefore, compared with the time independent basis structure, it gives a more efficient numerical solver for the parabolic problem in complicated media. We would like to compute the solution _uH_ in the whole time interval (0 _, T_ ). In fact, if we assume the solution space _V_ <sup>(0</sup> <sup>_,T_</sup> <sup>)</sup> _H,_ off <sup>is</sup> <sup>a</sup> <sup>direct</sup> <sup>sum</sup> <sup>of</sup> <sup>the</sup> <sup>spaces</sup> <sup>only</sup> <sup>containing</sup> <sup>the</sup> <sup>functions</sup> <sup>defined</sup> <sup>on</sup> <sup>one</sup> <sup>single</sup> coarse time interval ( _Tn−_ 1 _, Tn_ ), we can decompose the problem into a sequence of problems and find the solution _uH_ in each time interval sequentially. The coarse space will be constructed in each time interval and _VH,_ <sup>(0</sup> off <sup>_,T_</sup> <sup>)</sup> <sup>=</sup> <sup>_⊕_</sup> _n_ <sup>_N_</sup> =1 <sup>_V_</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup>, where _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> only contains the functions having zero values in the time _n_ <sup>_N_</sup> =1 <sup>_V_</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> only contains the functions having zero values in the time _H,_ <sup>(0</sup> off <sup>_,T_</sup> <sup>)</sup> <sup>=</sup> <sup>_⊕_</sup> _n_ <sup>_N_</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup>, where _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> interval (0 _, T_ ) except ( _Tn−_ 1 _, Tn_ ), namely _∀v_ _∈_ _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _,_ _v_ ( _·, t_ ) = 0 for _t ∈_ (0 _, T_ ) _\_ ( _Tn−_ 1 _, Tn_ ). <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> _∈_ _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> will be defined later) The coarse-grid equation consists of finding _u_ <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> (where _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> 21 satisfying - _Tn_ _Tn−_ 1 Ω _κ∇u_ <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> <sup>_· ∇v_</sup> <sup>+</sup> _u_ <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> - _Tn_ _Tn−_ 1 Ω _∂u∂t_ <sup>(</sup> _<u>H</u>_ <sup>_n_</sup> <sup>)</sup> <sup>_~~v~~_</sup> <sup>+</sup> _∂u_ <sup>(</sup> _<u>H</u>_ <sup>_n_</sup> <sup>)</sup> Ω <sup>(</sup> _H_ <sup>_n_</sup> <sup>)(</sup> <sup>_x, T_</sup> _n_ <sup>+</sup> _n_ <sup>+</sup> _−_ 1 <sup>)</sup> <sup>_v_</sup> <sup>(</sup> <sup>_x, T_</sup> _n_ <sup>+</sup> _−_ _n_ <sup>+</sup> _−_ 1 <sup>) =</sup> _n_ <sup>+</sup> _−_ 1 <sup>)</sup> <sup>_,_</sup> - _Tn_ _Tn−_ 1 Ω _fv_ + Ω _gH_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> _H_ <sup>(</sup> <sup>_n_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_v_</sup> <sup>(</sup> <sup>_x, T_</sup> _n_ <sup>+</sup> for all _v_ _∈_ _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _gH_ <sup>(</sup> <sup>_n_</sup> <sup>)(</sup> <sup>_·_</sup> <sup>)</sup> <sup>=</sup> <sup>_{u_</sup> _H_ <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> _H_ <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> ( _·, Tn_ <sup>_−_</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup>, where _gH_ <sup>(</sup> <sup>_n_</sup> <sup>)</sup> for all _v_ _∈_ _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup>, where _gH_ <sup>(</sup> <sup>_n_</sup> <sup>)(</sup> <sup>_·_</sup> <sup>)</sup> <sup>=</sup> <sup>_{u_</sup> _H_ <sup>(</sup> <sup>_n−_</sup> <sup>1)</sup> ( _·, Tn_ <sup>_−_</sup> _−_ 1 <sup>)</sup> <sup>for</sup> <sup>_n_</sup> <sup>_≥_</sup> <sup>1;</sup> <sup>_β_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>for</sup> <sup>_n_</sup> <sup>=</sup> <sup>0</sup> <sup>_}_</sup> <sup>,</sup> <sup>and</sup> <sup>_F_</sup> <sup>(</sup> <sup>_α_</sup> <sup>+)</sup> <sup>and</sup> <sup>_F_</sup> <sup>(</sup> <sup>_α−_</sup> <sup>)</sup> denote the right hand and left hand limits of _F_ at _α_ respectively. Then, the solution _uH_ of the problem in (0 _, T_ ) is the direct sum of all these _u_ <sup>(</sup> _H_ <sup>_n_</sup> <sup>)’s,</sup> <sup>that</sup> <sup>is</sup> <sup>_uH_</sup> <sup>=</sup> <sup>_⊕_</sup> _n_ <sup>_N_</sup> =1 <sup>_u_</sup> <sup>(</sup> _H_ <sup>_n_</sup> <sup>).</sup> Next, we motivate the use of space-time multiscale basis functions by comparing it to space multiscale basis functions. In particular, we discuss the savings in the reduced models when space-time multiscale basis functions are used compared to space multiscale basis functions. We denote _{tn_ 1 _, · · ·, tnp}_ as the _p_ fine time steps in ( _Tn−_ 1 _, Tn_ ). When we construct space-time multiscale basis functions, the solution can be represented as _u_ <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> = <sup>�</sup> _l,i_ <sup>_cl,iψ_</sup> _l_ <sup>_ωi_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>in</sup> <sup>the</sup> <sup>interval</sup> <sup>(</sup> <sup>_Tn−_</sup> <sup>1</sup> <sup>_, Tn_</sup> <sup>).</sup> <sup>In</sup> <sup>this</sup> <sup>case,</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>coefficients</sup> <sup>_cl,i_</sup> <sup>is</sup> <sup>related</sup> to the size of the reduced system in space-time interval. On the other hand, if we use only space multiscale basis functions, we need to construct these multiscale basis functions at each fine time instant _tnj_, denoted by _ψl_ <sup>_ωi_</sup> <sup>(</sup> <sup>_x, tnj_</sup> <sup>).</sup> <sup>The</sup> <sup>solution</sup> <sup>_uH_</sup> <sup>spanned</sup> <sup>by</sup> <sup>these basis</sup> <sup>functions</sup> <sup>will have</sup> <sup>a much larger dimension</sup> <sup>because</sup> each time instant is represented by multiscale basis functions. Thus, performing space-time multiscale model reduction can provide a substantial CPU savings. _n_ <sup>_N_</sup> =1 <sup>_u_</sup> <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> <sup>(</sup> _H_ <sup>_n_</sup> <sup>)’s,</sup> <sup>that</sup> <sup>is</sup> <sup>_uH_</sup> <sup>=</sup> <sup>_⊕_</sup> _n_ <sup>_N_</sup> _l,i_ <sup>_cl,iψ_</sup> _l_ <sup>_ωi_</sup> <sup>(</sup> _H_ <sup>_n_</sup> <sup>)</sup> = <sup>�</sup> 9.1 Construction of offline basis functions 9.1.1 Snapshot space Let _ω_ be a given coarse neighborhood in space. We omit the coarse node index to simplify the notations. The construction of the offline basis functions on coarse time interval ( _Tn−_ 1 _, Tn_ ) starts with a snapshot space _VH,_ <sup>_ω_</sup> snap <sup>(or</sup> <sup>_V_</sup> _H,_ <sup>_ω,_</sup> snap <sup>(</sup> <sup>_Tn−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> ). We also omit the coarse time index _n_ to simplify the notations. The snapshot space _VH,_ <sup>_ω_</sup> snap <sup>is a set of functions defined on</sup> <sup>_ω_</sup> <sup>and contains all or most necessary components of the fine-scale</sup> solution restricted to _ω_ . A spectral problem is then solved in the snapshot space to extract the dominant modes in the snapshot space. These dominant modes are the offline basis functions and the resulting reduced space is called the offline space. There are two choices of _VH,_ <sup>_ω_</sup> snap <sup>that</sup> <sup>are</sup> <sup>commonly</sup> <sup>used.</sup> The first choice is to use all possible fine-grid functions in _ω ×_ ( _Tn−_ 1 _, Tn_ ). This snapshot space provides an accurate approximation for the solution space; however, this snapshot space can be very large. The second choice for the snapshot spaces consists of solving local problems for all possible boundary conditions, which we present here. As before, we denote by _ω_ <sup>+</sup> the oversampled space region of _ω_ _⊂_ _ω_ <sup>+</sup>, defined by adding several fine- or coarse-grid layers around _ω_ . Also, we define ( _Tn_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> <sup>as</sup> <sup>the</sup> <sup>left-side</sup> <sup>oversampled</sup> time region for ( _Tn−_ 1 _, Tn_ ). In the following, we generate inexpensive snapshots using random boundary conditions on the oversampled space-time region _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>).</sup> <sup>That</sup> <sup>is</sup> <sup>for</sup> <sup>each</sup> <sup>fine</sup> <sup>boundary</sup> <sup>node</sup> <sup>on</sup> _∂_ - _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> �, we solve a small number of local problems imposed with random boundary conditions _H,_ <sup>_ω_</sup> snap <sup>(or</sup> <sup>_V_</sup> _H,_ <sup>_ω,_</sup> snap <sup>(</sup> <sup>_Tn−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> - _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> �, we solve a small number of local problems imposed with random boundary conditions _n_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> ( _x, t_ ) = _rl_ on _∂_ - _,_ _∂ψj_ <sup>+</sup> <sup>_,ω_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> _/∂t −_ div( _κ_ ( _x, t_ ) _∇ψj_ <sup>+</sup> <sup>_,ω_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> ) = 0 in _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> _−_ _n_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> <sup>_,_</sup> _ψj_ <sup>+</sup> <sup>_,ω_</sup> _n_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> where _rl_ are independent identically distributed (i.i.d.) standard Gaussian random vectors on the fine-grid nodes of the boundaries _t_ = _Tn_ <sup>_∗_</sup> _−_ 1 <sup>and</sup> <sup>on</sup> <sup>_∂ω_</sup> <sup>+</sup> <sup>_×_</sup> <sup>(</sup> <sup>_T ∗_</sup> _n−_ 1 <sup>_, Tn_</sup> <sup>).</sup> _n_ <sup>_∗_</sup> _−_ 1 <sup>and</sup> <sup>on</sup> <sup>_∂ω_</sup> <sup>+</sup> <sup>_×_</sup> <sup>(</sup> <sup>_T ∗_</sup> _n_ of the boundaries _t_ = _Tn_ <sup>_∗_</sup> _−_ 1 <sup>and</sup> <sup>on</sup> <sup>_∂ω_</sup> <sup>+</sup> <sup>_×_</sup> <sup>(</sup> <sup>_T ∗_</sup> _n−_ 1 <sup>_, Tn_</sup> <sup>).</sup> Then the local snapshot space on _ω_ <sup>+</sup> _×_ ( _Tn_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> <sup>is</sup> _n_ <sup>_∗_</sup> _−_ 1 <sup>_, Tn_</sup> <sup>)</sup> <sup>is</sup> _VH,_ <sup>+</sup> <sup>_,ω_</sup> _H,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>= span</sup> <sup>_{ψ_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> ( _x, t_ ) _|j_ = 1 _, · · ·, l_ <sup>_ω_</sup> + _p_ <sup>_ω_</sup> bf <sup>_ω_</sup> bf <sup>_},_</sup> where _l_ <sup>_ω_</sup> is the number of local offline basis we want to construct in _ω_ and _p_ <sup>_ω_</sup> bf <sup>is</sup> <sup>the</sup> <sup>buffer</sup> <sup>number.</sup> <sup>Later</sup> on, we use the same buffer number for all _ω_ ’s and simply use the notation _p_ bf. In the following sections, if we specify one special coarse neighborhood _ωi_, we use the notation _li_ to denote the number of local offline basis. With these snapshots, we follow the procedure in the following subsection to generate offline basis functions by using an auxiliary spectral decomposition. 22 9.1.2 Offline space To obtain the offline basis functions, we need to perform a space reduction by appropriate spectral problems. Motivated by a convergence analysis, we adopt the following spectral problem on _ω_ <sup>+</sup> _×_ ( _Tn−_ 1 _, Tn_ ). Find ( _φ, λ_ ) _∈_ _VH,_ <sup>+</sup> <sup>_,ω_</sup> snap <sup>_×_</sup> <sup>R</sup> <sup>such</sup> <sup>that</sup> _An_ ( _φ, v_ ) = _λSn_ ( _φ, v_ ) _,_ _∀v_ _∈_ _V_ snap <sup>_ω_</sup> <sup>+</sup> <sup>_,_</sup> (36) where the bilinear operators _An_ ( _φ, v_ ) and _Sn_ ( _φ, v_ ) are defined by _ω_ <sup>+</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_x, Tn−_</sup> <sup>1)</sup> <sup>_v_</sup> <sup>(</sup> <sup>_x, Tn−_</sup> <sup>1)</sup> - _Tn_ _Tn−_ 1 _ω_ <sup>+</sup> <sup>_κ_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>_∇φ · ∇v,_</sup> + _An_ ( _φ, v_ ) = <sup><u>1</u></sup> 2 �� _ω_ <sup>+</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_x, Tn_</sup> <sup>)</sup> <sup>_v_</sup> <sup>(</sup> <sup>_x, Tn_</sup> <sup>) +</sup> _ω_ <sup>+ �</sup> <sup>_κ_</sup> <sup>+(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>_φv,_</sup> (37) _Sn_ ( _φ, v_ ) = _ω_ + _φ_ ( _x, Tn−_ 1) _v_ ( _x, Tn−_ 1) + - _Tn_ _Tn−_ 1 where the weight function _κ_ - <sup>+</sup> ( _x, t_ ) is defined by _κ_ - <sup>+</sup> ( _x, t_ ) = _κ_ ( _x, t_ ) <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> <sup>_|∇χ_</sup> _i_ <sup>+</sup> <sup>+</sup> _i_ <sup>_}N_</sup> _i_ =1 <sup>_c_</sup> where the weight function _κ_ - <sup>+</sup> ( _x, t_ ) is defined by _κ_ - <sup>+</sup> ( _x, t_ ) = _κ_ ( _x, t_ ) <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_c_</sup> <sup>_|∇χ_</sup> _i_ <sup>+</sup> <sup>_|_</sup> <sup>2,</sup> <sup>_{χ_</sup> <sup>+</sup> _i_ <sup>_}N_</sup> _i_ =1 <sup>_c_</sup> <sup>is</sup> <sup>a</sup> <sup>partition</sup> <sup>of</sup> unity associated with the oversampled coarse neighborhoods _{ωi_ <sup>+</sup> <sup>_}N_</sup> _i_ =1 <sup>_c_</sup> <sup>and</sup> <sup>satisfies</sup> <sup>_|∇χ_</sup> <sup>+</sup> _i_ <sup>_|_</sup> <sup>_≥|∇χi|_</sup> <sup>on</sup> <sup>_ωi_</sup> <sup>,</sup> where _χi_ is the standard multiscale basis function for the coarse node _xi_, _−_ div( _κ_ ( _x, Tn−_ 1) _∇χi_ ) = 0, in _K_, _χi_ = _gi_ on _∂K_, for all _K_ _∈_ _ωi_, where _gi_ is linear on each edge of _∂K_ . We arrange the eigenvalues _{λ_ <sup>_ω_</sup> _j_ <sup>_|j_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ··· Lω_</sup> <sup>+</sup> <sup>_p_</sup> bf <sup>_ω_</sup> <sup>_}_</sup> <sup>from (36) in the ascending order, and select the first</sup> _Lω_ eigenfunctions, which are corresponding to the first _Lω_ ordered eigenvalues, and then we can obtain the dominant modes _ψj_ <sup>_ω_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>on</sup> <sup>the</sup> <sup>target</sup> <sup>region</sup> <sup>_ω ×_</sup> <sup>(</sup> <sup>_Tn−_</sup> <sup>1</sup> <sup>_, Tn_</sup> <sup>)</sup> <sup>by</sup> <sup>restricting</sup> <sup>_ψ_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> ( _x, t_ ) onto _ω ×_ ( _Tn−_ 1 _, Tn_ ). Finally, the offline basis functions on _ω ×_ ( _Tn−_ 1 _, Tn_ ) are defined by _φ_ <sup>_ω_</sup> _j_ <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>=</sup> <sup>_χωψ_</sup> _j_ <sup>_ω_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>),</sup> <sup>where</sup> <sup>_χω_</sup> <sup>is</sup> <sup>the</sup> _i_ <sup>+</sup> <sup>_}N_</sup> _i_ =1 <sup>_c_</sup> _i_ <sup>+</sup> <sup>_|_</sup> <sup>2,</sup> <sup>_{χ_</sup> <sup>+</sup> _i_ <sup>_N_</sup> _i_ =1 <sup>_c_</sup> <sup>and</sup> <sup>satisfies</sup> <sup>_|∇χ_</sup> <sup>+</sup> _i_ We arrange the eigenvalues _{λ_ <sup>_ω_</sup> _j_ <sup>_ω_</sup> _j_ <sup>_|j_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ··· Lω_</sup> <sup>+</sup> <sup>_p_</sup> bf <sup>_ω_</sup> _j_ <sup>_ω_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>on</sup> <sup>the</sup> <sup>target</sup> <sup>region</sup> <sup>_ω ×_</sup> <sup>(</sup> <sup>_Tn−_</sup> <sup>1</sup> <sup>_, Tn_</sup> <sup>)</sup> <sup>by</sup> <sup>restricting</sup> <sup>_ψ_</sup> _j_ <sup>+</sup> <sup>_,ω_</sup> Finally, the offline basis functions on _ω ×_ ( _Tn−_ 1 _, Tn_ ) are defined by _φ_ <sup>_ω_</sup> _j_ <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>=</sup> <sup>_χωψ_</sup> _j_ <sup>_ω_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>),</sup> <sup>where</sup> <sup>_χω_</sup> <sup>is</sup> <sup>the</sup> standard multiscale basis function for a generic coarse neighborhood _ω_ . This product gives conforming basis functions (Discontinuous Galerkin discretizations can also be used). We also define the local offline space on _ω ×_ ( _Tn−_ 1 _, Tn_ ) as <sup>_ω_</sup> _j_ <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>=</sup> <sup>_χωψ_</sup> _j_ <sup>_ω_</sup> _H,_ <sup>_ω_</sup> off <sup>= span</sup> <sup>_{φ_</sup> _j_ <sup>_ω_</sup> _VH,_ <sup>_ω_</sup> _j_ <sup>_ω_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>_|j_</sup> <sup>= 1</sup> <sup>_, · · ·, lω}._</sup> Note that one can take _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> in the coarse-grid equation as _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> _H,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> = span _{φ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> Note that one can take _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> in the coarse-grid equation as _VH,_ <sup>(</sup> <sup>_T_</sup> off <sup>_n−_</sup> <sup>1</sup> <sup>_,Tn_</sup> <sup>)</sup> = span _{φ_ <sup>_ω_</sup> _j_ <sup>_i_</sup> <sup>(</sup> <sup>_x, t_</sup> <sup>)</sup> <sup>_|_</sup> <sup>1</sup> <sup>_≤_</sup> <sup>_i_</sup> <sup>_≤_</sup> _Nc,_ 1 _≤_ _j_ _≤_ _li}_ . 9.2 Numerical result We start with a high-contrast permeability field shown in Figure 4, which is translated uniformly in _x_ 2 direction after every other fine time step. The total translation is 10% of the global domain. The number of local offline basis that will be used in each _ωi_, is denoted by _li_, and the buffer number _p_ bf needs to be chosen in advance since they determine how many local snapshots are used. Then, we can construct the lower dimensional offline space by performing space reduction on the snapshot space. In the experiments, we use the same buffer number and the same number of local offline basis for all coarse neighborhood _ωi_ ’s. Our numerical experiments show that the error does not change beyond _p_ bf = 4. In our numerical simulations, we take _p_ bf = 8 and vary _li_ . The errors are displayed in Table 5. These are _L_ <sup>2</sup> and energy errors. We observe that with a fixed buffer number, the relative errors are decreasing as using more offline basis. We can also observe that the values 1 _/_ Λ _∗_ ’s and energy errors are correlated as predict our theory [19]. _<u>Li</u>_ _<u>dim</u>_ <u>(</u> _<u>V</u>_ <u>off)</u> _<u>L</u>_ <sup><u>2</u></sup> <u>([0</u> _<u>, T</u>_ <u>]</u> _<u>,</u>_ <u>Ω)</u> <u>energy</u> 2 162 23.05% 87.86% 6 486 7.86% 43.29% 10 810 5.93% 35.23% 14 1134 3.43% 25.66% 18 1458 1.57% 17.42% <u>22</u> <u>1782</u> <u>0.88%</u> <u>12.89%</u> Table 5: Relative errors using different _li_ ’s. 23 ### 10 GMsFEM in perforated domains One important class of multiscale problems consists in perforated domains. In these problems, differential equations are formulated in perforated domains. These domains can be considered to be the outside of inclusions or connected bodies of various sizes. Due to the variable sizes and geometries of these perforations, solutions to these problems have multiscale features. One solution approach involves posing the problem in a domain without perforations but with a very high contrast penalty term representing the domain heterogeneities ([45]). However, the void space can be a small portion of the whole domain and, thus, it is computationally expensive to enlarge the domain substantially. The main difference in developing multiscale methods for problems in perforated domains is the complexity of the domains and that many portions of the domain are excluded in the computational domain. This poses a challenging task. For typical upscaling and numerical homogenization (e.g., [66, 48]), the macroscopic equations do not contain perforations and one computes the effective properties. Several multiscale methods have been developed for problems in perforated domains. The use of GMsFEM for solving multiscale problems in perforated domains is motivated by recent works [59, 56, 48]. Using snapshot spaces is essential in problems with perforations, because the snapshots contain necessary geometry information. In the snapshot space, we perform local spectral decomposition to identify multiscale basis functions. In this section, we show an example for Stokes equations and refer to [26] for more discussions and extensions to other problems. 10.1 Problem setting In this section, we present the underlying problem as stated in [20] and the corresponding fine-scale and coarse-scale discretization. Let Ω _⊂_ R <sup>_d_</sup> ( _d_ = 2 _,_ 3) be a bounded domain covered by inactive cells (for Stokes flow and Darcy flow) or active cells (for elasticity problem) _B_ <sup>_ε_</sup> . We will consider _d_ = 2 case, though the results can be extended to _d_ _>_ 2. We use the superscript _ε_ to denote quantities related to perforated domains. The active cells are where the underlying problem is solved, while inactive cells are the rest of the region. Suppose the distance between inactive cells (or active cells) is of order _ε_ . Define Ω <sup>_ε_</sup> := Ω _\B_ <sup>_ε_</sup> . See Figure 7 (left) for an illustration of the perforated domain. We consider the following problem defined in a perforated domain Ω <sup>_ε_</sup> _L_ <sup>_ε_</sup> ( _w_ ) = _f_ in Ω <sup>_ε_</sup> _,_ _w_ = 0 or <sup>_<u>∂w</u>_</sup> _∂n_ <sup>= 0</sup> <sup>on</sup> <sup>_∂_</sup> <sup>Ω</sup> <sup>_ε ∩_</sup> <sup>_∂Bε,_</sup> (38) _w_ = _g_ on _∂_ Ω _∩_ _∂_ Ω <sup>_ε_</sup>, where _L_ <sup>_ε_</sup> denotes a linear differential operator, _n_ is the unit outward normal to the boundary, _f_ and _g_ denote given functions with sufficient regularity. We will focus on the Dirichlet problem, namely, _w_ = 0 in (38). Denote by _V_ (Ω <sup>_ε_</sup> ) the appropriate solution space, and _V_ 0(Ω <sup>_ε_</sup> ) = _{v_ _∈_ _V_ (Ω <sup>_ε_</sup> ) _, v_ = 0 on _∂_ Ω <sup>_ε_</sup> _}_ . The variational formulation of (38) is to find _w_ _∈_ _V_ (Ω <sup>_ε_</sup> ) such that _⟨L_ <sup>_ε_</sup> ( _w_ ) _, v⟩_ Ω _ε_ = ( _f, v_ )Ω _ε_ for all _v_ _∈_ _V_ 0(Ω <sup>_ε_</sup> ) _,_ where _⟨·, ·⟩_ Ω _ε_ denotes a specific inner product over Ω <sup>_ε_</sup> for either scalar functions or vector functions and and ( _f, v_ )Ω _ε_ is the _L_ <sup>2</sup> inner product. Some specific examples for the above abstract notations are given below. Laplace: For the Laplace operator with homogeneous Dirichlet boundary conditions on _∂_ Ω <sup>_ε_</sup>, we have _L_ <sup>_ε_</sup> ( _u_ ) = _−_ ∆ _u_, and _V_ (Ω <sup>_ε_</sup> ) = _H_ 0 <sup>1(Ω</sup> <sup>_ε_</sup> <sup>),</sup> <sup>_⟨Lε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_, v⟩_</sup> Ω <sup>_ε_</sup> <sup>= (</sup> <sup>_∇u, ∇v_</sup> <sup>)Ω</sup> <sup>_ε_</sup> <sup>.</sup> _L_ <sup>_ε_</sup> ( _u_ ) = _−_ ∆ _u_, and _V_ (Ω <sup>_ε_</sup> ) = _H_ 0 <sup>1(Ω</sup> <sup>_ε_</sup> <sup>),</sup> <sup>_⟨Lε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_, v⟩_</sup> Ω <sup>_ε_</sup> <sup>= (</sup> <sup>_∇u, ∇v_</sup> <sup>)Ω</sup> <sup>_ε_</sup> <sup>.</sup> Elasticity: For the elasticity operator with a homogeneous Dirichlet boundary condition on _∂_ Ω <sup>_ε_</sup>, we assume the medium is isotropic. Let _u_ _∈_ ( _H_ <sup>1</sup> (Ω <sup>_ε_</sup> )) <sup>2</sup> be the displacement field. The strain tensor _ε_ ( _u_ ) _∈_ ( _L_ <sup>2</sup> (Ω <sup>_ε_</sup> )) <sup>2</sup> <sup>_×_</sup> <sup>2</sup> is defined by _ε_ ( _u_ ) = 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_∇u_</sup> <sup>+</sup> <sup>_∇uT_</sup> <sup>).</sup> <sup>Thus,</sup> <sup>the</sup> <sup>stress</sup> <sup>tensor</sup> <sup>_σ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>(</sup> <sup>_L_</sup> <sup>2(Ω</sup> <sup>_ε_</sup> <sup>))2</sup> <sup>_×_</sup> <sup>2</sup> <sup>relates</sup> <sup>to</sup> <sup>the</sup> ( _L_ <sup>2</sup> (Ω <sup>_ε_</sup> )) <sup>2</sup> <sup>_×_</sup> <sup>2</sup> is defined by _ε_ ( _u_ ) = 2 <sup><u>1</u></sup> <sup>(</sup> <sup>_∇u_</sup> <sup>+</sup> <sup>_∇uT_</sup> <sup>).</sup> <sup>Thus,</sup> <sup>the</sup> <sup>stress</sup> <sup>tensor</sup> <sup>_σ_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>(</sup> <sup>_L_</sup> <sup>2(Ω</sup> <sup>_ε_</sup> <sup>))2</sup> <sup>_×_</sup> <sup>2</sup> <sup>relates</sup> <sup>to</sup> <sup>the</sup> strain tensor _ε_ ( _u_ ) such that _σ_ ( _u_ ) = 2 _µ_ _ε_ + _ξ∇· u I_, where _ξ_ _>_ 0 and _µ_ _>_ 0 are the Lam´e coefficients. We have _L_ <sup>_ε_</sup> ( _u_ ) = _−∇· σ_, where _V_ (Ω <sup>_ε_</sup> ) = ( _H_ 0 <sup>1(Ω</sup> <sup>_ε_</sup> <sup>))2</sup> <sup>and</sup> <sup>_⟨Lε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_, v⟩_</sup> Ω <sup>_ε_</sup> <sup>= 2</sup> <sup>_µ_</sup> <sup>(</sup> <sup>_ε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_ε_</sup> <sup>(</sup> <sup>_v_</sup> <sup>))Ω</sup> <sup>_ε_</sup> <sup>+</sup> <sup>_ξ_</sup> <sup>(</sup> <sup>_∇· u, ∇· v_</sup> <sup>)Ω</sup> <sup>_ε_</sup> <sup>.</sup> _L_ <sup>_ε_</sup> ( _u_ ) = _−∇· σ_, where _V_ (Ω <sup>_ε_</sup> ) = ( _H_ 0 <sup>1(Ω</sup> <sup>_ε_</sup> <sup>))2</sup> <sup>and</sup> <sup>_⟨Lε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_, v⟩_</sup> Ω <sup>_ε_</sup> <sup>= 2</sup> <sup>_µ_</sup> <sup>(</sup> <sup>_ε_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_ε_</sup> <sup>(</sup> <sup>_v_</sup> <sup>))Ω</sup> <sup>_ε_</sup> <sup>+</sup> <sup>_ξ_</sup> <sup>(</sup> <sup>_∇· u, ∇· v_</sup> <sup>)Ω</sup> <sup>_ε_</sup> <sup>.</sup> Stokes: For Stokes equations, we have _L_ <sup>_ε_</sup> ( _u, p_ ) = ( _∇p −_ ∆ _u, ∇· u_ ) <sup>_T_</sup> _,_ (39) 24 where _µ_ is the viscosity, _p_ is the fluid pressure, _u_ represents the velocity, _V_ (Ω <sup>_ε_</sup> ) = ( _H_ 0 <sup>1(Ω</sup> <sup>_ε_</sup> <sup>))2</sup> <sup>_× L_</sup> <sup>2</sup> 0 <sup>(Ω</sup> <sup>_ε_</sup> <sup>),</sup> <sup>and</sup> _._ _⟨L_ <sup>_ε_</sup> ( _u, p_ ) _,_ ( _v_ _, q_ ) _⟩_ Ω _ε_ = �( _∇u, ∇v_ )Ω _ε_ _−_ ( _∇· v, p_ )Ω _ε_ ( _∇· u, q_ )Ω _ε_ 0 We recall that _L_ <sup>2</sup> 0 <sup>(Ω</sup> <sup>_ε_</sup> <sup>)</sup> <sup>contains</sup> <sup>functions</sup> <sup>in</sup> <sup>_L_</sup> <sup>2(Ω</sup> <sup>_ε_</sup> <sup>)</sup> <sup>with</sup> <sup>zero</sup> <sup>average</sup> <sup>in</sup> <sup>Ω</sup> <sup>_ε_</sup> <sup>.</sup> <sup>We</sup> <sup>will</sup> <sup>illustrate</sup> <sup>our</sup> <sup>ideas</sup> <sup>and</sup> results using the Stokes equations. For the numerical approximation of the above problems, we first introduce the notations of fine and coarse grids pertinent to perforated domains. It follows similar constructions as before with the exception of domain geometries, which can intersect the boundaries of coarse regions. Let _TH_ be a coarse-grid partition of the domain Ω <sup>_ε_</sup> with mesh size _H_ . Notice that, the edges of the coarse elements do not necessarily have straight edges because of the perforations (see Figure 7, left). By conducting a conforming refinement of the coarse mesh _T_ <sup>_H_</sup>, we can obtain a fine mesh _T_ <sup>_h_</sup> of Ω <sup>_ε_</sup> with mesh size _h_ . Typically, we assume that 0 _< h ≪_ _H_ _<_ 1, and that the fine-scale mesh _Th_ is sufficiently fine to fully resolve the small-scale information of the domain, and _TH_ is a coarse mesh containing many fine-scale features. Let _Nv_ and _Ne_ be the number of nodes and edges in coarse grid respectively. We denote by _{xi|_ 1 _≤_ _i_ _≤_ _Nc}_ the set of coarse nodes, and _{Ej|_ 1 _≤_ _j_ _≤_ _Ne}_ the set of coarse edges. We define a coarse neighborhood _ωi_ <sup>_ε_</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>node</sup> <sup>_xi_</sup> <sup>by</sup> _ωi_ <sup>_ε_</sup> <sup>=</sup> <sup>_∪{K_</sup> _j_ <sup>_ε_</sup> <sup>_∈T_</sup> <sup>_H_</sup> <sup>;</sup> _xi_ _∈_ _K_ <sup>¯</sup> _j_ <sup>_ε}_</sup> <sup>,</sup> <sup>which</sup> <sup>is</sup> <sup>the</sup> <sup>union</sup> <sup>of</sup> <sup>all</sup> <sup>coarse</sup> <sup>elements</sup> <sup>having</sup> <sup>the</sup> <sup>node</sup> <sup>_xi_</sup> <sup>.</sup> <sup>For</sup> <sup>the</sup> <sup>Stokes</sup> problem, additionally, we define a coarse neighborhood _ωm_ <sup>_ε_</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>edge</sup> <sup>_Em_</sup> <sup>by</sup> _j_ <sup>_ε_</sup> <sup>_∈T_</sup> <sup>_H_</sup> <sup>;</sup> _xi_ _∈_ _K_ <sup>¯</sup> _j_ <sup>_ε_</sup> _i_ <sup>_ε_</sup> <sup>=</sup> <sup>_∪{K_</sup> _j_ <sup>_ε_</sup> _m_ <sup>_ε_</sup> <sup>for</sup> <sup>each</sup> <sup>coarse</sup> <sup>edge</sup> <sup>_Em_</sup> <sup>by</sup> _m_ <sup>_ε_</sup> <sup>=</sup> <sup>_∪{K_</sup> _j_ <sup>_ε_</sup> _j_ <sup>_ε},_</sup> (40) _ω_ <sup>_ε_</sup> _j_ <sup>_ε_</sup> <sup>_∈T_</sup> <sup>_H_</sup> <sup>;</sup> _Em_ _∈_ _K_ <sup>¯</sup> _j_ <sup>_ε_</sup> which is the union of all coarse elements having the edge _Em_ . We let _Vh_ be the fine scale space for velocity _u_ and _Qh_ be the fine scale space for the pressure _p_ . One can choose _Vh_ to be piecewise quadratic and _Qh_ to be piecewise constant with respect to the fine mesh _T_ <sup>_h_</sup> . We will then obtain the fine-scale solution ( _u, p_ ) _∈_ _Vh ×_ _Qh_ for the Stokes system by solving the following variational problem _⟨L_ <sup>_ε_</sup> ( _u, p_ ) _,_ ( _v, q_ ) _⟩_ Ω _ε_ = (( _f,_ 0) _,_ ( _v, q_ ))Ω <sup>_ε_</sup> _,_ for all ( _v, q_ ) _∈_ _Vh × Qh._ (41) These solutions are used as reference solutions to test the performance of the schemes. 10.2 The construction of offline basis functions In this section, we describe the construction of offline basis for the Stokes problem in perforated domains. We refer to [16] for online basis construction and the analysis, as well as GMsFEM for the elliptic equation and the elasticity equations in perforated domains. 10.2.1 Snapshot space To compute snapshot functions, we solve the following problem on the coarse neighborhood _ωi_ <sup>_ε_</sup> _i_ <sup>_ε_</sup> <sup>:</sup> <sup>find</sup> <sup>(</sup> <sup>_u_</sup> _l_ <sup>_i_</sup> _l_ <sup>_i, pi_</sup> _l_ To compute snapshot functions, we solve the following problem on the coarse neighborhood _ωi_ <sup>_ε_</sup> <sup>:</sup> <sup>find</sup> <sup>(</sup> <sup>_u_</sup> _l_ <sup>_i, pi_</sup> _l_ <sup>)</sup> (on a fine grid) such that _ωi_ <sup>_ε_</sup> _∇u_ <sup>_i_</sup> _l_ <sup>:</sup> <sup>_∇v −_</sup> _ωi_ <sup>_ε_</sup> _p_ <sup>_i_</sup> _l_ <sup>_i_</sup> _l_ <sup>div(</sup> <sup>_v_</sup> <sup>) = 0</sup> <sup>_,_</sup> <sup>_∀v_</sup> <sup>_∈_</sup> <sup>_V_</sup> _h,_ <sup>_i_</sup> _h,_ <sup>_i_</sup> 0 <sup>_,_</sup> _ωi_ <sup>_ε_</sup> _cq,_ _∀q_ _∈_ _Q_ <sup>_i_</sup> _h_ <sup>_,_</sup> (42) _ωi_ <sup>_ε_</sup> _q_ div( _u_ <sup>_i_</sup> _l_ <sup>) =</sup> with boundary conditions _u_ <sup>_i_</sup> _l_ <sup>= (0</sup> <sup>_,_</sup> <sup>0)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂Bε_</sup> <sup>,</sup> <sup>_ui_</sup> _l_ <sup>= (</sup> <sup>_δ_</sup> _l_ <sup>_h,_</sup> <sup>0)</sup> <sup>or</sup> <sup>(0</sup> <sup>_, δ_</sup> _l_ <sup>_h_</sup> <sup>)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>_ε\∂Bε_</sup> <sup>.</sup> <sup>Here, we write</sup> <sup>_ω_</sup> _i_ <sup>_ε\∂Bε_</sup> <sup>=</sup> _∪_ <sup>_S_</sup> _l_ =1 <sup>_i_</sup> <sup>_el_</sup> <sup>,</sup> <sup>where</sup> <sup>_el_</sup> <sup>are</sup> <sup>the</sup> <sup>fine-grid</sup> <sup>edges</sup> <sup>and</sup> <sup>_Si_</sup> <sup>is</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>these</sup> <sup>fine</sup> <sup>grid</sup> <sup>edges</sup> <sup>on</sup> <sup>_ω_</sup> _i_ <sup>_ε\∂Bε_</sup> <sup>.</sup> <sup>Moreover,</sup> _i_ <sup>_ε\∂Bε_</sup> <sup>.</sup> <sup>Here, we write</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> with boundary conditions _u_ <sup>_i_</sup> _l_ <sup>_i_</sup> _l_ <sup>= (0</sup> <sup>_,_</sup> <sup>0)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂Bε_</sup> <sup>,</sup> <sup>_ui_</sup> _l_ <sup>_i_</sup> _l_ <sup>= (</sup> <sup>_δ_</sup> _l_ <sup>_h,_</sup> <sup>_δ_</sup> _l_ <sup>_h,_</sup> <sup>0)</sup> <sup>or</sup> <sup>(0</sup> <sup>_, δ_</sup> _l_ <sup>_h_</sup> _l_ <sup>_h_</sup> <sup>)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂ω_</sup> _i_ <sup>_ε_</sup> _∪_ <sup>_S_</sup> _l_ =1 <sup>_i_</sup> <sup>_el_</sup> <sup>,</sup> <sup>where</sup> <sup>_el_</sup> <sup>are</sup> <sup>the</sup> <sup>fine-grid</sup> <sup>edges</sup> <sup>and</sup> <sup>_Si_</sup> <sup>is</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>these</sup> <sup>fine</sup> <sup>grid</sup> <sup>edges</sup> <sup>on</sup> <sup>_ω_</sup> _i_ <sup>_ε\∂Bε_</sup> <sup>.</sup> <sup>Moreover,</sup> _δl_ <sup>_h_</sup> <sup>is a fine-scale delta function such that it has value 1 on</sup> <sup>_el_</sup> <sup>and value 0 on other fine-grid edges.</sup> <sup>In (42), we</sup> define _Vh_ <sup>_i_</sup> <sup>and</sup> <sup>_Qi_</sup> _h_ <sup>as</sup> <sup>the</sup> <sup>restrictions</sup> <sup>of</sup> <sup>the</sup> <sup>fine</sup> <sup>grid</sup> <sup>space</sup> <sup>in</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> <sup>and</sup> <sup>_V_</sup> _h,_ <sup>_i_</sup> 0 <sup>_⊂_</sup> <sup>_V_</sup> _h_ <sup>_i_</sup> <sup>are</sup> <sup>functions</sup> <sup>that</sup> <sup>vanish</sup> <sup>on</sup> _∂ωi_ <sup>_ε_</sup> <sup>.</sup> <sup>We remark that we choose the constant</sup> <sup>_c_</sup> <sup>in (42) by compatibility condition,</sup> <sup>_c_</sup> <sup>=</sup> _|ω_ <u>1</u> _i_ <sup>_<u>ε|</u>_</sup> - _∂ωi_ <sup>_ε/∂Bε u_</sup> _l_ <sup>_i_</sup> <sup>_·_</sup> <sup>_ni ds_</sup> <sup>.</sup> We emphasize that, for the Stokes problem, we will solve (42) in both node-based coarse neighborhoods and <sup>_S_</sup> _l_ =1 <sup>_i_</sup> <sup>_el_</sup> <sup>,</sup> <sup>where</sup> <sup>_el_</sup> <sup>are</sup> <sup>the</sup> <sup>fine-grid</sup> <sup>edges</sup> <sup>and</sup> <sup>_Si_</sup> <sup>is</sup> <sup>the</sup> <sup>number</sup> <sup>of</sup> <sup>these</sup> <sup>fine</sup> <sup>grid</sup> <sup>edges</sup> <sup>on</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> _h_ <sup>_i_</sup> <sup>and</sup> <sup>_Qi_</sup> _h_ <sup>_i_</sup> _h_ <sup>as</sup> <sup>the</sup> <sup>restrictions</sup> <sup>of</sup> <sup>the</sup> <sup>fine</sup> <sup>grid</sup> <sup>space</sup> <sup>in</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> _i_ <sup>_ε_</sup> <sup>and</sup> <sup>_V_</sup> _h,_ <sup>_i_</sup> _h,_ <sup>_i_</sup> 0 <sup>_⊂_</sup> <sup>_V_</sup> _h_ <sup>_i_</sup> _i_ <sup>_ε_</sup> <sup>.</sup> <sup>We remark that we choose the constant</sup> <sup>_c_</sup> <sup>in (42) by compatibility condition,</sup> <sup>_c_</sup> <sup>=</sup> _|ω_ <u>1</u> _i_ <sup>_<u>ε|</u>_</sup> _i_ <sup>_ε/∂Bε u_</sup> _l_ <sup>_i_</sup> _i_ <sup>_<u>ε|</u>_</sup> _∂ω_ <sup>_ε_</sup> 25 edge-based coarse neighborhoods (40). Collecting the solutions of the local problems generates the snapshot _i_ space, _ψl_ <sup>_ωϵ_</sup> = _u_ <sup>_i_</sup> _l_ <sup>in</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> <sup>:</sup> _i_ _l_ <sup>_ωϵ_</sup> = _u_ <sup>_i_</sup> _l_ <sup>_i_</sup> _l_ <sup>in</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> _i_ <sup>_ε_</sup> <sup>:</sup> _i_ _VH,_ <sup>_ωϵ_</sup> _i_ _i_ _H,_ <sup>_ωϵ_</sup> snap <sup>=</sup> <sup>_{ψ_</sup> _l_ <sup>_ωϵ_</sup> _l_ <sup>_ω_</sup> _i_ <sup>_ϵ_</sup> : 1 _≤_ _l ≤_ 2 _Si,_ 1 _≤_ _i ≤_ ( _Ne_ + _Nv_ ) _}._ One can reduce the cost of solving local problems by using the randomization techniques [9]. 10.2.2 Offline Space We perform a space reduction in the snapshot space through using a local spectral problem in _ωi_ <sup>_ε_</sup> <sup>.</sup> <sup>We</sup> consider the following local eigenvalue problem in the snapshot space _i_ _i_ <sup>_ϵ_</sup> Ψ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> _i_ _k_ <sup>_ωϵSω_</sup> _i_ <sup>_ϵ_</sup> _i_ _i_ <sup>_ϵ_</sup> Ψ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> _A_ <sup>_ω_</sup> _i_ <sup>_ϵ_</sup> _i_ _i_ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> <sup>=</sup> <sup>_λ_</sup> _k_ <sup>_ωϵ_</sup> _i_ <sup>_ω_</sup> _k_ <sup>_ϵ,_</sup> (43) _i_ _i_ <sup>_ϵ_</sup> ) _mn_ = _ai_ ( _ψm_ <sup>_ωε_</sup> _i_ _i_ <sup>_ε_</sup> ) _mn_ = _si_ ( _ψm_ <sup>_ωε_</sup> where ( _A_ <sup>_ω_</sup> _i_ <sup>_ϵ_</sup> _i_ _i_ _m_ <sup>_ωε, ψ_</sup> _n_ <sup>_ωε_</sup> _i_ _n_ <sup>_ωε_</sup> <sup>),</sup> <sup>(</sup> <sup>_Sω_</sup> _i_ <sup>_ε_</sup> _i_ _i_ _m_ <sup>_ωε, ψ_</sup> _n_ <sup>_ωε_</sup> _i_ _n_ <sup>_ωε_</sup> <sup>)</sup> <sup>and</sup> <sup>_a_</sup> _i_ <sup>(</sup> <sup>_u, v_</sup> <sup>) =</sup> where ( _A_ <sup>_ω_</sup> _i_ <sup>_ϵ_</sup> ) _mn_ = _ai_ ( _ψm_ <sup>_ω_</sup> _i_ <sup>_ε, ψ_</sup> _n_ <sup>_ω_</sup> _i_ <sup>_ε_</sup> <sup>),</sup> <sup>(</sup> <sup>_Sω_</sup> _i_ <sup>_ε_</sup> ) _mn_ = _si_ ( _ψm_ <sup>_ω_</sup> _i_ <sup>_ε, ψ_</sup> _n_ <sup>_ω_</sup> _i_ <sup>_ε_</sup> <sup>)</sup> <sup>and</sup> <sup>_a_</sup> _i_ <sup>(</sup> <sup>_u, v_</sup> <sup>) =</sup> - _ωi_ <sup>_ε_</sup> <sup>_∇u_</sup> <sup>:</sup> <sup>_∇v_</sup> <sup>,</sup> <sup>_si_</sup> <sup>(</sup> <sup>_u, v_</sup> <sup>) =</sup> - _ωi_ <sup>_ε_</sup> <sup>_|∇χi|_</sup> <sup>2</sup> <sup>_u ·_</sup> _v_ with _χi_ specified below. Note that we solve the above spectral problem in the local snapshot space corresponding to the neighborhood domain _ωi_ <sup>_ε_</sup> <sup>.</sup> <sup>We</sup> <sup>arrange</sup> <sup>the</sup> <sup>eigenvalues</sup> <sup>in</sup> <sup>an</sup> <sup>increasing</sup> <sup>order,</sup> <sup>choosing</sup> _i_ the first _li_ eigenvalues and taking the corresponding eigenvectors Ψ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> <sup>,</sup> <sup>for</sup> <sup>_k_</sup> <sup>=</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ..., li_</sup> <sup>,</sup> <sup>to</sup> <sup>form</sup> <sup>the</sup> <sup>basis</sup> _i_ <sup>_ε_</sup> <sup>_∇u_</sup> <sup>:</sup> <sup>_∇v_</sup> <sup>,</sup> <sup>_si_</sup> <sup>(</sup> <sup>_u, v_</sup> <sup>) =</sup> _ω_ <sup>_ε_</sup> _ω_ <sup>_ε_</sup> _i_ the first _li_ eigenvalues and taking the corresponding eigenvectors Ψ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> <sup>,</sup> <sup>for</sup> <sup>_k_</sup> <sup>=</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, ..., li_</sup> <sup>,</sup> <sup>to</sup> <sup>form</sup> <sup>the</sup> <sup>basis</sup> _i_ _i_ _i_ _i_ _i_ functions, i.e., Φ <sup>�</sup> _k_ <sup>_ωϵ_</sup> <sup>= �</sup> _j_ <sup>Ψ</sup> <sup>_ω_</sup> _kj_ <sup>_ϵψ_</sup> _j_ <sup>_ωϵ_</sup> <sup>,</sup> <sup>where</sup> <sup>Ψ</sup> _kj_ <sup>_ωϵ_</sup> <sup>are</sup> <sup>the</sup> <sup>coordinates</sup> <sup>of</sup> <sup>the</sup> <sup>vector</sup> <sup>Ψ</sup> <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> <sup>.</sup> <sup>Then</sup> <sup>we</sup> <sup>define</sup> _i_ _j_ <sup>Ψ</sup> <sup>_ω_</sup> _kj_ <sup>_ϵ_</sup> _i_ _i_ _j_ <sup>_ωϵ_</sup> <sup>,</sup> <sup>where</sup> <sup>Ψ</sup> _kj_ <sup>_ωϵ_</sup> _i_ _i_ _kj_ <sup>_ωϵ_</sup> <sup>are</sup> <sup>the</sup> <sup>coordinates</sup> <sup>of</sup> <sup>the</sup> <sup>vector</sup> <sup>Ψ</sup> <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> _i_ <sup>_ω_</sup> _k_ <sup>_ϵ_</sup> <sup>.</sup> <sup>Then</sup> <sup>we</sup> <sup>define</sup> _i_ _k_ <sup>_ωϵ_</sup> <sup>= �</sup> _j_ _i_ _i_ <sup>_ω_</sup> _kj_ <sup>_ϵψ_</sup> _j_ <sup>_ωϵ_</sup> _V_ - _H,_ <sup>_ω_</sup> _i_ <sup>_ε_</sup> off <sup>= span</sup> <sup>_{_</sup> <sup>Φ�</sup> _k_ <sup>_ω_</sup> _i_ <sup>_ϵ,_</sup> _k_ = 1 _,_ 2 _, ..., li}._ (44) _i_ _i_ _k_ <sup>_ωϵ_</sup> = (Φ <sup>�</sup> _x_ <sup>_ω_</sup> 1 <sup>_ϵ_</sup> _i_ For constructing the conforming offline space, we multiply the functions Φ <sup>�</sup> _k_ <sup>_ωϵ_</sup> _i_ _i_ _x_ <sup>_ω_</sup> 1 <sup>_ϵ_</sup> _,k_ <sup>_,_</sup> <sup>�Φ</sup> _x_ <sup>_ω_</sup> 2 <sup>_ϵ_</sup> _i_ _i_ _i_ For constructing the conforming offline space, we multiply the functions Φ <sup>�</sup> _k_ <sup>_ωϵ_</sup> = (Φ <sup>�</sup> _x_ <sup>_ω_</sup> 1 <sup>_ϵ_</sup> _,k_ <sup>_,_</sup> <sup>�Φ</sup> _x_ <sup>_ω_</sup> 2 <sup>_ϵ_</sup> _,k_ <sup>)</sup> <sup>by</sup> <sup>a</sup> partition of unity function _χi_ . Note that discontinuous Galerkin methods will eliminate the need for _χi_ . We remark that we define the partition of unity functions _{χi}_ with respect to the coarse nodes and the midpoints of coarse edges. One can choose _{χi}_ to be the standard multiscale finite element basis. However, upon multiplying by partition of unity functions, the resulting basis functions no longer have constant divergence, which affects the scheme’s stability. Moreover, the multiplication by partition of unity functions may not honor the perforation boundary conditions as discussed before. To resolve the problem with the divergence, _i_ _i_ _i_ for each Φ <sup>�</sup> _k_ <sup>_ωϵ_</sup> <sup>we find two functions Φ</sup> <sup>_ω_</sup> 1 _,k_ <sup>_ϵ_</sup> <sup>and Φ</sup> <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> <sup>(these are vector functions) that solve two local optimization</sup> _i_ _i_ _i_ for each Φ <sup>�</sup> _k_ <sup>_ωϵ_</sup> <sup>we find two functions Φ</sup> <sup>_ω_</sup> 1 _,k_ <sup>_ϵ_</sup> <sup>and Φ</sup> <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> <sup>(these are vector functions) that solve two local optimization</sup> problems in every coarse-grid element _Kj_ <sup>_i_</sup> <sup>_⊂_</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> <sup>:</sup> _i_ _i_ _k_ <sup>_ωϵ_</sup> <sup>we find two functions Φ</sup> <sup>_ω_</sup> 1 _,k_ <sup>_ϵ_</sup> _j_ <sup>_i_</sup> <sup>_⊂_</sup> <sup>_ω_</sup> _i_ <sup>_ε_</sup> _i_ <sup>_ε_</sup> <sup>:</sup> _i_ ( _χi_ Φ <sup>�</sup> <sup>_ω_</sup> _x_ 1 <sup>_ϵ_</sup> _j_ <sup>_i|_</sup> 1 _,ki_ <sup>) =</sup> <u>1</u> <sup>_ωϵ_</sup> _|Kj_ <sup>_i_</sup> _j_ <sup>_i_</sup> (45) min _i_ ��� _∇_ Φ1 _ω,kϵ_ ��� _L_ <sup>2</sup> ( _Kj_ <sup>_i_</sup> 1 _,ki_ _j_ <sup>_i_</sup> <sup>)</sup> <sup>such</sup> <sup>that</sup> <sup>div(Φ</sup> <sup>_ωϵ_</sup> _∂Kj_ <sup>_i_</sup> <sup>_ω_</sup> _x_ 1 _i_ <sup>_ϵ_</sup> _,k_ <sup>_,_</sup> <sup>0)</sup> <sup>_· nij ds_</sup> in _Kj_ <sup>_i_</sup> _j_ <sup>_i_</sup> <sup>and</sup> <sup>the</sup> <sup>boundary</sup> <sup>condition</sup> <sup>Φ</sup> <sup>_ω_</sup> 1 _,ki_ <sup>_ϵ_</sup> with _nij_ the outward normal vector to _∂Kj_ <sup>_i_</sup> <sup>_ω_</sup> 1 _,ki_ <sup>_ϵ_</sup> <sup>= (</sup> <sup>_χi_</sup> <sup>Φ�</sup> <sup>_ω_</sup> _x_ 1 _i_ <sup>_ϵ_</sup> _,k_ <sup>_,_</sup> <sup>0)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂K_</sup> _j_ <sup>_i_</sup> _j_ <sup>_i_</sup> <sup>;</sup> <sup>and</sup> _i_ (0 _, χi_ Φ <sup>�</sup> <sup>_ω_</sup> _x_ 2 <sup>_ϵ_</sup> _j_ <sup>_i,_</sup> (46) 2 _,ki_ <sup>) =</sup> <u>1</u> <sup>_ωϵ_</sup> _|Kj_ <sup>_i|_</sup> _j_ <sup>_i|_</sup> min _i_ ��� _∇_ Φ2 _ω,kϵ_ ��� _L_ <sup>2</sup> ( _Kj_ <sup>_i_</sup> 2 _,ki_ _j_ <sup>_i_</sup> <sup>)</sup> <sup>such</sup> <sup>that</sup> <sup>div(Φ</sup> <sup>_ωϵ_</sup> _∂Kj_ <sup>_i_</sup> <sup>_ω_</sup> _x_ 2 _i_ <sup>_ϵ_</sup> _,k_ <sup>)</sup> <sup>_· nij ds_</sup> in _Kj_ <sup>_i_</sup> _i_ _i_ <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> <sup>= (0</sup> <sup>_, χi_</sup> <sup>Φ�</sup> <sup>_ω_</sup> _x_ 2 <sup>_ϵ_</sup> _,k_ <sup>)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂K_</sup> _j_ <sup>_i_</sup> _i_ with the boundary condition Φ <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> _i_ _i_ the boundary condition Φ <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> <sup>= (0</sup> <sup>_, χi_</sup> <sup>Φ�</sup> <sup>_ω_</sup> _x_ 2 <sup>_ϵ_</sup> _,k_ <sup>)</sup> <sup>_,_</sup> <sup>on</sup> <sup>_∂K_</sup> _j_ <sup>_i_</sup> <sup>.</sup> Combining them, we obtain the global offline space: _i_ _i_ _VH,_ off = span _{_ Φ <sup>_ω_</sup> 1 _,k_ <sup>_ϵ_</sup> <sup>and</sup> <sup>Φ</sup> <sup>_ω_</sup> 2 _,k_ <sup>_ϵ_</sup> <sup>:</sup> 1 _≤_ _i ≤_ ( _Ne_ + _Nv_ ) and 1 _≤_ _k_ _≤_ _li}._ <sup>off</sup> _i_ <sup>_}N_</sup> _i_ =1 <sup>_u_</sup> Using a single index notation, we can write _VH,_ off = span _{_ Φ <sup>off</sup> _i_ <sup>_N_</sup> _i_ =1 <sup>_u_</sup> <sup>,</sup> <sup>where</sup> <sup>_Nu_</sup> <sup>= �</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>+</sup> <sup>_Nv_</sup> Using a single index notation, we can write _VH,_ off = span _{_ Φ <sup>off</sup> _i_ <sup>_}N_</sup> _i_ =1 <sup>_u_</sup> <sup>,</sup> <sup>where</sup> <sup>_Nu_</sup> <sup>= �</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>+</sup> <sup>_Nv_</sup> _li_ . We will use this as an approximation space for the velocity. For coarse approximation of the pressure, we will take _QH,_ off to be the space of piecewise constant functions on the coarse mesh. Note that for many applications, the size of the coarse problem can be substantially small compared to the fine-scale problem. For example, for problems with scale separation, we can only use 1-2 basis functions. Once multiscale basis functions are constructed, the global coarse-grid problem can be solved on the coarse grid with pre-computed multiscale basis functions. 26 Figure 7: Heterogeneous perforated medium and the description of coarse and fine meshes. 10.2.3 Numerical results We present a numerical result for Stokes equations in Ω= [0 _,_ 1] _×_ [0 _,_ 1]. We consider a perforated domain as illustrated in Figure 7, where the perforated regions _B_ <sup>_ε_</sup> are circular. We coarsely discretize the computational domain using uniform triangulation, where the coarse mesh size _H_ = <sup><u>1</u></sup> 5 <sup>for</sup> <sup>Stokes</sup> <sup>problem.</sup> <sup>Note</sup> <sup>that</sup> <sup>our</sup> approach does not impose any geometry restriction on coarse meshes. Furthermore, we use nonuniform triangulation inside each coarse triangular element to obtain a finer discretization. We consider the Stokes operator with zero velocity _u_ = (0 _,_ 0) on _∂_ Ω <sup>_ε_</sup> _∩_ _∂B_ <sup>_ε_</sup> and <sup>_<u>∂u</u>_</sup> _∂n_ <sup>= (0</sup> <sup>_,_</sup> <sup>0)</sup> <sup>on</sup> <sup>_∂_</sup> <sup>Ω.</sup> <sup>For</sup> the fine-scale approximation of the Stokes problem, we use _P_ <sup>2</sup> -elements for velocity and piecewise constants for pressure. The _x_ 1-component of the velocity solution is shown in Figure 8. We present the offline solution with one basis function and three basis functions. We observe that the offline velocity solution with one basis function (DOF=1082) is not able to capture the solution accurately. The _L_ <sup>2</sup> -error is 10 _._ 1%. If we use three multiscale basis functions per coarse element (DOF=2846), we obtain a more accurate solution, the _L_ <sup>2</sup> -error is only 1 _._ 02%. These results show that one needs a systematic and rigorous approach for enriching coarse-grid spaces in order to obtain accurate solutions using only a small number of basis functions. ### 11 Selected Applications Previously, we discussed the main concept of the GMsFEM and some important ingredients. The GMsFEM can be used in various applications. Below, we discuss a few applications. 11.1 Two-phase flow We present simulation results for two-phase flow and transport problems. We consider the two-phase flow problem with zero Neumann boundary condition _−η_ ( _S_ ) _κ∇p_ = _v_ in Ω _,_ div _v_ = _f_ in Ω _,_ _v · n_ = 0 on _∂_ Ω _,_ (47) where _η_ ( _S_ ) = <sup>_<u>κrw</u>_</sup> <sup><u>(</u></sup> <sup>_<u>S</u>_</sup> <sup><u>)</u></sup> <sup>_<u>rw</u>_</sup> <sup><u>(</u></sup> <sup>_<u>S</u>_</sup> <sup><u>)</u></sup> + <sup>_<u>κro</u>_</sup> <sup><u>(</u></sup> <sup>_<u>S</u>_</sup> <sup><u>)</u></sup> _µw_ _µo_ where _η_ ( _S_ ) = <sup>_<u>κrw</u>_</sup> _µw_ <sup><u>(</u></sup> <sup>_<u>S</u>_</sup> <sup><u>)</u></sup> + <sup>_<u>κro</u>_</sup> _µ_ <sup><u>(</u></sup> _o_ <sup>_<u>S</u>_</sup> <sup><u>)</u></sup> and _κrw_ ( _S_ ) = _S_ <sup>2</sup>, _κro_ ( _S_ ) = (1 _−_ _S_ ) <sup>2</sup>, _µw_ = 1, _µo_ = 5. The saturation equation is given by _St_ + _v · ∇F_ ( _S_ ) = _r,_ where _F_ ( _S_ ) = _κrw_ ( _Sκ_ ) _/µrww_ <u>(</u> _<u>S</u>_ +) _κ/µrow_ ( _S_ ) _/µo_ <sup>.</sup> <sup>The</sup> <sup>above</sup> <sup>flow</sup> <sup>equation</sup> <sup>(47)</sup> <sup>is</sup> <sup>solved</sup> <sup>by</sup> <sup>the</sup> <sup>mixed</sup> <sup>GMsFEM,</sup> <sup>and</sup> <sup>the</sup> saturation equation is solved on the fine grid by the finite volume method. In our simulations, we take _f_ to 27 Figure 8: Stokes problem. Fine-scale and multiscale solutions for velocity _u_ 1 in perforated domain (Figure 7). Left: fine-scale solution, _DOF_ = 171688. Middle: multiscale solutions using 1 multiscale basis function for the velocity ( _L_ 2 error is 10 _._ 1%). Right: multiscale solutions with 3 multiscale basis function for the velocity ( _L_ 2 error is 1 _._ 02%). be zero except for the top-left and bottom-right fine-grid elements, where _f_ takes the values of 1 and _−_ 1, respectively. Moreover, we set the initial value of _S_ to be zero. For the source _r_, we also take it as zero except for the top-left fine element where _r_ = 1. For the simulations of two-phase flow, the mixed GMsFEM is used for the flow equations. The multiscale basis functions are computed at time zero using the unit mobility, i.e., _η_ = 1. These multiscale basis function for the velocity field is used without any modification to compute the fine-scale velocity field. The fine-scale velocity field is further used to update the saturation file. We note that each time the flow equation is solved on a coarse grid, which provides a substantial computational saving. We present the numerical results for the saturation in Figure 9 for the permeability field shown in Figure 4. As we observe from this figure that with three basis functions, we obtain very good agreement ( _L_ <sup>2</sup> error is 1 _._ 8%). (a) Fine-grid solution (b) Relative _L_ <sup>2</sup> error = 1.8% Figure 9: Saturation solution obtained by using _vo_ (10 _×_ 10 coarse grid, 3 basis per coarse edge) 11.2 Flow in fractured media In this section, we briefly discuss the application of the GMsFEM to flows in fractured media, in particular, the application to shale gas transport in fractured media. We remark that the study of flows in fractured 28 media has a long history (see, e.g., [57, 46]). We study nonlinear gas transport in fractured media (cf., [2]) _az_ ( _c_ ) <sup>_<u>∂c</u>_</sup> (48) _∂t_ <sup>= div(</sup> <sup>_bz_</sup> <sup>(</sup> <sup>_c, x_</sup> <sup>)</sup> <sup>_∇c_</sup> <sup>)</sup> <sup>_,_</sup> where _z_ = _m, f_ with _m_ referring to the matrix phase and _f_ referring to the fracture phase. The fractures have “zero” thickness and are represented on a fine-scale variational formulation as edge elements. More precisely, the domain Ωcan be represented by Ω= Ω _m ⊕i_ _di_ Ω _f,i_ . Here, _di_ is the aperture of the _i_ th fracture and _i_ is the index of the fractures (see Figure 10). Then, the fine-scale equations have the form Ω _m_ _am_ ( _c_ ) <sup>_<u>∂c</u>_</sup> _∂t_ <sup>_v_</sup> <sup>+</sup> _i_ Ω _m_ _i_ _di_ _di_ Ω _f,i_ _af_ ( _c_ ) <sup>_<u>∂c</u>_</sup> _∂t_ <sup>_v_</sup> <sup>+ +</sup> _bm_ ( _c, x_ ) _∇c · ∇v_ + Ω _f,i_ _bm_ ( _c, x_ ) _∇c · ∇v_ = 0 _._ (49) In our numerical simulations, we solve the above problem using the GMsFEM framework for some specific parameter values that are specified below. We note that the fractures are modeled within snapshot space via harmonic extensions as we discussed above (see [1] for more details). In the method, the basis functions are constructed using the steady state with _bz_ = 1 in (48) and taking into account the fracture distribution. The problem (48) is solved by using implicit discretization and by linearizing _c_ at the previous time step. We use following parameters: _am_ ( _c_ ) = _φ_ + (1 _−_ _φ_ ) _∂F/∂c_ ; _bm_ ( _c, x_ ) = _φD_ + (1 _−_ _φ_ ) _Ds∂F/∂c_ + _φκRTc/µ_ ; _af_ ( _c_ ) = _φf_ ; _bf_ ( _c, x_ ) = _κf_ _RTc/µ_ ; _D_ = 510 <sup>_−_</sup> <sup>7</sup> [ _m_ <sup>2</sup> _/s_ ], _φ_ = 0 _._ 04, _T_ = 413[ _K_ ], _µ_ = 2 _·_ 10 <sup>_−_</sup> <sup>5</sup> [ _kg/_ ( _m s_ )] and for fractures _kf_ = 10 <sup>_−_</sup> <sup>12</sup> [ _m_ <sup>2</sup> ], _φf_ = 0 _._ 001. As for permeability _κ_, we use constant _κ_ = 10 <sup>_−_</sup> <sup>18</sup> [ _m_ <sup>2</sup> ]. _p_ = _RTc_, _pc_ = 10 <sup>9</sup> [ _Pa_ ], _p_ 1 = 1 _._ 8 _·_ 10 <sup>9</sup> [ _Pa_ ], _α_ = 0 _._ 5 and _M_ = 0 _._ 5. For the sorbed gas, we use Langmuir model _F_ ( _c_ ) = _cµs_ (1+ _<u>ssc</u>_ ) <sup>2</sup> <sup>,</sup> <sup>where</sup> <sup>_s_</sup> <sup>=</sup> <sup>0</sup> <sup>_._</sup> <sup>26</sup> <sup>_·_</sup> <sup>10</sup> <sup>_−_</sup> <sup>3</sup> <sup>and</sup> <sup>_cµs_</sup> <sup>=</sup> <sup>0</sup> <sup>_._</sup> <sup>25</sup> <sup>_·_</sup> <sup>10</sup> <sup>_−_</sup> <sup>5[</sup> <sup>_mol/m_</sup> <sup>3].</sup> <sup>We</sup> <sup>present</sup> <sup>the</sup> <sup>numerical</sup> <sup>results</sup> in Figure 10. In the left figure, we depict the fracture distributions, and then, show the fine-scale and the coarse-scale solution. We observe that with only 4 basis functions, we obtain a good agreement between the fine-scale and multiscale solution ( _L_ <sup>2</sup> error 0 _._ 34%, _H_ <sup>1</sup> error 4 _._ 69%). Figure 10: Left: the fracture distributions. Middle: the fine-scale solution. Right: the coarse-grid solution. 11.3 Other applications We have demonstrated two applications of the GMsFEM. The GMsFEM can be used for other complex multiscale problems. For example, in [13], we have applied the GMsFEM for elastic wave propagation in fractured media. We have also used the GMsFEM for acoustic wave propagation [22]. The GMsFEM can also be effectively used in inverse problem, where the forward problem is solved many times. In [38], we apply the GMsFEM in uncertainty quantification in inverse problems. 29 ### 12 Discussions In this paper, we give an overview of multiscale finite element methods and discuss their generalizations. Due to page limitations, we do not present a comprehensive overview of multiscale methods and mention only some important aspects of the GMsFEM as a tool for performing adaptive multiscale model reduction. The application of the method to nonlinear problems is not discussed in the paper. We refer to ([17]) for the application to nonlinear problems, where we consider nonlinear eigenvalue problems, hybridization, and nonlinear interpolation ideas to efficiently solve these problems. The proposed local reduced-order models can be used in performing global model reduction. The GMsFEM can be employed to construct the snapshots for the global model reduction methods. In this case, using reduced representation of the global snapshots, we can perform POD or another model reduction for the global modes. Moreover, we can use adaptively local approaches to update the global snapshots when online computations are needed. These global-local approaches can be effective in many applications [3]. Optimal multiscale basis functions can be obtained using the oversampling techniques, optimization, and singular value decomposition [51]. In this paper, we focus on a general adaptive strategy that can be easily adapted for various applications and discretization, as demonstrated. One can use the ideas of optimized multiscale basis functions as in [51] in the proposed framework. The stochastic multiscale problems are challenging due to additional degrees of freedom due to randomness. For stochastic problems, one can use multiscale finite element framework with Monte Carlo techniques or separation of variables. A promising approach for solving multiscale stochastic problems is to use data driven stochastic method concepts as shown in [69]. Multiscale framework proposed in the paper can also be employed for the stabilization. For example, in [7], the authors use the GMsFEM to stabilize the convection-dominated problems by constructing multiscale test spaces. Finally, we would like to remark that the proposed methods are well suited for the parallel computation, in particular, the task of multiscale basis computations is embarrassingly parallel. Our numerical results (using up to 1000 processors) on 3D perforated problems show that one can achieve almost perfect scaling in the parallel computations. Acknowledgements. TYH’s research was in part supported by DOE Grant DE-FG02-06ER257, and NSF Grant No. DMS-1318377, DMS-1159138. EC’s research was in part supported by Hong Kong RGC General Research Fund Project No. 400813. ### References [1] IY Akkutlu, Yalchin Efendiev, and Maria Vasilyeva. Multiscale model reduction for shale gas transport in fractured media. _arXiv_ _preprint_ _arXiv:1507.00113_, 2015. [2] Y Akkutlu, Y Efendiev, and V Savatarova. Multiscale asymptotic analysis of gas transport in shale matrix. _Transport_ _in_ _Porous_ _Media_, pages 1–26, 2015. [3] M Alotaibi, VM Calo, Y Efendiev, JC Galvis, and M Ghommem. Global–local nonlinear model reduction for flows in heterogeneous porous media. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 292:122–137, 2015. [4] T. Arbogast, G. Pencheva, M.F. Wheeler, and I. Yotov. A multiscale mortar mixed finite element method. _SIAM_ _J._ _Multiscale_ _Modeling_ _and_ _Simulation_, 6(1):319–346, 2007. [5] M. Barrault, Y. Maday, N.C. Nguyen, and A.T. Patera. An ‘Empirical Interpolation’ Method: Applica tion to Efficient Reduced-Basis Discretization of Partial Differential Equations. _C.R._ _Acad._ _Sci._ _Paris,_ _Ser._ _I_, 339:667–672, 2004. [6] S. Boyaval, C. LeBris, T. Leli`evre, Y. Maday, N. Nguyen, and A. Patera. Reduced basis techniques for stochastic problems. _Archives_ _of_ _Computational_ _Methods_ _in_ _Engineering_, 17:435–454, 2010. 30 [7] V. Calo, E. Chung, Y. Efendiev, and W. T. Leung. Multiscale stabilization for convection-dominated diffusion in heterogeneous media. _arXiv_ _preprint_ _arXiv:1509.06833_ . to appear in CMAME. [8] VM Calo, Y Efendiev, J Galvis, and M Ghommem. Multiscale empirical interpolation for solving nonlinear PDEs. _Journal_ _of_ _Computational_ _Physics_, 278:204–220, 2014. [9] VM Calo, Y Efendiev, J Galvis, and G Li. Randomized oversampling for generalized multiscale finite element methods. _http://arxiv.org/pdf/1409.7114.pdf_ . to appear in SIAM MMS. [10] VM Calo, Y Efendiev, and JC Galvis. A note on variational multiscale methods for high-contrast heterogeneous porous media flows with rough source terms. _ADWR_, 34(9):1177–1185, 2011. [11] E. Cand`es et al. Compressive sampling. _Proceedings_ _of_ _the_ _ICM_, 3:1433–1452, 2006. [12] S. Chaturantabut and D. C. Sorensen. Application of POD and DEIM to dimension reduction of non linear miscible viscous fingering in porous media. _Mathematical_ _and_ _Computer_ _Modeling_ _of_ _Dynamical_ _Systems_, 17:337–353, 2011. [13] E. Chung, Y. Efendiev, R. Gibson, and M. Vasilyeva. A generalized multiscale finite element method for elastic wave propagation in fractured media. 2015. submitted. [14] E. Chung, Y. Efendiev, T. W. Leung, and G. Li. Sparse generalized multiscale finite element methods and their applications. _arXiv_ _preprint_ _arXiv:1506.08509_ . to appear in IJ Multiscale Computational Engineering. [15] E. Chung, Y. Efendiev, and W. T. Leung. An adaptive generalized multiscale discontinuous galerkin method (GMsDGM) for high-contrast flow problems. _arXiv_ _preprint_ _arXiv:1409.3474_, 2014. [16] E. Chung, Y. Efendiev, W.T. Leung, M. Vasilyeva, and Y. Wang. Adaptive online generalized multiscale finite element method for multiscale problems in perforated domain. _submitted_ . [17] E. Chung, Y. Efendiev, K. Shi, and S. Ye. A multiscale model reduction method for nonlinear monotone elliptic equations in heterogeneous media. submitted. [18] E. Chung, Y. Efendiev, and T. Wing. Generalized multiscale finite element methods with energy minimizing oversampling. submitted. [19] E. Chung, Y. Efendiev, T. Wing, and S. Ye. Generalized multiscale finite element methods for space-time heterogeneous parabolic equations. submitted. [20] E. T. Chung, Y. Efendiev, G. Li, and M. Vasilyeva. Generalized multiscale finite element method for problems in perforated heterogeneous domains. _Applicable_ _Analysis_, 255:1–15, 2015. [21] ET Chung, Y Efendiev, and CS Lee. Mixed generalized multiscale finite element methods and applica tions. _Multiscale_ _Modeling_ _&_ _Simulation_, 13(1):338–366, 2015. [22] E.T. Chung, Y. Efendiev, and W.T. Leung. Generalized multiscale finite element method for wave propagation in heterogeneous media. to appear in SIAM MMS. [23] ET Chung, Y Efendiev, and WT Leung. Residual-driven online generalized multiscale finite element methods. _To_ _appear_ _in_ _J._ _Comput._ _Phys._ [24] ET Chung, Y Efendiev, and WT Leung. An online generalized multiscale discontinuous Galerkin method (GMsDGM) for flows in heterogeneous media. _arXiv_ _preprint_ _arXiv:1504.04417_, 2015. [25] ET Chung, Y Efendiev, and G Li. An adaptive GMsFEM for high-contrast flow problems. _Journal_ _of_ _Computational_ _Physics_, 273:54–76, 2014. 31 [26] ET Chung, Y Efendiev, G Li, and M Vasilyeva. Generalized multiscale finite element methods for problems in perforated heterogeneous domains. _Applicable_ _Analysis_, to appear, 2015. [27] W. Dorfler. A convergent adaptive algorithm for poisson’s equation. _SINUM_, 33:1106 - 1124, 1996. [28] M. Drohmann, B. Haasdonk, and M. Ohlberger. Reduced basis approximation for nonlinear parametrized evolution equations based on empirical operator interpolation. _SIAM_ _J._ _Sci._ _Comput._, 34(2):A937–A969, 2012. [29] W. E and B. Engquist. Heterogeneous multiscale methods. _Comm._ _Math._ _Sci._, 1(1):87–132, 2003. [30] W.T. Leung E. Chung and S. Pollock. Goal-oriented adaptivity for GMsFEM. _Journal of Computational_ _and_ _Applied_ _Mathematics_, 296:625–637, 2016. [31] Y. Efendiev and J. Galvis. A domain decomposition preconditioner for multiscale high-contrast prob lems. In Y. Huang, R. Kornhuber, O. Widlund, and J. Xu, editors, _Domain_ _Decomposition_ _Methods_ _in_ _Science_ _and_ _Engineering_ _XIX_, volume 78 of _Lect._ _Notes_ _in_ _Comput._ _Science_ _and_ _Eng._, pages 189–196. Springer-Verlag, 2011. [32] Y. Efendiev, J. Galvis, and T. Hou. Generalized multiscale finite element methods. _Journal_ _of_ _Compu-_ _tational_ _Physics_, 251:116–135, 2013. [33] Y Efendiev, J Galvis, R Lazarov, M Moon, and M Sarkis. Generalized multiscale finite element method. Symmetric interior penalty coupling. _Journal_ _of_ _Computational_ _Physics_, 255:1–15, 2013. [34] Y. Efendiev, J. Galvis, R. Lazarov, and J. Willems. Robust domain decomposition preconditioners for abstract symmetric positive definite bilinear forms. _ESIAM_ _:_ _M2AN_, 46:1175–1199, 2012. [35] Y. Efendiev, J. Galvis, G. Li, and M. Presho. Generalized multiscale finite element methods. Oversam pling strategies. _International_ _Journal_ _for_ _Multiscale_ _Computational_ _Engineering,_ _accepted_, 2013. [36] Y. Efendiev, V. Ginting, T. Hou, and R. Ewing. Accurate multiscale finite element methods for two phase flow simulations. _Journal_ _of_ _Computational_ _Physics_, 220:155–174, 2006. [37] Y. Efendiev and T. Hou. _Multiscale_ _Finite_ _Element_ _Methods:_ _Theory_ _and_ _Applications_ . Springer, 2009. [38] Y. Efendiev, B. Jin, M. Presho, and X. Tan. Multilevel markov chain monte carlo method for high contrast single-phase flow problems. _Communications_ _in_ _Computational_ _Physics_, 17(01):259–286, 2015. [39] Y. Efendiev, R. Lazarov, M. Moon, and K. Shi. A spectral multiscale hybridizable discontinuous Galerkin method for second order elliptic problems. _Computer_ _Methods_ _in_ _Applied_ _Mechanics_ _and_ _Engineering_, 292:243–256, 2015. [40] Y Efendiev, A Pankov, et al. Homogenization of nonlinear random parabolic operators. _Advances_ _in_ _Differential_ _Equations_, 10(11):1235–1260, 2005. [41] Jacob Fish. _Practical_ _multiscaling_ . John Wiley & Sons, 2013. [42] J. Galvis and Y. Efendiev. Domain decomposition preconditioners for multiscale flows in high contrast media. Reduced dimensional coarse spaces. _SIAM_ _J._ _Multiscale_ _Modeling_ _and_ _Simulation_, 8:1621–1644, 2010. [43] J Galvis, G Li, and K Shi. A generalized multiscale finite element method for the Brinkman equation. _Journal_ _of_ _Computational_ _and_ _Applied_ _Mathematics_, 280:294–309, 2015. [44] J. Galvis and J. Wei. Ensemble level multiscale finite element and preconditioner for channelized systems and applications. _Journal_ _of_ _Computational_ _and_ _Applied_ _Mathematics_, 255:456–467, 2014. 32 [45] M. Griebel and M. Klitz. Homogenization and numerical simulation of flow in geometries with textile microstructures. _Multiscale_ _Modeling_ _&_ _Simulation_, 8(4):1439–1460, 2010. [46] H. Hajibeygi, D. Kavounis, and P. Jenny. A hierarchical fracture model for the iterative multiscale finite volume method. _Journal_ _of_ _Computational_ _Physics_, 230(4):8729–8743, 2011. [47] Patrick Henning, Axel Malqvist, and Daniel Peterseim. A localized orthogonal decomposition method for semi-linear elliptic problems. _arXiv_ _preprint_ _arXiv:1211.3551_, 2012. [48] Patrick Henning and Mario Ohlberger. The heterogeneous multiscale finite element method for elliptic homogenization problems in perforated domains. _Numerische_ _Mathematik_, 113(4):601–629, 2009. [49] M. Hinze and S. Volkwein. POD surrogate models for nonlinear dynamical systems: error estimates and suboptimal control. volume 45 of _Lecture_ _Notes_ _in_ _CSE_, pages 261–306. 2005. [50] T. Hou and X.H. Wu. A multiscale finite element method for elliptic problems in composite materials and porous media. _J._ _Comput._ _Phys._, 134:169–189, 1997. [51] Thomas Y Hou and Pengfei Liu. Optimal local multi-scale basis functions for linear elliptic equations with rough coefficient. _arXiv_ _preprint_ _arXiv:1508.00346_, 2015. [52] T.Y. Hou, X.H. Wu, and Z. Cai. Convergence of a multiscale finite element method for elliptic problems with rapidly oscillating coefficients. _Math._ _Comp._, 68:913–943, 1999. [53] TJR Hughes, G Feijoo, L Mazzei, and J Quincy. The variational multiscale method—a paradigm for computational mechanics. _Comput._ _Methods_ _Appl._ _Mech._ _Engrg._, 166:3–24, 1998. [54] P. Jenny, S.H. Lee, and H. Tchelepi. Multi-scale finite volume method for elliptic problems in subsurface flow simulation. _J._ _Comput._ _Phys._, 187:47–67, 2003. [55] V. Jikov, S. Kozlov, and O. Oleinik. _Homogenization_ _of_ _differential_ _operators_ _and_ _integral_ _functionals_ . Springer Science & Business Media, 2012. [56] C. Le Bris, F. Legoll, and A. Lozinski. An MsFEM type approach for perforated domains. _Multiscale_ _Modeling_ _&_ _Simulation_, 12(3):1046–1077, 2014. [57] S.H. Lee, M.F. Lough, and C.L. Jensen. Hierarchical modeling of flow in naturally fractured formations with multiple length scales. _Water_ _resources_ _research_, 37(3):443–455, 2001. [58] Ana-Maria Matache and Christoph Schwab. Two-scale fem for homogenization problems. _ESAIM:_ _Mathematical_ _Modelling_ _and_ _Numerical_ _Analysis_, 36(04):537–572, 2002. [59] V. Maz’ya, A. Movchan, and M. Nieves. _Green_ _Kernels_ _and_ _Meso-Scale_ _Approximations_ _in_ _Perforated_ _Domains_ . Springer-Berlin, Lecture Notes in Mathematics, 2077, 2013. [60] Jens M Melenk and Ivo Babuˇska. The partition of unity finite element method: basic theory and applications. _Computer_ _methods_ _in_ _applied_ _mechanics_ _and_ _engineering_, 139(1):289–314, 1996. [61] P. Ming and P. Zhang. Analysis of the heterogeneous multiscale method for parabolic homogenization problems. _Mathematics_ _of_ _Computation_, 76(257):153–177, 2007. [62] H. Owhadi and L. Zhang. Metric-based upscaling. _Comm._ _Pure._ _Appl._ _Math._, 60:675–723, 2007. [63] Aleksandr Andreevich Pankov. _G-convergence_ _and_ _homogenization_ _of_ _nonlinear_ _partial_ _differential_ _op-_ _erators_, volume 422. Springer Science & Business Media, 2013. [64] G Papanicolau, A Bensoussan, and J-L Lions. _Asymptotic_ _analysis_ _for_ _periodic_ _structures_ . Elsevier, 1978. 33 [65] Grigorios A Pavliotis and Andrew Stuart. _Multiscale_ _methods:_ _averaging_ _and_ _homogenization_ . Springer Science & Business Media, 2008. [66] Enrique S´anchez-Palencia. Non-homogeneous media and vibration theory. In _Non-homogeneous_ _media_ _and_ _vibration_ _theory_, volume 127, 1980. [67] Hayden Schaeffer, Russel Caflisch, Cory D Hauck, and Stanley Osher. Sparse dynamics for partial differential equations. _Proceedings_ _of_ _the_ _National_ _Academy_ _of_ _Sciences_, 110(17):6634–6639, 2013. [68] X.H. Wu, Y. Efendiev, and T.Y. Hou. Analysis of upscaling absolute permeability. _Discrete_ _and_ _Continuous_ _Dynamical_ _Systems,_ _Series_ _B._, 2:158–204, 2002. [69] Zhiwen Zhang, Maolin Ci, and Thomas Y Hou. A multiscale data-driven stochastic method for elliptic pdes with random coefficients. _Multiscale_ _Modeling_ _&_ _Simulation_, 13(1):173–204, 2015. 34

섹션 본문 164문단 · 81,168자

(제목 없음)

1In this paper, we discuss a general multiscale model reduction framework based on multiscale finite element methods. We give a brief overview of related multiscale methods. Due to page limitations, the overview focuses on a few related methods and is not intended to be comprehensive. We present a general adaptive multiscale model reduction framework, the Generalized Multiscale Finite Element Method. Besides the method's basic outline, we discuss some important ingredients needed for the method's success. We also discuss several applications. The proposed method allows performing local model reduction in the presence of high contrast and no scale separation.

Objectives

2In this paper, we will present a novel multiscale model reduction technique for solving many challenging problems with multiple scales and high contrast. Our approach systematically and adaptively adds degrees of freedom in local regions as needed and goes beyond scale separation cases. The objectives of the paper are the following: (1) to demonstrate the main concepts of our unified approach for local multiscale model reduction; (2) to discuss the method's main ingredients; and (3) to demonstrate its applications to a variety of challenging multiscale problems.

The need for a systematic multiscale model reduction approach

3Computational meshes. In order to present our approach, we need the notions of coarse and fine meshes, which are illustrated in Figure 1. We assume that the computational domain Ω is partitioned by a coarse grid T H , which does not necessarily resolve any multiscale features. We let N c be the number of nodes in the coarse grid and N e be the number of coarse edges. We use the notation K to represent a generic coarse element in T H . To represent multiscale basis functions, we perform a refinement of T H to obtain a fine grid T h , with mesh size h > 0. The fine grid can essentially resolve all multiscale features of the problem and we perform the computations of the local basis functions on the fine grid.

4Scale separation approaches and their limitations. Many current approaches for handling complex multiscale problems typically limit themselves to two or more distinct idealized scales (e.g., pore and Darcy scales). These include homogenization and numerical homogenization methods [64,37,68]. To demonstrate some of the main concepts, we consider

5where L(u) is a differential operator representing the fine-scale process. One can use many different examples for L(u). To convey our main idea, we consider a simple and well-studied heterogeneous diffusion L(u) = −div(κ(x)∇u), where one assumes κ(x) to be a multiscale field representing the media properties. Homogenization and numerical homogenization techniques derive or postulate macroscopic equations and formulate local problems for computing the macroscopic parameters. For example, in the heterogeneous diffusion example, one computes the effective properties κ * (x) on a coarse grid as a constant tensor, κ * ij , (see Figure 1 for illustration of coarse and fine grids) via solving local problems (see Section 2). Using κ * (x), one solves the global problem (1). The number of macroscopic parameters represents the effective dimension of the local solution space. Consequently, these (numerical homogenization) approaches cannot represent many important local features of the solution space unless they are identified apriori in a modeling step. In this paper, we propose a novel approach that avoids these limitations and determines necessary local degrees of freedom as needed.

6Global model reduction approaches. The proposed approaches share some common features with global model reduction techniques [49,5,12], which construct global basis functions. Our approach uses local dimension reduction techniques. However, there are many important differences as we will discuss. First, global model reduction approaches, though powerful in reducing the degrees of freedom, lack local adaptivity and numerical discretization properties (e.g., conservations of local mass and energy,...) that local approaches enjoy. Many successful macroscopic laws (e.g., Darcy's law, and so on) are possible because the solution space admits a large compression locally. We will present several distinct examples to demonstrate this. For this reason, it is important to construct local multiscale model reduction techniques that can identify local degrees of freedom and be consistent with homogenization when there is scale separation. The proposed method is a first systematic step in developing such approaches.

7Multiscale Finite Element Methods and some related methods. The proposed methods take their origin in Multiscale Finite Element Methods [50,54] and Generalized Finite Element Methods [60]. The main idea of MsFEM is to construct local multiscale basis functions, φ ωi for each coarse block ω i , and replace macroscopic equations by using a limited number of basis functions. More precisely, for each coarse node i (see Figure 1), we construct multiscale basis function φ ωi and seek an approximate solution of (1) u approx = i c i φ ωi . These approaches motivate our new techniques as MsFEMs are the first methods that replace macroscopic equation concepts with carefully designed multiscale basis functions within finite element methods. Multiscale finite element approaches are shown to be powerful and have many advantages over numerical homogenization methods as MsFEMs can recover fine-scale information and be flexible in terms of gridding. However, these methods do not contain a systematic way to add degrees of freedom locally and adaptively, which are the proposed method's main contributions. Approaches, such as variational multiscale methods [53] (see also, [47]), multiscale finite volume [54], mortar multiscale method [4], localized reduced basis [6,28] can be related to the MsFEM and seek to approximate the solution when there is no scale separation. Other classes of approaches built on numerical homogenization methods (e.g., [29,58,48,41]) are limited to problems with scale separation and when macroscopic equations can be formulated. Due to the lack of space, we will briefly discuss a few of these methods in the paper.

The basic concepts of Generalized Multiscale Finite Element Method

8General idea of GMsFEM. In this paper, we will develop novel solution strategies centered around adaptive multiscale model reduction. The GMsFEM was first presented in [32] and later investigated in several other papers (e.g., [43,44,33,35,8,25,26,23,24]). The GMsFEM is motivated by our earlier works on designing multiscale coarse spaces for domain decomposition preconditioners [42,31,34], the studies in MsFEM, and the concepts of global model reduction methods (e.g., [49,5] and references therein), which employ global snapshots and Proper Orthogonal Decomposition (POD). The proposed approach is a generalization of the MsFEM and defines appropriate local snapshots and local spectral decompositions. The need for such systematic methods will be discussed in the examples of various applications. Our proposed approaches add local degrees of freedom as needed and provide numerical macroscopic equations for problems without scale separation and high contrast. Because of the proposed multiscale model reduction's local nature of, one can adaptively add the degrees of freedom based on error estimators and rigorously estimate the errors. To our best knowledge, this is one of the first local systematic multiscale model reduction frameworks that can be easily adopted for different applications.

9Multiscale basis functions and snapshot spaces. The main idea of our multiscale approach is to systematically select important degrees of freedom for the solution in each coarse block (see Figure 1 for coarse and fine grid illustration). More precisely, for each coarse block ω i (or K), we identify local multiscale basis functions φ ωi j (j = 1, ..., N ωi ) and seek the solution in the span of these basis functions. For problems with scale separation, one needs a limited number of degrees of freedom. However, as the heterogeneities get more complicated, one needs a systematic approach to find the additional degrees of freedom. In each coarse grid, we first build the snapshot space, V ωi snap = span{ψ ωi j }. The choice of the snapshot space depends on the global discretization and the particular application. The appropriate snapshot space (1) yields faster convergence, (2) imposes problem relevant restrictions on the coarse spaces (e.g., divergence free solutions) and (3) reduces the computational cost of building the offline spaces. Each snapshot can be constructed, for example, using random boundary conditions or source terms [9].

10Reducing the degrees of freedom. Once we construct the snapshot space V ωi snap , we identify the offline space, which is a principal component subspace of the snapshot space and derived based on analysis. To obtain the offline space, we perform a dimension reduction of the snapshot space. This reduction identifies dominant modes, which we use to construct a multiscale space. If the snapshot space and the local spectral problems are appropriately chosen, we obtain reduced dimensional spaces corresponding to numerical homogenization in the case of scale separation. When there is no scale separation, we have a constructive method to add the necessary extra degrees of freedom that capture the relevant interactions between scales.

11Adaptivity and nonlinearities. The algorithmic framework proposed above is general and can be used for different multiscale, high contrast, and perforated problems [22,26,43,8]. The multiscale basis functions are constructed locally and using an adaptive criteria. Thus, in different regions, we expect a different number of basis functions depending on the local features of the problem, such as heterogeneities and high contrast. For example, in the regions with scale separation, we expect only a limited number of degrees of freedom. The adaptivity will be achieved using error indicators. In nonlinear problems, one performs local nonlinear interpolation to approximate the Jacobian or other nonlinear terms. The above multiscale procedure can be complemented with online basis functions which helps to converge to the fine-scale solution by constructing multiscale basis functions in the simulations [23,24] (also, see Figure 2 for the ingredients of proposed multiscale method).

12Limitations. Though the proposed approaches can be used in many applications, it is limited to problems where the solution space locally has a low dimensional structure. If the latter is not the case, our approaches will use many degrees of freedom and the computational gain may not be significant in those regions. Many multiscale application problems we have encountered can benefit from local adaptive multiscale model reduction.

Methodological ingredients of GMsFEM

13Our computational framework will rely on several important ingredients (see Figure 2) that are general for various discretizations (such as mixed methods, discontinuous Galerkin, and etc,) and applications. These ingredients include (1) a procedure for identifying local snapshot spaces and multiscale basis, (2) developing global coupling mechanisms for multiscale basis functions, (3) adaptivity strategies, (4) local nonlinear interpolation tools, and (5) online basis functions. These ingredients are building blocks that are needed for constructing an accurate and robust multiscale model reduction. We will motivate the use of multiscale model reduction by showing how it can take us beyond conventional macroscopic modeling and discuss some relevant ingredients.

14The proposed framework provides a promising tool and capability for solving a large class of multiscale problems without scale separation and high contrast. This framework is tested and applied in various applications where we have followed the general framework to construct local multiscale spaces. We identify main ingredients of the framework, which can be further investigated for speed-up and accuracy.

Applications and organization of the paper

15We apply the proposed adaptive multiscale framework to several challenging and distinct applications where one deals with a rich hierarchy of scales. These include (1) flows in heterogeneous porous media (2) diffusion in fractured media (3) multiscale processes in perforated regions (4) wave propagation in heterogeneous media (5) nonlinear diffusion equations in heterogeneous media. We will discuss some of the applications here.

16In Section 2, we describe numerical homogenization and its limitations. In Section 3, we discuss Multiscale Finite Element Method. In Section 4, we describe the GMsFEM and its basic principles. In Section 5, adaptive strategies for the GMsFEM are described. Section 6 is devoted to the construction of the online basis functions. We describe the selected global couplings in Section 7. The GMsFEM using sparsity in the snapshot space is discussed in Section 8. We discuss the GMsFEM for space-time heterogeneous problems in Section 9. In Section 10, we discuss the GMsFEM for problems in perforated domains. We present some selected applications in Section 11. In Section 12, we discuss some remaining aspects of the GMsFEM, such as applications to nonlinear problems and its use in global model reduction techniques.

A brief introduction to numerical homogenization 2.1 Numerical homogenization

17The main idea of numerical homogenization is to identify the homogenized coefficients in each coarse-grid block. The basic underlying principle is to compute these upscaled quantities such that they preserve some averages for a given set of local boundary conditions. We discuss it on an example.

18We consider a simple example

19where κ ij (x) is a heterogeneous field. The objective is to define an upscaled (or homogenized) conductivity for each coarse block without directly using the periodicity. Following the homogenization technique, the local problems are solved in each coarse block

20where K is a coarse block. The boundary condition needs to be chosen such that it represents the local heterogeneities. We limit ourselves to Dirichlet boundary conditions N l = x l on ∂K. One can use other boundary conditions [68]. We note that if the local problem is homogenized and the homogenized coefficients are constant, then the solution of the homogenized equation is N * l = x l in K. The upscaled coefficients κ * ,nh ij can be defined by averaging the fluxes:

21The motivation behind this upscaling is to state that the average flux response for the fine-scale local problem with prescribed boundary conditions is the same as that for the upscaled solution. If we take N * l = x l in K, we have κ * ,nh

22Remark 1 (Convergence). Assuming that κ ij (x) = κ ij (x/ ), one can study the convergence of the numerical homogenization technique and show ( [68]) that

23where κ * ,nh il is the numerical homogenization and κ * il is the "correct" homogenized coefficients.

24Remark 2 (Oversampling). The convergence analysis suggests that the boundary layers due to artificial linear boundary conditions, N l = x l , cause the resonance errors. To reduce these resonance errors, oversampling technique has been proposed. The main idea of this method is to solve local problems in a larger domain. In oversampling method [50], the local problem that is analogous to (3) is solved in a larger domain (see Figure 1). In particular, if we denote the large domain by K + while the target coarse block by K (see Figure 1), then

25For simplicity, we can use N ovs l = x l on ∂K + . The upscaled conductivity κ * ,ovs ij is computed by equating the fluxes on the target coarse block:

26Noting that the domain K + is only slightly larger, we can still claim that N * ,ovs l = x l , and thus,

27The advantage of this approach is that one reduces the effects of the oscillatory boundary conditions. One can show ( [68]) that the error for the residual is small and scales as /H instead of /H.

Limitations

28The above numerical homogenization concepts (for linear and nonlinear problems) are often used to derive macroscopic equations. These techniques assume that the solution space has a reduced dimensional structure. For example, as we can observe from the above example and derivations, the solution in each coarse block is approximated by three local fields (in 3D). In fact, this "effective" dimension is related to the number of elements (constants) in the effective properties. In general, for many macroscopic equations, one implicitly assumes the local effective dimension for the solution space related to the number of macroscopic parameters. In many cases, the assumptions on the limited effective dimension of microscale problem break down and the local solution space may need more degrees of freedom. This requires general approaches, where we do not rely on macroscale equations, and approximate the solution space via multiscale basis functions. Next, we give a brief overview of these concepts.

Multiscale Finite Element Method

29In this section, we will give a brief overview of MsFEM as a method for solving a problem on a coarse grid. MsFEMs consist of two major ingredients: (1) multiscale basis functions and (2) a global numerical formulation which couples these multiscale basis functions. Multiscale basis functions are designed to capture the fine-scale features of the solution. Important multiscale features of the solution need to be incorporated into these localized basis functions which contain information about the scales which are smaller (as well as larger) than the local numerical scale defined by the basis functions. In particular, we need to incorporate the features of the solution that can be localized and use additional basis functions to capture the information about the features that need to be separately included in the coarse space. A global formulation couples these basis functions to provide an accurate approximation of the solution.

30As before, we consider the second order elliptic equations with heterogeneous coefficients

31where L(u) = − ∂ ∂xi κ ij (x) ∂ ∂xj u with appropriate boundary conditions. We seek multiscale basis functions supported in each domain ω j , denoted by φ ωj . Then, the coarse-grid solution is represented by

32In the above formulation, we define V 0 = span{φ ωi },

33One can also view MsFEM in the discrete setting. Assume that the basis functions are defined on a fine grid as Φ ωi with i varying from 1 to N c , where N c is the number of multiscale basis functions. Given coarse-scale basis functions, the coarse space is given by

34and the coarse matrix is given by A H = R T 0 AR 0 where A is the fine-scale stiffness matrix and

35Here Φ ωi 's are discrete coarse-scale basis functions defined on a fine grid (i.e., column vectors). Multiscale finite element solution is the finite element projection of the fine-scale solution into the space V 0 . More precisely, multiscale solution U H is given by

36where f H = R T 0 b. Next, we discuss some coarse spaces. Linear boundary conditions. Let χ 0 i be the standard piecewise linear or piecewise polynomial basis function supported in ω i . We define multiscale finite element basis functions that coincide with χ 0 i on the boundaries of the coarse partition. In particular,

37where K is a coarse grid block within ω i . Note that multiscale basis functions coincide with standard finite element basis functions on the boundaries of coarse grid blocks, while are oscillatory in the interior of each coarse grid block.

38Remark 3. We would like to remark that the MsFEM formulation allows one to take advantage of scale separation. In particular, K can be chosen to be a volume smaller than the coarse grid and the integrals in the stiffness matrix computations need to be re-scaled (see [37] for discussions).

39Remark 4 (The relation between MsFEM and numerical homogenization). It can be shown ( [37]) that the MsFEM with one basis function on triangular elements yields the same coarse-grid stiffness matrix as the numerical homogenization.This is due to the fact that the numerical homogenization uses the local solutions of PDEs as in the MsFEM. However, the MsFEM has several advantages, which include fine-scale information recovery, adaptivity based on the residual, the use of global information and so on ( [37]).

40Remark 5 (The relation between MsFEM and some other multiscale techniques). The relation between the MsFEM and other multiscale methods is discussed in [37]. It can be shown that the MsFEM can use an approximation of multiscale basis functions if there is a periodicity. As a result, the MsFEM can recover a similar approximation and the computational cost as Heterogeneous Multiscale Method ( [29]) for elliptic equations in the presence of scale separation. The relation of the MsFEM and variational multiscale method ( [53]) is also discussed in [37]. The variational multiscale method (VMM) recovers the fine-scale information via the equation for the residual. The localization of this equation and the choice of the initial multiscale spaces are important for the VMM. It can be shown that with a simple choice, one can recover the MsFEM. On the other hand, one can use more sophisticated coarse spaces and the residual recovery, to improve the accuracy of the VMM [10].

41Oversampling technique. Because of linear boundary conditions, the basis functions do not capture the fine-scale features of the solution along the boundaries. This can lead to large errors. When coefficients have a single physical scale , it has been shown that the error (see [52]) is proportional to /H, and thus can be large when H is close to . Motivated by such examples, Hou and Wu in [50] proposed an oversampling technique for multiscale finite element method. Specifically, let ψ +,ωi be the basis functions satisfying the homogeneous elliptic equation in the larger domain K + ⊃ K (see Figure 1). We then form the actual basis φ +,ωi by linear combination of ψ +,ωi , φ +,ωi = j α ij ψ +,ωj , and restricting them to K. The coefficients α ij are determined by condition φ +,ωi (x j ) = δ ij , where x j are nodal points. Other conditions can also be imposed (e.g., α ij are determined based on homogenized parts of ψ +,ωi ). Note that this method is nonconforming. One can also multiply the oversampling functions by linear basis functions to restrict them onto ω i and have a conforming method. Numerical results and more discussions on oversampling methods can be found in [37]. Many other boundary conditions are introduced and analyzed in the literature. For example, reduced boundary conditions are found to be efficient in many porous media applications ( [54]).

42The use of limited global information. Previously, we discussed multiscale methods which employ local information in computing basis functions with the exception of energy minimizing basis functions. The accuracy of these approaches depends on local boundary conditions. Though effective in many cases, multiscale methods that only use local information may not accurately capture the local features of the solution. In a number of previous papers, multiscale methods that employ limited global information is introduced. The main idea of these multiscale methods is to incorporate some fine-scale information about the solution that can not be computed locally and that is given globally. More precisely, in these approaches, we assume that the solution can be represented by a number of fields p 1 ,..., p N , such that

43where G is sufficiently smooth function, and p 1 ,.., p N are global fields. These fields typically contain the essential information about the heterogeneities at different scales and can also be local fields defined in larger domains. In the above assumption (14), p i are solutions of elliptic equations. These global fields are used to construct multiscale basis functions (often multiple basis functions per a coarse node). Finding p 1 , ..., p N , in general, can be a difficult task and we refer to Owhadi and Zhang [62] as well as to [36] where various choices of global information are proposed.

Overview

44Previous multiscale finite element concepts focus on constructing one basis function per node. As we discussed earlier these approaches are similar to numerical homogenization (upscaling), i.e., one can use one basis function to localize the effects of local heterogeneities. However, for many complex heterogeneities, multiple basis functions are needed to represent the local solution space. For example, if the coarse region contains several high-conductivity regions, one needs multiple multiscale basis functions to represent the local solution space. In this section, we discuss how to systematically construct multiscale basis functions in a general framework Generalized Multiscale Finite Element Methods. Generalized Multiscale Finite Element Method (GMsFEM) incorporates complex input space information and the input-output relation. It systematically enriches the coarse space through our local construction. Our approach, as in many multiscale and model reduction techniques, divides the computation into two stages (see Figure 3): offline and online. In the offline stage, we construct a small dimensional space that can be efficiently used in the online stage to construct multiscale basis functions. These multiscale basis functions can be re-used for any input parameter to solve the problem on a coarse-grid. Thus, this provides a substantial computational saving in the online stage. Below, we present an outline of the algorithm and will discuss its main ideas on the example of (9).

45Offline computations: (1) Coarse grid generation; (2) Construction of snapshot space that will be used to compute an offline space. (3) Construction of a small dimensional offline space by performing dimension reduction in the space of snapshots.

46Online computations: (1) For each input parameter, compute multiscale basis functions (for parameter dependent problems); (2) Solution of a coarse-grid problem for any force term and boundary condition; (

Examples of snapshot spaces. Oversampling and non-oversampling

47The snapshot space, denoted by V ωi H,snap for a generic domain ω i , is defined for each coarse region ω i (with elements of the space denoted ψ ωi l ) and can approximate the solution space with a prescribed accuracy. The appropriate snapshot space (1) yields faster convergence, (2) imposes problem relevant restrictions on the coarse spaces (e.g., divergence free solutions) and (3) reduces the computational cost of building the offline spaces. In particular, we emphasize that the use of oversampling in the snapshot spaces can improve the convergence.

All fine-grid functions

48We can use local fine-scale spaces consisting of fine-grid basis functions within a coarse region. More precisely, the snapshot vectors consists of unit vectors defined on a fine grid within a coarse region. In this case, the offline spaces will be computed on a fine grid directly ( [31]).

Harmonic extensions

49This choice of snapshot space consists of harmonic extension of fine-grid functions defined on the boundary of ω i . More precisely, for each fine-grid function, δ h l (x), which is defined by δ h l (x k ) = δ l,k , ∀x k ∈ J h (ω i ), where J h (ω i ) denotes the set of fine-grid boundary nodes on ∂ω i , we obtain a snapshot function ψ ωi l by L(ψ ωi l ) = 0 in ω i subject to the boundary condition, ψ ωi

Oversampling approaches

50To describe the oversampling approach, we consider the harmonic extension as described above in the oversampled region (see, e.g., Figure 1). This choice of snapshot space consists of harmonic extension of fine-grid functions defined on the boundary of ω + i . More precisely, for each fine-grid function,

Randomized boundary conditions

51In the above construction of snapshot vectors, many local problems are solved. This is not necessary and one can only solve a relatively small number of snapshot vectors. The number of snapshot vectors is defined by the number of offline multiscale basis functions. In this case, we will use random boundary conditions. More precisely, for each fine-grid function, r h l (x), which is defined by r h l (x k ) = r l,k , ∀x k ∈ J h (ω + i ), where r l,k are random numbers, we obtain a snapshot function ψ +,ωi

Offline spaces

52The offline space, denoted by V ωi H,off for a generic domain ω i , is defined for each coarse region ω i (with elements of the space denoted φ ωi l ) and used to approximate the solution. The offline space is constructed by performing a spectral decomposition in the snapshot space and selecting the dominant eigenvectors (corresponding to the smallest eigenvalues).

53The choice of the spectral problem is important for the convergence and is derived from the analysis as it is described below. The convergence rate of the method is proportional to 1/Λ * , where Λ * is the smallest eigenvalue among all coarse blocks whose corresponding eigenvector is not included in the offline space. Our goal is to select the local spectral problem to remove as many small eigenvalues as possible so that we can obtain smaller dimensional coarse spaces to achieve a higher accuracy.

General concept and example

54The construction of the offline space requires solving an appropriate local spectral eigenvalue problem. The local spectral problem is derived from the analysis. A first step in the analysis is to decompose the energy functional corresponding to the error into coarse subdomains. For simplicity, we denote the energy functional corresponding to the domain Ω by a Ω (u, u), e.g., a Ω (u, u) = Ω κ∇u · ∇u. Then,

55where ω are coarse regions (ω i ), u ω is the localization of the solution using the snapshot vectors defined for ω and u ω H is the component of the solution u H spanned by the basis in ω.

The local spectral decomposition is chosen to bound

56where s ω (·, ·) is an auxiliary bilinear form, which needs to be chosen and δ is a threshold related to eigenvalues. First, we would like the fine-scale solution to be bounded in s ω (·, ·). We note that, in computations, (16) involves solving a generalized eigenvalue problem with a mass matrix defined using s ω (·, ·) and the basis functions are selected based on dominant eigenvalues as described above. The threshold value δ is chosen based on the eigenvalue distribution. Secondly, we would like the eigenvalue problem to have a fast decay in the spectrum (this typically requires using oversampling techniques). Thirdly, we would like to bound

57where a Ω (u, u) can be bounded independent of physical parameters and the mesh sizes. In this step, one can need energy minimizing snapshots (See Remark 8 and [18]).

58Next, we discuss a choice for a ω (·, ·) and s ω (·, ·). Recall that for (16), we need a a local spectral problem, which is to find a real number λ and v ∈ V ωi H,snap such that

59where a ωi is a symmetric non-negative definite bilinear operator and s ωi is a symmetric positive definite bilinear operators defined on V ωi H,snap × V ωi H,snap . Based on our analysis, we can choose

60and χ ms i are multiscale basis functions (see (13)). We let λ ωi j be the eigenvalues of (17) arranged in ascending order. We will use the first l i eigenfunctions to construct our offline space V ωi H,off . The choice of the eigenvalue problem is motivated by the convergence analysis. The convergence rate is proportional to 1/Λ * (with the proportionality constant depending on H), where Λ * is the smallest eigenvalue that the corresponding eigenvector is not included in the offline space. We would like to remove as many small eigenvalues as possible. The eigenvectors of the corresponding small eigenvalues represent important features of the solution space. By choosing the multiscale basis functions, χ ms i , in the construction of local spectral problem, some localizable important features are taken into consideration through χ ms i and, as a result, we have fewer small eigenvalues (see [31] for more discussions). For constructing conforming multiscale basis functions, the selected eigenfunctions are multiplied by the partition of unity functions, such as χ ms i or χ 0 i (cf., [60]). The multiplication by the partition of unity functions modifies the multiscale nature of the selected multiscale eigenfunctions. We will discuss some other important discretizations such as mixed, discontinuous Galerkin discretizations, which can be more suitable for the coupling of the multiscale eigenfunctions and which avoid the multiplication by the partition of unity functions. The global offline space V H,off is formed as the union of all V ωi H,off . Once the offline space is constructed, we solve (10) and find

An implementation view

61Next, we present an implementation view of the local spectral decomposition. The space formed by the snapshot vectors is

62for each coarse neighborhood ω i and for each oversampled coarse neighborhood ω + i , respectively, where L i and L + i are the dimensions of the snapshot spaces V ωi H,snap and V +,ωi H,snap . We note that in the case when ω i is adjacent to the global boundary, no oversampled domain is used. We can put all snapshot functions using a matrix representation

63The local spectral problems (17) can be written in a matrix form as

64for the k-th eigenpair. We present two choices: one with no oversampling and one with oversampling, though one can consider various options [35]. In (19)

65where Ψ ωi kj and Ψ +,ωi kj are the coordinates of the vector Ψ ωi k and Ψ +,ωi k respectively. Collecting all offline basis functions and using a single index notation, we then create the offline matrices

66and R off = ψ off 1 , . . . , ψ off M off to be used in the online space construction, where M off is the total number of offline basis functions. The discrete system corresponding to (18) is

A numerical example

67We present a numerical result that demonstrate the convergence of the GMsFEM. More detailed numerical studies can be found in the literature. We consider the permeability field, κ(x) (see (9)) that is shown in Figure 4, the source term f = 0, and the boundary condition to be x 1 . The fine grid is 100 × 100, coarse grid is 10 × 10. We consider the snapshot space spanned by harmonic functions in the oversampled domain (with randomized boundary conditions) and vary the number of basis functions per node. The numerical results are shown in Table 1 in which e a and e 2 denote errors in energy and L 2 norms repsectively. As we observe from these numerical results the GMsFEM converges as we increase the number of basis functions. We also show the convergence when using polynomial basis functions. It is clear that the FEM method with polynomial basis functions does not converge and one can only observe this convergence only after a very large number of basis functions are chosen so that we cross the fine-scale threshold. We note that the convergence with one basis function per node does not perform well for the GMsFEM because of the high contrast. The first, second, and third smallest eigenvalues, Λ * , among all coarse blocks are 0.0024, 24.0071, 35.6941, respectively. We emphasize that if the eigenvalue problem (and the snapshot space) is not chosen appropriately, one can get more very small eigenvalues ( [31]). As we see that the first smallest eigenvalue is very small and, as a result, the error is large, when using one basis function. The eigenvalue distribution is important for online basis construction, as will be discussed later.

Adaptivity in GMsFEM

68The success of the GMsFEM depends on adaptive implementation and appropriate error indicators. In this section, we discuss an a-posteriori error indicator for the GMsFEM framework. We will demonstrate the main idea using a continuous Galerkin formulation; however, this concept can be generalized to other discretizations as we will discuss later on. This error indicator is further used to develop an adaptive enrichment algorithm for the linear elliptic equation with multiscale high-contrast coefficients. Rigorous a-posteriori error indicators are needed to perform an adaptive enrichment. We would like to point out that there are many related activities in designing a-posteriori error estimates for global reduced models. The main difference is that the error estimators presented in this section are based on a special local eigenvalue problem and use the eigenstructure of the offline space. We can consider various kinds of error indicators that are based on the L 2 -norm of the local residual and the other is based on the weighted H −1 -norm (we will also call it H −1 -norm based) of the local residual where the weight is related to the coefficient of the elliptic equation. The latter will be studied in the paper and we refer to [25] for more details.

69Let u H ∈ V H,off be the solution obtained in (18). Consider a given coarse neighborhood ω i . We define a space

70We also define the following linear functional on V i by

71This is called the H −1 -residual on ω i , The functional norm of R i , denoted by R i V * i , gives a measure of the size of the residual. The first important result states that these residuals give a computable indicator of the error u − u H in the energy norm. We have

72where C err is a uniform constant, and λ ωi li+1 denotes the (l i + 1)-th eigenvalue for the problem (19) in the coarse neighborhood ω i , and corresponds to the first eigenvector that is not included in the construction of V ωi H,off . The above error indicator allows one to construct an adaptive enrichment algorithm. It is an iterative process, and basis functions are added in each iteration based on the current solution. We use the index m ≥ 1 to represent the enrichment level. At the enrichment level m, we use V m H,off to denote the corresponding GMsFEM space and u m H the corresponding solution obtained in (18) using the space V m H,off . Furthermore, we use l m i to denote the number of basis functions used in the coarse neighborhood ω i . We will present the strategy for getting the space V m+1 H,off from V m H,off . Let 0 < θ < 1 be a given number independent of m. First of all, we compute the local residuals for every coarse neighborhood ω i :

73Next, we will add basis functions for the coarse neighborhoods with large residuals. To do so, we reenumerate the coarse neighborhoods so that the above local residuals η 2 i are arranged in decreasing order η 2 1 ≥ η 2 2 ≥ · · · ≥ η 2 N . We then select the smallest integer k such that

74For those coarse neighborhoods ω 1 , · · · , ω k (in the new enumeration) chosen in the above procedure, we will add basis functions by using the next eigenfunctions Ψ ωi li+1 , Ψ ωi li+2 , · · · . We remark that the number of new additional basis depends on the eigenvalue decay. The resulting space is called V m+1 off . We remark that the choice of k defined in (22) is called the Dorlfer's bulk marking strategy [27].

75As we mentioned the local basis functions do not contain any global information, and thus they cannot be used to efficiently capture these global behaviors. We will therefore present in the next section a fundamental ingredient of GMsFEM -the development of online basis functions that is necessary to obtain a coarse representation of the fine-scale solution and gives a rapid convergence of the corresponding adaptive enrichment algorithm.

76Remark 6 (Implementation). The algorithm above can be described as follows. We start with an initial space with a small number of basis functions for each coarse grid block. Then we solve the problem and compute the error estimator. We locate the coarse grid blocks with large errors and add more basis functions for these coarse grid blocks. This procedure is repeated until the error goes below a certain tolerance. We remark that the adaptive strategy belongs to the online process, because it is the actual simulation. On the other hand, the generation of basis functions belongs to the offline process. About stopping criteria for this algorithm, one can stop the algorithm when the total number of basis functions reach a certain level. On the other hand, one can stop the algorithm when the value of the error indicator goes below a certain tolerance.

77Remark 7 (Goal Oriented Adaptivity). For some practical problems, one is interested in approximating some function of the solution, known as the quantity of interest, rather than the solution itself. Examples include an average or weighted average of the solution over a particular subdomain, or some localized solution response. In these cases, goal-oriented adaptive methods yield a more efficient approximation than standard adaptivity, as the enrichment of degrees of freedom is focused on the local improvement of the quantity of interest rather than across the entire solution. In [30], we study goal-oriented adaptivity for multiscale methods, and in particular the design of error indicators to drive the adaptive enrichment based on the goal function. In this methodology, one seeks to determine the number of multiscale basis functions adaptively for each coarse region to efficiently reduce the error in the goal functional. Two estimators are studied. One is a residual based strategy and the other uses dual weighted residual method for multiscale problems. The method is demonstrated on high-contrast problems with heterogeneous multiscale coefficients, and is seen to outperform the standard residual based strategy with respect to efficient reduction of error in the goal function.

Numerical Results

78We show numerical results for the H −1 adaptivity. We consider the permeability field shown in Figure 4 for (9) and the forcing term shown in Figure 5. In Table 2, we present the numerical results and in Figure 5 (right plot), we compare the convergence of the adaptive GMsFEM and the GMsFEM, which uses a uniform number of basis functions. As we observe that the adaptive GMsFEM converges faster. 6 Residual-based online procedure Previously, we discussed adaptive enrichment procedures and derived an a-posteriori error indicator, which gives an estimate of the local error over coarse grid regions. We developed the error indicators based on the L 2 -norm of the local residual and on the weighted H −1 -norm of the local residual, where the weight is related to the coefficient of the elliptic equation. Adaptivity is important for local multiscale methods as it identifies regions with large errors. However, after adding some initial basis functions, one needs to take into account some global information as the distant effects can be important. In this section, we discuss the development of online basis functions that substantially accelerate the convergence of GMsFEM. The online basis functions are constructed based on a residual and motivated by the analysis. We show that one needs to have a sufficient number of initial (offline) basis functions to guarantee an error decay independent of the contrast. In particular, the error decay in one adaptive iteration is proportional to 1 − CΛ * (see (25) for more precise estimate), where Λ * is the smallest eigenvalue among all coarse blocks that the corresponding eigenvector is not included in the offline space. Thus, it is important to include all eigenvectors corresponding to very small eigenvalues in the offline space. In general, we would like to apply one iteration of the online procedure and reach a desired error threshold. Numerical results are presented to demonstrate that one needs to have a sufficient number of initial basis functions in the offline space before constructing online multiscale basis functions.

Residual-based online adaptive GMsFEM

79We use the index m ≥ 1 to represent the enrichment level. At the enrichment level m, we use V m H,off to denote the corresponding GMsFEM space and u m H the corresponding solution. The sequence of functions {u m H } m≥1 will converge to the fine-scale solution. We emphasize that the space V m H,off can contain both offline and online basis functions. We will construct a strategy for getting the space V m+1 H,off from V m H,off . The online basis functions are computed based on some local residuals for the current multiscale solution, that is, the function u m H,off . Suppose that we need to add a basis function φ on,ωi ∈ V i on the i-th coarse neighbourhood ω i . Let V m+1 H,off = V m H,off + span{φ on,ωi } be the new approximation space, and u m+1 H ∈ V m+1 H,off be the corresponding GMsFEM solution. It is easy to see that u m+1

80Taking v = u m+1 H + αφ on,ωi , where α is a scalar to be determined, we have

81The last two terms in the above inequality measure the amount of reduction in error when the new basis function φ on,ωi is added to the space V m H,off . To determine φ on,ωi , we first assume that the basis function φ on,ωi is normalized so that a(φ on,ωi , φ on,ωi ) = 1. In order to maximize the reduction in error, one can show that α = a(u − u m H , φ on,ωi ). Using this choice of α, we have

82We can show that

83and φ on,ωi Vi = R i V * i . Hence, the new online basis function φ on,ωi ∈ V i can be obtained by solving (24). In addition, the residual norm R i V * i provides a measure on the amount of reduction in energy error. In [23,24], we have studied the convergence of the above online adaptive procedure. To simplify notations, we write r i = R i V * i . We have shown that

84where n i is the number of offline basis in ω i . The above inequality gives the convergence of the online adaptive GMsFEM with a precise convergence rate for the case when one online basis function is added per iteration.

85The estimate (25) shows that the eigenvectors corresponding to very small eigenvalues need to be included in the offline space in order to achieve a significant error reduction in one iteration. To enhance the convergence and efficiency of the online adaptive GMsFEM, we consider enrichment on non-overlapping coarse neighborhoods. Let I ⊂ {1, 2, · · · , N } be the index set of some non-overlapping coarse neighborhoods. For each i ∈ I, we can obtain a basis function φ on,ωi ∈ V i using (24). We define V m+1 H,off = V m H,off + span{φ on,ωi , i ∈ I}. We remark that the error will decrease independent of physical parameters such as the contrast and scales if the offline space is appropriately chosen. We will demonstrate the effectiveness of this method by a numerical example. We remark that one can also derive apriori error estimate for u − u m+1 H,off 2 V .

Numerical result

86In Table 3, we present numerical results for online enrichment for the GMsFEM. We use the permeability field shown in Figure 4 and the forcing term shown in Figure 5 (left figure). As we observe the online enrichment does not improve the error if we have only one offline basis function. We remind that the first, second, and third smallest eigenvalues, Λ * , among all coarse blocks are 0.0024, 24.0071, 35.6941, respectively. Because the first eigenvalue is small, the error decrease in one online iteration is small. In particular, for each online iteration, the error decreases slightly. It is important that one adaptive online iteration can decrease the error substantially. As we increase the number of offline basis functions, the convergence is very fast and one online iteration is sufficient to reduce the error significantly. In one iteration, the error drops below 1% for the energy error. We note that this procedure can be implemented adaptively and we add online basis functions only in some regions.

Selected global discretizations and energy minimizing oversampling

87In previous sections, we used continuous Galerkin coupling for multiscale basis functions. In many applications, one needs to use various discretizations. For example, for flows in porous media, mass conservation is very important and, thus, it is advantageous to use mixed methods. In seismic wave applications involving the time-explicit discretization of wave equations, one needs block-diagonal mass matrices, which can be obtained using discontinuous Galerkin approaches. In this section, we present two global couplings, mixed finite element and Interior Penalty Discontinuous Galerkin (IPDG) couplings. We refer to [39] for Hybridized Discontinuous Galerkin (HDG) coupling and to [18] for comparisons between using IPDG and HDG couplings with multiscale basis functions.

88For each discretization, we define snapshot spaces and local spectral decompositions in the snapshot spaces. As we emphasized earlier the construction of the snapshot spaces and local multiscale spaces depends on the global discretization. For example, for mixed GMsFEM, the multiscale spaces are constructed for the velocity field using two neighboring coarse elements. We will present some ingredients of GMsFEM introduced earlier in the construction of multiscale basis functions, e.g., oversampling techniques and online multiscale basis functions. We also mention a new ingredient for multiscale basis construction -energy minimizing snapshots.

89In a mixed formulation, the problem can be formulated as

90with Neumann boundary condition v · n = v Ω on ∂Ω. Depending on a discretization technique, the coarse grid configuration will vary. For a mixed formulation, coarse grid blocks that share common edges (faces) will be used in constructing multiscale basis functions. In a discontinuous Galerkin formulation, the support of multiscale basis functions is limited to coarse blocks.

The mixed GMsFEM

91For the mixed GMsFEM, we will construct basis functions whose supports are ω E , which are the two coarse elements that share a common edge (face) E. In particular, we let E H be the set of all edges (faces) of the coarse grid and let N e be the total number of edges (faces) of the coarse grid. We define the coarse grid neighborhood ω E of a face E ∈ E H as

92which is a union of two coarse grid blocks if E i is an interior edge (face) (see Figure 1). For a coarse edge E i , we write ω Ei = ω i to unify the notations. Next, we define the notations for the solution spaces for the pressure u and the velocity v. Let Q H,off be the space of functions which are constant on each coarse grid block. We will use this space to approximate u. For the multiscale approximation of the velocity v, we will follow the general framework of the GMsFEM and construct a multiscale space V H,off for the velocity. Using the pressure space Q H,off and the velocity space V H,off , we solve for u H ∈ Q H,off and v H ∈ V H,off such that

93with boundary condition v H · n = v Ω,H on ∂Ω, whereV H,off = {v ∈ V H,off : v · n = 0 on ∂Ω}, and v Ω,H is the projection of v Ω in the multiscale space. We remark that we will define the snapshot and offline spaces so that the functions in V H,off are globally H(div)-conforming, and as a result the normal components of the basis are continuous across coarse grid edges.

DG GMsFEM (GMsDGM)

94For the GMsDGM, the general methodology for the construction of multiscale basis functions is similar to the above mixed GMsFEM. We will construct multiscale basis functions for the approximation of u in (9). The main difference is that the functions in the snapshot space V H,snap and the offline space V H,off are supported in coarse element K, instead of the coarse neighborhood ω i . Moreover, in the oversampling approach, the oversampled regions K + are defined by enlarging coarse elements K (see Figure 1). The construction of basis functions will be given in the next section. When the offline space V H,off is available, we can find the solution u H ∈ V H,off such that (see [15,24])

95where the bilinear form a DG is defined as

96with a H (p, q) = K∈T H a K H (p, q), a K H (p, q) = K κ∇p · ∇q, where γ > 0 is a penalty parameter, n E is a fixed unit normal vector defined on the coarse edge E ∈ E H . Note that, in (29), the average and the jump operators are defined in the classical way. Specifically, consider an interior coarse edge E ∈ E H and let K L and K R be the two coarse grid blocks sharing the edge E. For a piecewise smooth function G, we define

97where G R = G| K R and G L = G| K L and we assume that the normal vector n E is pointing from K R to K L . Moreover, on the edge E, we define κ = (κ K R + κ K L )/2 where κ K L is the maximum value of κ over K L and κ K R is defined similarly. For a coarse edge E lying on the boundary ∂D, we define { {G} } = [[G]] = G, and κ = κ K on E, where we always assume that n E is pointing outside of D. We note that the DG coupling (28) is the classical interior penalty discontinuous Galerkin (IPDG) method with the multiscale basis functions as the approximation space.

Multiscale basis functions in mixed GMsFEM. Non-oversampling

98First, we present the construction of the snapshot space for the approximation of the velocity v. The space is a large function space containing basis functions whose normal traces on coarse grid edges are resolved up to the fine grid level. Let E i ∈ E H be a coarse edge. We can write the edge E i = Ji j=1 e j , where the e j 's are the fine grid edges (faces) contained in E i and J i is the total number of those fine grid edges. To construct the snapshot vectors, for each j = 1, 2, · · · , J i , we will solve the following local problem

99subject to the Neumann boundary conditions ψ i,j · n i = 0 on ∂ω i and ψ i,j · n Ei = δ h j on E i , where n Ei is a unit normal vector on E i , δ h j is a fine-scale discrete delta function defined by

100and n is the outward unit-normal vector on ∂ω i . The function α i,j is constant on each coarse grid block within ω i and it should satisfy the condition K α i,j = ∂K ψ i,j · n i for each coarse grid K ∈ ω i . We denote the number of snapshots from (30) by L i and the space spanned by these functions by V ωi H,snap . Now, we define the local spectral problem for V ωi H,snap for the construction of the offline space V ωi H,off . The local spectral problem is to find real number λ and v ∈ V ωi H,snap such that

101where a i is a symmetric non-negative definite bilinear operator and s i is a symmetric positive definite bilinear operators defined on V ωi H,snap × V ωi H,snap . Motivated by the analysis ( [21]), we choose

102We let λ ωi j be the eigenvalues of (32) arranged in ascending order, and ψ ωi j be the corresponding eigenfunctions. We will use the first l i eigenfunctions to construct our offline space V ωi H,off . We note that it is important to keep the eigenfunctions with small eigenvalues in the offline space. The global offline space V H,off is the union of all V ωi H,off . The oversampling can be performed by using the snapshots in the regions surrounding the edge and computing boundary conditions. We refer to [21] for the details.

Multiscale basis functions in GMsDGM. Oversampling

103For each K i ∈ T H , we consider an oversampled region K + i ⊃ K i . We define ψ + i,j such that

104where δ h j is the delta function defined in Section 4. We denote the number of local snapshots by L + i and the space spanned by these functions by V +,Ki H,snap . These basis functions ψ + i,j are supported in K + i . We denote the restriction of ψ + i,j on K i by ψ i,j . Then we remove the linear dependence of ψ i,j by performing Proper Orthogonal Decomposition (POD) ( [49]). Next, we will define the local spectral problem as finding λ and v ∈ V +,ωi H,snap such that

105where a i is a symmetric non-negative definite bilinear operator and s i is a symmetric positive bilinear operators defined on V +,ωi

106We let λ ωi j be the eigenvalues of (34) arranged in ascending order, and ψ +,ωi j be the corresponding eigenfunctions. We denote ψ ωi j as the restriction of ψ +,ωi j on K i We will use the first l i restricted eigenfunctions to construct the offline space V ωi H,off . We note that it is important to keep the eigenfunctions with small eigenvalues in the offline space. The global offline space V H,off is the union of all V ωi H,off . Remark 8 (Energy minimizing oversampling). For efficient online simulations, one needs to develop energy minimizing snapshot vectors [18]. In these approaches, the snapshot vectors are computed by solving local constrained minimization problems. More precisely, first, we use an oversampled region to construct the snapshot space. We denote them ψ + 1 , ..., ψ + N for simplicity and consider one coarse block. Next, we consider the restriction of these snapshot vectors in a target coarse block and identify linearly independent components, ψ 1 , ..., ψ M , M ≤ N . A next important ingredient is to construct minimum energy snapshot vectors that represent the snapshot functions in the target coarse region. These snapshot vectors are constructed by solving a local minimization problem. We denote them by ψ 1 , ..., ψ M . In the final step, we perform a local spectral decomposition to compute multiscale basis functions ( [18]). Energy minimizing snapshots are important for online basis computations and are used to show the stable decomposition.

Numerical results

107We present the numerical results for the mixed GMsFEM. The permeability field is as shown in Figure 4 and f = 1. The coarse grid 10 × 10 and we use zero Dirichlet boundary conditions. In Table 4, the relative errors measured in the norm v 2 = Ω κ −1 |v| 2 are shown as we increase the number of basis functions. As we observe from this table, the mixed GMsFEM has a very good convergence rate. In general, we have observed a good accuracy when the mixed formulation of the GMsFEM is used. With only 3 basis functions per node, the error in the velocity field is less than 5%. We note that the total degrees of freedom for the fine-grid solution is 20200. #basis 1 (220) 2 (440) 3 (660) 4 (880) 5 (1100) v h − v H / v h 16.50% 6.41% 3.91% 2.65% 1.64% Table 4: Convergence history with increasing number of offline basis functions for the mixed GMsFEM.

1088 Discussions on the sparsity in the snapshot space

109In previous approaches, multiscale basis functions are constructed using local snapshot spaces, where a snapshot space is a large space that represents the solution behavior in a coarse block. In a number of applications, one may have a sparsity in the snapshot space for an appropriate choice of a snapshot space. More precisely, the solution may only involve a portion of the snapshot space. In this case, one can use sparsity techniques to identify multiscale basis functions. We briefly discuss two such sparse local multiscale model reduction approaches (see [14] for details).

110In the first approach (which is used for parameter-dependent multiscale PDEs), we use local minimization techniques, such as sparse POD, to identify multiscale basis functions, which are sparse in the snapshot space. These minimization techniques use l 1 minimization to find local multiscale basis functions, which are further used for finding the solution. In the second approach (which is used for the Helmholtz equation), we directly apply l 1 minimization techniques to solve the underlying PDEs. This approach is more expensive as it involves a large snapshot space; however, in this example, we cannot identify a local minimization principle, such as local generalized SVD.

111We consider Lu = f , where L is a differential operator. For example, we consider parameter-dependent heterogeneous flows, Lu = −div(κ(x; µ)∇u), and the Helmholtz equation, Lu = −div(κ(x)∇u) − ζ 2 n(x)u. Previous approaches use all snapshot vectors when seeking multiscale basis functions. In a number of applications, the solution is sparse in the snapshot space, which implies that in the expansion

112many coefficients c i,j are zeros. In this case, one can save computational effort by employing sparsity techniques.

113The main challenge in these applications is to construct a snapshot space, where the solution is sparse. In the first example, this can be achieved, because an online parameter value µ can be close to some of the pre-selected offline values of µ's, and thus, the multiscale basis functions (and the solution) can have a sparse representation in the snapshot space. In the second example, we select cases where the solution u contains only a few snapshot vectors corresponding to some wave directions. We note that if the snapshot space is not chosen carefully, one may not have the sparsity. We can consider two distinct cases.

114• First approach: "Local-Sparse Snapshot Subspace Approach". Determining the online sparse space locally via local spectral sparse decomposition in the snapshot space (motivated by parameter-dependent problems).

115• Second approach: "Sparse Snapshot Subspace Approach". Determining the online space globally via a global solve (motivated by using plane wave snapshot vectors and the Helmholtz equation).

116See Figure 6 for illustration. We use sparsity techniques (e.g., [11,67]) to identify local multiscale basis functions and solve the global problem. The numerical results and more discussions can be found in [14].

Space-time GMsFEM

117Many multiscale processes vary over multiple space and time scales. In many applications, the heterogeneities change due to the time can be significant and it needs to be taken into account in reduced-order models. Some well-known approaches for handling separable spatial and temporal scales are homogenization techniques Figure 6: Illustration of the approaches. [55,63,65,40]. In these methods, one solves local problems in space and time. We remind a well-known case of the parabolic equation

118subject to smooth initial and boundary conditions. The homogenized equation has the same form as (35), but with the smooth coefficients κ * (x, t). One can compute the coefficients using the solutions of local spacetime parabolic equations in the periodic cell. This localization is possible thanks to the scale separation. One can extend this homogenization procedure to numerical homogenization type methods [61,41], where one solves the local parabolic equations in each coarse block. Previous approaches within GMsFEM focused on constructing multiscale spaces and relevant ingredients in space only. The extension of the GMsFEM to space-time heterogeneous problems requires a modification of the space only problems because of (1) the parabolic nature of cell solutions, (2) extra degrees of freedom associated with space-time cells, and (3) local boundary conditions in space-time cells. In the approach that we are going to discuss, we construct snapshot spaces in space-time local domains. We construct the snapshot solutions by solving local problems. We can construct a complete snapshot space by taking all possible boundary conditions; however, this can lead to very high computational cost. For this reason, we use randomized boundary conditions for local snapshot vectors. Computing multiscale basis functions employs local spectral problems in space-time domain.

119We consider the parabolic differential equation (35) in a space-time domain Ω×(0, T ) and assume u = 0 on ∂Ω × (0, T ) and u(x, 0) = β(x) in Ω. The proposed method follows the space-time finite element framework, where the time dependent multiscale basis functions are constructed on the coarse grid. Therefore, compared with the time independent basis structure, it gives a more efficient numerical solver for the parabolic problem in complicated media.

120We would like to compute the solution u H in the whole time interval (0, T ). In fact, if we assume the solution space V To obtain the offline basis functions, we need to perform a space reduction by appropriate spectral problems. Motivated by a convergence analysis, we adopt the following spectral problem on ω + × (T n−1 , T n ). Find

121where the bilinear operators A n (φ, v) and S n (φ, v) are defined by

122where the weight function κ

123is a partition of unity associated with the oversampled coarse neighborhoods {ω + i } Nc i=1 and satisfies |∇χ + i | ≥ |∇χ i | on ω i , where χ i is the standard multiscale basis function for the coarse node x i , −div(κ(x, T n−1 )∇χ i ) = 0, in K, χ i = g i on ∂K, for all K ∈ ω i , where g i is linear on each edge of ∂K.

124We arrange the eigenvalues {λ ω j |j = 1, 2, · ·· L ω +p ω bf } from (36) in the ascending order, and select the first L ω eigenfunctions, which are corresponding to the first L ω ordered eigenvalues, and then we can obtain the dominant modes ψ ω j (x, t) on the target region ω × (T n−1 , T n ) by restricting ψ +,ω j (x, t) onto ω × (T n−1 , T n ). Finally, the offline basis functions on ω × (T n−1 , T n ) are defined by φ ω j (x, t) = χ ω ψ ω j (x, t), where χ ω is the standard multiscale basis function for a generic coarse neighborhood ω. This product gives conforming basis functions (Discontinuous Galerkin discretizations can also be used). We also define the local offline space on ω × (T n−1 , T n ) as V ω H,off = span{φ ω j (x, t)|j = 1, · · ·, l ω }.

125Note that one can take V

Numerical result

126We start with a high-contrast permeability field shown in Figure 4, which is translated uniformly in x 2 direction after every other fine time step. The total translation is 10% of the global domain. The number of local offline basis that will be used in each ω i , is denoted by l i , and the buffer number p bf needs to be chosen in advance since they determine how many local snapshots are used. Then, we can construct the lower dimensional offline space by performing space reduction on the snapshot space. In the experiments, we use the same buffer number and the same number of local offline basis for all coarse neighborhood ω i 's. Our numerical experiments show that the error does not change beyond p bf = 4. In our numerical simulations, we take p bf = 8 and vary l i . The errors are displayed in Table 5. These are L 2 and energy errors. We observe that with a fixed buffer number, the relative errors are decreasing as using more offline basis. We can also observe that the values 1/Λ * 's and energy errors are correlated as predict our theory [19].

GMsFEM in perforated domains

127One important class of multiscale problems consists in perforated domains. In these problems, differential equations are formulated in perforated domains. These domains can be considered to be the outside of inclusions or connected bodies of various sizes. Due to the variable sizes and geometries of these perforations, solutions to these problems have multiscale features. One solution approach involves posing the problem in a domain without perforations but with a very high contrast penalty term representing the domain heterogeneities ( [45]). However, the void space can be a small portion of the whole domain and, thus, it is computationally expensive to enlarge the domain substantially. The main difference in developing multiscale methods for problems in perforated domains is the complexity of the domains and that many portions of the domain are excluded in the computational domain. This poses a challenging task. For typical upscaling and numerical homogenization (e.g., [66,48]), the macroscopic equations do not contain perforations and one computes the effective properties.

128Several multiscale methods have been developed for problems in perforated domains. The use of GMsFEM for solving multiscale problems in perforated domains is motivated by recent works [59,56,48]. Using snapshot spaces is essential in problems with perforations, because the snapshots contain necessary geometry information. In the snapshot space, we perform local spectral decomposition to identify multiscale basis functions. In this section, we show an example for Stokes equations and refer to [26] for more discussions and extensions to other problems.

Problem setting

129In this section, we present the underlying problem as stated in [20] and the corresponding fine-scale and coarse-scale discretization. Let Ω ⊂ R d (d = 2, 3) be a bounded domain covered by inactive cells (for Stokes flow and Darcy flow) or active cells (for elasticity problem) B ε . We will consider d = 2 case, though the results can be extended to d > 2. We use the superscript ε to denote quantities related to perforated domains. The active cells are where the underlying problem is solved, while inactive cells are the rest of the region. Suppose the distance between inactive cells (or active cells) is of order ε. Define Ω ε := Ω\B ε . See Figure 7 (left) for an illustration of the perforated domain. We consider the following problem defined in a perforated domain Ω ε

130w = g on ∂Ω ∩ ∂Ω ε , where L ε denotes a linear differential operator, n is the unit outward normal to the boundary, f and g denote given functions with sufficient regularity. We will focus on the Dirichlet problem, namely, w = 0 in (38). Denote by V (Ω ε ) the appropriate solution space, and V 0 (Ω ε ) = {v ∈ V (Ω ε ), v = 0 on ∂Ω ε }. The variational formulation of (38) is to find w ∈ V (Ω ε ) such that

131where ·, · Ω ε denotes a specific inner product over Ω ε for either scalar functions or vector functions and and (f, v) Ω ε is the L 2 inner product. Some specific examples for the above abstract notations are given below. Laplace: For the Laplace operator with homogeneous Dirichlet boundary conditions on ∂Ω ε , we have L ε (u) = −∆u, and V (Ω ε ) = H 1 0 (Ω ε ), L ε (u), v Ω ε = (∇u, ∇v) Ω ε . Elasticity: For the elasticity operator with a homogeneous Dirichlet boundary condition on ∂Ω ε , we assume the medium is isotropic. Let u ∈ (H 1 (Ω ε )) 2 be the displacement field. The strain tensor ε(u) ∈ (L 2 (Ω ε )) 2×2 is defined by ε(u) = 1 2 (∇u + ∇u T ). Thus, the stress tensor σ(u) ∈ (L 2 (Ω ε )) 2×2 relates to the strain tensor ε(u) such that σ(u) = 2µε + ξ∇ · u I, where ξ > 0 and µ > 0 are the Lamé coefficients. We have L ε (u) = −∇ · σ, where V (Ω ε ) = (H 1 0 (Ω ε )) 2 and L ε (u), v Ω ε = 2µ(ε(u), ε(v)) Ω ε + ξ(∇ · u, ∇ · v) Ω ε . Stokes: For Stokes equations, we have

132where µ is the viscosity, p is the fluid pressure, u represents the velocity, V (Ω ε ) = (H 1 0 (Ω ε )) 2 × L 2 0 (Ω ε ), and

133We recall that L 2 0 (Ω ε ) contains functions in L 2 (Ω ε ) with zero average in Ω ε . We will illustrate our ideas and results using the Stokes equations.

134For the numerical approximation of the above problems, we first introduce the notations of fine and coarse grids pertinent to perforated domains. It follows similar constructions as before with the exception of domain geometries, which can intersect the boundaries of coarse regions. Let T H be a coarse-grid partition of the domain Ω ε with mesh size H. Notice that, the edges of the coarse elements do not necessarily have straight edges because of the perforations (see Figure 7, left). By conducting a conforming refinement of the coarse mesh T H , we can obtain a fine mesh T h of Ω ε with mesh size h. Typically, we assume that 0 < h H < 1, and that the fine-scale mesh T h is sufficiently fine to fully resolve the small-scale information of the domain, and T H is a coarse mesh containing many fine-scale features. Let N v and N e be the number of nodes and edges in coarse grid respectively. We denote by {x i |1 ≤ i ≤ N c } the set of coarse nodes, and {E j |1 ≤ j ≤ N e } the set of coarse edges. We define a coarse neighborhood ω ε i for each coarse node x i by ω ε i = ∪{K ε j ∈ T H ; x i ∈K ε j }, which is the union of all coarse elements having the node x i . For the Stokes problem, additionally, we define a coarse neighborhood ω ε m for each coarse edge E m by

135which is the union of all coarse elements having the edge E m . We let V h be the fine scale space for velocity u and Q h be the fine scale space for the pressure p. One can choose V h to be piecewise quadratic and Q h to be piecewise constant with respect to the fine mesh T h . We will then obtain the fine-scale solution (u, p) ∈ V h × Q h for the Stokes system by solving the following variational problem

136These solutions are used as reference solutions to test the performance of the schemes.

The construction of offline basis functions

137In this section, we describe the construction of offline basis for the Stokes problem in perforated domains. We refer to [16] for online basis construction and the analysis, as well as GMsFEM for the elliptic equation and the elasticity equations in perforated domains.

Snapshot space

138To compute snapshot functions, we solve the following problem on the coarse neighborhood ω ε i : find (u i l , p i l ) (on a fine grid) such that

139with boundary conditions u i l = (0, 0), on ∂B ε , u i l = (δ h l , 0) or (0, δ h l ), on ∂ω ε i \∂B ε . Here, we write ω ε i \∂B ε = ∪ Si l=1 e l , where e l are the fine-grid edges and S i is the number of these fine grid edges on ω ε i \∂B ε . Moreover, δ h l is a fine-scale delta function such that it has value 1 on e l and value 0 on other fine-grid edges. In (42), we define V i h and Q i h as the restrictions of the fine grid space in ω ε i and V i h,0 ⊂ V i h are functions that vanish on ∂ω ε i . We remark that we choose the constant c in (42) by compatibility condition, c = 1 |ω ε i | ∂ω ε i /∂B ε u i l · n i ds. We emphasize that, for the Stokes problem, we will solve (42) in both node-based coarse neighborhoods and edge-based coarse neighborhoods (40). Collecting the solutions of the local problems generates the snapshot space, ψ

140One can reduce the cost of solving local problems by using the randomization techniques [9].

Offline Space

141We perform a space reduction in the snapshot space through using a local spectral problem in ω ε i . We consider the following local eigenvalue problem in the snapshot space

142where

143Note that we solve the above spectral problem in the local snapshot space corresponding to the neighborhood domain ω ε i . We arrange the eigenvalues in an increasing order, choosing the first l i eigenvalues and taking the corresponding eigenvectors Ψ ω i k , for k = 1, 2, ..., l i , to form the basis functions, i.e., Φ

144For constructing the conforming offline space, we multiply the functions Φ

145,k ) by a partition of unity function χ i . Note that discontinuous Galerkin methods will eliminate the need for χ i . We remark that we define the partition of unity functions {χ i } with respect to the coarse nodes and the midpoints of coarse edges. One can choose {χ i } to be the standard multiscale finite element basis. However, upon multiplying by partition of unity functions, the resulting basis functions no longer have constant divergence, which affects the scheme's stability. Moreover, the multiplication by partition of unity functions may not honor the perforation boundary conditions as discussed before. To resolve the problem with the divergence, for each Φ ω i k we find two functions Φ ω i 1,k and Φ ω i 2,k (these are vector functions) that solve two local optimization problems in every coarse-grid element K i j ⊂ ω ε i :

146with n ij the outward normal vector to ∂K i j and the boundary condition Φ

147with the boundary condition Φ

148Combining them, we obtain the global offline space:

149Using a single index notation, we can write V H,off = span{Φ off

150l i . We will use this as an approximation space for the velocity. For coarse approximation of the pressure, we will take Q H,off to be the space of piecewise constant functions on the coarse mesh. Note that for many applications, the size of the coarse problem can be substantially small compared to the fine-scale problem. For example, for problems with scale separation, we can only use 1-2 basis functions. Once multiscale basis functions are constructed, the global coarse-grid problem can be solved on the coarse grid with pre-computed multiscale basis functions.

Numerical results

151We present a numerical result for Stokes equations in Ω = [0, 1] × [0, 1]. We consider a perforated domain as illustrated in Figure 7, where the perforated regions B ε are circular. We coarsely discretize the computational domain using uniform triangulation, where the coarse mesh size H = 1 5 for Stokes problem. Note that our approach does not impose any geometry restriction on coarse meshes. Furthermore, we use nonuniform triangulation inside each coarse triangular element to obtain a finer discretization.

152We consider the Stokes operator with zero velocity u = (0, 0) on ∂Ω ε ∩ ∂B ε and ∂u ∂n = (0, 0) on ∂Ω. For the fine-scale approximation of the Stokes problem, we use P 2 -elements for velocity and piecewise constants for pressure. The x 1 -component of the velocity solution is shown in Figure 8. We present the offline solution with one basis function and three basis functions. We observe that the offline velocity solution with one basis function (DOF=1082) is not able to capture the solution accurately. The L 2 -error is 10.1%. If we use three multiscale basis functions per coarse element (DOF=2846), we obtain a more accurate solution, the L 2 -error is only 1.02%. These results show that one needs a systematic and rigorous approach for enriching coarse-grid spaces in order to obtain accurate solutions using only a small number of basis functions.

Selected Applications

153Previously, we discussed the main concept of the GMsFEM and some important ingredients. The GMsFEM can be used in various applications. Below, we discuss a few applications.

Two-phase flow

154We present simulation results for two-phase flow and transport problems. We consider the two-phase flow problem with zero Neumann boundary condition −η(S)κ∇p = v in Ω, div v = f in Ω, v · n = 0 on ∂Ω, (47) is solved by the mixed GMsFEM, and the saturation equation is solved on the fine grid by the finite volume method. In our simulations, we take f to be zero except for the top-left and bottom-right fine-grid elements, where f takes the values of 1 and −1, respectively. Moreover, we set the initial value of S to be zero. For the source r, we also take it as zero except for the top-left fine element where r = 1.

155For the simulations of two-phase flow, the mixed GMsFEM is used for the flow equations. The multiscale basis functions are computed at time zero using the unit mobility, i.e., η = 1. These multiscale basis function for the velocity field is used without any modification to compute the fine-scale velocity field. The fine-scale velocity field is further used to update the saturation file. We note that each time the flow equation is solved on a coarse grid, which provides a substantial computational saving. We present the numerical results for the saturation in Figure 9 for the permeability field shown in Figure 4. As we observe from this figure that with three basis functions, we obtain very good agreement (L 2 error is 1.8%).

Flow in fractured media

156In this section, we briefly discuss the application of the GMsFEM to flows in fractured media, in particular, the application to shale gas transport in fractured media. We remark that the study of flows in fractured media has a long history (see, e.g., [57,46]). We study nonlinear gas transport in fractured media (cf., [2]) a z (c) ∂c ∂t = div(b z (c, x)∇c),

157where z = m, f with m referring to the matrix phase and f referring to the fracture phase. The fractures have "zero" thickness and are represented on a fine-scale variational formulation as edge elements. More precisely, the domain Ω can be represented by Ω = Ω m ⊕ i d i Ω f,i . Here, d i is the aperture of the i th fracture and i is the index of the fractures (see Figure 10). In our numerical simulations, we solve the above problem using the GMsFEM framework for some specific parameter values that are specified below. We note that the fractures are modeled within snapshot space via harmonic extensions as we discussed above (see [1] for more details). In the method, the basis functions are constructed using the steady state with b z = 1 in (48) and taking into account the fracture distribution. The problem (48)

Other applications

158We have demonstrated two applications of the GMsFEM. The GMsFEM can be used for other complex multiscale problems. For example, in [13], we have applied the GMsFEM for elastic wave propagation in fractured media. We have also used the GMsFEM for acoustic wave propagation [22]. The GMsFEM can also be effectively used in inverse problem, where the forward problem is solved many times. In [38], we apply the GMsFEM in uncertainty quantification in inverse problems.

Discussions

159In this paper, we give an overview of multiscale finite element methods and discuss their generalizations. Due to page limitations, we do not present a comprehensive overview of multiscale methods and mention only some important aspects of the GMsFEM as a tool for performing adaptive multiscale model reduction. The application of the method to nonlinear problems is not discussed in the paper. We refer to ( [17]) for the application to nonlinear problems, where we consider nonlinear eigenvalue problems, hybridization, and nonlinear interpolation ideas to efficiently solve these problems.

160The proposed local reduced-order models can be used in performing global model reduction. The GMs-FEM can be employed to construct the snapshots for the global model reduction methods. In this case, using reduced representation of the global snapshots, we can perform POD or another model reduction for the global modes. Moreover, we can use adaptively local approaches to update the global snapshots when online computations are needed. These global-local approaches can be effective in many applications [3].

161Optimal multiscale basis functions can be obtained using the oversampling techniques, optimization, and singular value decomposition [51]. In this paper, we focus on a general adaptive strategy that can be easily adapted for various applications and discretization, as demonstrated. One can use the ideas of optimized multiscale basis functions as in [51] in the proposed framework.

162The stochastic multiscale problems are challenging due to additional degrees of freedom due to randomness. For stochastic problems, one can use multiscale finite element framework with Monte Carlo techniques or separation of variables. A promising approach for solving multiscale stochastic problems is to use data driven stochastic method concepts as shown in [69].

163Multiscale framework proposed in the paper can also be employed for the stabilization. For example, in [7], the authors use the GMsFEM to stabilize the convection-dominated problems by constructing multiscale test spaces.

164Finally, we would like to remark that the proposed methods are well suited for the parallel computation, in particular, the task of multiscale basis computations is embarrassingly parallel. Our numerical results (using up to 1000 processors) on 3D perforated problems show that one can achieve almost perfect scaling in the parallel computations.

참고문헌 71건

  1. Green's Kernels and Meso-Scale Approximations in Perforated Domains Lecture notes in mathematics · Springer Nature · 2013 10.1007/978-3-319-00357-3
  2. Randomized Oversampling for Generalized Multiscale Finite Element Methods Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2016 10.1137/140988826
  3. Asymptotic Analysis for Periodic Structures 2011 10.1090/chel/374
  4. Homogenization of nonlinear random parabolic operators Advances in Differential Equations · 2005 10.57262/ade/1355867751
  5. Multiscale model reduction for shale gas transport in fractured media arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1507.00113
  6. An adaptive generalized multiscale discontinuous Galerkin method (GMsDGM) for high-contrast flow problems arXiv (Cornell University) · Cornell University · 2014 10.48550/arxiv.1409.3474
  7. Non-Homogeneous Media and Vibration Theory Lecture notes in physics · Springer Science+Business Media · 1980 10.1007/3-540-10000-8
  8. Generalized multiscale finite element methods for problems in perforated heterogeneous domains Applicable Analysis · Taylor & Francis · 2015 10.1080/00036811.2015.1040988
  9. Goal-oriented adaptivity for GMsFEM Journal of Computational and Applied Mathematics · Elsevier BV · 2015 10.1016/j.cam.2015.10.021
  10. Multiscale Methods: Averaging and Homogenization 2008
  11. Convergence of a multiscale finite element method for elliptic problems with rapidly oscillating coefficients Mathematics of Computation · American Mathematical Society · 1999 10.1090/s0025-5718-99-01077-7
  12. Metric‐based upscaling Communications on Pure and Applied Mathematics · Wiley · 2006 10.1002/cpa.20163
  13. Homogenization of Differential Operators and Integral Functionals 1994
  14. A hierarchical fracture model for the iterative multiscale finite volume method Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.08.021
  15. The Heterognous Multiscale Methods Communications in Mathematical Sciences · International Press of Boston · 2003 10.4310/cms.2003.v1.n1.a8
  16. A Multiscale Data-Driven Stochastic Method for Elliptic PDEs with Random Coefficients Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2015 10.1137/130948136
  17. A spectral multiscale hybridizable discontinuous Galerkin method for second order elliptic problems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2014 10.1016/j.cma.2014.09.036
  18. A generalized multiscale finite element method for the Brinkman equation Journal of Computational and Applied Mathematics · Elsevier BV · 2014 10.1016/j.cam.2014.11.038
  19. A Multiscale Mortar Mixed Finite Element Method Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2007 10.1137/060662587
  20. Reduced Basis Techniques for Stochastic Problems Archives of Computational Methods in Engineering · Springer Science+Business Media · 2010 10.1007/s11831-010-9056-z
  21. Multi-scale finite-volume method for elliptic problems in subsurface flow simulation Journal of Computational Physics · Elsevier BV · 2003 10.1016/s0021-9991(03)00075-5
  22. Global–local nonlinear model reduction for flows in heterogeneous porous media Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2014 10.1016/j.cma.2014.10.034
  23. A note on variational multiscale methods for high-contrast heterogeneous porous media flows with rough source terms Advances in Water Resources · Elsevier BV · 2011 10.1016/j.advwatres.2010.12.011
  24. Proper Orthogonal Decomposition Surrogate Models for Nonlinear Dynamical Systems: Error Estimates and Suboptimal Control Springer eBooks · Springer Nature · 2005 10.1007/3-540-27909-1_10
  25. Generalized multiscale finite element method. Symmetric interior penalty coupling Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.07.028
  26. Application of POD and DEIM on dimension reduction of non-linear miscible viscous fingering in porous media Mathematical and Computer Modelling of Dynamical Systems · Taylor & Francis · 2011 10.1080/13873954.2011.547660
  27. 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
  28. Domain Decomposition Preconditioners for Multiscale Flows in High Contrast Media: Reduced Dimension Coarse Spaces Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2010 10.1137/100790112
  29. Reduced Basis Approximation for Nonlinear Parametrized Evolution Equations based on Empirical Operator Interpolation SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2012 10.1137/10081157x
  30. Mixed Generalized Multiscale Finite Element Methods and Applications Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2015 10.1137/140970574
  31. A Convergent Adaptive Algorithm for Poisson’s Equation SIAM Journal on Numerical Analysis · Society for Industrial and Applied Mathematics · 1996 10.1137/0733054
  32. An ‘empirical interpolation’ method: application to efficient reduced-basis discretization of partial differential equations Comptes Rendus Mathématique · Elsevier BV · 2004 10.1016/j.crma.2004.08.006
  33. Ensemble level multiscale finite element and preconditioner for channelized systems and applications Journal of Computational and Applied Mathematics · Elsevier BV · 2013 10.1016/j.cam.2013.06.007
  34. Multiscale empirical interpolation for solving nonlinear PDEs Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.07.052
  35. Homogenization and Numerical Simulation of Flow in Geometries with Textile Microstructures Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2010 10.1137/09077059x
  36. Sparse dynamics for partial differential equations Proceedings of the National Academy of Sciences · National Academy of Sciences · 2013 10.1073/pnas.1302752110
  37. An adaptive GMsFEM for high-contrast flow problems Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.05.007
  38. Analysis of the heterogeneous multiscale method for parabolic homogenization problems Mathematics of Computation · American Mathematical Society · 2006 10.1090/s0025-5718-06-01909-0
  39. 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
  40. Hierarchical modeling of flow in naturally fractured formations with multiple length scales Water Resources Research · Wiley · 2001 10.1029/2000wr900340
  41. Multi-scale Asymptotic Analysis of Gas Transport in Shale Matrix Transport in Porous Media · Springer Science+Business Media · 2014 10.1007/s11242-014-0435-z
  42. The partition of unity finite element method: Basic theory and applications Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1996 10.1016/s0045-7825(96)01087-0
  43. The heterogeneous multiscale finite element method for elliptic homogenization problems in perforated domains Numerische Mathematik · Springer Science+Business Media · 2009 10.1007/s00211-009-0244-4
  44. Analysis of upscaling absolute permeability Discrete and Continuous Dynamical Systems - B · American Institute of Mathematical Sciences · 2002 10.3934/dcdsb.2002.2.185
  45. Generalized multiscale finite element methods (GMsFEM) Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.04.045
  46. Accurate multiscale finite element methods for two-phase flow simulations Journal of Computational Physics · Elsevier BV · 2006 10.1016/j.jcp.2006.05.015
  47. A localized orthogonal decomposition method for semi-linear elliptic problems ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2013 10.1051/m2an/2013141
  48. Residual-driven online generalized multiscale finite element methods Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.07.068
  49. A Domain Decomposition Preconditioner for Multiscale High-Contrast Problems Lecture notes in computational science and engineering · Springer Nature · 2010 10.1007/978-3-642-11304-8_20
  50. Multiscale stabilization for convection-dominated diffusion in heterogeneous media Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2016 10.1016/j.cma.2016.02.014
  51. A rigorous Multiscale Method for semi-linear elliptic problems arXiv (Cornell University) · Cornell University · 2012
  52. A generalized multiscale finite element method for elastic wave propagation in fractured media GEM - International Journal on Geomathematics · Springer Science+Business Media · 2016 10.1007/s13137-016-0081-4
  53. Online adaptive local multiscale model reduction for heterogeneous problems in perforated domains Applicable Analysis · Taylor & Francis · 2016 10.1080/00036811.2016.1199799
  54. Generalized multiscale finite element methods for space-time heterogeneous parabolic equations arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1605.07634
  55. REITERATED MULTISCALE MODEL REDUCTION USING THE GENERALIZED MULTISCALE FINITE ELEMENT METHOD International Journal for Multiscale Computational Engineering · Begell House · 2016 10.1615/intjmultcompeng.2016017697
  56. Domain Decomposition Methods in Science and Engineering XIX Lecture notes in computational science and engineering · Springer Nature · 2010 10.1007/978-3-642-11304-8
  57. A multiscale model reduction method for nonlinear monotone elliptic equations in heterogeneous media Networks and Heterogeneous Media · American Institute of Mathematical Sciences · 2017 10.3934/nhm.2017025
  58. An MsFEM type approach for perforated domains arXiv (Cornell University) · Cornell University · 2013 10.48550/arxiv.1307.0876
  59. An Adaptive Generalized Multiscale Discontinuous Galerkin Method for High-Contrast Flow Problems Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2018 10.1137/140986189
  60. Optimal local multi-scale basis functions for linear elliptic equations with rough coefficients Discrete and Continuous Dynamical Systems · American Institute of Mathematical Sciences · 2016 10.3934/dcds.2016.36.4451
  61. An Online Generalized Multiscale Discontinuous Galerkin Method (GMsDGM) for Flows in Heterogeneous Media Communications in Computational Physics · Cambridge University Press · 2017 10.4208/cicp.230815.090516a
  62. Robust domain decomposition preconditioners for abstract symmetric positive definite bilinear forms ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2012 10.1051/m2an/2011073
  63. Generalized Multiscale Finite Element Methods for Wave Propagation in Heterogeneous Media Multiscale Modeling and Simulation · Society for Industrial and Applied Mathematics · 2014 10.1137/130926675
  64. GENERALIZED MULTISCALE FINITE ELEMENT METHODS: OVERSAMPLING STRATEGIES International Journal for Multiscale Computational Engineering · Begell House · 2014 10.1615/intjmultcompeng.2014007646
  65. Sparse Generalized Multiscale Finite Element Methods and their applications International Journal for Multiscale Computational Engineering · Begell House · 2015 10.1615/intjmultcompeng.2015014280
  66. Two-scale FEM for homogenization problems ESAIM Mathematical Modelling and Numerical Analysis · EDP Sciences · 2002 10.1051/m2an:2002025
  67. Multilevel Markov Chain Monte Carlo Method for High-Contrast Single-Phase Flow Problems Communications in Computational Physics · Cambridge University Press · 2014 10.4208/cicp.021013.260614a
  68. G-Convergence and Homogenization of Nonlinear Partial Differential Operators Springer eBooks · Springer Nature · 1997 10.1007/978-94-015-8957-4
  69. Multiscale Finite Element Methods: Theory and Applications 2009
  70. Homogenization of Differential Operators and Integral Functionals Springer eBooks · Springer Nature · 1994 10.1007/978-3-642-84659-5
  71. Asymptotic Analysis for Periodic Structures Studies in mathematics and its applications · Elsevier BV · 1978 10.1016/s0168-2024(08)x7015-8