Next Article in Journal
A Continuous-Time Urn Model for a System of Activated Particles
Previous Article in Journal
Parameter Identification of the Discrete-Time Stochastic Systems with Multiplicative and Additive Noises Using the UD-Based State Sensitivity Evaluation
Previous Article in Special Issue
Study on the Stiffness and Dynamic Characteristics of a Bridge Approach Zone: Tests and Numerical Analyses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Generalized Multiscale Finite Element Method and Balanced Truncation for Parameter-Dependent Parabolic Problems

1
School of Science, Nantong University, Nantong 226019, China
2
School of Mathematical Sciences, Suzhou University of Science and Technology, Suzhou 215009, China
3
School of Mathematics and Computational Science, Xiangtan University, Xiangtan 411105, China
4
Hunan Key Laboratory for Computation and Simulation in Science and Engineering, Xiangtan 411105, China
5
Key Laboratory of Intelligent Computing Information Processing of Ministry of Education, Xiangtan 411105, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(24), 4965; https://doi.org/10.3390/math11244965
Submission received: 24 October 2023 / Revised: 13 November 2023 / Accepted: 27 November 2023 / Published: 15 December 2023

Abstract

:
We propose a generalized multiscale finite element method combined with a balanced truncation to solve a parameter-dependent parabolic problem. As an updated version of the standard multiscale method, the generalized multiscale method contains the necessary eigenvalue computation, in which the enriched multiscale basis functions are picked up from a snapshot space on users’ demand. Based upon the generalized multiscale simulation on the coarse scale, the balanced truncation is applied to solve its Lyapunov equations on the reduced scale for further savings while ensuring high accuracy. A θ-implicit scheme is utilized for the fully discretization process. Finally, numerical results validate the uniform stability and robustness of our proposed method.

1. Introduction

Many scientific and engineering problems in porous media flow and composite material involve inherently multiscale model equations. Basically, the model coefficient often exhibits high-contrast and parameter-dependent behaviors in a sense. Conventional methods such as the finite difference method, or finite element method, which are applied to solve these problems on a fully-resolved scale would become unbearably expensive, especially when a large amount of computations may be consumed for uncertainty parameter quantification, model reduction and optimization. So an urgent demand for developing multiscale model reductions with properties of both accuracy and efficiency is of particular interest.
In the research history, the multiscale finite element method (MsFEM) was first proposed by Hou and Chen in [1,2]. Then it evolved to a generalized multiscale version and had many applications in scientific fields, see [3,4,5,6,7]. For example, in [3] the generalized multiscale finite element (GMsFEM) approximated the solution space locally by employing the enriched multiscale basis functions. This approximation constructed a proper snapshot space and a local spectral decomposition to realize an efficient model reduction. Chung, Efendiev and Hou proposed an adaptive multiscale model reduction with GMsFEM in [5], an adaptively local approach was utilized to update the global snapshot when online computations proceeded. The local-global couple is shown to be effective in many applications. As for the parameter-dependent model and the thermoelastic model with phase flow, the strategy of multiscale model reduction was addressed in [8,9,10,11,12]. Besides, there were other techniques such as multiscale reduced-basis method [8,10,13,14], localized orthogonal decomposition [15], weak Galerkin GMsFEM [16], mixed GMsFEM [17], multiscale-spectral GFEM [18], meshfree GMsFEM [19], higher-order three-scale method [20] and local discontinuous Galerkin method [21], were applied in a large number of interested fields.
In literature [22,23,24], a balanced truncation (BT) is directly addressed to their problems. The aim of BT is to study the principal component analyses in linear systems and in the time or frequency domains, and it identifies the weakly controllable and observable components which are used for model reductions. Moreover, the eigenvalues of the Lyapunov solutions in frequency-limited BT often decay faster than those in the standard BT. However, as for the parameter-dependent parabolic problem, it would be annoyingly costing or infeasible since Lyapunov equations are hard to solve. In particular, solving these equations from the high-contrast permeability, boundary condition, and forcing term on the fine scale would quickly become prohibitive. Therefore, in this work we propose the joint usages of a generalized multiscale and balanced truncation to obtain accurate and economical results.
The paper is characterized by the following highlights: As for the parameter-dependent parabolic problem, we present a combination strategy of the generalized multiscale finite element method with the balanced truncation, namely GMsFEM-BT. The GMsFEM is skilled in the random-parameterized model and different coefficients and boundary conditions, it constructs an enriched projection matrix in the global reduction from the snapshot space. And it offers a good balance for the accuracy and the efficiency, which is compared with the fully-resolved FEM and the coarse version of MsFEM. Based on this, the BT is addressed on the correspondingly reduced scale for further reduction. Then moving from a current time step to the next time step, an effective implicit full-discretization process is utilized for the spatial-temporal problem. The uniform stability and convergent results are to be validated in our work.
The paper proceeds as follows. In Section 2, a preliminary description of the parameter-dependent parabolic problem is provided and we brief the idea of the local-global multiscale reduction. In Section 3, the GMsFEM is applied to the spatial variables through an eigenvalue computation in the spectral sub-problems, and an offline-online coupling is accomplished by a projection matrix. In Section 4, the detail of BT is offered for further reduction for the model. We present a fully discretization process both for time and for space in Section 5. In Section 6 numerical experiments validate the ability of the combined GMsFEM-BT strategy. Finally, the conclusion is presented in Section 7.

2. Preliminary Description

2.1. Parameter-Dependent Parabolic Model

