A Multiscale Finite Element

Embed Size (px)

Citation preview

  • 7/29/2019 A Multiscale Finite Element

    1/21

    ECOLE POLYTECHNIQUE

    CENTRE DE MATHEMATIQUES APPLIQUEESUMR CNRS 7641

    91128 PALAISEAU CEDEX (FRANCE). Tel: 01 69 33 41 50. Fax: 01 69 33 30 11

    http://www.cmap.polytechnique.fr/

    A multiscale finite element

    method

    for numerical homogenization

    Gregoire Allaire, Robert Brizzi

    R.I. N0 545 July 2004

  • 7/29/2019 A Multiscale Finite Element

    2/21

    A multiscale finite element methodfor numerical homogenization

    Gregoire ALLAIRE

    CMAP, UMR-CNRS 7641, Ecole Polytechnique 91128 Palaiseau Cedex (France)

    Robert BRIZZI

    CMAP, UMR-CNRS 7641, Ecole Polytechnique 91128 Palaiseau Cedex (France)

    Abstract

    This paper is concerned with a multiscale finite element method for numerically solving

    second order scalar elliptic boundary value problems with highly oscillating coefficients. In

    the spirit of previous other works, our method is based on the coupling of a coarse globalmesh and of a fine local mesh, the latter one being used for computing independently an

    adapted finite element basis for the coarse mesh. The main new idea is the introduction

    of a composition rule, or change of variables, for the construction of this finite element

    basis. In particular, this allows for a simple treatment of high order finite element methods.

    We provide optimal error estimates in the case of periodically oscillating coefficients. We

    illustrate our method on various examples.

    1 Introduction

    The goal of this paper is to build a multiscale finite element for performing numerical homog-enization. The word multiscale is understood here in the practical sense that two different

    meshes will be used: a fine mesh for computing locally and independently (i.e. allowing for aneasy parallelization) a finite element basis, and a coarse mesh for computing globally and atlow cost the solution of an elliptic partial differential equation. By numerical homogenizationwe mean that we compute, not only the mean field solution of a highly heterogeneous problem,but also the local fluctuations which may be important in many applications. Recently therehas been many contributions on multiscale numerical methods, including [3], [6], [8], [9], [10],[11], [12], [13], [14]. Our work is in the spirit of that of Hou and Wu [11].

    Our model problem is a scalar elliptic partial differential equation which arises in manyapplications such as diffusion in porous media, or composite materials. Let be a bounded

    1

  • 7/29/2019 A Multiscale Finite Element

    3/21

    open set ofRn and f L2() (or, more generally, f H1()). For simplicity, we considerDirichlet boundary conditions. Our model problem is to find u H10() solution of

    div{A grad u} = f in

    u = 0 on (1)

    where A = (aij )ni,j=1 is a non-necessarily symmetric matrix of coefficients which all belong to

    L(). We assume that A is uniformly bounded and coercive. The notation > 0 stands forsome small scale in the problem (but there could well be several scales, so is just a convenientnotation for all the small scales of variation of A). Solving numerically (1) is a difficult taskif the scale is small. Indeed, a good approximation is obtained with classical finite elementmethods (or any other methods) only if the mesh size h is smaller than the finest scale, i.e.h . As is well known, this is not satisfactory since CPU time as well as memory storagegrow polynomially with h1 and soon become prohibitively too large.

    There is one way out of this difficulty in the special case of periodic heterogeneities oroscillations of the tensor A. In the periodic case, is the period, and A is defined by

    A(x) = Ax

    ,where y A(y) is a Y-periodic function where Y = (0, 1)n is the unit cube. It is a classicalresult of homogenization theory (see e.g. [5]) that, for small , u is approximated by

    u (x) u (x) + n

    i=1

    i

    x

    u

    xi(x) (2)

    and

    u(x) u (x) +n

    i=1

    (yi)

    x

    u

    xi(x), (3)

    where i is the solution of the so-called cell problemdivy{A(y)ei + grady i} = 0 in Y,

    y i(y) 0 Y periodic.(4)

    The numerical resolution of (1) is often replaced by the simpler one of the homogenized problemdiv{A grad u} = f in

    u = 0 on .(5)

    where A is a constant homogenized tensor given by the explicit formula Aei =Y A(y)ei + grady i dy. The approximation of u by u can be improved by adding thefirst order corrector termu1. This additional contribution may not be so important in (2) butis crucial in (3) since it is of the same order of magnitude than u. Note in passing that (2)and (3) can also be improved by adding a so-called boundary layer term since u + u1 doesnot satisfy the Dirichlet boundary condition on (see e.g. [4]).

    In the non-periodic case, although there still exist an homogenized problem and approx-imation formula similar to (2), (3), the homogenized matrix A is unfortunately unknown apriori. Therefore, one can not replace the numerical resolution of the original problem (1) bythat of the homogenized problem (5). Instead, many multiscale numerical methods have been

    2

  • 7/29/2019 A Multiscale Finite Element

    4/21

    recently devised in order to solve directly (1) but at a price (in terms of CPU time and memorystorage) comparable to that of solving (5). Typically, a multiscale finite element method usesa coarse mesh of size h > and an adapted finite element basis which incorporates the smallscale features of the oscillating tensor A. The finite element basis is pre-computed locally oneach cell of the coarse mesh (and in parallel for computational efficiency) by solving a localversion of (1). The number of degrees of freedom is thus not larger than for a classical finiteelement method on the coarse mesh.

    Let us describe the main idea behind our new multiscale finite element method. Althoughit is designed for non-periodic homogenization problem, for the sake of simplicity we first presentit in the context of periodic homogenization. A key idea is to remark that (2) looks like a firstorder Taylor expansion, namely it implies

    u (x) u

    x +

    x

    (6)

    where = (1, . . . , n). Building on (6), we introduce a coarse mesh of size h > and a

    classical conforming finite element basis

    hl

    l, and we define an oscillating finite element basis

    through the same composition rule

    ,hl (x) = hl x +

    x

    .Our method amounts to apply a standard Galerkin procedure to the variational formulationof (1) with this oscillating finite element basis. The advantages of our method are at leasttwofold. First, it is very easy to implement high order methods since the computation ofthe oscillating functions

    x

    is independent of the order of the coarse mesh finite element

    basis

    hl

    l. Second, the convergence analysis is somehow simpler since, roughly speaking, it

    amounts to apply the change of variables x x + x to standard convergence result onthe coarse mesh

    The content of the paper is as follows. In section 2, we recall some basic facts of ho-mogenization theory and we give a precise statement about (6) in the general (non-periodic)case. Section 3 is devoted to a precise definition of our multiscale finite element method. Its

    convergence is then studied in section 4. Finally, in section 5 some numerical results are given.

    2 Some results in homogenization theory

    2.1 H-convergence and oscillating test functions

    Let us recall some results of the H-convergence theory (for details see e.g. [15], [2]). Let Mnbe the linear space of square real matrices of order n and define, for given positive constants > 0 and > 0, the subspace of Mn made of matrices which are coercive as well as theirinverses

    M, = M Mn ; M. ||2 , M1. ||2 , Rn .

    A sequence of matrices A L(; M,) is said to H-converge, when goes to zero, to ahomogenized matrix A L(; M,) if, for any right hand side f H1(), the sequenceof solutions u of (1) satisfies

    u u weakly in H10 () ( 0),Agrad u Agrad u weakly in L2()n ( 0),

    where u denotes the solution of the homogenized equation (5). This definition makes sensebecause of the following sequential compactness property [15].

    3

  • 7/29/2019 A Multiscale Finite Element

    5/21

    THEOREM 2.1 Let (A)>0 be a sequence of matrices in L(; M,). There exists a sub-

    sequence, still denoted by , and a homogenized matrix A L(; M,) such that A H-converges to A.

    Except in periodic case, this abstract result does not give an explicit formula for the limit A.Actually, the homogenized tensor A is defined as a limit in the distributional sense, namely

    A(x) grad

    wi A

    ei in D(;Rn)

    where (ei)i=1,n denotes the canonical basis ofRn, and (wi )i=1,n are the so-called oscillating

    test functions which satisfy

    wi xi weakly in H1() ( 0), (7)and

    gi = div{Agrad wi } gi = div{Aei} strongly in H1() ( 0). (8)The existence of such oscillating test functions is the key point in the proof of Theorem 2.1 but

    they are neither explicit (they depend on A

    ) nor unique (they are unique up to the additionof a sequence converging strongly to zero in H1()). For our purpose, we define them as thesolutions of the following boundary value problems (j = 1,...,n)

    div{A grad wj} = div{A ej} in wj = xj on . (9)

    These oscillating test functions are also useful for obtaining a corrector result.

    THEOREM 2.2 Let (A)>0 be a sequence H-converging to A in L(; M,). Then,

    grad u

    =

    n

    i=1

    wi u

    xi + r, (10)

    where the remainderr converges strongly to zero in L1(;Rn). Furthermore, ifu W1,(),

    then r converges strongly in L2(;Rn).

    REMARK 2.3 In the context of Theorem 2.2 it is clear that, if the homogenized solution issmoother, say u W2,(), then

    u = u +n

    i=1

    (wi (x) xi) uxi + r (11)where the remainder r converges strongly to zero in H

    1(). In the sequel, we denote by

    [W] = wjxi

    i,j=1,n

    (12)

    the so-called corrector matrix.

    Proof: The proof of (10) is classical (see e.g. [2]). The last statement of Theorem 2.2 issimpler to prove, so we briefly explain how to proceed. Using the coercivity of A we are doneif we can show that

    4

  • 7/29/2019 A Multiscale Finite Element

    6/21

    lim0

    A

    grad u [W]grad u grad u [W]grad u dx = 0. (13)Developing the scalar product in the integral (13), we obtain the following terms

    [W]tA[W] grad u grad u dx +

    A grad u grad u dx

    A grad u [W] grad u dx A [W] grad u grad u dx.To pass to the limit in the first term we use the facts (see Lemma 1.3.38 [2]) that [W]tA[W]converges to A in D

    (;Mn), and that, thanks to Meyers theorem which implies a uniformLp() bound (with p > 2) for [W], this convergence holds true weakly in L1(;Mn). Thus,since u W1,(), we have

    [W]tA[W] grad u grad u dx

    Agrad u grad u dx.

    The second term is easy

    A grad u grad u dx =

    f u dx

    f u dx =

    Agrad u grad u dx.Applying the div-curl compensated compactness result [15] to the third term and using theregularity assumptions as well as Meyers theorem, we get the desired result

    A grad u [W] grad u dx

    Agrad u grad u dx.

    The fourth term is treated in the same way and their combination gives zero.

    2.2 A remark on the corrector result

    The right hand side of formula (11) looks like the first order Taylor expansion ofu at the pointw(x) = (w1(x),..., wn(x)). It indicates that u(x) may well be approximated by u w(x).This remark is at the basis of the new form of the corrector result (Theorem 2.2) that we nowpropose.

    THEOREM 2.4 Let (A)>0 be a sequence H-converging to A in L(; M,). For f

    H1(), let u be the solution of (1) and u be that of (5). Let wj be the family of oscillatingtest functions defined in (9). Assume that u W2,() and w is uniformly bounded inLq()n for any 2 q < +. Then

    u = u

    w +

    r, (14)

    where the remainder term r converges strongly to zero in H10 ().REMARK 2.5 In space dimension n = 2, since H1() Lq() for any 2 q < +, thereis no additional assumption on w in Theorem 2.4. If w is not uniformly bounded in anyLq()n, it is at least bounded in L2

    ()n with 2 = 2n/(n 2) and we can still obtain thestrong convergence to zero of r in W1,n/(n1)().REMARK 2.6 The approximation of the principal part of the solution u, i.e. u w, mayserve as a substitute for the approximation of the solution of problem (1). This idea is at theroot of the new multiscale finite element method described in this work.

    5

  • 7/29/2019 A Multiscale Finite Element

    7/21

    Proof: It is not clear that w() (see remark 2.10), so formula (14) makes sense if uis first extended by zero outside . Since u is a Lipschitz function, u w belongs to H1().Furthermore, since w(x) = x a.e. on , the function u w belongs to H10 (). We have

    u u wH10() = grad u grad ( u w)L2()n

    grad u [W] grad uL2()n + [W] ( grad u (grad u) w) L2()n . (15)

    The first term in the right hand side of (15) goes to zero because of Theorem 2.2. The second

    term is bounded by

    [W] ( grad u (grad u) w) L2()n [W]Lp(;Mn) grad u (grad u) wLp ()nwith 1/p + 1/p = 1/2. A Taylor expansion with integral rest yields

    (grad u) w = grad u + 10

    u(x + t(w(x) x)).(w(x) x) dtand thus, we obtain

    (grad u)

    w grad uLp ()n uW2,()

    w xLp(;Rn)n .

    By Meyers theorem there exists p > 2 such that [W]Lp(;Mn) is uniformly bounded. Byassumption (wx) is bounded in any Lq(;Rn)n, 2 q < +, and since it converges stronglyto zero in L2(;Rn)n, it also converges strongly in Lp

    (;Rn)n. All together this implies thatthe second term in the right hand side of (15) goes to zero.

    There is a converse statement of Theorem 2.4.

    THEOREM 2.7 Let (A)>0 be a sequence H-converging to A in L(; M,). For f

    H1(), let u be the solution of (1) and w be the family of oscillating test functions definedin (9). If there exists a function u H10() W1,() such that

    u u wH1

    0() 0 when 0,

    then u = u, the solution of the homogenized problem (5).

    Proof: By assumption, u admits the following representation formula, similar to (14),

    u = u w + r, (16)where r converges strongly to zero in H10 (). Let us consider the variational formulation of(1)

    a(u, v) =

    Agrad u grad v dx =

    f v dx , v H10 (). (17)

    Substituting (16) into (17) gives

    A[W](grad u) w grad v dx +

    Agrad r grad v dx =

    f v dx , v H10 ().

    By assumption the second integral goes to zero, while the first one converges to A

    u v dx. Indeed, by H-convergence, A[W] converges weakly to A in L2(;Mn) and, by theLebesgue dominated convergence theorem, (grad u) w converges strongly to grad u in L2()n.Thus, passing to the limit we obtain that u is a solution of the variational formulation of thehomogenized problem (5), i.e. u = u.

    6

  • 7/29/2019 A Multiscale Finite Element

    8/21

    2.3 An approximate variational formulation

    The representation formula (14) for u suggests an approximation of the variational formulation(17). Indeed, it is equivalent to

    a( u w , v ) =

    f v dx a(r , v ) , v H10 (), (18)where the last term goes to zero. Dropping it and choosing an adequate subspace of H10 ()

    should yield a good approximation of (17). A first possible choice of subspace isv H10() ; v H10 () W1,() , v = v w ,

    but it is unfortunately not closed in H10 (), so it can not be a Hilbert space. Another possibility,which requires the additional regularity w W1,(;Rn), is

    V =

    v H10 () ; v H10 () , v = v w , (19)which is a closed subspace of H10 () since w W1,(;Rn) implies that v w belongsto H10 () as soon as v does. We defined the approximate variational formulation as: find

    u H1

    0 () such that

    a(u w, v w) =

    f v wdx , v H10 (). (20)By the Lax-Milgram theorem (20) admits a unique solution u w in V. In the following, wewill call u the substituting homogenized solution. Remark that, u actually depends on but itoscillates less compared to u.

    LEMMA 2.8 Assume w W1,(;Rn). Let u be the unique solution of (20) and u be thesolution of the homogenized problem (5). Then

    (u u)

    wH1

    0() 0 when 0.

    REMARK 2.9 Of course, combining Lemma 2.8 and our corrector result Theorem 2.4, wededuce that u w is a good approximation of the solution u of the original problem (1)

    u u wH10() 0 when 0.

    Proof: Subtracting (20) from (18) with the same test function (v w) V H10 () weobtain

    a( (u u) w , v w ) = a( r , v w ).Taking v = u u, using coercivity and continuity of the bilinear form show that

    (u u)

    wH1

    0() 1

    rH1

    0(),

    which goes to zero as does.

    2.4 Change of variables

    A reasonable question to ask is whether the mapping x w(x) from into Rn is a changeof variables, i.e. is one-to-one into . We do not know if it is true in general. Nevertheless wehave the following partial results.

    LEMMA 2.10 Assume w W1,()n. Then, the mapping w is onto in the sense thatw() .7

  • 7/29/2019 A Multiscale Finite Element

    9/21

    Proof: Since w = x on and W1,() C0() then, from topological degree theory [16],deg(w, , y) = deg(id, , y) y

    where id denotes the canonical injection from into Rn. On the other hand,

    deg(id, , y) =

    1 ify

    0 ify .thus, for y , deg(w, , y) = 0 and from topological degree property, we deduce that thereexists an x such that y = w(x).

    The question of injectivity is much more delicate. Let us simply recall the following resultof [1].

    THEOREM 2.11 Assume R2 is a bounded simply connected open set, whose boundary is a convex closed curve. Assume further that A(x) is symmetric and that A does notdepend on x. Then, the mapping w is a homeomorphism from into itself.REMARK 2.12 The homogenized matrix A is constant, for example, in the case of periodichomogenization, i.e. A(x) = A( x ).

    REMARK 2.13 In the case of small amplitude homogenization, one can prove that the mappingw is a homeomorphism. Indeed, by a perturbation argument, if A(x) is close to a constantmatrix A0, then w(x) is close to x and thus is one-to-one.3 Definition of the multiscale finite element method

    3.1 Approximation of the oscillating test functions

    The idea of our multiscale finite element method is to solve the approximate variational formu-lation (20) instead of the true one (17). This requires the computation of the oscillating testfunctions which are not explicit since, in view of their definition (9), they depend on A which

    is unknown. Therefore, we need to introduce an adequate approximation procedure.We introduce a coarse mesh of which, for simplicity, is assumed to be polyhedral. This coarsemesh is a conformal triangulation Th such that

    =

    KTh

    K (21)

    where the elements K satisfy diam(K) h. In practice the mesh size h is larger than thespace scale of oscillations , i.e. h > . For each K Th, let us define w,Ki (i = 1,...,n) as thesolution of

    div

    {A grad w

    ,Ki

    }=

    div

    {AK grad xi

    }in K,

    w,Ki = xi on K, (22)where AK is a local approximation of A

    in K. The simplest approximation is to take AKconstant in K : in such a case its precise value is irrelevant since the right hand side of (22)cancels out. This will be our choice in the numerical examples of this paper. Nevertheless, itis possible to take AK(x) as some varying local average of A

    .

    Collecting together these local approximations we define w,hi H1() by w,hi = w,Kifor each K Th, and we set w,h = w,h1 , . . . , w,hn H1(;Rn).

    8

  • 7/29/2019 A Multiscale Finite Element

    10/21

    A numerical approximation of the local oscillating test functions defined in (22) is com-puted by using a classical conforming finite element in each K Th. For each coarse mesh cellK we introduce a local fine mesh TKh where h denotes the size of this fine mesh. Of course, wehave h < h, but, since we want to resolve the oscillations of the tensor A, we also have h < .Typically we use Pk Lagrange finite elements for solving the local boundary value problems(22). Since, from one cell K to the other, these problems are independent this may be done inparallel. This procedure is very similar to that introduced in [11].

    The hats used in our notation refer to exact solutions of boundary value problems : thus,w refers to the true oscillating test function and w,h refers to the collection over Th of allsolutions of (22). We shall drop the hat notation when we refer to the corresponding numerical

    approximations: thus w,Ki is the Pk finite element approximation of w,Ki , and w,hi , w,h aredefined as above with the hat notation.

    REMARK 3.1 The domain of definition of the local oscillating test functions w,Ki is exactlythe cell K. However, one can possibly define it on a larger domain (even if only its restrictionto K is used). For instance, in order to prevent boundary layer effects we can devise a so-calledoversampling method in the spirit of [11] by solving (22) in a domain Q which is slightly largerthan K. In the context of [11] this yields to a non-conforming finite element method which isanalyzed in [9]. In our framework, the oversampling method is still a conforming finite element

    method (see Remark 3.4).REMARK 3.2 In many applications, like composite materials, the coefficient matrix A is dis-continuous and thus the oscillating test function w,h does not have a second derivative. In sucha case, as is well known, using higher order finite elements does not improve the convergencerate, so we content ourselves in usingP1 finite elements for computing w

    ,h.

    3.2 A multiscale finite element method

    Let Vh H10 () be a finite dimensional subspace (dim Vh = Nh) corresponding to a conformingfinite element method defined on the coarse mesh (22). Typically we use Pk Lagrange finite

    elements. Let

    hl l=1,...,Nh

    denote a finite element basis ofVh. In order to compute a numerical

    approximation uh of the substituting homogenized solution u, we introduce an oscillating (ormultiscale) finite element basis defined by

    ,hl (x) = hl w,h(x) , (l = 1,...,Nh). (23)

    We therefore obtain a conformal finite element method associated to the coarse mesh Th and wedenote by Vh H10 () the space spanned by the functions

    ,hl

    l=1,...,Nh

    . Roughly speaking,

    Vh is the space Vh w,h.From the approximate variational formulation (20), we deduce a numerical approximation:find uh w,h Vh such that

    a(uh w,h, vh w,h) = f vh w,h dx , vh w,h Vh . (24)We use Lagrange finite elements and consequently the degrees of freedom are the values at thenodes nKj (j = 1,...,NK) of the elements K Th. For such an element K, let ,K be theassociated local basis which is made of NK polynomials p

    Ki Pk satisfying pKi (nKj ) = ij .

    The local oscillating finite element basis is

    ,Ki (x) = pKi w,K(x) (25)

    9

  • 7/29/2019 A Multiscale Finite Element

    11/21

    and, since w,K(x) = x on K, it still satisfies

    ,Ki (nK

    j ) = ij .

    On the other hand, for each K Th,(uh w,K)|K(x) = [,K(x)] {uKh }

    where [,K(x)] = [,K1 ,..., ,KNK

    ] and {uKh } is the column vector composed of values of uh atthe nodes of K.REMARK 3.3 In the case of piecewise linear finite elementsP1 we recover the multiscale finiteelement method previously introduced by T. Hou and X.-H. Wu [11]. Indeed, when the basisfunctions pKi belong to P1, by linearity the oscillating basis functions can be written

    ,Ki (x) = pKi (x) +

    nj=1

    w,Kj (x) xj

    pKixj

    (x). (26)

    A simple calculus shows that

    div{A grad ,Ki } =n

    j=1div{Agrad w,Kj }

    pKixj

    inK

    and, if we choose AK constant in the definition (22), we obtaindiv{A grad ,Ki } = 0 in K

    ,Ki = pi on K

    (27)

    which is precisely the definition of the finite element basis in the multiscale method of T. Houand X.-H. Wu [11].

    REMARK 3.4 As explained in Remark 3.1 we can devise an oversampling method in the spiritof [11], [9]. If the local oscillating test functions w

    ,Ki are computed from (22) in a domain

    Q which is larger than K, the composition with hl is still going to define a conforming finite

    element basis. However, the support of ,hl may now be different from that of hl and its nodalvalues are also different.

    4 Convergence proof in the periodic case

    Although for its practical implementation our multiscale numerical method does not makeany assumption on the possible type of heterogeneities or oscillations of the tensor A, it isconvenient to analyze its convergence in the context of periodically oscillating coefficients. In

    this section, we assume that A(x) = A(x

    ) where A(y) is a periodic, uniformly coercive and

    bounded, matrix in the unit cube Y = (0, 1)n. As is usual practice in the numerical analysis

    of finite element methods, we assume that the tensor A(y) is smooth in order to use classicalresult from this field. However, from the point of view of homogenization theory, it is enoughto assume that A(y) is piecewise smooth, possibly discontinuous through smooth interfaces,since this implies that the solutions of the cell problem (4) and those of (22) (which defines theoscillating test functions) belong to W1, which is just enough for our analysis.

    Recall that we use a Pk Lagrange finite element method (k 1) on the coarse mesh ofsize h, and, locally on each cell K of the coarse mesh, a Pk Lagrange finite element methodon a fine mesh of size h to compute the oscillating test functions. We always assume that

    0 < h < < h < 1.

    10

  • 7/29/2019 A Multiscale Finite Element

    12/21

    THEOREM 4.1 Let u be the exact solution of (1) anduh uh w,h be the numerical solutionof (24). Assume that u Wk+1,() and i W1,(Y). There exists a constant Cindependent of and h such that

    u uhH10() C

    hk +

    h+

    h

    k. (28)

    REMARK 4.2 Using an oversampling method as explained in Remarks 3.1 and 3.4 would im-

    prove slightly estimate (28) by replacing the/h term in its right hand side (which is due toboundary layer effects) with /h. However, the resonance effect (i.e. the fact that method doesnot converge if h ) does not disappear.Proof: From Ceas lemma [7] applied to (24), there exists a constant C independent of and h such that

    u uhH10() C inf

    vh V

    h

    u vhH10(). (29)

    Define h as the Vh-interpolation operator: h v(x) =Nhl=1

    v(nl)hl (x) where nl denotes the

    nodes associated to the Pk finite element method. In the same way h denotes the V

    h -

    interpolation operator: h v(x) =Nhl=1

    v(nl),hl (x). It satisfies

    h v = (h v) w,h.

    In (29) we choose vh = hu

    where u is the exact solution of the homogenized problem (5).This yields

    u uhH10() Cu huH1

    0(). (30)

    Introducing the rescaled solution of the cell problem (4)

    w(x) = x + x

    , (31)

    we bound the right hand side of (30)

    u

    (

    hu

    )L2()n

    C u (u w) L2()n+ {( u hu) w}L2()n+ {hu ( w w,h )}L2()n+ {hu ( w,h w,h )}L2()n .

    (32)

    The upper bound (32), which gives the order of convergence of our multiscale finite elementmethod, is made of four terms. The first one is related to a corrector result in periodic ho-mogenization. The second one is linked to an interpolation result for the coarse mesh Pk finiteelement method. The third one is related to an homogenization result for the local oscillating

    test functions. Finally the fourth term is concerned with an error estimate for the Pk finiteelement method used to compute the local oscillating test functions.

    The first term in the right hand side of (32) is bounded thanks to Lemma 4.4. The secondterm is

    [ w]{( u hu)} wL2()n Id + [y ]L(Y){( u hu)} wL2()n . (33)To estimate the right hand side of (33) we perform a Taylor expansion with integral rest

    {( u hu)} w = ( u hu)(x) + 10

    ( u hu )

    x + t(x

    )

    x

    dt

    11

  • 7/29/2019 A Multiscale Finite Element

    13/21

    and thus (33) is bounded by

    Id + [y]L(Y)u huH1() + u huW2,()L2(Y)

    Id + [y]L(Y)uWk+1,()

    hk + hk1L2(Y)

    by standard interpolation results for Lagrange Pk finite elements [7]. Remark that the aboveTaylor expansion is valid only if the interpolate hu

    admits a second derivative, which is trueif the finite element order is k

    2. For k = 1 the argument must be slightly changed, but,

    since in such a case our method coincides with that in [11], [12], we do not give unnecessarydetails.The third term in the right hand side of (32) is

    [( w w,h)]{(hu)} ( w w,h)L2()n uW1,()( w w,h)L2()n . (34)To estimate the right hand side of (34) we write

    ( w w,h)2L2()n = KTh

    ( w w,h)2L2(K)nand we use Lemma 4.3 for each cell K: actually, w,h converges to x in H1(K) weakly as goes to 0 (for fixed h), so

    w is exactly the sum of the homogenized limit and of the corrector

    term. Since K is of size h, its surface |K| is of order hn1

    and the total number of cells K isof order hn. Thus, we obtain

    ( w w,h)2L2()n Ch .Finally the fourth term in the right hand side of (32) is

    [(w,h w,h)]{(hu)} (w,h w,h)L2()n uW1,()(w,h w,h)L2()n . (35)In the right hand side of (35) we have the difference between an exact cell solution w,h andits numerical approximation w,h. By standard interpolation results for Lagrange Pk finiteelements [7] (valid if the tensor A(y) is smooth enough), we thus obtain

    (

    w,h w,h)2L2()n = KTh(

    w,h w,h)2L2(K)n C(h)2k

    KTh|

    w,h|2Hk+1(K)

    .

    Then, assuming again that A(y) is smooth enough, the oscillating test function is also smoothand satisfies

    |w,h|Hk+1(K) Ck|K|.Collecting together all four terms, (32) yields

    u (hu)L2()n C

    + (hk + hk1) +

    h+

    h

    k,

    which implies (28).

    We now recall a classical corrector result in periodic homogenization [5] where the depen-

    dence on the size of the domain is made explicit (for a proof, see [11]). Let be a smoothbounded open set, f L2() and g H1(). Define the original problem div{A grad v} = f in ,

    v = g on ,

    and its homogenized limit div{A grad v} = f in ,v = g on .

    12

  • 7/29/2019 A Multiscale Finite Element

    14/21

    LEMMA 4.3 There exists a constant C, which is independent of , and the data f, g, suchthat v v

    ni=1

    i

    x

    v

    xi(x)

    H1()

    C

    | | vW2,().

    The next lemma is a quantitative version of Theorem 2.4 in the periodic case. Remarkhowever that it involves the solution of the cell problem instead of the oscillating test functionw defined by (9).LEMMA 4.4 Let w be defined by (31). Assume that u W2,() and i W1,(Y).Then, there exists a constant C, independent of , such that

    u u wH10() C

    .

    Proof: We have

    u ( u w)L2()n u [ w] uL2()n+ [ w] ( u ( u) w) L2()n . (36)

    Since [

    w(x)] = Id + [y]

    x

    , the first term in the right hand side of (36) is bounded by

    by a classical corrector result (see Lemma 4.3). The second term is bounded by

    Id + [y]L(Y) u ( u) wL2()n .A Taylor expansion with integral rest yields

    ( u) w = u + 10

    u

    x + t(x

    )

    x

    dt

    and thus, we obtain

    ( u) w uL2()n uW2,() L2()nwhich gives the desired result.

    5 Numerical results

    In this section, we experimentally study the convergence and the accuracy of our multiscalemethod through numerical computations. For the sake of comparison we first implemented themethod of T. Hou and X.-H. Wu [11], based on the direct numerical computation of the basefunctions defined in (27). We checked that our multiscale method in the P1 case, which is the-oretically equivalent to the method of T. Hou and X.-H. Wu, does indeed coincide numericallyalthough the implementations are quite different. The main novelty is the implementation ofour P2 multiscale method (denoted by P2-MSFEM). As can be expected from the error estimate(28), its numerical results give a better approximation than the P1 method.

    We first conduct numerical experiments in the periodic setting with a smooth scalar

    conductivity tensor (taken from [11])

    A(x) = a(x/) Id

    wherea(x/) = 1/(2 + Psin(2x1/))(2 + Psin(2x2/)).

    In this formula, P is used as a contrast parameter (P = 1.8 for the numerical results presentedhere). The right hand side of the Dirichlet boundary value problem is f = 1. All computationsare performed on the unit square domain which is uniformly meshed by triangular finite

    13

  • 7/29/2019 A Multiscale Finite Element

    15/21

    elements (the coarse mesh of size h). Each triangle in this coarse mesh is again meshed bytriangular finite elements (the local fine mesh of size h since the opposite caseh < is covered by the classical finite element method in a much better way.

    5.1 Periodic setting

    Comparison with the two-scale asymptotic expansion A first obvious comparison ismade between the two-scale asymptotic expansion and the P2-multiscale finite element approx-imation. This latter solution is computed on a coarse mesh with h = 2 101 and a fine meshh = 4

    103. The asymptotic expansion (denoted by P1-FEM AE) is built from P1 finite

    element approximations of the homogenized solution and of the oscillating functions (see (2)).These latter ones are computed on the unit cell Y = (0, 1)2 with periodic boundary conditions(see (3)). Figure 1 shows as expected a good approximation.

    0 10.5

    -0.1

    0

    -0.05

    P1-FEM AE

    P2-MsFEM

    0.10.05 0.15

    -0.06

    -0.05

    -0.04

    -0.03

    -0.055

    -0.045

    -0.035

    -0.025 P1-FEM AEP2-MsFEM

    Figure 1: Cross-sections at y = 0.5 of the rebuilt solution from asymptotic expansion andmultiscale approximation (left) with a close-up (right) : = 102 , h = 1/5 and h = h/500.

    Resonance effects and optimal mesh scale As we saw in the previous section, the theo-retical bound of the speed of convergence of the method takes the form, for k = 2, k = 1 andh = h

    M

    (with M = 500 in our experiments)

    g(h) = h2 +

    h+

    h

    M.

    Although g(h) is only an upper bound of the true error, it indicates that there exists anoptimal h() mesh size (which depends on k too) such that the numerical error, or at least g ,is minimum. If we assume that M is very large, the order of this optimal value is

    h() 1/5. (37)

    14

  • 7/29/2019 A Multiscale Finite Element

    16/21

    According to [11] the resonance effect is the occurrence of large errors when the grid sizeh and the heterogeneities scale are close. This effect is also predicted by the above formulaand is inherent to the multiscale framework used to compute the oscillating functions : thedecomposition of the initial boundary value problems into independent smaller boundary valueproblems set on the coarse mesh element is somehow arbitrary.

    The theoretical bound of the order of convergence, g(h), is not small when the discretiza-tion step h is close to (which is supposed to be very small). Therefore it is not a good idea to

    take h too small. Rather, in view of (37), the optimal discretization step h

    () is larger than. This is indeed confirmed by our numerical experiments shown on figure 2 where one cansee that the behavior of the true numerical error (right) is close to that of the upper boundg(h) (left). It clearly indicates that there exists an optimal mesh size h (larger than ) whichminimizes the numerical error.

    h

    g_

    eps(h)

    0 0.1 0.2 0.3 0.4 0.5

    0.2

    0.4

    0.6

    0.8

    1EPS=10-2

    EPS=2.10-2

    EPS=4.10-2

    EPS=8.10-2

    h

    ||U

    eps,h-Uref||H1

    0.1 0.2 0.3 0.4 0.5

    0.1

    0.05

    0.15

    EPS=8.10-2

    EPS=4.10-2

    EPS=2.10-2

    EPS=10-2

    Figure 2: Predicted (left) and computed (right) error estimate as a function of h for differentvalues of .

    Convergence toward the homogenized solution We fix the ratio M = h/h (equal to

    500) large enough so that M >

    1

    . Then, for different values of and for the optimal meshsize h() we compute the P2-MSFEM approximation of u. One can check on figure 3 that

    this numerical approximation of u clearly converges toward the homogenized solution.

    x

    0 10.5

    -0.1

    0

    -0.05

    EPS=8.10-2

    EPS=4.10-2

    EPS=2.10-2

    EPS=10-2

    U*

    x

    0.1 0.2 0.3 0.4

    -0.12

    -0.11

    -0.1

    -0.09

    -0.08

    -0.07

    -0.06EPS=8.10-2

    EPS=4.10-2

    EPS=2.10-2

    EPS=10-2

    U*

    Figure 3: Convergence toward the homogenized solution for experimental h with = 8.102,4.102, 2.102, 102: cross-section at y = 0.5 (left), and close-up (right).

    15

  • 7/29/2019 A Multiscale Finite Element

    17/21

    Effects of the boundary conditions for the oscillating functions Imposing Dirichletboundary conditions for the oscillating functions on each element K is a convenient, albeitarbitrary, choice. As a matter of fact it is one of the main problems of the method. Since theoscillating function w,h(x) is equal to the identity x on all boundary nodes on K, see (22),it can not oscillate on theses boundaries. Therefore our multiscale method cannot mimic theoscillating properties of the true solution locally on the boundaries of the coarse mesh cells K.This effect is easily seen when we consider cross-sections of the solution along the sides of the

    elements of the coarse mesh (see figure 4).

    x

    U_

    eps(x,y=0.4)

    0 10.5

    -0.1

    0

    -0.05

    P2-MsFEM

    P1-FEM reference

    x

    U_

    eps(x,y=0.4)

    0.09 0.10.095 0.105

    -0.054

    -0.052

    -0.05

    -0.048

    -0.046P2-MsFEMP1-FEM

    Cross sections along the side of the elements

    Figure 4: Cross-section (left) and close-up (right) at y = 0.4 of the reference and multiscalesolutions: = 102, h = 1/5.

    On the other hand, the oscillating behavior of the solution is well captured inside the coarsemesh elements where the oscillations of the oscillating function w,h(x) are fully developed. Thecross-sections of figure 5 show a very good approximation of the solution.

    x

    Ueps(x,y=0.5

    )

    0 10.5

    -0.1

    0

    -0.05

    P2-MsFEM

    P1-FEM reference

    x

    ||Ueps,h-Uref||H1

    0.18 0.19 0.2 0.21 0.22 0.23 0.24

    -0.1

    -0.09

    -0.08

    -0.095

    -0.085

    P2-MsFEM

    P1-FEM

    Figure 5: Cross section (left) and close-up (right) at y = 0.5 of the reference and multiscalesolutions: = 102, h = 1/5.

    Very often in the literature, comparisons are made only on the value of the unknown u and

    not on the values of its partial derivatives. In the periodic setting, the asymptotic expansion(2) shows that this comparison is too naive and simple because the corrector term is of order which is precisely small. A good comparison just implies that the homogenized solution is wellcaptured. On the other hand, the gradient asymptotic expansion (3) shows that the correctorterm is of order 1 for the partial derivatives. Thus, a good comparison of the gradient impliesthat, not only the homogenized solution is well captured, but also the local fluctuations dueto the corrector term. It is therefore very important, in the periodic setting at least, to makeprecise comparisons for the gradient field gradu or the flux Agradu. This is done on figures 6and 7 where we see a remarkably good agreement, except at those nodes located at the coarse

    16

  • 7/29/2019 A Multiscale Finite Element

    18/21

    cell boundaries. As already explained, this last effect is due to the applied affine b oundaryconditions for the oscillating functions w,h. Indeed, the overshoots and undershoots on figures6 and 7 take place precisely at the interface between two coarse mesh elements.

    x

    DUeps/Dx

    (x,y=0.5

    )

    0 10.5

    -1

    0

    1

    -0.5

    0.5

    P2-MsFEM

    P1-FEM

    H

    x

    DUeps/Dx

    (x,y=0.5

    )

    0.28 0.29 0.3 0.31 0.32 0.33 0.34

    -0.4

    -0.3

    -0.2

    -0.1

    0

    P2-MsFEM

    P1-FEM reference

    H*

    Figure 6: Cross-section (left) and close-up (right) of the partial derivative U/x at y = 0.5 ofthe reference and multiscale solutions: = 102, h = 1/5. Here, H stands for the homogenizedsolution.

    x

    DUeps/Dy(x,y=0.5

    )

    0 10.5

    -0.3

    -0.2

    -0.1

    0

    0.1

    0.2

    0.3 P2-MsFEMP1-FEM reference

    Figure 7: Cross-section of the partial derivative U/y at y = 0.5 of the reference and

    multiscale solutions: = 102

    , h

    = 1/5.

    5.2 Two-phase composite material

    Our multiscale finite element method is not designed for periodic homogenization but ratherfor general numerical homogenization when no explicit asymptotic expansion of the solutionis known. As a model problem we consider the study of the conductivity properties (or anti-plane elasticity properties) of a two-phase composite material made of spherical inclusionsin a background matrix. Both phases are isotropic with a high conductivity a(x) = 100in the inclusions and a lower one a(x) = 1 in the matrix. The inclusions are randomlydistributed in the computational domain = (0, 1)2. On purpose we choose a large number

    of 106 inclusions so that a direct computation is out of reach with a standard finite elementmethod. This numerical experiment corresponds to a minimum distance between two inclusionsof = 8 104 and a particle diameter of /2.

    The right hand side of the elliptic boundary value problem is equal to zero and the solutionsatisfies mixed boundary conditions :

    Dirichlet ones on the sides denoted by 0 (u = 0 on lower side and u = 1 on the upperone),

    17

  • 7/29/2019 A Multiscale Finite Element

    19/21

    1

    1

    0

    0

    (a) (b)

    Figure 8: (a) The coarse mesh of = (0, 1)2, (b) Close-up on the inclusions: h = 1/33 andh = h/500.

    Homogeneous Neumann ones take place on the left and right sides denoted by 1(agrad u

    n = 0 where n is the normal unit vector to ).

    Figure 8 shows the approximated P2-MSFEM solution u into a coarse element. It varies

    almost linearly as the homogenized solution. As noticed before, a much more interestingnumerical result is the profile of the flux field agrad u.

    Figure 9: (a) The coarse mesh, (b) Flux density i.e. a grad uR2 in an element of the coarsemesh and (c) a close-up.

    As already explained, the affine boundary conditions for the oscillating functions breakstheir necessary oscillating character on the coarse cell boundaries. This generates localized

    large errors for the gradient at those boundaries (see figures 6 and 7). In the present case, sincethe conductivity jumps between the two phases, the errors are unacceptably large. Therefore,in order to circumvent this difficulty, we implemented another kind of boundary conditionswhich gives a better approximation. Following an idea of [11] we solve 1-d elliptic problems oneach line line segment of K and these 1-d solutions are used as boundary conditions for theoscillating functions w,h. The boundary conditions for those 1-d problems are of Dirichlet type:the nodal values at the corners of K must be equal to x. In numerical practice, we approximatethe value of the oscillating functions on each side of K by piecewise linear functions. Theinclusions which intersect the sides of this element generate a partition composed of segments.

    18

  • 7/29/2019 A Multiscale Finite Element

    20/21

    Ifs denotes the curvilinear coordinate on the coarse element boundary, on each segment we takew,Ki = ps + qon K where p and q are constants. At the ends of two contiguous segments, wewrite the conditions of continuity of the functions and of the tangential derivatives (i.e. alongthe boundary of the element). This last condition is true only if the normal unit vector to Kcoincide with the unit vector supported by the side of the element.

    y

    DU_

    eps/Dx(x=0.5,y

    )

    0.49 0.5 0.510.495 0.505 0.515

    -1

    0

    -0.5

    0.5

    P2-MsFEM

    y

    DU_

    eps/Dy(x=0.5,y

    )

    0.49 0.5 0.510.495 0.505 0.515

    0

    1

    2

    0.5

    1.5

    P2-MsFEM

    Figure 10: Close-up of the cross-sections of the partial derivatives U/x(x = 0.5, y) andU/y(x = 0.5, y) of the multiscale solution : = 8 104, h = 1/33.

    This modification of the boundary conditions for the oscillating functions w ,h greatlyimproves the precision of the multiscale finite element method at the interface betweens twocoarse mesh cells. For example, figure 9 displays the norm of the flux vector. At a very smallscale, one can clearly see the diffusion channels between close inclusions. This proves that ourmethod is able to reproduce the fine details of the local fluctuations.

    Acknowledgments. The work of both authors has been supported by the GdR MoMaSCNRS-2439 sponsored by ANDRA, BRGM, CEA and EDF whose support is gratefully ac-knowledged.

    References

    [1] G. ALESSANDRINI, V. NESI, Univalent -harmonic mappings, Arch. Ration. Mech.Anal. 158, 155171 (2001).

    [2] G. ALLAIRE, Shape Optimization by the homogenization method, Applied MathematicalSciences, 146, Springer, (2002).

    [3] T. ARBOGAST, Numerical subgrid upscaling of two-phase flow in porous media, in Nu-merical treatment of multiphase flows in porous media, Lecture Notes in Physics, vol. 552,Chen, Ewing and Shi eds., pp.35-49 (2000).

    [4] I. BABUSKA, Solution of interface problems by homogenization I, II, III, SIAM J. Math.Anal. 7, pp. 603634, pp. 635-645 (1976) and 8, pp. 923-937 (1977).

    [5] A. BENSOUSSAN, J.L. LIONS and G. PAPANICOLAOU, Asymptotic analysis for peri-odic structures, Studies in Mathematics and its applications, Vol. 5, North-Holland Pub-lishing company, (1978).

    [6] Y. CAPDEBOSCQ, M. VOGELIUS, Wavelet Based Homogenization of a 2 DimensionalElliptic Problem, to appear.

    19

  • 7/29/2019 A Multiscale Finite Element

    21/21

    [7] P. CIARLET, The finite element methods for elliptic problems, North-Holland, Amsterdam(1978).

    [8] W. E, B. ENGQUIST, The heterogeneous multiscale methods, Commun. Math. Sci. 1,87132 (2003).

    [9] Y. EFENDIEV, T. HOU, X.-H. WU, Convergence of a nonconforming multiscale finiteelement method, SIAM J. Numer. Anal. 37, 888910 (2000).

    [10] Y. EFENDIEV, X.-H. WU, Multiscale finite element methods for problems with highlyoscillatory coefficients, Numerische Math., vol.90(3), 459-486 (2002).

    [11] T. Y. HOU, X.-H. WU, A multiscale finite element method for elliptic problems in com-posite materials and porous media, Journal of computational physics 134, 169-189, (1997).

    [12] T. Y. HOU, X.-H. WU, Z. CAI, Convergence of a multiscale finite element method forelliptic problems with rapidly oscillating coefficients, Math. of Comp. 68, 913-943, (1999).

    [13] A.-M. MATACHE, I. BABUSKA, C. SCHWAB, Generalized p-FEM in homogenization,Numer. Math. 86, 319375 (2000).

    [14] A.-M. MATACHE, C. SCHWAB, Two-scale FEM for homogenization problems, M2ANMath. Model. Numer. Anal. 36, 537572 (2002).

    [15] F. MURAT, L. TARTAR, H-convergence, in Topics in the mathematical modeling of com-posite materials, A. Cherkaev and R.V. Kohn eds., series : Progress in Nonlinear Dif-ferential Equations and their Applications, Birkhauser, Boston 1997. French version :mimeographed notes, seminaire dAnalyse Fonctionnelle et Numerique de lUniversitedAlger (1978).

    [16] P. H. RABINOWITZ, Theorie du degre topologique et applications a des problemes auxlimites non lineaires, redige par H. BERESTYCKI, Publications du Laboratoire dAnalyseNumerique, Universite de Paris VI, 4, place Jussieu, Paris, No 75010.