Iterative two-level algorithm for nonsymmetric or indefinite elliptic problems
Abstract
In this paper, a new iterative two-level algorithm is presented for solving the finite element discretization for nonsymmetric or indefinite elliptic problems. The iterative two-level algorithm uses the same coarse space as the traditional two-grid algorithm, but its “fine space” uses the higher oder finite element space under the coarse grid. Therefore, the iterative two-level algorithm only needs one grid, and the computational cost is much lower than the traditional iterative two-grid algorithm. Finally, compared with the traditional two-grid algorithm, numerical experiments show that the computational cost is lower to achieve the same convergence order.
keywords:
Iterative two-level algorithm, finite element discretization, nonsymmetric or indefinite elliptic problems1 Introduction
We consider the following Dirichlet boundary value problems for general second-order elliptic partial differential equations
(1.1) | |||||
(1.2) |
where the coefficient is smooth functions on , and satisfies consistent ellipticity, namely, there are minimum and maximum eigenvalues and respectively, satisfying . Both and are smooth functions on , and is a given function. Noting that when , the continuous variational problems (CVP) of (1.1)-(1.2) are nonsymmetric, and when , the CVP of (1.1)-(1.2) may be indefinite.
The two-grid (TG) algorithm was first introduced by Xu [6] for solving nonasymmetric or indefinite problems. The main idea of the TG algorithm is to solve the original problems on the coarse mesh to obtain an approximate finite element solution, and then use the approximate solution to solve the corresponding linear symmetric positive definite problems on the fine mesh. Over the last two decades, the TG algorithm has been widely used to solve many problems, such as nonlinear elliptic problems [1, 10], semilinear parabolic equations [5], nonlinear parabolic equations [3, 2], Poisson-Nernst-Planck problems [7], and Maxwell equations [8, 9].
The main objective of this paper is to propose a new iterative two-level algorithm. Compared with the traditional iterative two-grid algorithm, our algorithm needs only one mesh and takes less CPU time to achieve the same accuracy.
In this work, we first present elliptic problems discretized by the finite element method. Then, we propose an iterative two-level algorithm. Finally, some numerical results are presented to illustrate the efficiency of the proposed algorithms.
2 Finite element discretizations
Given , we denote as the standard Sobolev space with norm . For simplicity of notation, we denote , and in the sense of trace. We define the following two bilinear forms
(2.1) | |||||
(2.2) |
We assume that is partitioned by a quasi-uniform division . By this we mean that ’s are simplexes of the size with and . For the given quasi-uniform division , the conforming finite element space is defined as follows
where is the space of polynomial of degree not greater than a positive integer on the subdivision element . The discrete variational problems of (2.3) is to find , such that
(2.4) |
3 Iterative two-level algorithm
The basic mechanism of the classical iterative two-grid algorithm is two quasi-uniform tetrahedral nested meshes of , namely the fine space and the coarse space , with two different meshes sizes and . Furthermore, in the application given in the succeeding text, we shall always assume that
Algorithm 3.1 (Algorithm 4.1 of [6]).
Let ; assume that has been obtained, is defined as follows:
- 1.
-
Find , such that
- 2.
-
Find , such that
where
Assume that is the solution obtained by Algorithm 3.1 with , then we have (see Theorem 4.4 of [6])
(3.1) |
which means that the two-grid solution given by Algorithm 3.1 can effectively approximate the finite element solution of (2.4).
Remark 3.1.
In order to obtain the optimal convergence order in (3.1), we should assume that and satisfy the relation . However, there are exact nested grids, which satisfy , very difficult to implement.
Next, we consider replacing with in the second step of Algorithm 3.1, and obtain the following algorithm.
Algorithm 3.2.
Let ; assume that has been obtained, is defined as follows:
- 1.
-
Find , such that
- 2.
-
Find , such that
Remark 3.2.
1/9 | 784 | 59536 | 1369 | 2116 | 3025 |
---|---|---|---|---|---|
1/10 | 961 | 90601 | 1681 | 2601 | 3721 |
1/11 | 1156 | 132496 | 2025 | 3136 | 4489 |
1/12 | 1369 | 187489 | 2401 | 3721 | 5329 |
4 Numerical results
In this section, numerical experiments are carried out to verify the effectiveness of the iterative two-level algorithm. We performed all experiments for our iterative two-level algorithm with the help of the software package Fenics [4].
Example 4.1.
We first partition the axis and axis of the domain into equally distributed subintervals, then divide each square into two triangles by using the line with slope . Hence, we obtain a sequence of nested and structured grids and the corresponding meshes as with , where is an integer, see Figure 1. We choose the piecewise conform order finite element spaces based on the meshes . For Algorithm 3.1, we choose .
Algorithm 3.1, , | Algorithm 3.2, , , | |||||
---|---|---|---|---|---|---|
CPU | CPU | |||||
1/9 | 9.8925E-07 | 5.2573E-01 | 6.1544 | 5.7750E-08 | 3.0691E-02 | 0.2503 |
1/10 | 5.2609E-07 | 5.2609E-01 | 9.0338 | 3.0706E-08 | 3.0706E-02 | 0.3082 |
1/11 | 2.9711E-07 | 5.2635E-01 | 16.177 | 1.7339E-08 | 3.0717E-02 | 0.3644 |
1/12 | 1.7634E-07 | 5.2655E-01 | 24.047 | 1.0290E-08 | 3.0726E-02 | 0.4347 |
From Table 2, we can observe that both our algorithm and the traditional iterative mesh can reach the optimal convergence order. And to achieve the same accuracy, our algorithm uses less CPU time.
Algorithm 3.2, , , | Algorithm 3.2, , , | |||||
---|---|---|---|---|---|---|
CPU | CPU | |||||
1/9 | 3.6409E-05 | 2.3888E-01 | 0.1383 | 1.6093E-06 | 9.5028E-02 | 0.1825 |
1/10 | 2.3903E-05 | 2.3903E-01 | 0.1633 | 9.5141E-07 | 9.5141E-02 | 0.2172 |
1/11 | 1.6334E-05 | 2.3915E-01 | 0.2785 | 5.9129E-07 | 9.5228E-02 | 0.2571 |
1/12 | 1.1538E-05 | 2.3924E-01 | 0.2237 | 3.8298E-07 | 9.5299E-02 | 0.3020 |
From the Tables 2- 3, it can be found that when the degree of the coarse space polynomial degree is fixed, as the degree of the fine space polynomial increases once, the convergence order of the error estimates in -norm for the solution of the algorithm 3.2 increase by one order. It can be seen that the errors in -norm for the solution of the algorithm 3.2 depend on the value of .
Example 4.2.
Algorithm 3.1, , | Algorithm 3.2, , , | |||||
---|---|---|---|---|---|---|
CPU | CPU | |||||
1/9 | 6.0567E-08 | 3.2188E-02 | 6.0850 | 2.8919E-13 | 1.5369E-07 | 0.1901 |
1/10 | 3.2255E-08 | 3.2255E-02 | 8.9463 | 1.2153E-13 | 1.2153E-07 | 0.2335 |
1/11 | 1.8235E-08 | 3.2305E-02 | 16.0683 | 7.9992E-14 | 1.4171E-07 | 0.2751 |
1/12 | 1.0832E-08 | 3.2344E-02 | 23.8708 | 7.8801E-14 | 2.3530E-07 | 0.3291 |
Algorithm 3.2, , , | Algorithm 3.2, , , | |||||
---|---|---|---|---|---|---|
CPU | CPU | |||||
1/9 | 1.9981E-06 | 1.3110E-02 | 0.1035 | 5.2140E-08 | 3.0788E-03 | 0.1380 |
1/10 | 1.3129E-06 | 1.3129E-02 | 0.1214 | 3.0796E-08 | 3.0796E-03 | 0.1637 |
1/11 | 8.9783E-07 | 1.3145E-02 | 0.1420 | 1.9126E-08 | 3.0803E-03 | 0.1938 |
1/12 | 6.3456E-07 | 1.3158E-02 | 0.1661 | 1.2381E-08 | 3.0809E-03 | 0.2273 |
Acknowledgment
The first, second and fourth authors are supported by the National Natural Science Foundation of China (No. 12071160). The second author is also supported by the National Natural Science Foundation of China (No. 11901212). The third author is supported by the National Natural Science Foundation of China (No. 12161026), Guangxi Natural Science Foundation (No. 2020GXNSFAA159098).
References
References
- [1] C.J. Bi, C. Wang, Y.P. Lin, A posteriori error estimates of two-grid finite element methods for nonlinear elliptic problems, J. Sci. Comput. 74 (1) (2018) 23–48.
- [2] C. Dawson, M. Wheeler, C. Woodward, A two-grid finite difference scheme for nonlinear parabolic equations, SIAM J Numer. Anal. 35 (2) (1998) 435–452.
- [3] C.N. Dawson, M. F. Wheeler, Two-grid methods for mixed finite element approximations of nonlinear parabolic equations, Contemp. Math., 180 (1994) 191–203.
- [4] A. Logg, K.A. Mardal, G. Wells, Automated solution of differential equations by the finite element method, Springer, 2012.
- [5] M. Marion, J.C. Xu, Error estimates on a new nonlinear Galerkin method based on two-grid finite elements, SIAM J. Numer. Anal. 32 (4) (1995) 1170–1184.
- [6] J.C. Xu, Two-grid discretization techniques for linear and nonlinear PDEs, SIAM J. Numer. Anal. 33 (5) (1996) 1759–1777.
- [7] Y. Yang, B.Z. Lu, Y. Xie, A decoupling two-grid method for the steady-state poisson-nernst-planck equations, J. Comput. Math. 37 (4) (2019) 556–578.
- [8] L.Q. Zhong, C.M. Liu, S. Shu, Two-level additive preconditioners for edge element discretizations of time-harmonic Maxwell equations, Comput. Math. Appl. 66 (4) (2013) 432–440.
- [9] L.Q. Zhong, S. Shu, J.X. Wang, J.C. Xu, Two-grid methods for time-harmonic Maxwell equations, Numer. Linear Algebra Appl. 20 (1) (2013) 93–111.
- [10] L.Q. Zhong, L.L. Zhou, C.M. Liu, J. Peng, Two-grid IPDG discretization scheme for nonlinear elliptic PDEs, Commun. Nonlinear Sci. Numer. Simul. 95 (2021) 105587.