We investigate a parameter-dependent parabolic problem in the two-dimensional heterogeneous media,
u t div κ ( x ; μ ) u = f in Ω × [ 0 , T ] , u = g on Ω × [ 0 , T ] , u = u 0 at t = 0 and in Ω ,
where κ ( x ; μ ) is a high-contrast coefficient with spatial variables x in the two-dimensional square domain Ω , μ is used to represent the parameter dependence and may be random. T is the time termination, f ( x , t ) and g ( x , t ) are given functions, and u 0 ( x ) is an initial function at t = 0 . The numerical solution with the most accuracy, efficiency and stability to u ( x , t ) is our target in this work.
In the finite-dimensional discretization, the spatial domain Ω is divided into many quadrilateral finite elements on coarse grids and then divided on fine grids, which is denoted by T H and T h , respectively. For a clearer illustration see Figure 1, firstly we divide the domain on coarse grids, in this way coarse elements K are formed. Denote the coarse nodes by { y i } i N c ( N c is the number of coarse nodes), and denote the coarse neighborhood of y i by
ω i = { K j T H ; y i K j ¯ } .
In the following, it will be applied in our generalized multiscale finite element method. Secondly, on the coarse grids T H we refine every coarse element K into more fine elements k, which is denoted by T h on those fine grids. In this paper, we denote the coarse and the fine (of every coarse element) partition number in each spatial direction by N and M, thus H ( = 1 N ) and h ( = H M ) are used to denote the coarse mesh size and the fine one, respectively.
It is known that the classical finite element method is manipulated on very fine grids T h to achieve its maximum accuracy. The functional space is spanned by the piecewise bilinear polynomials Q 1 ( k ) , which are subordinated to T h as
V h = { v H 1 ( Ω ) : v | k Q 1 ( k ) , k T h } .
In Galerkin weak form, it is applied to find u h V h such that
( u h t , v h ) + a ( u h , v h ) = ( f , v h ) , v h V h ,
where
( u t , v ) = Ω u t v d x ,
a ( u , v ) = Ω κ ( x ; μ ) u · v d x ,
( f , v ) = Ω f v d x .
As for the initial-boundary value parabolic problem (1), the above (4) produces a discrete system to solve
M u t + A ( μ ) u = b ,
where M = [ m i j ] = Ω ψ i ψ j d x is a mass matrix, A ( μ ) = [ a ( μ ) i j ] = Ω κ ( x ; μ ) ψ i · ψ j d x is a parameter-dependent stiffness matrix, b = [ b i ] = Ω f ψ i d x is a right-side vector, and ψ i is the bilinear basis function in the 2D problem.
As a consequence, in the finite element scheme with a very large partition number, a huge-size discrete system is obliged to solve
M f u f t + A f ( μ ) u f = b f ,
where M f = Σ k ψ i ψ j d x , A f ( μ ) = Σ k κ ( x ; μ ) ψ i · ψ j d x , and b f = Σ k f ψ i d x . The subscript f means that the matrices and vectors are processed from all of the fine elements, which is different from the subscript c / r from the coarse/reduced elements in the following situations. For instance, the stiffness matrix A f ( μ ) is assembled from all of the fine elements, whose size is N f × N f , where N f = ( N M + 1 ) 2 for the 2D spatial discretization. In the paper, we denote the nodal matrices by B , C (which are transposed to each other B = C T , and the size of B is N f × N 2 ), which are allocated to the domain boundary vertices.

2.2. Local-Global Multiscale Reduction

In this subsection, we begin with the process of semi-discretization in the space. Different from the above-mentioned finite element method (5) on very fine grids, we present two types of local-global multiscale reductions on coarse grids by contrast.
First, we recall the standard multiscale finite element method (see [1,2,25,26,27]). A homogeneous sub-problem is proposed for solving the multiscale basis functions ϕ i in every quadrilateral coarse element K as
div ( κ ( x ; μ ) ϕ i ) = 0 in K T H , ϕ i = l i on K ,
where the boundary condition l i satisfies that δ j ( y i ) = 1 ( i = j ) , δ j ( y i ) = 0 ( i j ) . It is known that useful local information is delivered through the multiscale basis functions into a global system. However, we also know that this type of standard multiscale scheme has its deficiencies, such as the relatively low accuracy, slow convergence even divergence in former literature.
Second, we track the generalized multiscale finite element method (see [3,4,5]). Another version of the non-homogeneous local problem in every coarse neighborhood is solved for the (updated) multiscale basis functions, via the necessary eigenvalue computation. In this way, plenty of parameter-dependent details are captured through the over-sampling technique and this would be solved via a singular value decomposition.
Thus in contrast to the finite element method in the fine version (6), the generalized multiscale method in the coarse version is
M c u c t + A c ( μ ) u c = b c .
In this multiscale scheme, the size of the stiffness matrix A c ( μ ) is just N c × N c , where N c = ( N + 1 ) 2 to realize a preliminary computation reduction. It also builds the counterpart of nodal matrices, which are denoted by B c , C c with B c = R B , C c = C R T . The projection matrix R with sufficient microscopic information is constructed from the multiscale basis functions, which would be provided in the following Formula (21).
If it is necessary for a further decline in computational costs, we could carry out a further matrix reduction with a strategy of balanced truncation in Section 4, which is in the reduced-version like
M r u r t + A r ( μ ) u r = b r .
The size of A r is N r × N r , and the number N r ( < < N c < < N f ) can be artificially chosen by users later on. Singular value decompositions would be employed to form the matrices U , V in (29) with U V = I N r . Set B r = U B c , C r = C c V , thus the matrices are further reduced to save consumptions. At the same time, accuracy and efficiency are granted in the novel method.
In a word, we are constantly motivated to chase a better cost-effective balance for the complicated multiscale parameter-dependent parabolic model.

