본문 펼치기
## Adaptive generalized multiscale finite element methods for H(curl)-elliptic problems with heterogeneous coefficients
Eric T. Chung <sup>_∗_</sup> and Yanbo Li <sup>_†_</sup>
July 11, 2018
Abstract
In this paper, we construct an adaptive multiscale method for solving H(curl)-elliptic problems in highly heterogeneous media. Our method is based on the generalized multiscale finite
element method. We will first construct a suitable snapshot space, and a dimensional reduction procedure to identify important modes of the solution. We next develop and analyze an a
posteriori error indicator, and the corresponding adaptive algorithm. In addition, we will construct a coupled offline-online adaptive algorithm, which provides an adaptive strategy to the
selection of offline and online basis functions. Our theory shows that the convergence is robust
with respect to the heterogeneities and contrast of the media. We present several numerical
results to illustrate the performance of our method.
### 1 Introduction
Many practical problems are modeled by partial differential equations with highly heterogeneous
coefficients. Classical numerical methods for solving these problems typically require very fine
computational meshes, and are therefore very expensive to use. In order to solve these problems
efficiently, one needs some types of model reduction, which is typically based on upscaling techniques
or multiscale methods. In upscaling methods, the heterogeneous coefficient is carefully replaced by
an effective medium [14, 29, 20, 23] so that the system can be solved on a much coarser grid. In
multiscale methods, such as those in [2, 3, 19, 16, 17, 18, 22, 8, 4, 13, 21, 1, 26], one attempts to
represent the solution by some multiscale basis functions. These basis functions are constructed
carefully and are usually based on some local cell problems. The purpose is to capture the fine scale
properties of the true solution by using a few multiscale basis functions, with the aim of reducing
computational costs.
In this paper, we consider the H(curl)-elliptic problem with highly heterogeneous coefficients.
Our aim is to construct a multiscale method for solving this problem. We will consider the generalized multiscale finite element method (GMsFEM) [15, 5]. GMsFEM is a generalization of the
classical multiscale finite element method [25] in the way that multiple basis functions are used for
_∗_ Department of Mathematics, The Chinese University of Hong Kong (CUHK), Hong Kong SAR. Email:
`tschung@math.cuhk.edu.hk` . The research of Eric Chung is supported by Hong Kong RGC General Research Fund
(Project 14317516) and CUHK Direct Grant for Research 2016-17.
_†_ Department of Mathematics, Texas A&M University, College Station, TX 77843. Email: `lyb@tamu.edu` .
1
each coarse region. We will consider three important components of the GMsFEM in this paper.
The first one is basis functions construction. This is a process in the offline stage. To find the basis
functions, we will construct a set of snapshot functions for each local coarse region. The snapshot
functions are solutions of local cell problems with some suitable boundary conditions. To obtain
the offline basis functions, we perform a dimension reduction procedure by using a suitable spectral
problem, designed carefully based on analysis. These basis functions are then used in a coarse
scale conforming finite element formulation to solve the problem. The second component is offline
adaptivity [12]. In order to determine the number of offline basis functions to be used for each
coarse region, we will develop a local error indicator based on an a posteriori error analysis. Using
the proposed error indicator, we are able to determine the number of basis functions in an adaptive
way. In addition, we prove the convergence of this approach, and show that the convergence rate is
independent of the heterogeneities of the coefficients. The last component is online adaptivity [10].
The goal of online basis functions is to capture some components, such as global feature, of the
solution that are not representable by offline basis functions. To compute online basis functions,
we solve local cell problems by using local residual of the solution. Moreover, we can do this in an
adaptive way, so that online basis functions are only added in regions with larger errors. We prove
the convergence of the online adaptive method and show that the convergence rate is independent
of the coefficients. We also show that a sufficient number of offline basis functions is needed in
order to obtain a rapid convergence rate of the online adaptive method. We remark that there are
also related methods developed for the discontinuous Galerkin formulation in [7] and [9]. We also
remark that a method based on HMM is developed in [24].
To illustrate the performance of our GMsFEM, we present some numerical results focusing on
the convergence properties of the method. We will first show that the method is robust with
respect to the contrast and heterogeneities of the coefficients. Next, we illustrate the advantage of
using offline adaptivity by comparing the convergence behaviour with uniform basis enrichment,
and show that the offline adaptive method is able to capture the solution more effectively. Finally,
we construct a coupled offline-online adaptive method. It is known that the first few offline basis
functions correspond to the dominant components of the solution, and the rest of the offline basis
functions contribute the solution is a less crucial way. So, one needs to switch to the use of online
basis functions once sufficient number of offline basis functions are used. Our offline-online adaptive
method allows this to be done automatically. By using a suitable error indicator and a suitable
tolerance parameter, we show that the offline-online adaptive method performs very well and give
a practical solver for realistic applications.
The rest of the paper is organized as follows. In the next section, we briefly introduce the basic
idea of the GMsFEM. In Section 3, we will present both the offline and the online adaptive methods,
and in Section 4, we will analyze these methods. In Section 5, numerical results are presented to
illustrate the performance of the adaptive methods. Finally, the paper ends with a conclusion.
### 2 The GMsFEM
In this section, we will give the construction of our GMsFEM for _H_ (curl)-elliptic problem. First,
we present some basic notations and the coarse grid formulation in Section 2.1. Then, we present
the constructions of the multiscale snapshot functions, basis functions and the multiscale scheme
in Section 2.2. We will mainly present our ideas in the two-dimensional settings. The extension to
the three-dimensional case is straightforward.
2
2.1 Preliminaries
Let _D_ be a bounded domain in R <sup>2</sup> with a Lipschitz boundary _∂D_ with unit tangential vector _t_ . In
this paper, we consider the following high-contrast _H_ (curl)-elliptic problem
_∇×_ ( _a ∇× u_ ) + _b u_ = _f_ in _D,_
(1)
_u · t_ = 0 on _∂D,_
where _a ≥_ 1 is a heterogeneous field with high contrast, _b >_ 0 is a bounded heterogeneous field and
_f_ is a given divergence-free source.
To describe the general solution framework for the model problem (1), we first introduce the
notion of fine and coarse grids. Let _T_ <sup>_h_</sup> be a partition of the domain _D_ into fine finite elements. Here
_h_ _>_ 0 is the fine mesh size. The coarse partition, _T_ <sup>_H_</sup> of the domain _D_, is formed such that each
element in _T_ <sup>_H_</sup> is a connected union of fine-grid blocks. More precisely, _∀Kj_ _∈T_ <sup>_H_</sup> _,_ _Kj_ = _∪F ∈Ij_ _F_
for some _Ij_ _⊂T_ <sup>_h_</sup> . The quantity _H_ _>_ 0 is the coarse mesh size. We will consider rectangular coarse
elements and the methodology can be used with general coarse elements. An illustration of the
mesh notations is shown in Figure 1(Left).
Figure 1: Left: an illustration of fine and coarse grids. Right: an illustration of a coarse neighborhood and a coarse element.
Next, we define the finite element space _V_ h as the set of the lowest order curl conforming
elements of N´ed´elec with respect to the fine mesh _T_ <sup>_h_</sup>, and define _V_ h <sup>0</sup> <sup>=</sup> <sup>_{v_</sup> <sup>_∈_</sup> <sup>_V_</sup> <sup>h</sup> <sup>_| v · t_</sup> <sup>= 0</sup> <sup>on</sup> <sup>_∂D}_</sup> <sup>.</sup>
The fine-scale solution _u_ h _∈_ _V_ h is obtained by solving the following variational problem
_D_
_a_ ( _∇× u_ h) ( _∇× v_ ) + _b u_ h _· v_
=
_D_
_f_ _· v_ _∀v_ _∈_ _V_ h <sup>0</sup> <sup>_._</sup> (2)
The solution _u_ h is our reference solution. The convergence property of this method is well-known
(see for example [28]).
Finally, for any subdomain Ω _⊂_ _D_, and _v_ _∈_ _V_ h, we define the norms _∥v∥L_ 2( _b_ ;Ω) and _∥v∥H_ (curl)( _a,b_ ;Ω)
as
_b |v|_ <sup>2</sup>
_∥v∥_ <sup>2</sup> _L_ <sup>2</sup> ( _b_ ;Ω) <sup>=</sup>
3
Ω
and
_∥v∥_ <sup>2</sup> _H_ (curl)( _a,b_ ;Ω) <sup>=</sup>
Ω
_a |∇× v|_ <sup>2</sup> + _b |v|_ <sup>2</sup> _._
2.2 Construction of multiscale basis functions
In this section, we will give the constructions of our GMsFEM. In Section 2.2.1, we will present
the construction of the snapshot space. To do so, we will locally solve the _H_ (curl)-elliptic problem
on coarse neighborhoods with suitable boundary conditions. This process will provide a set of
functions which are able to span the fine-scale solution with high accuracy. Next, in Section 2.2.3,
we will present the construction of our multiscale basis functions. The construction is based on
the design of a suitable local spectral problem which can identify important modes in the snapshot
space. Finally, we present our multiscale method.
2.2.1 Snapshot Space
We denote the set of all edges of the coarse grid as _E_ <sup>_H_</sup>, and let _Ne_ be the total number of interior
edges of the coarse grid. We define the coarse grid neighborhood _ωi_ of an edge _Ei_ _∈E_ <sup>_H_</sup> as
_ωi_ =
�� _K_ _∈T_ <sup>_H_</sup> : _Ei_ _∈_ _∂K_
which is the union of all coarse grid blocks having the edge _Ei_ . This concept is illustrated in
Figure 1 (Right).
In each _ωi_ corresponding to an interior coarse edge _Ei_, we will solve the following local problem
_∇×_ ( _a ∇× ψj_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_j_ <sup>(</sup> <sup>_i_</sup> <sup>)) +</sup> <sup>_b ψ_</sup> _j_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_j_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = 0 _,_ in each element _K_ _⊂_ _ωi,_
_ψj_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _· t_ = 0 _,_ on _∂ωi,_
(3)
_ψj_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _· t_ = _δj_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> on _∂Ei._
In the above problem, we write _Ei_ = <sup>�</sup> _j_ <sup>_Ji_</sup>
In the above problem, we write _Ei_ = <sup>�</sup> _j_ <sup>_J_</sup> =1 <sup>_i_</sup> <sup>_ej_</sup> <sup>,</sup> <sup>where</sup> <sup>_ej_</sup> <sup>’s</sup> <sup>are</sup> <sup>the</sup> <sup>fine</sup> <sup>grid</sup> <sup>edges</sup> <sup>contained</sup> <sup>in</sup> <sup>_Ei_</sup> <sup>,</sup>
and we define
_δj_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> =
�1 _,_ on _ej,_
0 _,_ on _Ei\ej._
The set of solutions to problem (3) is the local snapshot basis _β_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
The set of solutions to problem (3) is the local snapshot basis _β_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>The</sup> <sup>local</sup> <sup>snapshot</sup> <sup>space</sup>
_V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>corresponding to the coarse neighborhood</sup> <sup>_ω_</sup> _i_ <sup>is defined as the span of all the above functions,</sup>
that is, _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>span(</sup> <sup>_β_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>).</sup> <sup>The</sup> <sup>global</sup> <sup>snapshot</sup> <sup>space,</sup> <sup>or</sup> <sup>simply</sup> <sup>the</sup> <sup>snapshot</sup> <sup>space,</sup> <sup>is</sup> <sup>defined</sup>
as _V_ snap = <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>After</sup> <sup>we</sup> <sup>construct</sup> <sup>_V_</sup> snap <sup>,</sup> <sup>we</sup> <sup>can</sup> <sup>solve</sup> <sup>snapshot</sup> <sup>solution</sup> <sup>_u_</sup> snap <sup>_∈_</sup> <sup>_V_</sup> snap <sup>by</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>span(</sup> <sup>_β_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
as _V_ snap = <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>After</sup> <sup>we</sup> <sup>construct</sup> <sup>_V_</sup> snap <sup>,</sup> <sup>we</sup> <sup>can</sup> <sup>solve</sup> <sup>snapshot</sup> <sup>solution</sup> <sup>_u_</sup> snap <sup>_∈_</sup> <sup>_V_</sup> snap <sup>by</sup>
solving
_D_
_a_ ( _∇× u_ snap)( _∇× v_ ) + _b u_ snap _· v_
=
_D_
_f_ _· v,_ _∀v_ _∈_ _V_ snap _._ (4)
2.2.2 Snapshot error
In this section, we will show that the difference between the fine scale solution _u_ h and the snapshot
solution _u_ snap is _O_ ( _H_ ).
4
Theorem 1. _Let_ _uh_ _∈_ _Vh_ _be_ _the_ _solution_ _of_ _(2)_ _and_ _let_ _usnap_ _∈_ _Vsnap_ _be_ _the_ _solution_ _of_ _(4)._ _Then_
_we_ _have_
_∥uh −_ _usnap∥H_ ( _curl_ )( _a,b_ ; _D_ ) _≤_ _CH ∥f_ _∥L_ 2( _D_ ) _,_
_where_ _C_ _is_ _independent_ _of_ _a_ _and_ _b._
_Proof._ We choose _u_ �snap _∈_ _V_ snap such that _u_ �snap _·_ _t_ = _u_ h _·_ _t_ on _E_ <sup>_H_</sup> . In particular, in each coarse block
_K_, the following equations hold
�� + _b_
_b_ - _u_ h _−_ _u_ �snap� = _f,_ in _K,_
- _u_ h _−_ _u_ �snap� _· t_ =0 _,_ on _∂K._
- _u_ h _−_ _u_ �snap
_∇×_
- _a ∇×_ - _u_ h _−_ _u_ �snap
- _· t_ =0 _,_ on _∂K._
The corresponding variational problem is
_K_
- _u_ h _−_ _u_ �snap�� ( _∇× v_ ) + _b_
- _u_ h _−_ _u_ �snap� _· v_ =
_K_
_f_ _· v_ _∀v_ _∈_ _V_ h <sup>0(</sup> <sup>_K_</sup> <sup>)</sup> <sup>_,_</sup> (5)
_a_
- _∇×_
where _V_ h <sup>0</sup>
h <sup>0(</sup> <sup>_K_</sup> <sup>) =</sup> <sup>_{v_</sup> <sup>is</sup> <sup>N´ed´elec</sup> <sup>elements</sup> <sup>in</sup> <sup>_K_</sup> <sup>_| v · t_</sup> <sup>= 0</sup> <sup>on</sup> <sup>_∂K} ._</sup> <sup>Taking</sup> <sup>_v_</sup> <sup>=</sup> <sup>_u_</sup> <sup>h</sup> <sup>_−_</sup> _u_ <sup>�</sup> snap _∈_ _V_ h <sup>0</sup>
where _V_ h <sup>0(</sup> <sup>_K_</sup> <sup>) =</sup> <sup>_{v_</sup> <sup>is</sup> <sup>N´ed´elec</sup> <sup>elements</sup> <sup>in</sup> <sup>_K_</sup> <sup>_| v · t_</sup> <sup>= 0</sup> <sup>on</sup> <sup>_∂K} ._</sup> <sup>Taking</sup> <sup>_v_</sup> <sup>=</sup> <sup>_u_</sup> <sup>h</sup> <sup>_−_</sup> _u_ <sup>�</sup> snap _∈_ _V_ h <sup>0(</sup> <sup>_K_</sup> <sup>)</sup> <sup>in</sup>
the above equation, we have
�� _u_ h _−_ _u_ �snap��2 _H_ (curl)( _a,b_ ; _K_ ) <sup>=</sup>
_K_
(6)
_f_
- _u_ h _−_ _u_ �snap
_≤∥f_ _∥L_ 2( _K_ )
�� _u_ h _−_ _u_ �snap�� _L_ <sup>2</sup> ( _K_ ) <sup>_._</sup>
Moreover, for any _p ∈_ _Q_ <sup>0</sup> h
<sup>0</sup> h <sup>(</sup> <sup>_K_</sup> <sup>),</sup> <sup>where</sup> <sup>_Q_</sup> <sup>0</sup> h
Moreover, for any _p ∈_ _Q_ <sup>0</sup> h <sup>(</sup> <sup>_K_</sup> <sup>),</sup> <sup>where</sup> <sup>_Q_</sup> <sup>0</sup> h <sup>represents</sup> <sup>the</sup> <sup>space</sup> <sup>of</sup> <sup>piecewise</sup> <sup>bilinear</sup> <sup>functions</sup> <sup>in</sup> <sup>fine</sup>
grid with zero boundary condition, we take _v_ = _∇p ∈_ _V_ h <sup>0(</sup> <sup>_K_</sup> <sup>)</sup> <sup>in</sup> <sup>(5).</sup> <sup>Since</sup> <sup>_f_</sup> <sup>is</sup> <sup>divergence-free,</sup> <sup>we</sup>
have
- _· ∇p_ = 0 _._
_b_
- _u_ h _−_ _u_ �snap
_K_
Therefore _u_ h _−_ _u_ �snap is discrete divergence-free.
By Lemma 7.20 in [27], we have
��2 _H_ (curl)( _K_ ) <sup>_≤_</sup> <sup>_c_</sup>
��2 _H_ (curl)( _a_ ; _K_ ) <sup>_,_</sup>
�� _u_ h _−_ _u_ �snap
�� _u_ h _−_ _u_ �snap
��2 _L_ <sup>2</sup> ( _b_ ; _K_ ) <sup>_≤_</sup> <sup>_c_</sup>
�� _u_ h _−_ _u_ �snap
where the semi-norm _|v|H_ (curl)( _a_ ; _K_ ) is defined as
_|v|_ <sup>2</sup> _H_ (curl)( _a_ ; _K_ ) <sup>=</sup>
_K_
_a |∇× v|_ <sup>2</sup> _._
Note that _c_ is independent of _a_ .
By rescaling, we have
�� _u_ h _−_ _u_ �snap
Therefore,
��2 _L_ <sup>2</sup> ( _b_ ; _K_ ) <sup>_≤_</sup> <sup>_c′H_</sup> <sup>2 ��</sup> <sup>_u_</sup> <sup>h</sup> <sup>_−_</sup> _u_ <sup>�</sup> snap��2 _H_ (curl)( _a_ ; _K_ ) <sup>_._</sup>
_<u>c</u>_ <sup>_′_</sup> _<u>H</u>_ <sup>2</sup>
��2 _L_ <sup>2</sup> ( _b_ ; _K_ ) <sup>_≤_</sup> 1 + _c_ <sup>_′_</sup> _H_ <sup>2</sup> �� _u_ h _−_ _u_ �snap
_<u>c</u>_ <sup>_′_</sup> _<u>H</u>_ <sup>2</sup>
��2 _L_ <sup>2</sup> ( _b_ ; _K_ ) <sup>_≤_</sup> 1 + _c_ <sup>_′_</sup>
�� _u_ h _−_ _u_ �snap
��2 _H_ (curl)( _a,b_ ; _K_ )
_≤_ _c_ <sup>_′_</sup> _H_ <sup>2 ��</sup> _u_ h _−_ _u_ �snap
5
��2 _H_ (curl)( _a,b_ ; _K_ ) <sup>_._</sup>
Combining with (6), we have
�� _u_ h _−_ _u_ �snap
By Cea’s inequality, we have
��2 _H_ (curl)( _a,b_ ; _K_ ) <sup>_≤_</sup> <sup>_c′H_</sup> <sup>2</sup> <sup>_∥f_</sup> <sup>_∥_</sup> _L_ <sup>2</sup> <sup>2</sup> ( _K_ ) <sup>_._</sup>
��2 _H_ (curl)( _a,b_ ; _K_ ) <sup>_≤_</sup> <sup>_c′H_</sup> <sup>2</sup> <sup>_∥f_</sup> <sup>_∥_</sup> _L_ <sup>2</sup>
_∥u_ h _−_ _u_ snap _∥_ <sup>2</sup> _H_
<sup>2</sup> _H_ (curl)( _a,b_ ; _K_ ) <sup>=</sup> _v∈∈_ inf _V_ snap <sup>_∥u_</sup> <sup>h</sup> <sup>_−_</sup> <sup>_v∥_</sup> _H_ <sup>2</sup>
_H_ (curl)( _a,b_ ; _K_ )
��2 _H_ (curl)( _a,b_ ; _K_ )
_≤_
�� _u_ h _−_ _u_ �snap
_≤c_ <sup>_′_</sup> _H_ <sup>2</sup> _∥f_ _∥_ <sup>2</sup> _L_ <sup>2</sup> ( _K_ )
Therefore,
_∥u_ h _−_ _u_ snap _∥_ <sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>=</sup>
_≤_
_K_
_K_
_∥u_ h _−_ _u_ snap _∥_ <sup>2</sup> _H_ (curl)( _a,b_ ; _K_ )
_c_ <sup>_′_</sup> _H_ <sup>2</sup> _∥f_ _∥_ <sup>2</sup> _L_ <sup>2</sup> ( _K_ )
= _c_ <sup>_′_</sup> _H_ <sup>2</sup> _∥f_ _∥_ <sup>2</sup> _L_ <sup>2</sup> ( _D_ ) <sup>_._</sup>
2.2.3 Offline Space
After we obtain the snapshot spaces _V_ snap, we perform a dimension reduction to get a smaller space.
Such reduced space is called the offline space. The reduction is achieved by solving a local spectral
problem on each coarse grid neighborhood _ωi_ . The dominant eigenfunctions will be used to form
the local basis _β_ ms <sup>(</sup> <sup>_i_</sup> <sup>).</sup> <sup>The</sup> <sup>local</sup> <sup>spectral</sup> <sup>problem,</sup> <sup>in</sup> <sup>each</sup> <sup>_ω_</sup> _i_ <sup>,</sup> <sup>is</sup> <sup>to</sup> <sup>find</sup> <sup>real</sup> <sup>number</sup> <sup>_λ_</sup> <sup>and</sup> <sup>_v_</sup> <sup>_∈_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
such that
_ai_ ( _v,_ _w_ ) = _λ si_ ( _v,_ _w_ ) _,_ _∀w_ _∈_ _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> (7)
where
_ai_ ( _v, w_ ) =
_Ei_
_b_ ( _v · t_ )( _w · t_ ) _,_
_si_ ( _v, w_ ) = <sup><u>1</u></sup>
_H_
_ωi_
_a_ ( _∇× v_ )( _∇× w_ ) + _b v · w._
The term 1 _/H_ is added so that _ai_ and _si_ have the same scale. Note that this does not alter the
eigenfunctions. After solving the spectral problem in each _ωi_, we arrange the eigenfunctions _φ_ <sup>(</sup> _j_ <sup>_i_</sup> <sup>)’s</sup>
in ascending order of the corresponding eigenvalues _λ_ <sup>(</sup> 1 <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> 1 <sup>_i_</sup> <sup>)</sup> _≤_ _λ_ <sup>(</sup> 2 <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> 2 <sup>_i_</sup> <sup>)</sup> _≤_ _..._ _≤_ _λ_ <sup>(</sup> _J_ <sup>_i_</sup> _i_ <sup>)</sup>
<sup>(</sup> _J_ <sup>_i_</sup> _i_ <sup>).</sup> <sup>We</sup> <sup>then</sup> <sup>let</sup> <sup>_β_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
in ascending order of the corresponding eigenvalues _λ_ <sup>(</sup> 1 <sup>_i_</sup> <sup>)</sup> _≤_ _λ_ <sup>(</sup> 2 <sup>_i_</sup> <sup>)</sup> _≤_ _..._ _≤_ _λ_ <sup>(</sup> _J_ <sup>_i_</sup> _i_ <sup>).</sup> <sup>We</sup> <sup>then</sup> <sup>let</sup> <sup>_β_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>be</sup>
the set of the first _li_ eigenfunctions, where _li_ be the number of offline basis functions. And define
local offline space as _V_ ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>span(</sup> <sup>_β_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>and</sup> <sup>global</sup> <sup>offline</sup> <sup>space</sup> <sup>as</sup> <sup>_V_</sup> ms <sup>=</sup> <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>).</sup> <sup>Finally,</sup> <sup>the</sup>
GMsFEM is defined as follows. We find _u_ ms _∈_ _V_ ms by solving
ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>=</sup> <sup>span(</sup> <sup>_β_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
ms <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>and</sup> <sup>global</sup> <sup>offline</sup> <sup>space</sup> <sup>as</sup> <sup>_V_</sup> ms <sup>=</sup> <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup>
_D_
_a_ ( _∇× u_ ms)( _∇× v_ ) + _b u_ ms _· v_
6
=
_D_
_f_ _· v,_ _∀v_ _∈_ _V_ ms _._ (8)
### 3 Adaptive selection of basis functions
In our GMsFEM (9), one needs to choose the number of basis functions for each coarse neighborhood. An attractive and practical strategy is to do this adaptively. In particular, the number of
basis functions is determined by some local residuals, which measure the accuracy of the solution.
There are two related concepts, namely offline and online adaptivity. In Section 3.1, we will present
the offline adaptivity and in Section 3.2, we will present the online adaptivity.
3.1 Offline adaptive Method
In this section, we will introduce an error indicator on each coarse grid neighborhood. Based on
this estimator, we develop an offline adaptive enrichment method to solve equation (1) iteratively
by adding offline basis functions supported on some coarse grid neighborhoods in each iteration.
We emphasize that all selected basis functions come from the spectral problem (7).
Notice that the offline adaptive method is an iterative process. We use the notation _u_ <sup>_m_</sup> ms <sup>to</sup>
denote the multiscale solution at the _m_ -th iteration. For each _ωi_, we define the local residual
operator _Ri_ <sup>_m_</sup> as a linear functional on _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>by</sup>
Notice that the offline adaptive method is an iterative process. We use the notation _u_ <sup>_m_</sup> ms
_i_ <sup>_m_</sup> as a linear functional on _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>by</sup>
<sup>_m_</sup> ms <sup>_· v −_</sup> <sup>_f_</sup> <sup>_· v,_</sup> _∀v_ _∈_ _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_._</sup>
_Ri_ <sup>_m_</sup> <sup>(</sup> <sup>_v_</sup> <sup>) =</sup>
_ωi_
_a_ ( _∇× u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b um_</sup> ms
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>=</sup> <sup>_∥R_</sup> _i_ <sup>_m_</sup>
_i_ <sup>_mi_</sup> <sup>)+1)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_η_</sup> _i_ <sup>_m_</sup>
We take ( _ηi_ <sup>_m_</sup>
_i_ <sup>_m∥_</sup> <sup>2 (</sup> <sup>_λ_</sup> _l_ <sup>(</sup> _i_ <sup>_mi_</sup> <sup>)</sup>
_l_ <sup>_m_</sup>
_i_ <sup>_m_</sup> <sup>_≥_</sup> <sup>0</sup> <sup>as</sup> <sup>our</sup> <sup>error</sup> <sup>indicator,</sup> <sup>where</sup>
_∥Ri_ <sup>_m_</sup>
_._
_i_ <sup>_m∥_</sup> <sup>=</sup> sup
_v∈V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap
_<u>|Ri</u>_ <sup>_m_</sup> <sup><u>(</u></sup> <sup>_<u>v</u>_</sup> <sup><u>)</u></sup> <sup>_<u>|</u>_</sup>
_∥v∥H_ (curl)( _a,b_ ; _ωi_ )
Offline adaptive method: Fix the number _θ_ and _δ_ 0 with 0 _≤_ _θ,_ _δ_ 0 _<_ 1.
We start with iteration number _m_ = 0. Fix _initial_ _number_ of offline basis functions _li_ <sup>0</sup>
We start with iteration number _m_ = 0. Fix _initial_ _number_ of offline basis functions _li_ <sup>0</sup> <sup>for</sup> <sup>each</sup> <sup>_ωi_</sup>
to form the offline space _V_ ms <sup>0</sup> <sup>.</sup> <sup>Then,</sup> <sup>we</sup> <sup>go</sup> <sup>to</sup> <sup>step</sup> <sup>1</sup> <sup>below</sup>
ms <sup>0</sup> <sup>.</sup> <sup>Then,</sup> <sup>we</sup> <sup>go</sup> <sup>to</sup> <sup>step</sup> <sup>1</sup> <sup>below</sup>
Step 1: Find the multiscale solution. We solve multiscale solution _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup>
solution. We solve multiscale solution _u_ <sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>satisfying</sup>
-
_f_ _· v_ _∀v_ _∈_ _V_ ms <sup>_m_</sup>
<sup>_m_</sup> ms <sup>)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b um_</sup> ms
_a_ ( _∇× u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>_· v_</sup> <sup>=</sup>
ms <sup>_m._</sup> (9)
_D_
_D_
Step 2: Compute the error indicators. For each coarse grid neighborhood _ωi_, we compute the local
error indicator _ηi_ <sup>_m_</sup>
error indicator _ηi_ <sup>_m_</sup> and rearrange the local error indicators in decreasing order _η_ 1 <sup>_m_</sup> <sup>_≥_</sup> <sup>_η_</sup> 2 <sup>_m_</sup> <sup>_≥_</sup>
_..._ _≥_ _ηNe_ <sup>_m_</sup> <sup>.</sup>
_i_ <sup>_m_</sup> and rearrange the local error indicators in decreasing order _η_ 1 <sup>_m_</sup>
_Ne_ <sup>_m_</sup> <sup>.</sup>
Step 3: Select the coarse grid neighborhoods where basis enrichment is needed. We take the smallest
_k_, such that
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_≤_</sup>
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_._</sup>
_k_
( _ηi_ <sup>_m_</sup>
_θ_
_Ne_
( _ηi_ <sup>_m_</sup>
_i_ =1
_i_ =1
We will enrich the offline space by adding basis functions which are supported in _ω_ 1 _,_ _ω_ 2 _,_ _...,_ _ωk_ .
7
Step 4: Add basis functions to the space. For those _ωi_ ’s selected from Step 3, we will take the
_λ_ <sup>(</sup> _l_ <sup>_mi_</sup> <sup>)</sup>
_≤_ _δ_ 0. We then set _li_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> = _li_ <sup>_m_</sup>
_i_ <sup>_m_</sup> <sup>+</sup> <sup>_si_</sup> <sup>.</sup> <sup>And</sup> <sup>for</sup> <sup>other</sup> <sup>_ωi_</sup> <sup>’s,</sup> <sup>we</sup>
smallest _si_ such that
_λ_ <sup>(</sup> _l_ <sup>_mi_</sup> <sup>)</sup>
_l_ <sup>_m_</sup> _i_
_l_ <sup>_m_</sup> _<u>i</u>_
_l_ <sup>_m_</sup> _<u>i</u>_ <sup>+1</sup>
set _li_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>.</sup>
_l_ <sup>_m_</sup> _i_ <sup>+</sup> <sup>_si_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> = _li_ <sup>_m_</sup>
After Step 4, we repeat from Step 1 until the global error indicator <sup>�</sup> _i_ <sup>_Ne_</sup> =1 <sup>(</sup> <sup>_η_</sup> _i_ <sup>_m_</sup> <sup>)2</sup> <sup>is</sup> <sup>small</sup> <sup>enough</sup>
or the total number of basis functions reaches certain level. The calculations of all the local error
indicators can be costly. However, since the error indicators are independent of each other, the
computation can be done in a parallel approach in order to enhance the efficiency.
After Step 4, we repeat from Step 1 until the global error indicator <sup>�</sup> _i_ <sup>_Ne_</sup> =1
_i_ <sup>_Ne_</sup> =1 <sup>(</sup> <sup>_η_</sup> _i_ <sup>_m_</sup>
3.2 Online adaptive Method
Next, we will present another enrichment algorithm which requires the formation of new basis
functions based on the solution of the previous enrichment level. We call these functions online
basis functions as these basis functions are computed in the online stage of computations. With the
addition of the online basis functions, we can get a much faster convergence rate than the offline
adaptive method. We emphasize that the basis functions are solved using local residuals, and they
are not from the spectral problem (7).
We first define a linear functional which generalizes the residual operator in the offline adaptive
method. Given a region Ω _⊂_ _D_ which is a union of some _ωi_ ’s, we define _V_ Ω = <sup>�</sup> _ωi⊂_ Ω <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>And</sup>
method. Given a region Ω _⊂_ _D_ which is a union of some _ωi_ ’s, we define _V_ Ω = <sup>�</sup> _ωi⊂_ Ω <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>And</sup>
define the linear operator _R_ Ω <sup>_m_</sup> <sup>on</sup> <sup>_V_</sup> <sup>Ω</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>norm</sup> <sup>_∥R_</sup> Ω <sup>_m∥_</sup> <sup>by</sup>
Ω <sup>_m_</sup> <sup>on</sup> <sup>_V_</sup> <sup>Ω</sup> <sup>,</sup> <sup>and</sup> <sup>the</sup> <sup>norm</sup> <sup>_∥R_</sup> Ω <sup>_m_</sup>
Ω <sup>_m∥_</sup> <sup>by</sup>
_ωi⊂_ Ω <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
<sup>_m_</sup> ms <sup>_· v −_</sup> <sup>_f_</sup> <sup>_· v,_</sup> _∀v_ _∈_ _V_ Ω _,_
_R_ Ω <sup>_m_</sup> <sup>(</sup> <sup>_v_</sup> <sup>) =</sup>
Ω
_a_ ( _∇× u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b um_</sup> ms
_∥R_ Ω <sup>_m_</sup>
_._
Ω <sup>_m∥_</sup> <sup>=</sup> <sup>sup</sup>
_v∈V_ Ω
_<u>|R</u>_ <u>Ω</u> <sup>_m_</sup> <sup><u>(</u></sup> <sup>_<u>v</u>_</sup> <sup><u>)</u></sup> <sup>_<u>|</u>_</sup>
_∥v∥H_ (curl)( _a,b_ ;Ω)
Online adaptive method: We start with iteration number _m_ = 0. Fix _initial_ _number_ of offline
basis functions _li_ for each _ωi_ to form the offline space _V_ ms <sup>0</sup> <sup>.</sup> <sup>Then</sup>
Step 1: Find the multiscale solution. We solve multiscale solution _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup>
Find the multiscale solution. We solve multiscale solution _u_ <sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>satisfying</sup> <sup>(9)</sup> <sup>in</sup>
Offline Adaptive Method.
Step 2: Select non-overlapping regions. We pick non-overlapping region Ω <sup>_m_</sup> 1 <sup>_,_</sup> <sup>Ω</sup> <sup>_m_</sup> 2 <sup>_,_</sup> <sup>_...,_</sup> <sup>Ω</sup> _J_ <sup>_mm_</sup> <sup>_⊂_</sup> <sup>_D_</sup>
such that each Ω _j_ is a union of some _ωi_ ’s.
Step 3: Solve for online basis functions. For each Ω <sup>_m_</sup> _j_
<sup>_m_</sup> _j_ <sup>,</sup> <sup>we</sup> <sup>solve</sup> <sup>_φm_</sup> _j_
<sup>_m_</sup> _j_ <sup>_∈_</sup> <sup>_V_</sup> <sup>Ω</sup> <sup>_m_</sup> _j_
<sup>_m_</sup> _j_ <sup>such</sup> <sup>that</sup>
_R_ Ω <sup>_m_</sup>
<sup>_m_</sup> _j_ <sup>_· v,_</sup> _∀v_ _∈_ _V_ Ω _._
<sup>_m_</sup> _j_ <sup>(</sup> <sup>_v_</sup> <sup>) =</sup>
Ω <sup>_m_</sup> _j_
_a_ ( _∇× φ_ <sup>_m_</sup> _j_
<sup>_m_</sup> _j_ <sup>)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b φm_</sup> _j_
Ω <sup>_m_</sup> _j_
Then we set _V_ ms <sup>_m_</sup> <sup>+1</sup>
ms <sup>_m_</sup> <sup>+1</sup> = _V_ ms <sup>_m_</sup>
ms
- _{φm_ 1 <sup>_,_</sup> <sup>_φm_</sup> 2 <sup>_,_</sup> <sup>_...,_</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>_} ._</sup>
��� _._
��� _R_ ٠_m_ <sup>_m_</sup> _j_
Note that: By Riesz Representation Theorem,
�� _φmj_ �� _H_ (curl)( _a,b_ ;Ω) <sup>=</sup>
After Step 3, we repeat from Step 1 until the global error indicator is small or we have used a
certain number of basis functions.
8
### 4 Convergence Analysis
In this section, we will present the proofs for the convergence of both the offline and the online
adaptive methods. We begin with the following a posteriori error bound for the offline adaptive
method.
Theorem 2. _Let_ _usnap_ _∈_ _Vsnap_ _be_ _the_ _solution_ _of_ _(4)_ _and_ _let_ _ums_ _∈_ _Vms_ _be_ _the_ _solution_ _of_ _(9)._
_Then_ _we_ _have_
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
_∥usnap −_ _ums∥_ <sup>2</sup> _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>_≤_</sup> <sup>_Cerr_</sup>
_Ne_
_i_ =1
_where Cerr_ = <sup>_<u>CV</u>_</sup> _h_ <sup>_<u>H</u>_</sup> _._ _The value of CV_ _depends on the polynomial order of the fine grid basis functions_
_in_ _Vsnap._ _Here_ _we_ _omit_ _superscript_ _m_ _for_ _brevity_ _of_ _notation._
_Proof._ We define the global residual operator _R_ as a linear functional on _V_ snap by
_R_ ( _v_ ) =
_D_
_a_ ( _∇× u_ ms)( _∇× v_ ) + _b u_ ms _· v −_ _f_ _· v,_ _∀v_ _∈_ _V_ snap _._
Thus we have
_−R_ ( _u_ snap _−_ _u_ ms) =
_a_ ( _∇× u_ ms)( _∇×_ ( _u_ snap _−_ _u_ ms)) + _b u_ ms _·_ ( _u_ snap _−_ _u_ ms)
(10)
_D_
_−_ _f_ _·_ ( _u_ snap _−_ _u_ ms) _._
Taking _v_ = _u_ snap _−_ _u_ ms in (4), we have
0 =
_D_
_a_ ( _∇× u_ snap)( _∇×_ ( _u_ snap _−_ _u_ ms)) + _b u_ snap _·_ ( _u_ snap _−_ _u_ ms) _−_ _f_ _·_ ( _u_ snap _−_ _u_ ms) _._ (11)
Adding (10) and (11), we have
_−R_ ( _u_ snap _−_ _u_ ms) =
_D_
_a |∇×_ ( _u_ snap _−_ _u_ ms) _|_ <sup>2</sup> + _b |u_ snap _−_ _u_ ms _|_ <sup>2</sup>
= _∥u_ snap _−_ _u_ ms _∥_ <sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_._</sup>
Next, we decompose _u_ snap _−_ _u_ ms as the sum of functions from _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
Next, we decompose _u_ snap _−_ _u_ ms as the sum of functions from _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>’s,</sup> <sup>that</sup> <sup>is,</sup> <sup>we</sup> <sup>write</sup> <sup>_u_</sup> snap <sup>_−_</sup>
_u_ ms = <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>where</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>And</sup> <sup>each</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>sum</sup> <sup>of</sup> <sup>two</sup> <sup>functions</sup> <sup>which</sup> <sup>are</sup> <sup>from</sup> <sup>_V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
and _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>),</sup> <sup>respectively.</sup> <sup>We</sup> <sup>denote</sup> <sup>the</sup> <sup>function</sup> <sup>from</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>by</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>).</sup>
By the definition of _Ri_ and (9), we know _Ri_ ( _v_ ) = 0 for all _v_ _∈_ _V_ ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_⊂_</sup> <sup>_V_</sup> ms <sup>.</sup> Therefore,
_Ri_ ( _v_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) = _Ri_ ( _vr_ <sup>(</sup> <sup>_i_</sup> <sup>)).</sup> <sup>So,</sup> <sup>we</sup> <sup>have</sup>
_i_ <sup>_N_</sup> =1 <sup>_e_</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>where</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>.</sup> <sup>And</sup> <sup>each</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>is</sup> <sup>a</sup> <sup>sum</sup> <sup>of</sup> <sup>two</sup> <sup>functions</sup> <sup>which</sup> <sup>are</sup> <sup>from</sup> <sup>_V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
ms <sup>(</sup> <sup>_i_</sup> <sup>),</sup> <sup>respectively.</sup> <sup>We</sup> <sup>denote</sup> <sup>the</sup> <sup>function</sup> <sup>from</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>by</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>),</sup> <sup>respectively.</sup> <sup>We</sup> <sup>denote</sup> <sup>the</sup> <sup>function</sup> <sup>from</sup> <sup>_V_</sup> snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_\V_</sup> ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>by</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>).</sup>
By the definition of _Ri_ and (9), we know _Ri_ ( _v_ ) = 0 for all _v_ _∈_ _V_ ms <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)).</sup> <sup>So,</sup> <sup>we</sup> <sup>have</sup>
_Ne_
_i_ =1
_Ne_
_Ri_ ( _v_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) =
_i_ =1
_R_ ( _u_ snap _−_ _u_ ms) =
_Ne_
- _R_ ( _v_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) =
_i_ =1
_Ri_ ( _vr_ <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>_._</sup>
Using the definition of the spectral problems, we get
_Ne_
- ��� _Ri_ ( _v_ ( _i_ ))��� _≤_
_i_ =1
9
_|−R_ ( _u_ snap _−_ _u_ ms) _|_ =
�����
_Ne_
_i_ =1
_Ne_
_i_ =1
_r_ <sup>(</sup> <sup>_i_</sup> <sup>))</sup>
_Ri_ ( _vr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
����� _≤_
�1 _/_ 2
_,_
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_r_ <sup>(</sup> <sup>_i_</sup> <sup>))</sup>
_∥Ri∥_
- _si_ ( _vr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
and
Hence,
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_r_ <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>_≤_</sup> <sup>_H_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>(</sup> _li_ <sup>_i_</sup> <sup>)</sup>
_si_ ( _vr_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_r_ <sup>(</sup> <sup>_i_</sup> <sup>))</sup> <sup>_≤H_</sup> <sup>(</sup> <sup>_λ_</sup> _l_ <sup>(</sup> _i_ <sup>_i_</sup> +1 <sup>)</sup>
_l_ <sup>(</sup> _i_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_ai_</sup> <sup>(</sup> <sup>_v_</sup> _r_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_ai_</sup> <sup>(</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_v_</sup> <sup>(</sup> <sup>_i_</sup> <sup>))</sup>
_Ei_
= _H_ ( _λl_ <sup>(</sup> _i_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
= _H_ ( _λl_ <sup>(</sup> _i_ <sup>_i_</sup> <sup>)</sup>
_Ei_
_b |v_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _· t|_ <sup>2</sup> = _H_ ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
_b |_ ( _u_ snap _−_ _u_ ms) _· t|_ <sup>2</sup> _._
_∥u_ snap _−_ _u_ ms _∥_ <sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>=</sup> <sup>_−_</sup> <sup>_R_</sup> <sup>(</sup> <sup>_u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_u_</sup> <sup>ms)</sup>
_√_
_≤_
_√_
��
_Ei_
�1 _/_ 2
_H_
_H_
_Ne_
_i_ =1
- _Ne_
_i_ =1
_∥Ri∥_ ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup>
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> <sup>)</sup>
_b |_ ( _u_ snap _−_ _u_ ms) _· t|_ <sup>2</sup>
_√_
_≤_
_√_
�1 _/_ 2
_Ei_
_b |_ ( _u_ snap _−_ _u_ ms) _· t|_ <sup>2</sup>
- _<u>CV H</u>_
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> <sup>)</sup>
<sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
�1 _/_ 2 � _Ne_
<sup>1</sup>
_i_ =1
�1 _/_ 2
_≤_
_h_
_∥u_ snap _−_ _u_ ms _∥L_ 2( _b_ ; _D_ )
_∥u_ snap _−_ _u_ ms _∥H_ (curl)( _a,b_ ; _D_ ) _._
- _<u>CV H</u>_
- _Ne_
_i_ =1
- _Ne_
_i_ =1
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup>
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> <sup>)</sup>
�1 _/_ 2
_≤_
_h_
Therefore,
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_≤_</sup> <sup>_<u>CV H</u>_</sup>
_h_
_Ne_
_i_ =1
_∥u_ snap _−_ _u_ ms _∥_ <sup>2</sup>
_h_
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1</sup> <sup>_._</sup>
From the proof of Theorem 2, the error between the multiscale solution and the snapshot solution
is bounded above by the norm of the global residual operator _R_, which in turn can be estimated
by the sum of the error indicator _∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1.</sup>
Before we move on to the proof of the convergence of the offline adaptive method, we will prove
the following lemma for the error indicator _ηi_ .
Lemma 1. _For_ _any_ _α >_ 0 _,_ _we_ _have_
��2 _H_ ( _curl_ )( _a,b_ ; _ωi_ ) <sup>_._</sup>
( _ηi_ <sup>_m_</sup> <sup>+1</sup> ) <sup>2</sup> _≤_ (1 + _α_ )
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_λ_ <sup>(</sup> _l_ <sup>_mi_</sup> <sup>)</sup>
_li_ <sup>_m_</sup>
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
_<u>i</u>_ <sup>_m_</sup> <sup>+1</sup>
( _ηi_ <sup>_m_</sup> <sup>)2 + (1 +</sup> <sup>_α−_</sup> <sup>1)</sup>
- _−_ 1 �� _umms_ +1 _−_ _u_ <sup>_m_</sup> _ms_
- _−_ 1 �� _umms_ +1 _−_ _u_ <sup>_m_</sup> _ms_
_li_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> +1
_Proof._ For any _v_ _∈_ _V_ snap <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup>
_Ri_ <sup>_m_</sup> <sup>(</sup> <sup>_v_</sup> <sup>) =</sup>
_ωi_
_a_ ( _∇× u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b um_</sup> ms
<sup>_m_</sup> ms <sup>_· v −_</sup> <sup>_f_</sup> <sup>_· v,_</sup>
and _Ri_ <sup>_m_</sup> <sup>+1</sup> ( _v_ ) =
_ωi_
<sup>_m_</sup> ms <sup>+1)(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b u_</sup> ms <sup>_m_</sup> <sup>+1</sup>
_a_ ( _∇× u_ <sup>_m_</sup> ms <sup>+1</sup>
ms <sup>_m_</sup> <sup>+1</sup> _· v −_ _f_ _· v._
10
Therefore
_Ri_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>(</sup> <sup>_v_</sup> <sup>) +</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> ( _v_ ) = _Ri_ <sup>_m_</sup>
<sup>_m_</sup> ms <sup>))(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b_</sup> <sup>(</sup> <sup>_um_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)</sup> <sup>_· v_</sup>
_ωi_
_a_ ( _∇×_ ( _u_ <sup>_m_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
_≤Ri_ <sup>_m_</sup> <sup>(</sup> <sup>_v_</sup> <sup>) +</sup>
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�� _H_ (curl)( _a,b_ ; _ωi_ ) <sup>_∥v∥H_</sup> <sup>(curl)(</sup> <sup>_a,b_</sup> <sup>;</sup> <sup>_ω_</sup> _i_ <sup>)</sup> <sup>_._</sup>
Taking supremum with respect to _v_, we get
1 _/_ 2
_ηi_ <sup>_m_</sup> <sup>+</sup>
_ηi_ <sup>_m_</sup>
_ηi_ <sup>_m_</sup> <sup>+1</sup> _≤_
_li_ <sup>_m_</sup>
<sup>_λ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup>
_<u>i</u>_ <sup>_m_</sup> <sup>+1</sup>
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 _/_ 2 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�� _H_ (curl)( _a,b_ ; _ωi_ ) <sup>_._</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
Using the Young’s inequality, we obtain the required result.
Using this lemma, we prove the following result for the convergence of the offline adaptive
method.
Theorem 3. _There_ _exists_ _ρ >_ 0 _and_ _a_ _non-increasing_ _sequence_ _of_ _positive_ _number_ _{Lj}_ _such_ _that_
<sup>_m_</sup> _ms_ <sup>_∥_</sup> _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
_∥usnap −_ _u_ <sup>_m_</sup>
�� _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
�� _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
_Ne_
_i_ =1
�2 _≤_ _εj_
�� _usnap −_ _umms_ +1
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
_Lj_
_Ne_
_i_ =1
( _ηi_ <sup>_m_</sup> <sup>)2</sup>
_for_ _any_ _j_ _≤_ _m,_ _where_ _ρ_ _satisfies_ 1 _−_ (1 _−_ _δ_ 0) _θ_ _< ρ <_ 1 _,_ _and_ _εj_ = <sup>_<u>C</u>_</sup> _C_ <sup>_<u>err</u>_</sup> _err_ <sup>_<u>L</u>_</sup> _L_ <sup>_<u>j</u>_</sup> _j_ <sup><u>+</u></sup> +1 <sup>_<u>ρ</u>_</sup> <sup>_._</sup>
_Proof._ Let _I_ be the set of indices _i_ such that _ωi_ is chosen for basis enrichment. Using Lemma 1,
we have
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_Ne_
_i_ =1
(1 + _α_ )
_λ_ <sup>(</sup> _l_ <sup>_mi_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> +1
��2 _H_ (curl)( _a,b_ ; _ωi_ )
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
( _ηi_ <sup>_m_</sup> <sup>)2 + (1 +</sup> <sup>_α−_</sup> <sup>1)</sup>
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_._
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
_Ne_
�2 _≤_
_i_ =1
_li_ <sup>_m_</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
Writing the above sum as a sum over _I_ and a sum over the complement of _I_, we have
_Ne_
_i_ =1
_i∈I_
�2 = (1 + _α_ )
�2 =
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_λ_ <sup>(</sup> _l_ <sup>_mi_</sup> <sup>)</sup>
( _ηi_ <sup>_m_</sup> <sup>)2 +</sup>
(1 + _α_ ) ( _ηi_ <sup>_m_</sup>
_i_ <sup>_m_</sup> <sup>)2</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup>
_<u>i</u>_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_i_ <sup>_m_</sup> <sup>+1</sup> +1
_i/∈I_
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
+
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
��2 _H_ (curl)( _a,b_ ; _ωi_ )
Using the criterion in the Step 4 in the offline adaptive algorithm, we have
_Ne_
_i_ =1
_i∈I_
�2 _≤_
_i_ <sup>_m_</sup> <sup>)2 +</sup>
_i_ <sup>_m_</sup> <sup>)2</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
(1 + _α_ ) _δ_ 0 ( _ηi_ <sup>_m_</sup>
(1 + _α_ ) ( _ηi_ <sup>_m_</sup>
_i/∈I_
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
��2 _H_ (curl)( _a,b_ ; _ωi_ ) <sup>_._</sup>
+
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
11
Next, using the criterion in the Step 3 in the offline adaptive algorithm, we have
_Ne_
_i_ =1
�2 =(1 + _α_ )
_Ne_
_i_ =1
( _ηi_ <sup>_m_</sup> <sup>)2</sup> <sup>_−_</sup> <sup>(1 +</sup> <sup>_α_</sup> <sup>)(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>0)</sup>
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_−_</sup> <sup>(1 +</sup> <sup>_α_</sup> <sup>)(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>0)</sup>
_i∈I_
( _ηi_ <sup>_m_</sup> <sup>)2</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
+
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
��2 _H_ (curl)( _a,b_ ; _ωi_ )
_Ne_
_i_ =1
=(1 + _α_ )
_Ne_
_i_ =1
( _ηi_ <sup>_m_</sup> <sup>)2</sup> <sup>_−_</sup> <sup>(1 +</sup> <sup>_α_</sup> <sup>)(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>0)</sup> <sup>_θ_</sup>
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_−_</sup> <sup>(1 +</sup> <sup>_α_</sup> <sup>)(1</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup>0)</sup> <sup>_θ_</sup>
( _ηi_ <sup>_m_</sup> <sup>)2</sup>
+
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
_Ne_
_i_ =1
��2 _H_ (curl)( _a,b_ ; _ωi_ )
��2 _H_ (curl)( _a,b_ ; _ωi_ ) <sup>_._</sup>
=(1 + _α_ )(1 _−_ (1 _−_ _δ_ 0) _θ_ )
( _ηi_ <sup>_m_</sup> <sup>)2</sup>
_i_ <sup>_m_</sup> <sup>)2</sup>
+
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
Since all _ωi_ ’s will overlap for no more than 4 times, we have following estimate
_Ne_
�(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
_i_ =1
where
��2 _H_ (curl)( _a,b_ ; _ωi_ ) <sup>_≤_</sup> <sup>_Lm_</sup>
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_,_</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
- _−_ 1 �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
_li_ <sup>_m_</sup> <sup>+1</sup> +1
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
_Lm_ =4(1 + _α_ <sup>_−_</sup> <sup>1</sup> )
max
1 _≤i≤Ne_
- _λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ <sup>_m_</sup> <sup>+1</sup>
_li_ <sup>_m_</sup> <sup>+1</sup> +1
- _−_ 1 <sup>�</sup>
= 4(1 + _α_ <sup>_−_</sup> <sup>1</sup> ) _/_ Λ <sup>_m_</sup> _∗_ <sup>_,_</sup>
<sup>_m_</sup> _∗_ <sup>=</sup> 1 _≤_ min _i≤Ne_ <sup>_λ_</sup> _l_ <sup>(</sup> _i_ <sup>_mi_</sup> <sup>)+1</sup>
Λ <sup>_m_</sup> _∗_
_l_ <sup>(</sup> _i_ <sup>_mi_</sup> <sup>)+1</sup> +1 <sup>_._</sup>
Note that _Lm_ is non-increasing. Let _ρ_ = (1 + _α_ )(1 _−_ (1 _−_ _δ_ 0) _θ_ ), and take _α_ small enough such that
0 _< ρ <_ 1, we have the estimate
_Ne_
_i_ =1
�2 _≤ρ_
_≤ρ_
(12)
_Ne_
_i_ =1
_Ne_
_i_ =1
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
��2 _H_ (curl)( _a,b_ ; _D_ )
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
- _ηi_ <sup>_m_</sup> <sup>+1</sup>
�2 + _Lm_ �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_._</sup>
�2 + _Lj_ �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�2 + _Lj_ �� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
On the other hand, combining (4) and (9), we have
_D_
_a_ ( _∇×_ ( _u_ snap _−_ _u_ <sup>_m_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1))</sup> <sup>_·_</sup> <sup>(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_um_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1)</sup> <sup>_· v_</sup> <sup>= 0</sup> _∀v_ _∈_ _V_ ms <sup>_m_</sup> <sup>+1</sup>
ms <sup>_m_</sup> <sup>+1</sup> _._
Taking _v_ = _u_ <sup>_m_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>+1</sup>
_v_ = _u_ <sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>+1</sup>, we have
_a_ ( _∇×_ ( _u_ snap _−_ _u_ <sup>_m_</sup> ms <sup>+1</sup>
ms <sup>_m_</sup> <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)) +</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_um_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1)</sup> <sup>_·_</sup> <sup>(</sup> <sup>_u_</sup> ms <sup>_m_</sup> <sup>+1</sup>
ms <sup>_m_</sup> <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>) = 0</sup> <sup>_._</sup>
_D_
<sup>_m_</sup> ms <sup>+1))</sup> <sup>_·_</sup> <sup>(</sup> <sup>_∇×_</sup> <sup>(</sup> <sup>_u_</sup> ms <sup>_m_</sup> <sup>+1</sup>
12
Therefore,
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
_∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>=</sup>
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
�� _um_ ms+1 _−_ _u_ <sup>_m_</sup> ms
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_,_</sup>
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_._</sup>
�� _u_ snap _−_ _um_ ms+1
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup>
and consequently,
�� _u_ ms _m_ +1 _−_ _u_ <sup>_m_</sup> ms
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>=</sup> <sup>_∥u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_u_</sup> ms <sup>_m_</sup>
ms <sup>_m_</sup> <sup>_∥_</sup> <sup>2</sup> _H_
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_−_</sup>
�� _u_ snap _−_ _um_ ms+1
Combining the above with (12), we obtain
_i_ <sup>_m_</sup> <sup>+1</sup> ) <sup>2</sup> _≤∥u_ snap _−_ _u_ <sup>_m_</sup> ms
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_._</sup> (13)
_Ne_
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
_Ne_
_i_ =1
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_<u>ρ</u>_</sup>
_Lj_
_Lj_
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup>
�� _u_ snap _−_ _um_ ms+1
( _ηi_ <sup>_m_</sup> <sup>+1</sup>
_i_ =1
( _ηi_ <sup>_m_</sup>
By Theorem 2, and for any _β_ _>_ 0, we have
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_._</sup> (14)
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
_β ∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_≤_</sup> <sup>_βCerr_</sup>
_Ne_
( _ηi_ <sup>_m_</sup>
_i_ =1
Adding (13) and (14), we get
_i_ <sup>_m_</sup> <sup>+1</sup> ) <sup>2</sup> _≤_ (1 _−β_ ) _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_._</sup>
_Ne_
_Ne_
_i_ =1
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+(</sup> <sup>_βCerr_</sup> <sup>+</sup> <sup>_<u>ρ</u>_</sup>
_Lj_
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
�� _u_ snap _−_ _um_ ms+1
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
( _ηi_ <sup>_m_</sup> <sup>+1</sup>
( _ηi_ <sup>_m_</sup>
)
_i_ =1
Setting _β_ = 1+ _C_ <u>1</u> _<u>−errρ</u>_ _Lj_ <sup>,</sup> <sup>we</sup> <sup>have</sup>
_ηi_ <sup>_m_</sup> <sup>+1</sup> ) <sup>2</sup> _≤_ (1 _−β_ ) _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
_i_ <sup>_m_</sup> <sup>)2</sup> <sup>_._</sup>
_Ne_
_Ne_
_i_ =1
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+ 1</sup> <sup>_<u>−</u>_</sup> <sup>_<u>β</u>_</sup>
_Lj_
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
�� _u_ snap _−_ _um_ ms+1
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup><u>1</u></sup>
_Lj_
( _ηi_ <sup>_m_</sup> <sup>+1</sup>
_i_ =1
( _ηi_ <sup>_m_</sup>
Finally, let _εj_ = 1 _−_ _β_ = <sup>_<u>C</u>_</sup> _C_ <sup>_<u>err</u>_</sup> _err_ <sup>_<u>L</u>_</sup> _L_ <sup>_<u>j</u>_</sup> _j_ <sup><u>+</u></sup> +1 <sup>_<u>ρ</u>_</sup> <sup>.</sup> <sup>Then</sup> <sup>we</sup> <sup>have</sup> <sup>completed</sup> <sup>the</sup> <sup>proof.</sup>
From Theorem 3, to have a fast convergence, we need _εj_ to be small which requires a small _ρ_ .
Since _ρ_ = (1 + _α_ )(1 _−_ (1 _−_ _δ_ 0) _θ_ ), we can take _α_ small enough such that _ρ ≈_ (1 _−_ (1 _−_ _δ_ 0) _θ_ ). So we
need a small _δ_ 0 and a large _θ_, which means that we need to select more _ωi_ ’s to add basis; and for
each selected _ωi_, we add more eigenfunctions to offline basis. And this conclusion is coincide with
our intuition.
Finally, we state and prove the convergence of the online adaptive method.
Theorem 4. _Let_ _u_ <sup>_m_</sup> _ms_
Theorem 4. _Let_ _u_ <sup>_m_</sup> _ms_ <sup>_be_</sup> <sup>_the_</sup> <sup>_solution_</sup> <sup>_of_</sup> <sup>_the_</sup> <sup>_online_</sup> <sup>_adaptive_</sup> <sup>_method_</sup> <sup>_at_</sup> <sup>_the_</sup> <sup>_m-th_</sup> <sup>_iteration._</sup> <sup>_Then_</sup> <sup>_we_</sup>
_have_
��� _R_ ٠_m_ <sup>_m_</sup> _j_
2
_._
���
_J_ <sup>_m_</sup>
�� _usnap −_ _umms_ +1
��2 _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>_≤∥usnap −_</sup> <sup>_u_</sup> _ms_ <sup>_m_</sup>
_ms_ <sup>_m_</sup> <sup>_∥_</sup> <sup>2</sup> _H_
<sup>2</sup> _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>_−_</sup>
_j_ =1
_In_ _addition,_ _assume_ _that_ _the_ _initial_ _space_ _contains_ _li_ _offline_ _basis_ _functions_ _for_ _the_ _region_ _ωi._ _Then_
_we_ _have_
�� _usnap −_ _umms_ +1��2 _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>_≤_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_E_</sup> <sup>)</sup> <sup>_∥usnap −_</sup> <sup>_u_</sup> _ms_ <sup>_m_</sup> <sup>_∥_</sup> <sup>2</sup> _H_ ( _curl_ )( _a,b_ ; _D_ )
��2 _H_ ( _curl_ )( _a,b_ ; _D_ ) <sup>_≤_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_E_</sup> <sup>)</sup> <sup>_∥usnap −_</sup> <sup>_u_</sup> _ms_ <sup>_m_</sup>
_ms_ <sup>_m_</sup> <sup>_∥_</sup> <sup>2</sup> _H_
_ms_ _H_ ( _curl_ )( _a,b_ ; _D_ )
_where_
_J_ <sup>_m_</sup>
��� _R_ ٠_m_ <sup>_m_</sup> _j_
2 <sup>�</sup>
_Cerr_
���
_._
_∥Ri∥_ <sup>2</sup> ( _λ_ <sup>(</sup> _li_ <sup>_i_</sup> +1 <sup>)</sup> <sup>)</sup> <sup>_−_</sup> <sup>1�</sup> <sup>_−_</sup> <sup>1</sup>
_Ne_
_i_ =1
_E_ =
_j_ =1
13
_Proof._ For any _v_ _∈_ _V_ ms <sup>_m_</sup> <sup>+1</sup>,
�� _u_ snap _−_ _um_ ms+1 + _v_ ��2 _H_ (curl)( _a,b_ ; _D_ )
�� _u_ snap _−_ _um_ ms+1
=
=
_≥_
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥v∥_</sup> _H_ <sup>2</sup> (curl)( _a,b_ ; _D_ )
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥v∥_</sup> _H_ <sup>2</sup>
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_._</sup>
_D_
<sup>_m_</sup> ms <sup>+1)</sup> <sup>_· v_</sup>
+ 2
_a_ ( _∇×_ ( _u_ snap _−_ _u_ <sup>_m_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1))</sup> <sup>_·_</sup> <sup>(</sup> <sup>_∇× v_</sup> <sup>) +</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_um_</sup> ms <sup>+1</sup>
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥v∥_</sup> _H_ <sup>2</sup> (curl)( _a,b_ ; _D_ )
��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥v∥_</sup> _H_ <sup>2</sup>
�� _u_ snap _−_ _um_ ms+1
�� _u_ snap _−_ _um_ ms+1
Let _v_ = _u_ <sup>_m_</sup> ms <sup>+1</sup>
<sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>+</sup> <sup>_φm_</sup> 1
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>+1</sup>
_v_ = _u_ <sup>_m_</sup> ms <sup>+1</sup> _−_ _u_ <sup>_m_</sup> ms <sup>+</sup> <sup>_φm_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>_∈_</sup> <sup>_V_</sup> ms <sup>_m_</sup> <sup>+1</sup> . Then we have
�� _u_ snap _−_ _um_ ms+1��2 _H_ (curl)( _a,b_ ; _D_ )
��2 _H_ (curl)( _a,b_ ; _D_ )
_≤∥u_ snap _−_ _u_ <sup>_m_</sup> ms
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>+</sup> <sup>_φm_</sup> 1
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥φ_</sup> 1 <sup>_m_</sup>
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm∥_</sup> <sup>2</sup> _H_
_H_ (curl)( _a,b_ ; _D_ )
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
1 <sup>_m_</sup> <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm∥_</sup> <sup>2</sup> _H_
_H_ (curl)( _a,b_ ; _D_ )
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>)</sup>
ms <sup>_m_</sup> <sup>)</sup> <sup>_·_</sup> <sup>(</sup> <sup>_φm_</sup> 1
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>)) +</sup> <sup>_b_</sup> <sup>(</sup> <sup>_u_</sup> <sup>snap</sup> <sup>_−_</sup> <sup>_u_</sup> ms <sup>_m_</sup>
+ 2
_D_
_a_ ( _∇×_ ( _u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>))</sup> <sup>_·_</sup> <sup>(</sup> <sup>_∇×_</sup> <sup>(</sup> <sup>_φm_</sup> 1
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
1 <sup>_m_</sup> <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm∥_</sup> <sup>2</sup> _H_
_H_ (curl)( _a,b_ ; _D_ )
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup> <sup>_∥φ_</sup> 1 <sup>_m_</sup>
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>)</sup> <sup>_._</sup>
1 <sup>_m_</sup> <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_f_</sup> <sup>_·_</sup> <sup>(</sup> <sup>_φm_</sup> 1
<sup>_m_</sup> ms <sup>_·_</sup> <sup>(</sup> <sup>_φ_</sup> 1 <sup>_m_</sup>
<sup>_m_</sup> 1 <sup>+</sup> <sup>_..._</sup> <sup>+</sup> <sup>_φ_</sup> _J_ <sup>_mm_</sup> <sup>)) +</sup> <sup>_b um_</sup> ms
_−_ 2
_D_
_a_ ( _∇× u_ <sup>_m_</sup> ms
<sup>_m_</sup> ms <sup>)</sup> <sup>_·_</sup> <sup>(</sup> <sup>_∇×_</sup> <sup>(</sup> <sup>_φm_</sup> 1
Using the definition of the residual _R_ Ω <sup>_m_</sup>
<sup>_m_</sup> _j_ <sup>,</sup> <sup>we</sup> <sup>have</sup>
Ω <sup>_m_</sup> _j_
�� _u_ snap _−_ _um_ ms+1 + _v_
��2 _H_ (curl)( _a,b_ ; _D_ )
_J_ <sup>_m_</sup>
_j_ =1
_J_ <sup>_m_</sup>
_j_ =1
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup>
Ω <sup>_m_</sup>
_R_ Ω <sup>_m_</sup>
<sup>_m_</sup> _j_ <sup>(</sup> <sup>_φ_</sup> _j_ <sup>_m_</sup>
_j_ <sup>_m_</sup> <sup>)</sup>
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>+</sup>
�� _φmj_ ��2 _H_ (curl)( _a,b_ ; _D_ )
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_−_</sup>
�� _φmj_ ��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_−_</sup> <sup>2</sup>
�� _φmj_ ��2 _H_ (curl)( _a,b_ ; _D_ ) <sup>_−_</sup> <sup>2</sup>
�� _φmj_ ��2 _H_ (curl)( _a,b_ ; _D_ )
<sup>_m_</sup> ms <sup>_∥_</sup> <sup>2</sup> _H_
= _∥u_ snap _−_ _u_ <sup>_m_</sup> ms
<sup>2</sup> _H_ (curl)( _a,b_ ; _D_ ) <sup>_−_</sup>
_J_ <sup>_m_</sup>
_j_ =1
_J_ <sup>_m_</sup>
_j_ =1
_J_ <sup>_m_</sup>
_j_ =1
_J_ <sup>_m_</sup>
_j_ =1
2
��� _R_ ٠_m_ <sup>_m_</sup> _j_ ��� _._
This completes the proof of the first part. The proof for the second part is a direct consequence of
Theorem 2.
We remark that, at each iteration, we need to choose proper Ω _j_ ’s in order to obtain large
2
value for the term <sup>�</sup> _j_ <sup>_J_</sup> =1 <sup>_m_</sup> ��� _R_ ٠_m_ <sup>_m_</sup> _j_ ��� . Moreover, the convergence rate of the online adaptive method is
1 _−_ _E_ . We remark that one obtains faster convergence if the initial space contains eigenfunctions
corresponding to small eigenvalues.
value for the term <sup>�</sup> _j_ <sup>_J_</sup> =1 <sup>_m_</sup>
��� _R_ ٠_m_ <sup>_m_</sup> _j_
_j_ =1
_j_
14
### 5 Numerical Results
In this section, we will present two numerical examples with two different source fields _f_ = ( _f_ 1 _,_ _f_ 2),
shown in Figure 2, defined as follows:
Example 1: _f_ 1 =
100 _,_ 0 _._ 1 _< y_ _<_ 0 _._ 2 _,_
10000 _,_ 0 _._ 4 _< y_ _<_ 0 _._ 45 _,_
1 _,_ otherwise;
_−_ 200 _,_ 0 _._ 2 _< x <_ 0 _._ 25 _,_
1500 _,_ 0 _._ 65 _< x <_ 0 _._ 75 _,_
5 _,_ otherwise _._
10 _,_ _x −_ _y_ _≤−_ 0 _._ 6 _,_
_−_ 2 _,_ _x −_ _y_ _≥_ 0 _._ 6 _,_
_−_ 200 _,_ _x_ + _y_ _≤_ 0 _._ 4 _,_
_−_ 100 _,_ _x_ + _y_ _≥_ 1 _._ 6 _,_
0 _,_ otherwise _._
_f_ 2 =
_f_ 2 =
Example 2: _f_ 1 =
10 _,_ _x −_ _y_ _≤−_ 0 _._ 6 _,_
_−_ 2 _,_ _x −_ _y_ _≥_ 0 _._ 6 _,_
200 _,_ _x_ + _y_ _≤_ 0 _._ 4 _,_
100 _,_ _x_ + _y_ _≥_ 1 _._ 6 _,_
0 _,_ otherwise;
Figure 2: Top: _f_ 1 _,_ _f_ 2 in Example 1. Bottom: _f_ 1 _,_ _f_ 2 in Example 2.
15
In our simulations, we set _b_ = 1. The space domain _D_ is taken as the unit square [0 _,_ 1] _×_ [0 _,_ 1]
and is divided into 200 _×_ 200 fine elements consisting of uniform squares. To measure the accuracy,
we will use the following error quantities:
_∥u_ h _−_ _u_ snap _∥H_ (curl)( _a,b_ ; _D_ )
_e_ �1 =
_∥u_ h _∥H_ (curl)( _a,b_ ; _D_ )
_,_
_e_ 1 =
_∥u_ snap _−_ _u_ ms _∥H_ (curl)( _a,b_ ; _D_ )
_∥u_ snap _∥H_ (curl)( _a,b_ ; _D_ )
_,_ _e_ 2 =
_∥u_ snap _−_ _u_ ms _∥L_ 2( _D_ )
_∥u_ snap _∥L_ 2( _D_ )
_._
First of all, we consider the error of _u_ snap. We test different contrast values of _a_, i.e. _a_ =
_κ_ <sup>2</sup> _,_ _κ_ <sup>4</sup> _,_ _κ_ <sup>6</sup>, respectively, where _κ_ is shown in Figure 3 with red denotes the value 10 and blue
denotes the value 1. We also test different sizes of coarse blocks, i.e. _H_ = 0 _._ 1 _,_ 0 _._ 05 _,_ 0 _._ 025. From
Table 4, we can see that contrast values do not affect the error, and error converges in first order
with respect to _H_ . This verifies the conclusion in Theorem 1.
Figure 3: _κ_
_<u>H</u>_ _<u>\</u>_ <u>Contrast</u> <u>1e+2</u> <u>1e+4</u> <u>1e+6</u>
<u>0.1</u> <u>22.02%</u> <u>22.02%</u> <u>22.02%</u>
<u>0.05</u> <u>11.74%</u> <u>11.71%</u> <u>11.71%</u>
<u>0.025</u> <u>5.73%</u> <u>5.70%</u> <u>5.70%</u>
_<u>H</u>_ _<u>\</u>_ <u>Contrast</u> <u>1e+2</u> <u>1e+4</u> <u>1e+6</u>
<u>0.1</u> <u>23.93%</u> <u>23.92%</u> <u>23.92%</u>
<u>0.05</u> <u>11.90%</u> <u>11.89%</u> <u>11.89%</u>
<u>0.025</u> <u>5.94%</u> <u>5.94%</u> <u>5.94%</u>
Figure 4: _e_ �1 comparison of different coarse size and different contrast values. Left: Example 1.
Right: Example 2.
Next, we consider the error of _u_ ms using offline and online adaptive methods. We first compare
offline adaptive method with uniform enrichment. Uniform enrichment means in each enrichment
level we uniformly add one eigenfunction to multiscale space from each coarse neighborhood. We
fix the contrast values to be 1e+4, and coarse block size _H_ = 0 _._ 1. And we will keep the same setting
for the future numerical analysis. For Example 1, we choose _initial_ _number_ = 1, _θ_ =0.2, _δ_ 0=0.7.
16
The error graph is shown in Figure 5. And for Example 2, we choose _initial_ _number_ = 2, _θ_ =0.2,
_δ_ 0=0.5. The error graph is shown in Figure 6. We can see the error decays faster while using offline
adaptive method than using uniform enrichment.
Figure 5: Error comparison for Example 1. Along x-axis: Dimensions of _V_ ms (DOF). Along y-axis:
Relative errors. Left: _e_ 1. Right: _e_ 2.
Figure 6: Error comparison for Example 2. Along x-axis: Dimensions of _V_ ms (DOF). Along y-axis:
Relative errors. Left: _e_ 1. Right: _e_ 2.
Next, we introduce a new algorithm which combines offline adaptive method and online adaptive
method. The idea is that we first use offline adaptive method, and want to switch to online adaptive
method when error decay becomes low. To achieve this, we use a user-defined criterion and the full
algorithm is shown in Algorithm 1 .
For both examples, we keep the same setting of _initial_ _number_, _θ_ and _δ_ 0 as before. And we
choose _δ_ = 0 _._ 5, _total_ _online_ _iterations_ = 4 and _percentage_ = 25%. Then the error graphs are
shown in Figures 7 and 8. We can see the point very clear when we switch to online adaptive
method, and the error decay becomes much faster after that.
We give a final note regarding the implementation. In the part of online adaptive method,
we will select non-overlapping regions. Here we introduce one option used in the numerical test
above. We define a term ”square coarse region”, which represents a region consisting of 2 _×_ 2 coarse
17
<u>Algorithm</u> <u>1</u> <u>Offline-online</u> <u>adaptive</u> <u>method</u>
Choose _total online iterations_, _initial number_, 0 _< θ, δ_ 0 _, percentage <_ 1.
Set _flag_ = 0, _m_ = 0, _J_ = _∅._
while _flag_ = 0 do _▷_ During the While loop, we use offline method.
if _m_ = 0 then
In each _ωi_, set _li_ = _initial number_ and take first _li_ eigenfunctions as multiscale basis.
else
For each _ωi_, we compute the local error indicators _ηi_ . And we find the smallest _k_, such
that: if we define a subset _I_ of _{ωi}_ <sup>_N_</sup> 1 <sup>_e_</sup> and the members in _I_ are just corresponding to the _k_
largest _ηi_, the following condition holds
_ωi∈I_
for all _ωi_ _∈_ _I_ do
Take the smallest _si_ such that
_ηi_ <sup>2</sup> <sup>_≥_</sup> <sup>_θ_</sup>
_Ne_
_i_ =1
_ηi_ <sup>2</sup> <sup>_._</sup>
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_<u>li</u>_
_≤_ _δ_ 0 _._
_<u>li</u>_ <u>+1</u>
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ + _si_
_li_ + _si_ +1
Add _si_ more eigenfunctions to multiscale basis.
if
_<u>li</u>_ <u>+</u> _<u>si</u>_
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ + _si_
_λ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_<u>li</u>_ <u>+</u> _<u>si</u>_
<sup>(</sup> <sup>_i_</sup> <sup>)</sup>
_li_ + _si_ +1 <sup>_≥_</sup> <sup>_δ_</sup> <sup>then</sup>
Add _ωi_ to _J_ . _▷J_ collects the coarse neighborhoods that reach the bound.
end if
_<u>|J|</u>_
if _|{ωi}_ <sup>_Ne_</sup> 1 _|_ <sup>_≥_</sup> <sup>_percentage_</sup> <sup>then</sup> _▷_ _| · |_ represents the cardinality of a set.
_flag_ = 1 _._ _▷_ There are enough coarse neighborhoods reaching the bound.
end if
end for
_li_ _←_ _li_ + _si_ .
end if
Compute multiscale solution.
_m ←_ _m_ + 1 _._
end while
_m_ = 1 _._
while _m ≤_ _total online iterations_ do _▷_ During the While loop, we use online method.
Select non-overlapping regions, and add online basis function to multiscale basis.
Compute multiscale solution.
_m ←_ _m_ + 1 _._
<u>end</u> <u>while</u>
18
Figure 7: Error comparison for Example 1. Along x-axis: Dimensions of _V_ ms (DOF). Along y-axis:
Relative errors. Left: _e_ 1. Right: _e_ 2.
Figure 8: Error comparison for Example 2. Along x-axis: Dimensions of _V_ ms (DOF). Along y-axis:
Relative errors. Left: _e_ 1. Right: _e_ 2.
elements. Square coarse regions are denoted by _ωi,j_, where _i_ = 1 _,_ _...,_ _Nx −_ 2 and _j_ = 1 _,_ _...,_ _Ny −_ 2
and _Nx_ and _Ny_ are the number of coarse nodes in the _x_ and _y_ directions respectively. We will
divide all _ωi,j_ into four group _I_ 1 _,_ _I_ 2 _,_ _I_ 3 _,_ and _I_ 4 depending on the party of ( _i, j_ ). Then each group
is a set of non-overlapping regions. At each level, in order to determine which group we choose,
2 2 2 2
we need to compare <sup>�</sup> _ωi,j_ _∈I_ 1 ��� _Rωmi,j_ ���, <sup>�</sup> _ωi,j_ _∈I_ 2 ��� _Rωmi,j_ ���, <sup>�</sup> _ωi,j_ _∈I_ 3 ��� _Rωmi,j_ ��� and <sup>�</sup> _ωi,j_ _∈I_ 4 ��� _Rωmi,j_ ���,
and choose the largest one.
2
���, <sup>�</sup>
2
���, <sup>�</sup>
2
��� and <sup>�</sup>
we need to compare <sup>�</sup>
_ωi,j_ _∈I_ 1
��� _Rωmi,j_
_ωi,j_ _∈I_ 2
��� _Rωmi,j_
_ωi,j_ _∈I_ 3
��� _Rωmi,j_
_ωi,j_ _∈I_ 4
��� _Rωmi,j_
### 6 Conclusion
In this paper, we present an adaptive multiscale method for H(curl)-elliptic problems with heterogeneous coefficients. We develop an adaptive basis enrichment procedure for the selection of
basis functions. We also propose an offline-online approach, so that one can automatically use both
offline and online basis functions. In addition, the convergence of both the offline and the online
adaptive methods are shown, and our results indicate that the convergence is independent of the
19
heterogeneities and the contrast of the coefficients. Finally, some numerical results are presented
to validate the scheme. In the future, we plan to develop multiscale method using the constraint
energy minimization approach [11, 6], as well as a unified approach based on the idea in this paper
and the constraint energy minimization approach.
### References
[1] J. E. Aarnes. On the use of a mixed multiscale finite element method for greater flexibility and
increased speed or improved accuracy in reservoir simulation. <u>SIAM</u> <u>J.</u> <u>Multiscale</u> <u>Modeling</u>
<u>and</u> <u>Simulation,</u> 2:421–439, 2004.
[2] Todd Arbogast. Analysis of a two-scale, locally conservative subgrid upscaling for elliptic
problems. <u>SIAM</u> <u>Journal</u> <u>on</u> <u>Numerical</u> <u>Analysis,</u> 42(2):576–598, 2004.
[3] C-C Chu, Ivan Graham, and T-Y Hou. A new multiscale finite element method for high
contrast elliptic interface problems. <u>Mathematics</u> <u>of</u> <u>Computation,</u> 79(272):1915–1955, 2010.
[4] E Chung and Wing Tat Leung. A sub-grid structure enhanced discontinuous Galerkin method
for multiscale diffusion and convection-diffusion problems. <u>Comput.</u> <u>Phys,</u> 14:370–392, 2013.
[5] Eric Chung, Yalchin Efendiev, and Thomas Y Hou. Adaptive multiscale model reduction with
generalized multiscale finite element methods. <u>Journal</u> <u>of</u> <u>Computational</u> <u>Physics,</u> 320:69–95,
2016.
[6] Eric Chung, Yalchin Efendiev, and Wing Tat Leung. Constraint energy minimizing generalized
multiscale finite element method in the mixed formulation. <u>arXiv</u> <u>preprint</u> <u>arXiv:1705.05959,</u>
2017.
[7] Eric T Chung, Yalchin Efendiev, and Wing Tat Leung. An adaptive generalized multiscale
discontinuous Galerkin method (GMsDGM) for high-contrast flow problems. 2014. arXiv
preprint arXiv:1409.3474.
[8] Eric T Chung, Yalchin Efendiev, and Wing Tat Leung. Generalized multiscale finite element
methods for wave propagation in heterogeneous media. <u>Multiscale</u> <u>Modeling</u> <u>&</u> <u>Simulation,</u>
12(4):1691–1721, 2014.
[9] Eric T Chung, Yalchin Efendiev, and Wing Tat Leung. An online generalized multiscale
discontinuous galerkin method (gmsdgm) for flows in heterogeneous media. <u>arXiv</u> <u>preprint</u>
<u>arXiv:1504.04417,</u> 2015.
[10] Eric T Chung, Yalchin Efendiev, and Wing Tat Leung. Residual-driven online generalized
multiscale finite element methods. <u>arXiv</u> <u>preprint</u> <u>arXiv:1501.04565,</u> 2015.
[11] Eric T Chung, Yalchin Efendiev, and Wing Tat Leung. Fast online generalized multiscale finite
element method using constraint energy minimization. <u>Journal</u> <u>of</u> <u>Computational</u> <u>Physics,</u>
355:450–463, 2018.
[12] Eric T Chung, Yalchin Efendiev, and Guanglian Li. An adaptive GMsFEM for high-contrast
flow problems. <u>Journal</u> <u>of</u> <u>Computational</u> <u>Physics,</u> 273:54–76, 2014.
20
[13] E.T. Chung, Y. Efendiev, and S. Fu. Generalized multiscale finite element method for elasticity
equations. <u>International</u> <u>Journal</u> <u>on</u> <u>Geomathematics,</u> 5:225–254, 2014.
[14] Louis J Durlofsky. Numerical calculation of equivalent grid block permeability tensors for
heterogeneous porous media. <u>Water</u> <u>resources</u> <u>research,</u> 27(5):699–708, 1991.
[15] Yalchin Efendiev, Juan Galvis, and Thomas Y Hou. Generalized multiscale finite element
methods (GMsFEM). <u>Journal</u> <u>of</u> <u>Computational</u> <u>Physics,</u> 251:116–135, 2013.
[16] Yalchin Efendiev, Juan Galvis, and Xiao-Hui Wu. Multiscale finite element methods for high
contrast problems using local spectral basis functions. <u>Journal</u> <u>of</u> <u>Computational</u> <u>Physics,</u>
230(4):937–955, 2011.
[17] Yalchin Efendiev and Thomas Y Hou. <u>Multiscale</u> <u>finite</u> <u>element</u> <u>methods:</u> <u>theory</u> <u>and</u>
<u>applications,</u> volume 4. Springer Science & Business Media, 2009.
[18] Yalchin Efendiev, Thomas Y Hou, Victor Ginting, et al. Multiscale finite element methods
for nonlinear problems and their applications. <u>Communications</u> <u>in</u> <u>Mathematical</u> <u>Sciences,</u>
2(4):553–589, 2004.
[19] Bj¨orn Engquist and Olof Runborg. Heterogeneous multiscale methods. <u>Communications</u> <u>in</u>
<u>Mathematical</u> <u>Science,</u> 1(1):132, 2013.
[20] K. Gao, E.T. Chung, R. Gibson, S. Fu, and Y. Efendiev. A numerical homogeneization method
for heterogenous, anisotropic elastic media based on multiscale theory. <u>Geophysics,</u> 80:D385–
D401, 2015.
[21] K. Gao, S. Fu, R. Gibson, E.T. Chung, and Y. Efendiev. Generalized multiscale finite ele
ment method (GMsFEM) for elastic wave propagation in heterogeneous, anisotropic media. <u>J.</u>
<u>Comput.</u> <u>Phys.,</u> 295:161–188, 2015.
[22] Mehdi Ghommem, Michael Presho, Victor M Calo, and Yalchin Efendiev. Mode decompo
sition methods for flows in high-contrast porous media. global–local approach. <u>Journal</u> <u>of</u>
<u>Computational</u> <u>Physics,</u> 253:226–238, 2013.
[23] R. Gibson, K. Gao, E. Chung, and Y. Efendiev. Multiscale modeling of acoustic wave propa
gation in two-dimensional media. <u>Geophysics,</u> 79:T61–T75, 2014.
[24] Patrick Henning, Mario Ohlberger, and Barbara Verf¨urth. A new heterogeneous multiscale method for time-harmonic Maxwell’s equations. <u>SIAM</u> <u>Journal</u> <u>on</u> <u>Numerical</u> <u>Analysis,</u>
54(6):3493–3522, 2016.
[25] Thomas Y Hou and Xiao-Hui Wu. A multiscale finite element method for elliptic problems
in composite materials and porous media. <u>Journal</u> <u>of</u> <u>computational</u> <u>physics,</u> 134(1):169–189,
1997.
[26] P. Jenny, S. H. Lee, and H. Tchelepi. Multi-scale finite volume method for elliptic problems in
subsurface flow simulation. <u>J.</u> <u>Comput.</u> <u>Phys.,</u> 187:47–67, 2003.
[27] Peter Monk. <u>Finite</u> <u>element</u> <u>methods</u> <u>for</u> <u>Maxwell’s</u> <u>equations.</u> Oxford University Press, 2003.
21
[28] Jean-Claude N´ed´elec. Mixed finite elements in R3. <u>Numerische</u> <u>Mathematik,</u> 35(3):315–341,
1980.
[29] Xiao-Hui Wu, Y Efendiev, and Thomas Y Hou. Analysis of upscaling absolute permeability.
<u>Discrete</u> <u>and</u> <u>Continuous</u> <u>Dynamical</u> <u>Systems</u> <u>Series</u> <u>B,</u> 2(2):185–204, 2002.
22