Abstract
Double-diffusion model is used to simulate slightly compressible fluid flow in periodic porous media as a macro-model in place of the original highly heterogeneous micro-model. In this paper, we formulate an adaptive two-grid numerical finite element discretization of the double-diffusion system and perform a comparison between the micro- and macro-model. Our numerical results show that the micro-model solutions appear to converge to the macro-model linearly with the parameter Ξ΅ of periodic geometry. For the two-grid discretization, the a priori and a posteriori error estimates are proved, and we show how to adapt the grid for each component independently.
1. Introduction
When modeling phenomena in highly heterogeneous media, one frequently finds that the coefficients of differential equations describing these phenomena vary by several orders of magnitude between close-by locations. Consequently, the solutions to the exact, that is, micro-models, vary at multiple separate spatial and time scales, and it is convenient to work with their spatial and temporal averages, that is, with the solutions to macro-models. Various multiscale modeling techniques have been introduced with the aim to derive, analyze, and approximate micro-models by the macro-models. In particular, the mathematical framework for construction and analysis of the average, that is, homogenized, models for multiscale media is well understood, see, for example, [1β3]. However, there are few results devoted to the comparison between the micro- and macro-models for evolution equations and to their adaptive numerical discretizations.
Consider the following transient diffusion model which describes the density of single-phase slightly compressible flow in a porous domain : where the coefficients , denote, respectively, the porosity and conductivity.
In this paper, we propose a two-grid adaptive finite element approximation of the following multiscale averaged model for (1.1) in highly heterogeneous media such as porous media with fracturesproposed in [4, 5]. The system (1.2a) and (1.2b) describes the average behavior of fluids in media with two or more subregions of distinct features, where the subregions may or may not be connected globally at micro-scale. At macro-scale the interaction of fluids associated with these subregions is modeled with the exchange term , and the coefficients , are computed from micro-scale geometry and coefficients. The system (1.2a) and (1.2b) is useful in applications in porous media as well as in description of other multiscale evolution phenomena in heterogeneous media, for example, heat conduction. In addition, its special, degenerate, case of (1.2a) and (1.2b) with known as the Warren-Root model [6]is a popular way of modeling of subscale diffusion accompanying advection and adsorption, see [7β10].
The macro-model (1.2a) and (1.2b) of interest to this paper was introduced in [4] based on heuristic arguments. The model, while intuitively clear and useful for practical purposes, for a long time was lacking a rigorous multiscale analysis and interpretation via an associated appropriate micro-model. Only recently in [11] it was shown rigorously by two-scale convergence that (1.2a) and (1.2b) is indeed a homogenized limit of (1.1) in certain highly heterogeneous media. Most interesting is that the original microstructure which leads to (1.2a) and (1.2b) is composed of three rather than two media as in [12]. Also, the derivation in [11] demonstrates clearly that in two-dimensional geometries and more generally for quasistatic models in disconnected microscale subregions we have .
However, the analysis in [11] does not include a direct comparison of (1.1) and (1.2a) and (1.2b), and this motivated our research. We compare the computational solutions to (1.2a) and (1.2b) and (1.1) quantitatively in function of the microstructure parameters. In addition, since typically , it is natural to suggest that in numerical simulation and should be approximated on separate grids, since they evolve differently and since this can lead to more efficient numerical algorithms. In fact, the spatial grids should be chosen adaptively guided by some a posteriori estimators and should be allowed to vary in time. The idea of using two grids extends that in [13] where we considered a stationary analogue of (1.2a) and (1.2b) and proved upper and lower bounds for residual type a posteriori estimators. The estimators proposed in [13] were shown to be robust, that is, insensitive to and to other parameters. In this paper we extend those to the evolution system (1.2a) and (1.2b) and present an a posteriori error estimator of residual type based partly on the work in [14β16] for scalar equations.
The aim of this paper is thus twofold, and the paper is organized as follows. In Section 2 we introduce the notation and the generic flow model as well as its numerical approximation. In Section 3 we develop the details of micro- and macro- models and compare their discrete solutions in function of a characteristic parameter of the microstructure . In Section 4, we define the numerical approximations to these models and formulate the a-priori and a-posteriori estimates for the approximation error. We then illustrate the use of a-posteriori estimators with an adaptive example. The appendix provides the technical proofs of some of the results derived in this paper.
2. Notation and Preliminaries on the Flow Model
Here we introduce the notation and preliminaries. We follow, for example, [17, 18]. Let the domain of flow , , be a bounded polygonal region with piecewise smooth boundary , where , are disjoint regions of the boundary where Dirichlet and Neumann boundary conditions are prescribed, respectively.
For any subset , we use the standard notation for Lebesgue and Sobolev spaces , . These are equipped with the usual seminorms , norms and the usual scalar product (s) . We denote . If , the subscript will be omitted. We also let under the standard norm in , .
For any and any vector space , the space consists of all square-integrable functions with values in such that is finite. The space is defined similarly.
2.1. Variational Form of Micro-Model
Consider (1.1) as a model for single-phase slightly compressible flow in porous media in which the gravity terms have been ignored; see [19] for derivation. Here and denote the nonnegative coefficients of porosity and conductivities, respectively, and accounts for external sources. We assume for simplicity that is a scalar quantity.
It is well known that (1.1) is well posed if appropriate boundary and initial data are imposed. We will use For simplicity we assume that and that the flow is driven by . However, in simulation examples we use , .
The variational formulation of problem (1.1) and (2.1) reads
Find ββso that For any , , there is a unique solution to (2.7); see [20, Theoremββ11.1.1, page 366]).
2.2. Variational Form of Macro-Model
Now consider (1.2a) and (1.2b) and assume that , , , , and are bounded uniformly from above and below by positive constants and are independent of time. We consider separately the particular case of (1.3a) and (1.3b) when .
Our variational formulation for (1.2a) and (1.2b) uses the theory developed in [17, 18] for evolution problems with m-accretive operators by the Hille-Yosida Theorem. For analysis of classical solutions see [21, 22].
For the macro-model (1.2a) and (1.2b) and if , we assume the following initial and boundary conditions defined for : As before, we assume that for now.
Let , , . The variational form of (1.2a), (1.2b), and (2.3) is as follows:
Find ,ββ, such that The well posedness of this system (2.4) follows immediately by showing that the operator is m-accretive. The accretiveness is straightforward by showing that in the product space. The maximal property follows from that of the operators , .
Now, if , we do not impose boundary conditions on . The variational formulation of (3) and (2.3), reads
Find ,βββ βsuch that The well posedness of (2.6) follows similarly from the Hille-Yosida theorem. Also, has the minimum of regularity of its initial data and of .
2.3. Notation on Numerical Discretization
For computations of solutions we use conforming (Galerkin) finite elements for spatial discretization and implicit Euler time stepping. We partition the time interval into subintervals , , such that . We denote and for any function .
For spatial discretization, we adopt standard finite element nomenclature that can be found in textbooks such as [23β25]. At each time step , we denote by , , a family of admissible and shape-regular partitions of into a finite number of elements. For any element , we let be the diameter of and denote . Also, is the set of all edges of . For any edge , we let denote the diameter of the edge . Finally, we denote by the space of polynomials of degree in .
Numerical Approximation of Micro-Model
At each time step , we define
and seek an approximation such that for all Here denotes an interpolation or projection operator into .
It is standard [20] that there is a unique solution for (2.8a) at each , . A priori estimates for the error between the solution to (2.2) and that of (2.8a) and (2.8b) can be found in the literature, see, for example, [20, 25, 26]. For a posteriori error estimates for parabolic problems see [15, 27β29]; the methods in the latter two papers are most relevant to our paper.
Numerical Approximation of Macro-Model
Consider now a fully discrete approximation to the solutions to (2.4) or (2.6). The formulation with a fixed grid immediately extends (2.8a) and (2.8b), and appropriate error estimates can be proven. More generally, each of can be associated with its own grid ; see details in Section 4.
3. Comparison of Micro- and Macro-Models
The difficulties associated with numerical approximation (2.8a) and (2.8b) to (1.1) arise when , are highly varying coefficients. In particular, consider a porous domain composed of three disjoint regions , , see Figure 1, with positive constants so that Here denotes the characteristic function of .
An accurate numerical approximation to (1.1) with (3.1) requires that the grid is very fine so that it lines up with the interfaces . The computational complexity of the associated numerical implementation is very large whenever the geometry of interfaces is complex, but this can be overcome by a modeling approximation. In [11] it is shown that (1.2a) and (1.2b) provides solutions close to those of (1.1), with the coefficients which do not vary locally. Thus a grid for (1.2a) and (1.2b) can be chosen depending on the global macrodynamics rather than local microdynamics and, consequently, it can be much coarser than .
3.1. Derivation of Macro-Model
One successful avenue to reduce the complexity of a highly heterogeneous model is to consider a homogenized or upscaled problem, whose coefficients are derived from the original coefficients [1, 2, 30], and which can be simulated on a coarse grid quite accurately. However, for time-dependent problems, this leads to inaccurate representation of the global dynamics, especially if and/or .
The double-diffusion models proposed in [4], the relaxation model from [6], and double-porosity models derived in [12] are families of successful modeling strategies for parabolic PDEs with periodic highly heterogeneous media. The recent general derivation in [11] is most general and includes those from [4, 6, 12] as special cases.
The double-diffusion model developed in [4] was shown in [11] to be a limit of a certain micro-model with three regions arranged periodically. The rigorous derivation in [11] allows for each of the regions to be connected. Furthermore, it assumes that separates and , that is, that . The model in [11] develops a general nonlocal exchange term acting across . Its special case equivalent to the model in [4] assumes thereby making a quasistatic assumption and allows to compute the coefficient explicitly.
Double-porosity models proposed in [12] assume that only one of the regions is connected and so effectively one can set . However, . In the macro-model the second equation (1.2b) is replaced by a local micro-model equation, the exchange follows through macro-micro boundary conditions and is nonlocal in nature. We refer to [31β35] for various analyses, models, approximations, and extensions of double-porosity models.
Of course, all three regions , , and can be connected only in . In only one of these regions, say , can be connected; see Figure 1(a). As we point out below, this implies , and the macro-model (1.2a) and (1.2b) in becomes the Warren-Root relaxation model (3) as in [6].
In this paper we are interested in the double-diffusion models with a constant from [4, 6] and its corresponding quasistatic micro-model from [11]. The exchange region is assumed to be small and acts like a thick skin separating from . In consequence, the fluid flows effectively only in two regions and ; this is represented by the two sub-equations in (1.2a) and (1.2b). Details, comparison, and simulations are shown in what follows.
3.1.1. Macro-Model Parameters
To compute parameters , , , , and of the macro-model (1.2a) and (1.2b), one has to calculate local averages and compute auxiliary solutions of differential equations. These depend on , and on the geometry of . We follow closely [11].
First we formalize the notion of periodicity and heterogeneity in . Without loss of generality we assume that is globally connected and ; all other coefficients in (3.1) are positive constants. We follow the usual structure [1, 11, 12]. Let the unit cube be divided into three distinct regions , , and , such that and as illustrated by Figure 1(b). Denote by the characteristic function of , , extended -periodically to all . We assume that the domains , , have a smooth boundary. Also, we define the -periodic characteristic functions , ,ββ. Thus, for a fixed , is subdivided into three distinct regions , . Another subdivision of is into -periodic cells.
Macroporosities
From [11, equation 16, page 206] we have .
Macroconductivities
From [11, equations 16, 14, page 205-206] we have
where , for ;, is the solution to an auxiliary PDEOne can prove [1, 3, 11] that is a symmetric matrix.
Now consider . Here the region cannot be connected. Thus, the boundary condition (3.3c) does not apply and (3.3a), (3.3b), and (3.3c) admit the trivial solution for . Consequently, is the null matrix, and the model (1.2a) and (1.2b) becomes the Warren-Root model (3) proposed in [6].
Exchange Term Parameter
In general, the flow between and across has transient character, and an appropriate term describing it must be nonlocal in nature.
However, for very small , the flow is of quasistatic nature as discussed in [4]. The exchange term then has the form . To compute , we consider the solution ofThe parameter see [11, equation 19, page 209] is given by
We note that the general non-quasistatic case is when is included in (3.4d) thereby changing the character of exchange term to nonlocal. Conversely, (3.4a), (3.4b), (3.4c), and (3.4d) can be considered as its special case when .
3.1.2. Numerical Computation of Macro-Model Parameters
The solutions of the auxiliary PDEs (3.3a), (3.3b), and (3.3c) and (3.4a), (3.4b), (3.4c), and (3.4d) are approximated using finite elements with and . See [36] for treatment of periodic boundary conditions.
In what follows we ignore the distinction between the exact and numerical values of macro-model parameters , and provide examples of their calculations for various values of and choices of geometry of .
In all examples hence . Also, in all examples and the geometry of is axisymmetric, and thus is a scalar constant.
Example 3.1. Here ,ββ,ββ,ββand . We obtain
Example 3.2. Let ,ββ. ,βand β. We obtain
Example 3.3. Here ,ββ,ββ,ββand . We obtain
Example 3.4. Let ,ββ,ββ, and . We get
Example 3.5. ,ββ,ββ, and . We get
3.2. Comparison of the Models
Now we can compare the solutions of the micro-model (1.1) to those of the macro-model (1.2a) and (1.2b). In [11] it was shown that the latter two-scale converge to the former as . In addition, the analysis in [11] suggests that it is appropriate to compare to . However, this notion of convergence does not give information about the rate at which may converge, and it involves special periodic test functions.
In this paper we estimate this rate by comparing their numerical approximations directly without the use of any test functions but rather in a certain metric of interest. To the best of our knowledge such comparison or convergence rate was not discussed elsewhere.
Strictly speaking, the two-scale convergence proof considered in [11], and a similar proof for the double-porosity model in [12], includes scaling of with . This scaling is a formal device necessary to preserve certain parts of the boundary value problem under investigation in the limit as . However, the homogenization limit is intended to serve only as an approximation of the true model, which has a given fixed set of parameters. We do not include this scaling in our computations. Rather, we treat each example, for a given , as a data set in its own merit, rather than as an element of a sequence intended to two-scale converge to the limit.
3.2.1. Setup of Computational Experiments
We set up simulations for comparison using compatible data for micro- and macro-models; we set and choose initial and boundary data driving the flow with interesting dynamics. For porosities and conductivities, we use the values computed in Section 3.1.2.
Let and . On we define . On the lateral sides of the Neumann no-flow condition is imposed. Also, let . Thus the flow in the micro-model goes from left to right, and the solution evolves towards the stationary solution . Due to the incompatibility between initial and boundary data, we have high gradients of the solution close to for small .
We fix the final time and use uniform time stepping with . The solution of the micro-model depends on the number of cells in , with . For example, if , the domain is composed of cells. We denote the numerical solution of (2.8a) and (2.8b) at by where denotes the grid parameter for the micro-model.
For the macro-model, we use . Also, we use for when . If , then the boundary condition for is not prescribed.
3.2.2. Qualitative Comparison
In our first comparison we use parameters from Example 3.1. We solve the macro-model (4.2) for and the micro-model (2.8a) and (2.8b) for . The plots of and are in Figure 2, and a different view is shown in Figure 1(d).
(a)
(b)
(c)
(d)
The heterogeneous structure of is well visible from the behavior of the micro-model solution . Large gradients of solution are visible on cell boundaries due to the large difference between , , and .
However, the behavior in the fast region is well approximated by which envelopes , while envelopes well. This is very well seen in a side view in Figure 2(d).
Quite interesting is the behavior of . Since in our examples , no boundary condition at is imposed on . Thus, for small , evolves from its initial constant value of according to (1.3b) with the input from . The latter satisfies, however, the homogeneous boundary condition at . In particular, with constant , , we have Thus, for small and small , is away from , but, as time increases, its magnitude decreases proportionally to .
Next, we use parameters from Example 3.2 and plot them in Figure 3. In this example the conductivity is much larger than that of previous case, the local gradients in the micro-model are smaller, and the solutions to the macro-model achieve a smoother profile faster.
(a)
(b)
(c)
(d)
3.2.3. Quantitative ComparisonβFine Grid in Macro-Model
Now we are ready to discuss a quantitative comparison between solutions to the micro- and macro-models. For this, we set up a family of cases with ,ββ. We use uniform mesh with for now. See Section 3.2.4 for and Section 4 for adaptive gridding.
From [11, Theoremββ18, page 208] and from our plots it follows that we can actually compare the micro- and macrosolutions, as long as the characteristic functions are involved. While the results in [11] use two-scale convergence with , that is, rely on special periodic test functions, we compare and directly. We see that it is easy to do so only in the connected region .
We define a quantity to be used in comparison. We also define, for a fixed and some function , which will be applied to . Clearly is not a norm but is a useful quantity of interest.
In Tables 1, 2, 3, and 4 we present for different and . For each case we consider convergence of with .
From homogenization theory it is not clear what order of convergence should be expected. We observe that decreases linearly with for both -like quantities in all cases.
Next we discuss the dependence of the results on conductivity and other data. Consider Example 3.2 as a reference example with its corresponding Table 1. Compare it now with that from Table 2 where is larger than that in the reference case to see how this influences the errors. As expected, and as shown in Example 3.3, changes by the same factor, and this means that the coupling between and is stronger which corresponds to faster flow across in the micro-model. However, the influence on the convergence of the micro-macro difference, from Table 2 is rather weak.
Next consider Example 3.4 which uses a different geometry than that in the reference case, with thicker region . This produces a slightly smaller since the gradient of is smaller. Also, and are predictably different. The error quantity is influenced insignificantly.
The opposite effect is seen in Table 4 when is selected as thinner than in the reference Example 3.2.
3.2.4. Coarse Macrogrid and Parameter Grid
In the examples presented in Section 3.2.3 we used . This choice of compatible grids is convenient for visualization purposes. However, for the idea of the macro-model to be useful, the computational complexity of the macro-model needs to be lower than that of the micro-model. Since the macro-model is a system of two equations, its lower complexity can be only achieved if the grid in the macro-model is significantly coarser than that of micro-model. Below we show that one can use in the macro-model.
Example 3.6. We use data from Example 3.2 with . Consider a fixed microgrid with and a few cases of macrogrid with . Now we compare the micro- and macrosolutions and , see Table 5. We also compare the run time of the macro-model to that of the reference micro-model which is 120 seconds.
We see that, as predicted above, the macro-model run time at is not competitive with that of the micro-model; this is exacerbated by the overhead of various adaptive procedures to be discussed below. However, when , the ability of the macro-model solutions to approximate those of micro-model appears reasonable and is associated with a much lower cost. This is true even when is by a factor of 10 coarser than resulting in a computational time decreased by two orders of magnitude.
Clearly, the macro-model can run much faster than the micro-model especially when adaptive nonuniform grids with are implemented, see Section 4.
Influence of Parameter Grid
Last we address the effect of the computed parameters , on the closeness of the macro-model solution to that of micro-model. These coefficients are precomputed as discussed in Section 3.1.1.
Example 3.7. Let , and let the micro-model grid be . Use . Compute numerical parameters , by approximating solutions to (3.4a), (3.4b), (3.4c), and (3.4d) and (3.3a), (3.3b), and (3.3c), respectively.
Example 3.7 and Table 6 show that the grid used for computing these parameters only mildly affects the quality of the solution, thus one can use coarse grid with confidence.
4. Error Estimates and Two-Grid Adaptivity
We present now the details of discrete formulation of (2.4) using independent grids for each component and adaptive gridding. The adaptive two-grid algorithm further reduces the computational cost of the macro-model. The formalism of the two-grid solution connects loosely to [37, 38] where their benefit was considered for a nonlinear scalar equation.
In what follows we assume that , that is, that the first component varies in space faster than the second. As a special case, this includes the case . We consider two triangulations , , which will be used for , respectively. In principle, these can be chosen independently. In fact, we allow the triangulations to vary in time and thus consider and the associated spaces as in (2.7). To avoid the loss of accuracy due to excessive interpolation and intergrid projections and because , we assume that is a refinement of the partition .
We need intergrid operators to handle two components that live on separate grids. Let be the interpolation operator and the projection defined by
Now we define the discrete solutions. At each time step , we seek , , which satisfy the discrete problem, that is, (2.4) restricted to the finite dimensional subspaces so that, for all , for all If , the system (4.2) is modified appropriately so that instead of , and we do not impose boundary conditions on this component. In fact, instead of (2.7) we define (It holds that but it is not necessary). It is straightforward that (4.2) is uniquely solvable.
4.1. A Priori Error Estimate
We have the following convergence result proved for the error in energy norm. In what follows and . We denote and define the energy norm for the product space
Assuming that is sufficiently smooth we have the following a-priori estimate proven in the appendix.
Theorem 4.1. Let be the smooth solutions of (2.4) and (4.2), respectively. Then one has
where , , and are independent of .
Furthermore, if , then
Now we notice that (4.5) suggests the following choice of grid parameters , . If , then to balance the components of the error one can use . Similarly, if , then (4.6) implies that can be chosen to be of the order of . The use of coarse grid for the second component reduces the size of the linear system to be solved and decreases the computational time of the macro-model.
Also, the a-priori estimates (4.5), (4.6) are global. One can further reduce the computational cost while maintaining accuracy by using local grid adaptivity guided by a posteriori estimators. This is pursued below.
4.2. A-Posteriori Error Estimates
Estimators for time-dependent problems can be defined in many ways including the now classical space-time element and adjoint approaches [27, 28]. In this paper we follow the residual estimator framework extending [15, 29] to the double-diffusion system using the ideas in [13, 39, 40] originally formulated for an elliptic system.
The estimator for (4.2) is composed of the temporal part which adapts the time stepping and the spatial part which guides the spatial grid adaptivity. We define and , where , and where, as usual (see [23]), one defines The element and edge residuals in , are given by Here denotes the jump of the flux across the edge of an element. Usually , . Also, if , then .
The scaling constants take into account the contribution of the exchange term and are defined so that the estimators remain robust when the coefficients of the problem change substantially: This a posteriori estimator works well with two-grid discretizations as shown in the examples to follow. It is well formulated also for when . We have the following result on reliability of the estimator proven in the appendix.
Theorem 4.2. Let , be the solution of (1.2a) and (1.2b), (2.3) and (4.2), respectively. Then
4.3. Adaptive Two-Grid Discretization and Implementation
Consider a fixed time step for which some triangulation is chosen, the solution is found, and the spatial error indicators are computed. To apply the two-grid spatial adaptivity we use the following refinement algorithm.
Adaptive Two-Grid Algorithm
(1)Select the triangulation(s) to be refined: If , refine only . If , refine only . Otherwise, refine both. (2)In , selected in Step 1, refine any for which . (3)Enforce the requirement that is a refinement of by adding extra elements as needed.
The steps in should be repeated a certain number of times until an ideal grid is found. See [41] for analysis of whether the iterative process of refinement and coarsening is, in general, convergent.
Example of Two-Grid Adaptivity
Now we show an example on how this adaptive algorithm works for the double-diffusion system. We use data and setup from Example 3.2, with and uniform time stepping with . Other data is as in Section 3.2.1.
Consider a fixed with a uniform triangulation with . Then apply times the steps in , see the solution and the refined meshes in Figure 4. The process works as expected: since at the time the solution has a high gradient near , the refinement occurs there. The refinement affects the grid for the first component only, because the gradients of the second component are not included due to . This can be compared to the a-priori estimate in Theorem 4.1 from which we know the convergence is .
In Table 7 we provide the details on and compare the effectiveness of the local two-grid refinement by algorithm with uniform grid refinement. With adaptive refinement we get with unknowns, while the uniform refinement needs unknowns to achieve comparable .
(a)
(b)
(c)
(d)
Last, we describe the process with which ,ββ, may vary between time steps. For a fixed denote by the final triangulation obtained by the adaptive algorithm . For the new time step , we use as the initial triangulation. If the algorithm suggests that is modified, we need to project to the new grid so it can be used as initial data for the new step, but differs from their interpolation only in the elements where the triangulation is coarsened. Another way to deal with different triangulations , is to compute the a posteriori error estimator in a common refinement of the two triangulations , [29, 42], but this will not be pursued further.
Implementation
The decision to use two grids implies that we have to interpolate between the finite element spaces and , see (4.1). Suppose that ,ββ, is a basis for . Then the operator in (4.1) is represented by the matrix whose components are given by .
Consider now and compare the computational cost associated with one-grid and two-grid approaches. To solve (4.2) with one-grid we need to assemble the stiffness matrix , the mass matrix , and the block matrix
At each time step we solve the linear system with ; this is referred to as .
To solve (4.2) with two grids and two spaces , we need to assemble the stiffness matrix , the mass matrices , , the interpolation matrix , and the block matrix
To finish we solve the linear system which we refer to as .
Suppose now we solve (4.2) and wish to maintain for some tolerance over 1,000 time steps. With data as in Section 3.1.2 we run the simulations using one grid and find that we need . Using the two-grid approach we only need .
The computational time needed to assemble the matrices and solve the systems in our MATLAB implementation is displayed in Table 8. Clearly the assembly process takes more time for two-grid case than for one-grid discretization. However, the economy in the cost of solving the linear system makes up for that cost.
5. Conclusions
We compared the solutions to the micro-model to those of the macro-model and have shown that the latter is a good approximation to the former. This remains true also when a very coarse computational grid is used. Moreover, we established a linear convergence rate in function of the periodicity parameter in a certain quantity of interest which further shows that the double-diffusion model is an excellent approximation to the micro-model, at least for the considered scenarios.
To make the double-diffusion model computationally efficient, we proposed an algorithm for local grid adaptivity which allows each component to live on its own grid. The grid refinement is guided by an a posteriori error estimator for which we proved theoretical results.
Appendix
A. Proof of Theorem 4.1
Proof. The proof follows the techniques presented in [25, 26] for a scalar PDE. We present an outline of the proof for the double-diffusion system. By (4.1), if is a refinement of , we can rewrite (4.2) as
Next, for , as in [26] we define the elliptic projection of into via
Applying (A.2) for into the weak formulation (2.4), with arbitrary we arrive at
Next we define , , subtract (A.3) from (A.1), add the resulting equations, and use as test functions and to get
With the help of standard inequalities, summing the equations from , and applying the discrete Gronwall's lemma with , we get
Next step is to estimate the quantities , . This is done using standard properties of elliptic projections as in [25, Lemmasββ13.2 and 13.4, pages 233 and 241] assuming are smooth enough. Combining these we arrive at the desired inequality (4.5).
For the case , we define as the -projection of over via
The proof follows along the same lines as for except that we do not (and cannot) use any terms with .
B. Proof of Theorem 4.2
Proof. The proof is a combination of techniques in [13β15] which we extend to a coupled system and propose an estimator robust with respect to the five parameters of the problem.
First we define the semidiscrete problem: find so that for all
We estimate the error between the solution of (2.4) and (B.1) and this is how the time estimator (4.7) arises; see [15] for details.
Now the semidiscrete system (B.1) is a stationary coupled reaction-diffusion model of a type we considered in [13] and for which we proposed a spatial a posteriori error estimator accounting for the coupling terms in the system. That estimator is robust, that is, the efficiency ratio remains essentially constant when the coefficients change by orders of magnitude; this is relevant for our problem since we may have small . The robustness in [13] is achieved by an appropriate scaling of constants in the estimator; the scaling in (4.11)β(4.13) serves the same purpose.
Recall the standard set-up first. Fix , and for any denote by the set of all elements in that share at least one vertex with . For the quasi-interpolator defined in [14, Lemmaββ3.1, page 482], we have that for any , ,
where the constant is independent of , , and where . The plan is to extend (B.2) for to an inequality involving the form
which involves the coupling term as well as other coefficients of the problem and thus leads to robustness.
If , let and recall that . If , we consider , , and away from the boundary on some we have . For a fixed , , let , be the quasi-interpolators of , in , respectively. Note that is defined correctly when and . To get the desired estimate, we apply (B.2) with , and , , to get . To extend, we add and subtract and use the triangle inequality followed by (B.2) with and to get
Thus we have by (4.11)
which is the desired element estimate.
To prove the edge interpolation estimate for an edge of the element , we use the following trace inequality [43, Lemmaββ3.1, page 645] for :
where is a constant independent of , . Let . By (B.2)
Applying (B.6) followed by (B.5) and (B.7) we get
Thus we obtain , and the estimate for the second component follows similarly if .
When , we have , and (4.12) is reduced to . Also, does not need to be defined since . Now we add and subtract and use the triangle inequality followed by (B.2) with and , to get
Thus, by (4.12) we have , which is the desired edge estimate.
Combining these interpolation estimates with the usual technique of upper bounds for residual a posteriori error estimators extended to systems in [13] completes the proof the theorem.
Acknowledgments
The authors would like to thank Professor Ralph Showalter from Oregon State University for numerous discussions on the double-diffusion models. they would like also to acknowledge the package FEM [44] which was used to refine and coarsen the grid in our adaptive implementation. they are also grateful to the anonymous referee whose remarks helped to improve the paper. This work was partially supported by the Grants NSF DMS-0511190, DMS-1115827, DOE 98089, and by FAPESP/Brazil.