3. Mechanism of GMsFEM

The GMsFEM is an extended framework that generalizes the MsFEM. Its key mechanism relies on that the multiple basis functions in every coarse neighborhood could be systematically updated, by flexibly enriching the functional space through necessary eigenvalue computations.
The GMsFEM has two stages: offline and online. At the offline stage, firstly a snapshot space is created then based on it a small dimensional construction is required for solving local spectral decompositions. One of the advantages of the GMsFEM is that the created snapshot space can be re-used to capture the necessary fine-scale features. After that, a space reduction is performed and the dominant modes (including sufficient eigenvalues and eigenvectors) are selected as the multiscale basis functions, for any input parameters which are fitting our parameter-dependent problem ideally. At the online stage, when the corresponding boundary condition and force term are defined, the available offline basis functions are utilized to pursue a high-precision numerical solution with the potential least costs. Users can also adaptively determine the various number of eigenfunctions needed in the coarse neighborhoods, to fulfill a proper balance of efficiency and accuracy.
The mathematical theories behind the offline and online spaces are the construction of snapshot space and the design of spectral sub-problems, we will present the details in the following subsections in turn. Since plenty of parameter-dependent multiscale problems may have small eigenvalues, we would like to comprise enough of the eigenvectors associated with the small eigenvalues to be enriched into the coarse functional space surely. As a consequence, the multiscale basis functions could be achieved by multiplying the dominant eigenmodes by the partition of unity functions.

3.1. Offline Stage

At this stage, we first create a snapshot space subordinated to each coarse neighborhood ω i in (2). The construction of snapshot space involves solving the local problems from a set of parameter-dependent inputs. Being different from the standard multiscale finite element method solving the local problem (7), an eigenvalue computation is utilized in this generalized multiscale finite element method.
First, we solve for the snapshot functions from the spectral sub-problems: seeking ( λ i , l ω i , snap , ϕ i , l ω i , snap ) R × V ω i , snap such that
div ( κ ( x ; μ ) ϕ i , l ω i , snap ) = λ i , l ω i , snap ϕ i , l ω i , snap in ω i T H ,
where l = 1 , , L i ( L i is the chosen number of eigenfunctions from small to large that correspond to the dominant eigenvalues). Note that we define zero Neumann boundary condition for (10), except in the discontinuous case the Dirichlet condition is defined instead. It is known that solving all the eigenfunctions of a large matrix is exhausting, so we choose the L i eigenfunctions to construct a snapshot space. The snapshot space V ω i , snap is associated to the neighborhood ω i , which is produced from the multiscale eigenfunctions as
V ω i , snap = span { ϕ i , l ω i , snap : i = 1 , , 4 , l = 1 , , L i } .
Next, the snapshot functions are reordered by using a single index as the columns to create a projection matrix in a snapshot
R ω i , snap = ϕ 1 ω i , snap , , ϕ L snap ω i , snap ,
where L snap denotes the number of functions in the snapshot construction. It should be pointed out that L snap is not only dependent on the chosen number L i , but also it is related to the number of parameter μ . For brevity, we omit the superscript ω i to brief as V snap , R snap . However, keep in mind that throughout the paper, the offline and online eigenvalue decompositions are localized for the corresponding coarse neighborhoods.
The discretized form of (10) is
A ( μ ) ϕ i , l ω i , snap = λ i , l ω i , snap M ( μ ) ϕ i , l ω i , snap in ω i T H ,
where M ( μ ) = Σ ω i κ ˜ ( x ; μ ) ψ i ψ j d x , and κ ˜ will be defined in the followed Formula (18).
Then, we perform an elementary dimension reduction of the snapshot space by applying an auxiliary spectral decomposition to build an offline space. We seek a subspace of the original snapshot space so that it may properly approximate any neighborhood. The key is to efficiently build a set of multiscale basis functions for each parameter μ . We reiterate the offline bilinear forms to be parameter-independent, then there is no need to rebuild the offline space for each value μ . Then the eigenvalue problem can be described as
A off Φ l off = λ l off M off Φ l off ,
where
A off = ω i κ ¯ ( x ; μ ) ϕ i snap · ϕ j snap = R snap A ¯ ( μ ) ( R snap ) T ,
M off = ω i κ ˜ ¯ ( x ; μ ) ϕ i snap ϕ j snap = R snap M ¯ ( μ ) ( R snap ) T ,
where κ ¯ ( x ; μ ) and κ ˜ ¯ ( x ; μ ) are averaged parameter-dependent coefficients. A ¯ and M ¯ denote similar fine scale matrices as in (13), except that averaged coefficients of them are used. The smallest number of eigenvalues L off are picked up in (14) and form the corresponding eigenvectors as ϕ l off = j Φ l , j off ϕ j snap ( l = 1 , , L off , j = 1 , , L snap ), where Φ l , j off are the coordinates of the vector Φ l off . In this way, the offline projection matrix is constructed as
R off = ϕ 1 off , , ϕ L off off .

3.2. Online Stage

With the offline space available, next we build an online space on every coarse neighborhood for a specified parameter μ . For the computational efficiency, it is assumed that the online space is a subspace with small dimensions. At the online stage, the reduced-order bilinear forms are chosen to be parameter-dependent. The eigenvalue problem is ready to solve
A on ( μ ) Φ l on = λ l on M on ( μ ) Φ l on ,
where
A on ( μ ) = ω i κ ( x ; μ ) ϕ i off · ϕ j off = R off A ( μ ) ( R off ) T ,
M on ( μ ) = ω i κ ˜ ( x ; μ ) ϕ i off ϕ j off = R off M ( μ ) ( R off ) T ,
where κ ( x ; μ ) and κ ˜ ( x ; μ ) now rely on the specified value μ , A ( μ ) and M ( μ ) are specified fine-scale matrices in (13).
To construct the online space we pick the smallest number of eigenvalues L on from (16) and finalize the corresponding eigenvectors as ϕ l on = j Φ l , j on ϕ j off ( l = 1 , , L on , j = 1 , , L off ), where Φ l , j on are the coordinates of the vector Φ l on . It should be noted that the matrices size in (16) solely relies on the dimension of the offline subspace. This results in the declining consumption of the online space, which in contrast to the original snapshot space would cost more expenses.

3.3. Offline-Online Coupling

In order to enrich the online basis functions into a reduced formula of (1), we denote χ i as the multiscale partition of unity functions which are from another local problem
div κ ( x ; μ ) χ i = 0 in K ω i , χ i = g i on K ,
where g i is a continuous and bilinear boundary condition. A summed pointwise energy is defined as
κ ˜ = κ i = 1 N c H 2 | χ i | 2 .
As above, H is the coarse mesh size and N c is the number of coarse nodes. To construct the global coarse-grid solution space, the partition of unity functions are multiplied by the online eigenfunctions to obtain the final multiscale bases
ϕ i , l = χ i ϕ l on , i = 1 , , N c , l = 1 , , L on .
Then it follows the online space
V on = span { ϕ i , l : i = 1 , , N c , l = 1 , , L on } ,
which is quite different from the large-scale finite dimensional space in (3). Using a single index notation we denote V on = span { ϕ k } k = 1 N c . Recalling in (8) now we finalize the projection matrix R to be utilized in the global reduction
R = [ ϕ 1 , , ϕ N c ] ,
where ϕ k ( k = 1 , , N c ) represents the nodal vector of the generalized multiscale bases. The matrix R (whose size is N c × N f ) is now plugged in (8), which could be enriched with the dominant eigenfunctions and meaningful microscopic behaviors. This would lead to strengthening the numerical abilities later on.
Now it completes the coarse model reduction in the GMsFEM. In the next section, a further model reduction will be carried on a balanced truncation (BT).

4. Mechanism of Balanced Truncation

4.1. Related Lyapunov Equations

First recalling that for the standard Lyapunov equation
A W + W A T = Z ,
where the matrix W is dense even though the system is sparse, and generally the eigenvalues of W decay quickly when the right-side Z has a low rank. This decay is typically associated with the approximation error from the balanced truncation.
Next, a joint measure of controllability and observability is offered for solving Lyapunov equations. It should be pointed out that these equations are not based on the above-mentioned fine matrices, but instead, they are based on the coarse matrices A c ( μ ) defined in (8) and B c , C c below that. Then the related Lyapunov equations are in the form of
A c ( μ ) W con + W con A c ( μ ) T + B c ( B c ) T = 0 ,
A c ( μ ) T W obs + W obs A c ( μ ) + ( C c ) T C c = 0 ,
where W con is a controllability matrix, W obs is an observability one, and Z is dependent on the B c , C c . The solutions of these Lyapunov equations play a key role in the model reduction and in the balanced truncation particularly.
Generally, the computations of dense matrices are of order O ( n 3 ) . Some techniques have been evolved to efficiently compute the solutions by reducing the complexity. However, most of these techniques are often iterative and low-rank approximations, while in our high-contrast situation, it is hard to provide enough satisfactory approximations. In Matlab code lyap, the matrices are transformed into the complex Schur forms, and it computes the resulting triangular systems. In this way, the high-rank approximations are available and the solutions of Lyapunov equations have a close relationship to the dominant eigenvalues. Then
W con = lyap ( A c ( μ ) , B c ( B c ) T ) , W obs = lyap ( ( A c ( μ ) ) T , ( C c ) T C c )
are used to realize the numerical advantages of the coupled Lyapunov equations. Since the matrices A c ( μ ) , B c , C c are based on the coarse-scale, then the sizes of W con , W obs are just N c × N c .
Once we obtain the two matrices W con , W obs , which may be expressed in the form of Cholesky singular value decompositions to get L con , L obs as
W con = L con L con T , W obs = L obs L obs T ,
and
L obs T L con = U Σ V T = U 1 U 2 Σ 1 O O O V 1 T V 2 T = U 1 Σ 1 V 1 T ,
where U , V are to be specified soon in (29). Set S con = L con V 1 Σ 1 1 / 2 , S obs = Σ 1 1 / 2 U 1 T L obs T , where U 1 T U 1 = V 1 T V 1 = I N r , and the subscript r means the reduced case.
Note that our BT is based on the GMsFEM. An independent set of online basis functions are constructed in which the coarse-scale solution may be sought. As a consequence, the global system would be processed on a coarse scale to avoid applying the BT on a fine scale directly. After the offline and online stages in the GMsFEM, it produces a subspace with small dimensions for each fixed parameter μ . It serves to further diminish the computational cost, which is associated with the balanced truncation in the model reductions.

4.2. Further Reduction

Based on coarse matrices (compared with the fine ones), now we have the platform to fulfill the potential further reduction. In our work, we use the first N r ordered eigenvalues and the normalized eigenvectors of the matrix L con T W obs L con , by solving
L con T W obs L con ξ i = λ i ξ i , i = 1 , , N r .
The sets of eigenvalues and eigenvectors are given by
{ λ i } , and { ζ i } = { σ i 1 ξ i T L con T L obs T } ,
where σ i = λ i 1 / 2 is the singular values.
The balanced truncation is validated to be more efficient in the numerical simulation. Since their a-priori error estimates rely on the quick decay of eigenvalues in (27) and the magnitude of all truncated eigenvalues summation. On the other hand, the balanced truncation has its weaknesses too. The Lyapunov Equations (23) and (24) require expensive computations for unknown W con and W obs , and the singular value decompositions are costing too, especially for the very fine case.
With the eigenvalues and corresponding eigenvectors in place, the above-mentioned matrices U and V are constructed from the reduced matrices in (9) and B r , C r below that as
U = σ 1 1 / 2 ζ 1 σ N r 1 / 2 ζ N r L obs , V = L con ξ 1 σ 1 1 / 2 ξ N r σ N r 1 / 2 ,
whose size is N r × N c and N c × N r , respectively. And the property of U V = I N r is ensured.
As a consequence, the reduced version is A r ( μ ) = U A c ( μ ) V , where r depends on the eigenvalue decay and is determined by users in the numerical experiment. Now we achieve the reduced scale since A r ( μ ) has a size of N r × N r , compared with the coarse scale A c ( μ ) with a size of N c × N c , while the fine-scale A f ( μ ) with a size of N f × N f , whose N r < < N c < < N f .

5. Fully Discretization for Time and Space

As for the parabolic problem, we are now in the procedure of fully discretization. A θ -implicit scheme is presented to the original Formula (5), we have
M u ( x , t m + 1 ) u ( x , t m ) Δ t + θ A ( μ ) u ( x , t m + 1 ) + ( 1 θ ) A ( μ ) u ( x , t m ) = θ b ( x , t m + 1 ) + ( 1 θ ) b ( x , t m ) .
In the form of θ -explicit scheme, it shows
M Δ t + θ A ( μ ) u ( x , t m + 1 ) = θ b ( x , t m + 1 ) + ( 1 θ ) b ( x , t m ) + M Δ t u ( x , t m ) ( 1 θ ) A ( μ ) u ( x , t m ) .
We know the influence of the temporal parameter θ on the fully discretization. In the following numerical experiments, we set θ = 1 , namely the backward Euler difference is applied.
Define A ˜ ( μ ) = M Δ t + θ A ( μ ) , b ˜ ( x , t m + 1 ) = θ b ( x , t m + 1 ) + ( 1 θ ) b ( x , t m ) + M Δ t ( 1 θ ) A ( μ ) u ( x , t m ) , then we get
A ˜ ( μ ) · u ( x , t m + 1 ) = b ˜ ( x , t m + 1 ) .
Solving the above ordinary differential equations, the corresponding numerical results are obtained from different schemes.
Thus in the paper, a proposed combination of GMsFEM-BT approach for the parameter-dependent parabolic problem is evolved for both the spatial and the temporal discretizations. It avoids a huge system computation, while maintaining an ideal balance between accuracy and efficiency at the same time. The generalized multiscale method is addressed in an offline-online coarse scale system, which is further reduced via using the balanced truncation, whose computational cost would be saved greatly.

6. Numerical Experiment

Now numerical results are ready to reveal the strength of our proposed method. Matlab codes are executed on a Windows desktop with Intel(R) Core(TM) i9-10900K CPU 3.70 GHz and 32 GB RAM. We set the right side f = 1 , so there is no exact solution or analytical solution for this random-parameterized parabolic problem. To solve the problem (1), first we divide the square domain Ω = [ 0 , 1 ] × [ 0 , 1 ] into N M × N M = 200 × 200 fine elements and use the classical FEM to solve on space and the FDM to solve on time for (6). This approach is the most expensive, and it serves as a reference solution.
A random-parameterized coefficient is combined like
κ ( x ; μ ) = μ 1 κ 1 ( x ) + μ 2 κ 2 ( x ) + μ 3 κ 3 ( x ) + μ 4 κ 4 ( x ) ,
where the parameter μ = ( μ 1 , μ 2 , μ 3 , μ 4 ) may be randomly picked from [ 0 , 1 ] 4 ,
κ 1 ( x ) = 10 · 2 + 1.8 sin 2 π x ε 1 2 + 1.8 cos 2 π y ε 2 + 2 + 1.8 cos 2 π y ε 1 2 + 1.8 sin 2 π x ε 2 , κ 2 ( x ) = 10 · 2 + 1.8 sin 2 π x ε 3 2 + 1.8 cos 2 π y ε 4 + 2 + 1.8 cos 2 π y ε 3 2 + 1.8 sin 2 π x ε 4 , κ 3 ( x ) = 10 · 2 + 1.8 sin 2 π x ε 5 2 + 1.8 cos 2 π y ε 6 + 2 + 1.8 cos 2 π y ε 5 2 + 1.8 sin 2 π x ε 6 , κ 4 ( x ) = 100 · 4 + 2.5 sin 2 π · tanh ( 20 ( r 0.3 ) ) ε 7 ,
and r = ( x 1 2 ) 2 + ( y 1 2 ) 2 , and set ε 1 = 0.2 ,   ε 2 = 0.08 ,   ε 3 = 0.125 ,   ε 4 = 0.0078125 , ε 5 = 0.012, ε 6 = 0.004 ,   ε 7 = 0.8 . A resulting permeability field expresses the structure with high contrast and quasi-periodicity, see Figure 2. The homogeneous boundary condition g = 0 and the initial function u 0 = 0 are defined for simplicity.
In the coarse-scale schemes, the MsFEM and the updated GMsFEM for (8) are applied to obtain the coarse-scale outputs. In both schemes, we set the double refinement of the coarse partition N = 5 , 10 , 20 in turn and fix the fine partition M = 10 in each coarse element. However the latter GMsFEM, with the contributions of eigenvalue computation and enriched multiscale basis functions, would offer more accurate simulations. Finally, we utilize the BT on the reduced scale for (9) to test the behaviors of our GMsFEM-BT approach.
To be more specifical, in the GMsFEM to create the snapshot space first for the offline-online stages, three equally spaced points in each dimension are set and the eigenfunctions number L i = 10 is kept in (11), then the number of snapshot functions is L snap = 3 j × L i = 810 in (12), where j = 4 is the number of random parameter μ j . In each coarse neighborhood, the online-stage eigenfunctions number L on in (20) is smaller than the original L snap . Through a further reduction in the BT, after solving the Lyapunov Equations in (23) and (24) for a controllability W con and observability W obs on the coarse scale, we use the singular value decompositions to build U , V in (29), whose size is dependent on a smaller number N r on the reduced-scale.
We are quite interested in comparing the simulation behaviors from the fully-resolved fine system, the coarse system and the reduced system. We set the refinement of N = 5, 10, 20, and the fine partition is kept as M = 10 in each coarse element, then on both x , y directions in the 2D problem the number of coarse vertices is N c = ( N + 1 ) 2 = 36, 121, 441. Then the matrix size of the fine system is N f = ( N M + 1 ) 2 = 2601, 10,201, 40,401, while the corresponding matrix size of the generalized coarse system is 207, 988, 4293, which is much smaller than N f and is a bit larger than N c . In contrast, the matrix size of a reduced system is N r , which would be chosen as smaller integers in the following.
Figure 3 shows the discrete errors of MsFEM and GMsFEM, both are compared to the reference solution. Note that the reference is solved from a fully-resolved fine system on N M × N M = 200 × 200 , while the solutions of MsFEM and GMsFEM are obtained from their coarse system. It is certified that with the contributions of eigenvalue computation for the dominant eigenfunctions and multiscale enrichments, the GMsFEM performs better than the MsFEM. We list the norm errors from the MsFEM and the GMsFEM with the refinement of the partition number in Table 1 and Figure 4. The error percentages indicate the fast convergence and stability of GMsFEM, which is much superior to the behavior of MsFEM.
In Figure 5, a series of outputs are provided for the reference on the very fine partition N M = 200 , the GMsFEM on the quite coarse partition N = 10 , and the BT on the several reductions N r . In Table 2 we observe that on small reductions N r such as 20, the GMsFEM-BT does not behave well. However, with the increase of N r it shows the ability to deliver more necessary details of the reference, and its error percentage is less than 0.04 % in the end. Note that the reduced size of GMsFEM-BT on N r = 260 , which is compared to the generalized coarse size of GMsFEM with N c = 988 and the fine size of FEM with N f = 40,401. In the meantime, in fact the GMsFEM-BT works based on the GMsFEM’s coarse scale, and it would take some time to solve the Lyapunov equations and the singular value decompositions. However on the contrary, if the GMsFEM-BT works based on the FEM’s fully-resolved fine scale, the computational cost would increase inevitably.
Figure 6 shows the error percentages between the fine and coarse, and between the coarse and reduced, respectively. We find that with time goes by, it is reasonable that the error percentages between the reference and the GMsFEM with a coarse partition number N = 20 (which is fixed during the process) would increase with the time step, but the error remains at a relatively low level overall (less than 0.16%). However, it is exciting to observe that the error percentages between the generalized coarse and the reduced N r = 340 would decrease and remain stable at 0.2% during the time elapses, which validates the strength of GMsFEM-BT to simulate the real application with costing just an amount of computational resource.
Finally, we provide the CPU time among different methods based on their corresponding matrix sizes. In Table 3 it is apparent that the FEM consumes the maximum time on a fully fine matrix size of N f = 40,401 to solve for the reference solution. The MsFEM (on a coarse size of N c = 441 ) and the GMsFEM (on a coarse size of N c = 4293 ) spend less time to reach their numerical results. However, note that the GMsFEM has to construct the snapshot space (which could be reused) and couple the offline-online stages with the singular value decompositions. This process consumes some time, so three parts of time (for offline, online and solving stages, respectively) are shown in the table for GMsFEM, but it would bring good accuracy. A Lyapunov solver based on the GMsFEM with the generalized coarse size of N c = 4393 offers its strength. After that, the reduced matrix size of BT is chosen as the user’s demand, and the satisfactory balance both for accuracy and efficiency of the GMsFEM-BT is shown in the numerical results.

7. Conclusions

In the paper, a parameter-dependent parabolic model is addressed by a combination strategy of GMsFEM-BT. Neither the FEM works on the fully-resolved fine scale, nor the MsFEM works on the coarse scale, the GMsFEM acts on the updated coarse scale by introducing the necessary eigenvalue computation to create the snapshot space and couple the offline-online stages. In this way, the selected dominant eigenfunctions are plugged into the projection matrix. The balanced truncation is then presented to solve the Lyapunov equations, whose results are served in the reduced matrices for further reduction. The fully discretization for time and space is applied to the parabolic problem. In the numerical experiments, the capabilities of the GMsFEM-BT are demonstrated convincingly. Its simulation is quite close to the reference result, and the error percentages and CPU time of the GMsFEM-BT are encouraging. Our method could be extended to other random parameter cases in the multiscale simulations.

Author Contributions

Conceptualization, S.J.; Methodology, S.J. and Y.C. (Yue Cheng); Validation, Y.C. (Yao Cheng); Formal analysis, Y.C. (Yao Cheng) and Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

Supported by NSFC (11771224) to Shan Jiang, NSFC (11801396) to Yao Cheng, and NSFC (11971410), National Key R&D Program of China (2020YFA0713500) to Yunqing Huang.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hou, T.Y.; Wu, X.H. A multiscale finite element method for elliptic problems in composite materials and porous media. J. Comput. Phys. 1997, 134, 169–189. [Google Scholar] [CrossRef]
  2. Chen, Z.M.; Hou, T.Y. A mixed multiscale finite element method for elliptic problems with oscillating coefficients. Math. Comput. 2002, 72, 541–576. [Google Scholar] [CrossRef]
  3. Efendiev, Y.; Galvis, J.; Hou, T.Y. Generalized multiscale finite element methods (GMsFEM). J. Comput. Phys. 2013, 251, 116–135. [Google Scholar] [CrossRef]
  4. Calo, V.M.; Efendiev, Y.; Galvis, J.; Li, G.L. Randomized oversampling for generalized multiscale finite element methods. Multiscale Model. Simul. 2016, 14, 482–501. [Google Scholar] [CrossRef]
  5. Chung, E.; Efendiev, Y.; Hou, T.Y. Adaptive multiscale model reduction with generalized multiscale finite element methods. J. Comput. Phys. 2016, 320, 69–95. [Google Scholar] [CrossRef]
  6. Presho, M.; Hill, M. A conservative generalized multiscale finite volume/element method for modeling two-phase flow with capillary pressure. J. Comput. Appl. Math. 2021, 381, 113026. [Google Scholar] [CrossRef]
  7. Kalachikova, U.; Vasilyeva, M.; Harris, I.; Chung, E. Generalized multiscale finite element method for scattering problem in heterogeneous media. J. Comput. Appl. Math. 2023, 424, 114977. [Google Scholar] [CrossRef]
  8. Nguyen, N.C. A multiscale reduced-basis method for parametrized elliptic partial differential equations with multiple scales. J. Comput. Phys. 2008, 227, 9807–9822. [Google Scholar] [CrossRef]
  9. Presho, M.; Protasov, A.; Gildin, E. Local-global model reduction of parameter-dependent, single-phase flow models via balanced truncation. J. Comput. Appl. Math. 2014, 271, 163–179. [Google Scholar] [CrossRef]
  10. Jiang, L.J.; Li, Q.Q. Reduced multiscale finite element basis methods for elliptic PDEs with parameterized inputs. J. Comput. Appl. Math. 2016, 301, 101–120. [Google Scholar] [CrossRef]
  11. Jiang, S.; Protasov, A.; Sun, M.L. Balanced truncation based on generalized multiscale finite element method for the parameter-dependent elliptic problem. Adv. Appl. Math. Mech. 2018, 10, 1527–1548. [Google Scholar] [CrossRef]
  12. Ammosov, D.A.; Vasilev, V.I.; Vasileva, M.V.; Stepanov, S.P. Multiscale model reduction for a thermoelastic model with phase change using a generalized multiscale finite-element method. Theor. Math. Phys. 2022, 211, 595–610. [Google Scholar] [CrossRef]
  13. Abdulle, A.; Bai, Y. Adaptive reduced basis finite element heterogeneous multiscale method. Comput. Methods Appl. Mech. Eng. 2013, 257, 203–220. [Google Scholar] [CrossRef]
  14. Wang, Z.W.; Chen, M.X.; Chen, J.R. Solving multiscale elliptic problems by sparse radial basis function neural networks. J. Comput. Phys. 2023, 492, 112452. [Google Scholar] [CrossRef]
  15. Henning, P.; Malqvist, A. Localized orthogonal decomposition techniques for boundary value problems. SIAM J. Sci. Comput. 2014, 36, A1609–A1634. [Google Scholar] [CrossRef]
  16. Mu, L.; Wang, J.P.; Ye, X. A weak Galerkin generalized multiscale finite element method. J. Comput. Appl. Math. 2016, 305, 68–81. [Google Scholar] [CrossRef]
  17. Spiridonov, D.; Huang, J.; Vasilyeva, M.; Huang, Y.; Chung, E.T. Mixed generalized multiscale finite element method for Darcy-Forchheimer model. Mathematics 2019, 7, 1212. [Google Scholar] [CrossRef]
  18. Babuska, I.; Lipton, R.; Sinz, P.; Stuebner, M. Multiscale-Spectral GFEM and optimal oversampling. Comput. Methods Appl. Mech. Eng. 2020, 364, 112960. [Google Scholar] [CrossRef]
  19. Nikiforov, D. Meshfree generalized multiscale finite element method. J. Comput. Phys. 2023, 474, 111798. [Google Scholar] [CrossRef]
  20. Dong, H. Computationally efficient higher-order three-scale method for nonlocal gradient elasticity problems of heterogeneous structures with multiple spatial scales. Appl. Math. Model. 2022, 109, 426–454. [Google Scholar] [CrossRef]
  21. Cheng, Y.; Jiang, S.; Stynes, M. Supercloseness of the local discontinuous Galerkin method for a singularly perturbed convection-diffusion problem. Math. Comput. 2023, 92, 2065–2095. [Google Scholar] [CrossRef]
  22. Reis, T.; Stykel, T. Balanced truncation model reduction of second-order systems. Math. Comput. Model. Dyn. Sys. 2008, 14, 391–406. [Google Scholar] [CrossRef]
  23. Benner, P.; Kurschner, P.; Saak, J. Frequency-limited balanced truncation with low-rank approximations. SIAM J. Sci. Comput. 2016, 38, A471–A499. [Google Scholar] [CrossRef]
  24. Benner, P.; Werner, W.R. Frequency- and time-limited balanced truncation for large-scale second-order systems. Linear Algebra Appl. 2021, 623, 68–103. [Google Scholar] [CrossRef]
  25. Jiang, S.; Presho, M.; Huang, Y.Q. An adapted Petrov-Galerkin multiscale finite element for singularly perturbed reaction-diffusion problems. Int. J. Comput. Math. 2016, 93, 1200–1211. [Google Scholar] [CrossRef]
  26. Jiang, S.; Sun, M.L.; Yang, Y. Reduced multiscale computation on adapted grid for the convection-diffusion Robin problem. J. Appl. Anal. Comput. 2017, 7, 1488–1502. [Google Scholar]
  27. Jiang, S.; Ding, X.; Sun, M.L. Parameter-uniform superconvergence of multiscale computation for singular perturbation exhibiting twin boundary layers. J. Appl. Anal. Comput. 2023, 13, 3330–3351. [Google Scholar] [CrossRef]
Figure 1. Illustration of coarse grids, elements and neighborhoods.
Figure 1. Illustration of coarse grids, elements and neighborhoods.
Mathematics 11 04965 g001
Figure 2. Coefficient κ ( x ; μ ) .
Figure 2. Coefficient κ ( x ; μ ) .
Mathematics 11 04965 g002
Figure 3. Errors of MsFEM and GMsFEM on coarse partition N = 20 .
Figure 3. Errors of MsFEM and GMsFEM on coarse partition N = 20 .
Mathematics 11 04965 g003
Figure 4. Percentages of L 2 and H 1 norm errors from MsFEM and GMsFEM on log-log scale.
Figure 4. Percentages of L 2 and H 1 norm errors from MsFEM and GMsFEM on log-log scale.
Mathematics 11 04965 g004
Figure 5. Outputs on coarse partition N = 20 of reference, GMsFEM coarse and GMsFEM-BT with different reduced numbers N r , respectively.
Figure 5. Outputs on coarse partition N = 20 of reference, GMsFEM coarse and GMsFEM-BT with different reduced numbers N r , respectively.
Mathematics 11 04965 g005
Figure 6. With time elapsing, error percentages between fine and coarse N = 20 (left), and between coarse and reduced number N r = 340 (right).
Figure 6. With time elapsing, error percentages between fine and coarse N = 20 (left), and between coarse and reduced number N r = 340 (right).
Mathematics 11 04965 g006
Table 1. Percentages of norm error from MsFEM and GMsFEM, on different partition numbers N.
Table 1. Percentages of norm error from MsFEM and GMsFEM, on different partition numbers N.
Coarse Partition NNormMsFEM Error (%)GMsFEM Error (%)
5 L 2 7.350.81
H 1 29.358.97
10 L 2 3.000.31
H 1 18.395.44
20 L 2 2.300.08
H 1 15.752.90
Table 2. Percentages of H 1 norm error from GMsFEM and GMsFEM-BT. on coarse partition number N = 20 .
Table 2. Percentages of H 1 norm error from GMsFEM and GMsFEM-BT. on coarse partition number N = 20 .
GMsFEM Error (%)GMsFEM-BT Error on Different N r (%)
N r = 20 N r = 100 N r = 180 N r = 260
2.902.161.040.510.38
Table 3. Comparisons of CPU time.
Table 3. Comparisons of CPU time.
FEMMsFEMGMsFEMBT
size40401441429320100180260
time (s)572.781.4816.59 + 5.78 + 7.470.00390.00820.0110.025
Lyapunov solveGMsFEM-BT
time (s) 19.4529.843929.848229.851029.8650
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jiang, S.; Cheng, Y.; Cheng, Y.; Huang, Y. Generalized Multiscale Finite Element Method and Balanced Truncation for Parameter-Dependent Parabolic Problems. Mathematics 2023, 11, 4965. https://doi.org/10.3390/math11244965

AMA Style

Jiang S, Cheng Y, Cheng Y, Huang Y. Generalized Multiscale Finite Element Method and Balanced Truncation for Parameter-Dependent Parabolic Problems. Mathematics. 2023; 11(24):4965. https://doi.org/10.3390/math11244965

Chicago/Turabian Style

Jiang, Shan, Yue Cheng, Yao Cheng, and Yunqing Huang. 2023. "Generalized Multiscale Finite Element Method and Balanced Truncation for Parameter-Dependent Parabolic Problems" Mathematics 11, no. 24: 4965. https://doi.org/10.3390/math11244965

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop