Abstract
Diffusion processes is usually coupled with other physical processes such as the fluid equation. The meshes are determined by the fluid that can be distorted as time goes on. Classical finite difference schemes and finite element method are sensitive of mesh deformation. We propose a new tailored finite point method (TFPM) for 2D diffusion equation with tensor diffusion coefficient on highly distorted meshes. Second order convergence is demonstrated numerically with and without interfaces. TFPM is a finite difference method that makes full use of the analytical properties of local solutions. The main advantages of TFPM is that no modifications have to be made for problems with strongly discontinuous coefficients, where most other methods require special treatment at the interfaces. This advantage is important for distorted meshes, since the designing of numerical discretizations near interfaces is more delicate for distorted meshes.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Diffusion processes are ubiquitous in physics, such as heat propagation or flows in porous media encountered in reservoir engineering [1], heat conduction in fusion plasma [2, 3], atmospheric or oceanic flows [4], the radiation hydrodynamics [5]. In some applications, diffusion equation is usually coupled with fluid equations. The meshes are determined by the fluid that can be distorted as time goes on. Accurate and efficient numerical schemes for diffusion equations on distorted meshes are highly desired.
The stationary diffusion equation with tensor diffusion coefficients reads
where \(\Omega \subset R^2\) is the computational domain and \(\partial \Omega \) is the boundary. The solution u(x, y) is the temperature or pressure to be solved. The diffusion tensor K(x, y) is a symmetric positive definite matrix that writes
There have been extensive research on developing numerical methods for stationary diffusion equation with tensor diffusion coefficients on general meshes, see reviews in [6,7,8]. Finite volume methods (FVM) are the most popular ones, the most recent FVM are not only stable and accurate for discontinuous and anisotropic diffusion tensors but also satisfying local mass conservation and discrete maximum principle on general distorted meshes [5, 7, 9,10,11,12,13,14,15,16,17]. Different FVM provides different way of constructing numerical fluxes at the cell faces. However, it is not easy to design high order schemes for FVM.
Discontinuous Galerkin methods [18,19,20] and finite element methods [21,22,23,24,25] are developed as well but much less works are available for distorted meshes. The problem of mesh-distortion sensitivity of finite element method, such as bilinear finite element methods on quadrilateral mesh, has been known to researchers for decades [26]. Mesh distortion leads to incorrect results or the interruption of computations. As discussed in [26, 27], various new strategies have been proposed in order to improve the performance and robustness of traditional finite element methods when the meshes are distorted. The authors in [27] claimed that their method possess excellent precision in both regular and severely distorted meshes, even when a quadrilateral element degenerates into triangular or concave quadrangular shapes. That is the meaning of shape-free finite element. However, the analytical understanding of shape-free finite element methods is not clear. In [28] the authors provide the convergence analysis and error estimates for a mixed finite element method on distorted meshes. However, it is assumed that all the cells have comparable sizes, but their configurations may be quite different.
Classical finite difference schemes are only applicable to structured grids and the mimetic finite difference methods (MFDM) pocess excellent robustness in the presence of grid distortions and severe jumps in coefficients [29,30,31,32,33]. In MFDM, it is crucial to find the discrete analog of some differential operators (for example, divergence or gradient) that can preserve some features of the operators at the continuous level. In this paper, we provide a new way of constructing finite difference schemes on distorted meshes. Similar to MFDM, it uses solution properties at the continuous level to bypass the constraints of classical finite difference schemes, but the idea of scheme constructions is different from MFDM.
Tailor finite point method (TFPM) was first proposed by Han, Huang and Kellogg for singular perturbed elliptic Eqs. [34] and has been extended to the non-homogeneous reaction-diffusion, convection-diffusion, convection-diffusion-reaction, neutron transport equations and nonlinear radiation diffusion Eqs. [34,35,36,37,38,39,40,41]. The main idea of TFPM is to firstly approximate the diffusion coefficient near each grid by a constant, then use special solutions that satisfy exactly the diffusion equation with constant coefficients to determine the weights of a finite difference scheme. Since TFPMs make full use of analytical properties of local solutions, it can capture the boundary and interfaces layers with coarse meshes. However, all previous works of TFPM are on regular meshes and in this paper, we extend it to distorted meshes.
The extension is not trivial since the diffusion coefficients are no longer approximated by a constant near each grid, instead, the computational domain are divided into cells and the diffusion coefficients are approximated by piecewise linear functions inside each cell. The key point of the scheme construction is the discretization of the flux across cell edges. The common edge of two adjacent polygonal cells is denoted by \(\Gamma \). The flux continuity on \(\Gamma \) can be written as
where \(u^\pm \) are localized solutions inside the two cells and \({\mathbf {n}}^{\pm }\) are the out normal direction of \(\Gamma \) for \(u^\pm \). Since \(u^\pm \) are approximated by a linear combination of special solutions, so are \({\mathbf {n}}\cdot K^\pm \nabla u^\pm \). Thus a discrete analog of flux continuity equation can be written down as well, using special solutions.
The main advantages of our proposed approach are that 1) all fluxes are localized, thus is appropriate for discontinuous and anisotropic diffusion tensors; 2) second order convergence with or without material discontinuities for general distorted meshes; 3) It preserves linear solutions for constant diffusion coefficients; 4) easy to code.
The paper is arranged as follows. In Sect. 2, we construct the TFPM on polygonal meshes. Several numerical examples on distorted meshes are presented in Sect. 3 and second order convergence is observed even when there are strong discontinuous diffusion tensors. Finally we conclude with some discussions in Sect. 4. In the appendix, we prove the second order convergence analytically for 1D TFPM. We would like to emphasis that the convergence does not depend on the ratio between the maximum and minimum mesh sizes, while most classical methods require lower bound for this ratio in the convergence proof.
2 The TFPM on General Polygonal Mesh
We use stencil as in Fig. 1. \(\Omega _i (i=1,2\cdots ,I)\) are I different polygon and the computational domain \(\Omega =\bigcup _{i=1}^{i=I}\Omega _i\). \({O}_{i}=(x_i,y_i)\) stands for the center of gravity of \(\Omega _i\). The four edges and edge centers of \(\Omega _i\) are respectively denoted by \(\Gamma _{k,i}\) and \(P_{k,i}\), \(k=1,2,3,4\). Assume that the maximum length of \(\Gamma _{k,i}\) (\(k=1,2,3,4\)) is \(h_i\), and \(h=\max \{h_i\}\).
In the subsequent part, we give details of the scheme construction, in which special solutions are used in each of the cell \(\Omega _i\) and solutions of different cells are pieced together by the continuity of fluxes.
2.1 Approximated Special Solutions
On each \(\Omega _{i}\), we approximate Eq. (1) by
where
with
being constant matrixes, \((x_i,y_i)\) being the gravity center of \(\Omega _i\) and \(f_i\), \(f_{xi}\), \(f_{yi}\) being constants. Here all 12 parameters in \(A_i\), \(B_i\) and \(C_i\) are determined by \(K_i(P_{k,i})\) (\(k=1,2,3,4\)), such that \({\bar{K}}(P_{k,i})=K(P_{k,i})\); The constants \(f_i\), \(f_{xi}\), \(f_{yi}\) are respectively given by \(f(x_i,y_i)\), \(\partial _xf(x_i,y_i)\) and \(\partial _yf(x_i,y_i)\). \({\bar{u}}|_{\Omega _i}\) are pieced together by the continuity of \({\bar{u}}\) and \({\mathbf {n}}\cdot {\bar{K}}\nabla {\bar{u}}\) at cell edges.
From the definitions of \(f_i\) , \(f_{xi}\), \(f_{yi}\), for \(\forall i\in \{1,\cdots , I\}\), when \(f(x,y)|_{\Omega _i}\in C^2(\Omega _i)\),
Then,
Here \(|\Omega _i|\) and \(|\Omega |\) are the area of \(\Omega _i\) and \(\Omega \). Therefore, \(\Vert f-{\bar{f}}\Vert _2\le C h^2\). Similarly, \(\Vert K-{\bar{K}}\Vert _2<Ch^2\). The difference between u and \({\bar{u}}\) can be given by the following lemma.
Lemma 2.1
Let \({\bar{u}}\in C^1(\Omega )\) and satisfy (3) in each interval \(\Omega _i\). Let \(w=u-{\bar{u}}\), then
Proof
Since \(w\in C^1(\Omega )\) and \(w|_{\partial \Omega }=u|_{\partial \Omega }-{\bar{u}}|_{\partial \Omega }=u_{\Gamma }-u_{\Gamma }=0\). Multiplying both sides of Eq. (1) by w and integrating over \(\Omega \), noting \(w\in C^1(\Omega )\) and \(w|_{\partial \Omega }=0\), one gets
Similarly, from Eq. (3),
Subtracting (6) from (7), one gets
where the last inequality is from Holder’s inequality. Since \(w\in C^1(\Omega )\) and \(w|_{\partial \Omega }=0\), from Friedrichs inequality we have \(\Vert w\Vert _2\le C\Vert \nabla w\Vert _2\). Noting that K is positive definite and \(\Vert K-{\bar{K}}\Vert _2<Ch^2\), \(\Vert f-{\bar{f}}\Vert _2<Ch^2\), there exists C that is independent of h and satisfies
Then Friedrichs inequality gives
\(\square \)
The key idea of TFPM is to find special solutions inside each cell. However, since \({\bar{K}}|_{\Omega _i}\), \({\bar{f}}|_{\Omega _i}\) are linear functions in x and y, it is not easy to construct functions that satisfy exactly \(-\nabla \cdot ({\bar{K}}\nabla {\bar{u}})|_{\Omega _i}={\bar{f}}|_{\Omega _i}\). We then use some approximations that will not violate the scheme convergence.
Inside \(\Omega _i\), for any function \({\bar{v}}\),
We approximate \(\nabla \cdot ({\bar{K}}\nabla {\bar{v}})\mid _{\Omega _i}\) and \({\bar{f}}_i\) by
where
Here, the terms dropped in Eq. (8) and in \({\bar{f}}|_{\Omega _i}\) are the terms at \(O(h_i)\): \(\big (a_{11,i}\partial _{x}^2 {\bar{v}}+a_{12,i}\partial _{xy}{\bar{v}}+a_{21,i}\partial _{xy}{\bar{v}}+a_{22,i}\partial _{y}^2{\bar{v}}\big )(x-x_i)\), \(\big (b_{11,i}\partial _{x}^2{\bar{v}}+b_{12,i}\partial _{xy}{\bar{v}}+b_{21,i}\partial _{xy}{\bar{v}}+b_{22,i}\partial _{y}^2{\bar{v}}\big )(y-y_i)\), and \(f_{xi}(x-x_i)+f_{yi}(y-y_i)\). Inside \(\Omega _i\), \({\bar{u}}_{h}\) satisfies
Then
with
Since \((x_i,y_i)\) is the center of \(\Omega _i\) such that \(\frac{1}{|\Omega _i|}\int _{\Omega _i}x \, \mathrm{d} x \, \mathrm{d} y=x_i\), \(\frac{1}{|\Omega _i|}\int _{\Omega _i}y \, \mathrm{d} x \, \mathrm{d} y=y_i\), from \({\bar{u}}_h|_{\Omega _i}\in C^\infty (\Omega _i)\), we have
We now find special solutions to (9). If \(\beta _{1,i}=\beta _{2,i}=0\), the general solution to Eq. (9) can be written as
Let \({\tilde{v}}_i(x,y)=\frac{r_{1,i} (x-x_i)^2+r_{2,i}(y-y_i)^2}{2(r_{1,i}^2+r_{2,i}^2)}f_i\). It is the special solution of Eq. (9) and \(v_i(x,y)\) satisfies the homogenous equation
Otherwise, when \(\beta _{1,i}^2+\beta _{2,i}^2>0\), the special solution of Eq. (9) becomes \({\tilde{v}}_i(x,y)=\frac{\beta _{1,i} (x-x_i)+\beta _{2,i}(y-y_i)}{(\beta _{1,i}^2+\beta _{2,i}^2)}f_i\) and \(v_i(x,y)\) satisfies the homogenous equation
We choose 4 linearly independent functions \({W_{k,i}}\) (\(k=1,2,3,4\)) that satisfy the homogeneous equation and approximate \(v(x,y)|_{\Omega _i}\) by a function belonging to the linear space
where \(c_{k,i}\) are constant coefficients inside \(\Omega _i\).
In order to find \(W_{k,i}\), suppose \(v_i(x,y)\) is of the special form
Then \(v_i\) of the form as in (15) satisfies (13) when \((\lambda ,\mu )\) is the solution to
We choose \((\lambda ,\mu )=\) \((-\frac{\beta _{1,i}}{r_{1,i}},0)\), \((0, -\frac{\beta _{2,i}}{r_{2,i}})\). Next, we find solution of the form
Substituting the above form into (13) yields
Therefore, we choose \(W_{k,i}\) are of the following form:
Case 1 \(\beta _{1,i}^2+\beta _{2,i}^2=0\):
Case 2 \(\beta _{1,i}^2+\beta _{2,i}^2\ne 0\):
If \(\beta _{1,i}\rightarrow 0\), \(\beta _{2,i}\ne 0\), then \(W_{1,i}(x,y)\rightarrow 1\), \(W_{3,i}(x,y)\rightarrow -\beta _{2,i} x\). If \(\beta _{2,i}\rightarrow 0\), \(\beta _{1,i}\ne 0\), then \(W_{2,i}(x,y)\rightarrow 1\), \(W_{4,i}(x,y)\rightarrow \beta _{1,i} y\). \({W_{k,i}}\) in (19) are independent functions.
2.2 Construction of TFPM
As discussed in sect. 2.1, the solution to (3) inside each cell \(\Omega _i\) is approximated by
and the derivatives of \(v_i\) can be obtained analytically such that
We construct the TFPM by the continuity of fluxes in two adjacent cells. For all cells, denote
Assume that \(\Omega _i\) and \(\Omega _{i+1}\) are two adjacent cells and their common edge is \(\Gamma _{1,i}\), then the continuity of \({\bar{u}}\) and \({\mathbf {n}}\cdot {\bar{K}}\nabla {\bar{u}}\) on \(\Gamma _{1,i}\) write
where \({\mathbf {n}}_{1,i}\) (\({\mathbf {n}}_{1,i+1}\)) is out normal direction of \(\Omega _i\) (\(\Omega _{i+1}\)) perpendicular to \(\Gamma _{1,i}\). When \({\bar{u}}_i(x,y)\), \(\partial _x{\bar{u}}_i(x,y)\) and \(\partial _y{\bar{u}}_i(x,y)\) are respectively approximated by \({\bar{v}}_i(x,y)\), \(\partial _x{\bar{v}}_i(x,y)\) and \(\partial _y{\bar{v}}_i(x,y)\) as in (20), (21), the continuity Eq. (22) can no longer be satisfied at all points on \(\Gamma _{1,i}\). Since there exist only a finite number of basis, the solution and fluxes can only be continuous at a finite number of points on \(\Gamma _{1,i}\). Therefore, we piece together \({\bar{v}}_i\) and \({\bar{v}}_{i+1}\) at the center of \(\Gamma _{1,i}\). As in Fig. 1, the middle point of \(\Gamma _{1,i}\) is \(P_{1,i}\) whose coordinates are \((x_{1,i},y_{1,i})\), the continuity conditions at \(P_{1,i}\) write:
A finite difference scheme can be derived from the above continuity conditions. Assume that there are I polygon cells in the computational domain and J cell edges at the boundary. Then there are \((4I-J)/2\) edges inside the computational domain. Let \(c_{k,i}\) be the unknowns and in order to determine the 4I unknowns, 4I equations are required. (23) gives two equations for each cell edge inside the computational domain, which yields \(4I-J\) equations. For each cell edge \(\Gamma _{bi}\) at the boundary, assume that it belongs to the cell \(\Omega _{i}\). Let \(P_{bi}=(x_{bi},y_{bi})\) be the edge center, Dirichlet boundary conditions write
which gives J equations. Therefore, we have a system of 4I linear algebraic equations and the 4I coefficients \(c_{k,i}\) can be determined. The linear system is four times bigger than the FVM and double the size of MFDM, thus is not efficient enough.
Another way of constructing the scheme is to let the unknowns be solution values at all edge centers. There are \(2I+J/2\) edge centers in the computational domain. let \(u_{k,i}\approx u(x_{k,i},y_{k,i})\) (\(k=1,2,3,4\)), when \(u_i(x,y)\) are approximated as in (20), \(u_{k,i}\) can determine the coefficients \(c_{k,i}\) by the following system
Therefore, the continuity of fluxes in (23b) can be expressed by \(u_{k,i}\) and \(u_{k,i+1}\) (\(k=1,2,3,4\)) which yields \(2I-J/2\) equations. Together with the J equations given by Dirichlet boundary conditions, one can get \(2I+J/2\) equations for the \(2I+J/2\) unknowns. In this way, the computational efficiency is the same as MFDM.
3 Numerical Experiments
The performance of the the new TFPM on some highly skewed and highly distorted meshes are presented in this section. Three different kinds of distorted meshes are tested: Kershaw, Shestakov and random. As shown in Figs. 2, 3, 4, a typical Kershaw mesh has a large distortion in vertical direction, a typical Shestakov mesh has three non-convex cells and the random mesh is obtained by randomly disturbing the interior mesh vertices of the uniform mesh. These meshes have been used to test scheme performances on unstructured or highly distorted meshes in the literature [42, 43]. In all examples, let the computational domain be \(\Omega =[0,1]\times [0,1]\). To obtain the convergence order of \(L^2\) error estimates for the first two examples, the number of cells of the three kinds of distorted meshes are displayed on Table 1.
Kershaw, Shestakov meshes are refined in a nested manner. Please see Figs. 2 and 3. For the random meshes, it is constructed from a uniform square mesh of size h and then randomly move the nodes (x, y) to a new position \((x+\omega \xi _x h/2, y +\omega \xi _y h/2)\). Here \(\xi _x\) and \(\xi _y\) are random numbers uniformly distributed in \([-0.5, 0.5]\) and \(\omega \in [0, 1]\) is a constant referred as "the degree of distortion". The meshes are still skewed or even deteriorate as they are refined. As shown in Fig. 4.
Example 1
In this example we test the scheme accuracy and convergence order for anisotropic diffusion tensor:
with \(\theta =40^\circ \). The exact solution is \(u_{exact}=xy(\sin (\pi x)\sin (\pi y))^{10}\) and the source term f and boundary conditions are chosen according to the exact solution. As shown in Fig. 5, second order convergence can be observed for all three kinds of distorted meshes in Fig. 2.
Example 2
Space varying diffusion tensor is tested in this example. K is chosen to be an anisotropic rotating tensor such that
We impose the following exact solution
The source term and boundary conditions are determined by substituting u into (1). As shown in Fig. 6, TFPM exhibits second order convergence for all three types of meshes when the diffusion tensors vary in space. We can see from Figs. 3 and 4 that in the Shestakov mesh and Random mesh, some quadrilateral element degenerates into triangular, but the convergence order remains.
Example 3
In this example we solve an interface problem. The computational domain \(\Omega \) is divided into two subdomains:\([0,0.5] \times [0,1]\) and \([0.5,1]\times [0,1]\). Each has a different diffusion tensor such that
Random meshes are used in each subdomain. The analytical solution is defined as follows:
The source term f and boundary conditions are chosen according to the exact solution. The solution is continuous but its derivatives are discontinuous at the interface. For this test problem, two different meshes are tested. Random meshes are refined by the degree of distortion \(\omega =0.7\) and trapezoidal meshes are refined in a self-similar fashion as in [21, 22]. As in Figs. 7, 8, second order convergence in the \(L^2\) norm can be observed numerically for the solution. Different from the bilinear finite element methods, no decreasing of convergence order is observed when trapezoidal meshes are refined.
Example 4
In this example, we consider a more complicate case when the unit square \([0,1]\times [0,1]\) is split into four subdomains: \(\Omega _1=[0,\frac{1}{2}] \times [0,\frac{1}{2}]\), \(\Omega _2=[\frac{1}{2},1]\times [0,\frac{1}{2}]\), \(\Omega _3=[\frac{1}{2}, 1] \times [\frac{1}{2}, 1]\), \(\Omega _4=[0, \frac{1}{2}] \times [\frac{1}{2}, 1]\). The source term is defined by
As in Fig. 9, there are two interfaces along \(x=1/2\) and \(y=1/2\), the diffusion tensors in the subdomains are given by
with \(\theta =\pi /6\) and
with \(\theta =-\pi /6\). Random mesh as in Fig. 10 are tested. Two cases are considered. Case 1: \(\alpha _1=10^3,\alpha _2=10\) in \(\Omega _1,\Omega _3\), \(\alpha _1=10,\alpha _2=1\) in \(\Omega _2,\Omega _4\). Case 2: \(\alpha _1=10^6,\alpha _2=10^3\) in \(\Omega _1,\Omega _3\), \(\alpha _1=10,\alpha _2=1\) in \(\Omega _2,\Omega _4\). To demonstrate the robustness of the proposed TFPM method, we present the numerical results with the resolution of \(64^2\), \(128^2\), \(256^2\) and \(512^2\) in this example. See Figs. 11, 12. The TFPM can capture fast changes at the interfaces. The corresponding CPU time for each resolution also be reported in Table 2.
4 Conclusion
TFPM for anisotropic and strong discontinuous diffusivity problems on distorted meshes is constructed in this paper. First of all, the computational domain is divided into unstructured cells, inside each cell, the diffusion coefficients are approximated by piecewise linear functions. Then special solutions to an approximated constant coefficient advection-diffusion equation are used to construct the discrete analog of flux continuity equation. The local stencil makes it easy to code. The scheme can achieve second order convergence for problems with or without material discontinuities. Compared with MFDM, the number of unknowns are the same, both methods use properties of continuum solutions and seem robust for distorted meshes, it is interesting to investigate the relation between the two approaches, which will be our future work.
The new discrete scheme is an edge-centered scheme. The function values at the cell centers or vertexes or other auxiliary unknowns are not needed to construct the discrete normal flux. The out normal flux of each cell can be expressed by the unknowns at cell edge centers of the local cell, while no information from adjacent cells is needed. So it is suitable for problems with interfaces and for meshes with complex geometry. Numerical examples show that the order of convergence for the TFPM is about 2. No decreasing of convergence order is observed when the skewed meshes and trapezoidal meshes are refined. Since we are considering the distorted meshes, the convergence order analysis is difficult for general 2D case. We give a second order convergence proof for a 1D TFPM in appendix. We would like to emphasize two aspects that the 1D proof may inspire:
-
By letting \(h_i\) be the length of the ith mesh, the convergence order is independent of \(\max \{h_i\} /\min \{h_i\}\). This implies that very non-uniform meshes do not ruin the convergence order. Most classical numerical methods like finite element, finite volume etc., the convergence order depends on the ratio \(\max \{h_i\}/\min \{h_i\}\) [7, 22].
-
It is not easy to construct functions that exactly satisfy \(-\nabla \cdot ({\bar{K}}\nabla {\bar{u}})|_{\Omega _i}={\bar{f}}|_{\Omega _i}\). So we use some approximations to \(\nabla \cdot ({\bar{K}}\nabla {\bar{u}})|_{\Omega _i}\) and \({\bar{f}}|_{\Omega _i}\). The terms dropped in Eq. (8) and in \({\bar{f}}|_{\Omega _i}\) are terms at O(h). We can understand from the 1D convergence order analysis that why second order convergence remains after dropping these terms.
We are not able to prove analytically the second order convergence of TFPM for general 2D distorted meshes in this current paper, but it will be our future work.
Higher order extension of the TFPM is possible, but more unknowns at each cell edge are needed (values at other points or the solution derivatives at the cell edge). The fourth order long-stencil finite difference algorithm has used larger stencil [44, 45] and the higher order version of TFPM would be different from fourth order long-stencil finite difference.
5 CRediT Authorship Contribution Statement
Min Tang: Conceptualization, Methodology, Validation, Writing-original draft, Writing -review & editing. Lina Chang: Software, Validation, Writing-review & editing. Yihong Wang: Investigation, Methodology, Validation, Software, Writing-original draft, Writing -review & editing.
References
Ashby, S.F., Bosl, W.J., Falgout, R.D., Smith, S.G., Tompson, A.F., Williams, T.J.: A numerical simulation of groundwater flow and contaminant transport on the CRAY T3D and C90 Supercomputers. Int. J. High Perform. Comput. Appl. 13(1), 80–93 (1999)
van Esa, Bram, Koren, Barry, de Blank, Hugo J.: Finite-difference schemes for anisotropic diffusion. J. Comput. Phys. 272, 526–549 (2014)
G\(\ddot{u}\)nter, S., Yu, Q., Kr\(\ddot{u}\)ger, J. et al.: Modelling of heat transport in magnetised plasmas using non-aligned coordinates, J. Comput. Phys., 209 (2005) 354-370
Galperin, B., Sukoriansky, S.: Geophysical flows with anisotropic turbulence and dispersive waves: flows with stable stratification. Ocean Dyn. 60, 1319–1337 (2010)
Yuan, G.W., Sheng, Z.Q.: Monotone finite volume schemes for diffusion equations on polygonal meshes. J. Comput. Phys. 227(12), 6288–6312 (2008)
Barth, T.J., Ohlberger, M.: Finite volume methods: foundation and analysis E. Stein, R. de Borst, T. Hudges (Eds.), Encyclopedia of Computational Mechanics, John Wiley and Sons Ltd. (2004)
Droniou, J.: Finite volume schemes for diffusion equations: introduction to and review of modern methods. Math. Models Methods Appl. Sci. 24(8), 1575–1619 (2014)
Herbin, R., Hubert, F.: Benchmark on Discretization Schemes for Anisotropic Diffusion Problems on General Grids. Finite volumes for complex applications V, France (2008)
Droniou, J., Eymard, R.: A mixed finite volume scheme for anisotropic diffusion problems on any grid. Numer. Math. 105(1), 35–71 (2006)
Edwards, M.G., Rogers, C.F.: Finite volume discretization with imposed flux continuity for the general tensor pressure equation. Comput. Geosci. 2, 259–290 (1998)
Eymard, R., Gallou\(\ddot{e}\)t, T., Herbin, R.: A cell-centred finite-volume approximation for anisotropic diffusion operators on unstructured meshes in any space dimension, IMA J. Numer. Anal. 26 (2006) 326-353
Eymard, R., Gallou\(\ddot{e}\)t, T., Herbin, R.: Discretization of heterogeneous and anisotropic diffusion problems on general nonconforming meshes, SUSHI:a scheme using stabilization and hybrid interfaces, IMA J. Numer. Anal. 30 (4), (2010) 1009-1043
Lipnikov, K., Shashkov, M., Svyatskiy, D., Vassilevski, Yu.: Monotone finite volume schemes for diffusion equations on unstructured triangular and shape-regular polygonal meshes regimes. J. Comput. Phys. 227, 492–512 (2007)
Lipnikov, K., Svyatskiy, D., Vassilevski, Y.: A monotone finite volume method for advection-diffusion equations on unstructured polygonal meshes. J. Comput. Phys. 229, 4017–4032 (2010)
Sheng, Z.Q., Yue, J.Y., Yuan, G.W.: Monotone finite volume schemes of nonequilibrium radiation diffusion equations on distorted meshes. SIAM J. Sci. Comput. 31(4), 2915–2934 (2009)
Sheng, Z.Q., Yuan, G.W.: A new nonlinear finite volume scheme preserving positivity for diffusion equations. J. Comput. Phys. 315, 182–193 (2016)
Wu, J., Gao, Z.: Interpolation-based second-order monotone finite volume schemes for anisotropic diffusion equations on general grids. J. Comput. Phys. 275, 569–588 (2014)
Arnold, D.N.: An interior penalty finite element method with discontinuous elements. SIAM J. Numer. Anal. 19, 742–760 (1982)
Ern, A., Stephansen, A.F., Zunino, P.: A discontinuous Galerkin method with weighted averages for advection-diffusion equations with locally small and anisotropic diffusivity. IMA J. Numer. Anal. 29, 235–256 (2009)
Zhang, X.P., Su, S., Wu, J.M.: A vertex-centered and positivity-preserving scheme for anisotropic diffusion problems on arbitrary polygonal grids. J. Comput. Phys. 344, 419–436 (2017)
Arnold, D.N., Boffi, D., Falk, R.S., Gastaldi, L.: Finite element approximation on quadrilateral meshes. Comm. Numer. Methods Engrg. 17, 805–812 (2001)
Arnold, D.N., Boffi, D., Falk, R.S.: Approximation by quadrilateral finite elements. Math. Comp. 239, 909–922 (2002)
Hou, T.Y., Wu, X.H.: A multiscale finite element method for elliptic problems in composite materials and porous media. J. Comput. Phys. 134, 169–189 (1997)
Li, X., Huang, W.: An anisotropic mesh adaptation method for the finite element solution of heterogeneous anisotropic diffusion problems. J. Comput. Phys. 229, 8072–8094 (2010)
Pasdunkorale, J., Turner, I.W.: A second order control-volume finite-element least-squares strategy for simulating diffusion in strongly anisotropic media. J. Comput. Math. 23, 1–16 (2005)
Rajendran, S.: A technicque to develop mesh-distortion immune finite elements. Comput. Methods Appl. Mech. Eng. 199, 1044–1063 (2010)
Cen, S., Zhou, M. J., Shang, Y.: Shape-Free Finite Element Method: Another Way between Mesh and Mesh-Free Methods, Math. Probl. Eng. (2013) Article ID 491626
Kuznetsov, Y., Repin, S.: Convergence analysis and error estimates for mixed finite element method on distorted meshes. J. Numer. Math. 13(1), 33–51 (2005)
Droniou, J., Eymard, R., Gallout, T., Herbin, R.: A unified approach to mimetic finite difference, hybrid finite volume and mixed finite volume methods. Math. Models. Meth. Appl. Sci. 20(2), 265–295 (2008)
G\(\ddot{u}\)nter, S., Lackner, K.: A mixed implicit-explicit finite difference scheme for heat transport in magnetised plasmas, J. Comput. Phys., 2 (2009) 282-293
Gyrya, V., Lipnikov, K.: The arbitrary order mimetic finite difference method for a diffusion equation with a non-symmetric diffusion tensor. J. Comput. Phys. 348, 549–566 (2017)
Hyman, J., Shashkov, M., Steinberg, S.: The numerical solution of diffusion problems in strongly heterogeneous non-isotropic materials. J. Comput. Phys. 132, 130–148 (1997)
Hyman, J., Morel, J., Shashkov, M., Steinberg, S.: Mimetic finite difference methods for diffusion equations. Comput. Geosci. 6, 333–352 (2002)
Han, H., Huang, Z., Kellogg, B.: A Tailored finite point method for a singular perturbation problem on an unbounded domain. J. Sci. Comp. 36, 243–261 (2008)
Han, H., Huang, Z.Y.: Tailored finite point method for a singular perturbation problem with variable coefficients in two dimensions. J. Sci. Comput. 49, 200–220 (2009)
Han, H., Huang, Z.Y.: Tailored finite point method for steady-state reaction-diffusion equation. Commun. Math. Sci. 8, 887–899 (2010)
Han, H., Huang, Z.Y.: Tailored finite point method based on exponential bases for convection-diffusion-reaction equation. Math. Comput. 82, 213–226 (2013)
Han, H., Huang, Z.Y., Ying, W.J.: A Semi-discrete tailored finite point method for a class of anisotropic diffusion problems. Comput. Math. Appl. 65, 1760–1774 (2013)
Huang, Z., Li, Y.: Monotone finite pointmethod foe non-equilibriumradiation diffusion equations. BIT Numer. Math. 56, 659–679 (2016)
Huang, Z., Yang, Y.: Tailored finite point method for parabolic problems. Comput. Meth. Appl. Math. 16, 543–562 (2016)
Tang, M., Wang, Y.H.: Uniform convergent tailored finite point method for advection-diffusion equation with discontinuous, anisotropic and vanishing diffusivity. J. Sci. Comput. 70(1), 272–300 (2017)
Breil, J., Maire, P.H.: A cell-centered diffusion scheme on two-dimensional unstructured meshes. J. Comput. Phys. 224, 785–823 (2007)
Shashkov, M., Steinberg, S.: Solving diffusion equations with rough coefficients in rough grids. J. Comp. Phys. 129, 383–405 (1996)
Cheng, K., Feng, W., Wang, C., Wise, S.M.: An energy stable fourth order finite difference scheme for the Cahn-Hilliard equation. J. Comput. Appl. Math. 362, 574–595 (2019)
Liu, J.G., Wang, C., Johnston, H.: A fourth order scheme for incompressible boussinesq equations. J. Sci. Comput. 18(2), 253–285 (2003)
Acknowledgements
The authors thank the anonymous reviewers for their careful readings and useful suggestions.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
M. Tang: This author is partially supported by NSFC 11301336 and 91330203.
Y. Wang: This author is partially supported by NSFC 11901393 and Natural Science Fund of Shanghai under the grant 19ZR1436300.
Appendix: Convergence Analysis for 1D Case
Appendix: Convergence Analysis for 1D Case
We give the convergence order analysis for the 1D case to present the main ideas of the convergence order analysis.
1.1 1D TFPM
Let the computational domain be [0, L] and \(K(x)\in C^1[0,L]\) be a scalar function that satisfies \(0<\zeta _1<K_1(x)<\zeta _2\), we consider the following 1D diffusion equation:
In this subsection, without any confusion, we use the same notations for the diffusion coefficient and solution as for 2D TFPM.
Let the stencil be as in Fig. 13. The interval [0, L] is divided into I sub-intervals that are denoted by \(L_i=[x_{i-1},x_i]\) with \(i=1,2,\cdots , I\) and \(x_0=0\), \(x_I=L\). Let \(x_{i-1/2}=\frac{x_{i}+x_{i-1}}{2}\) be the center of \(L_i\) and \(h_i=x_i-x_{i-1}\) be the length of ith interval. On \(L_i\), (31) can be approximated by
where
and
Piecing \({\bar{K}}_i(x)\) together gives \({\bar{K}}\in C[0,L]\). If we piece \({\bar{u}}|_{L_i}\) together by the continuity of \({\bar{u}}\) and \({\bar{K}}(x)\partial _x{\bar{u}}\) at the grid points, we find an approximation to the solution of (31).
Let
Then for any constants \(c_{1i}\), \(c_{2i}\), \(u_{hi}(x)=\sum _{k=1}^2 c_{ki}W_{k,i}(x)+{{\tilde{v}}}_i(x)\) exactly satisfies
Here \(c_{1i}\), \(c_{2i}\) can be determined by the interface conditions:
That is
Combing the boundary conditions \(u_{h1}(0)=u_0\), \(u_{hI}(L)=u_L\) and interface conditions (38), we get a linear system of 2I equations and the coefficients \(c_{1i}\), \(c_{2i}\) can be determined. Piecing together all \(u_{hi}\), we find an approximation to the solution of (31).
1.2 Error Estimate for 1D TFPM
We give an \(L^2\) error estimate for the above proposed 1D TFPM. We emphasis that the proof does not depend on the ration between \(\max _i \{h_i\}\) and \(\min _i \{h_i\}\). Assume that \(h=\max _i \{h_i\}\). u satisfies (31), \(u_h\) is the solution to the 1D TFPM, then
where
-
\({\bar{u}}\in C^1[0,L]\) and satisfies (32) in each interval \(L_i\). The boundary conditions are \({\bar{u}}(0)=u(0)\), \({\bar{u}}(L)=u(L)\).
-
For all \(i=1,2 \cdots I\), \({\bar{u}}_h|_{L_i}={\bar{u}}_{hi}=\sum _{k=1}^{2}{\bar{c}}_{k,i} W_{k,i}+{\tilde{v}}_i\) with \(W_{k,i}\), \({{\tilde{v}}}_i\) being as in (35). \({\bar{c}}_{k,i}\) are constants that are determined by the following boundary conditions: \(\partial _x{\bar{u}}_{hi}|_{x_{i}}=\partial _x{\bar{u}}_i|_{x_{i}}\), and \({\bar{u}}_{hi}({x_{i}})={\bar{u}}_i({x_{i}})\).
-
\(u_h\) is the solution to the 1D TFPM.
We prove that each of the three terms \(\Vert u-{\bar{u}}\Vert _{2}\), \(\Vert {\bar{u}}-{\bar{u}}_h\Vert _2\), \(\Vert {\bar{u}}_h- u_h\Vert _2\) can be controlled by \(Ch^2\) in the subsequent part.
1.2.1 Bound for \(\Vert u-{\bar{u}}\Vert _2\)
From the definitions of \(f_i\) and \(f_{xi}\) in (34), when \(f(x)|_{L_i}\in C^2(L_i)\) for all \(i\in \{1,\cdots , I\}\), \(f(x)|_{L_i}={\bar{f}}_i+O(h_i^2)\). Then
That is \(\Vert f-{\bar{f}}\Vert _2\le C h^2\). Similarly, \(\Vert K-{\bar{K}}\Vert _2<Ch^2\). We have the following lemma:
Lemma 1
Let \(w=u-{\bar{u}}\), then
where C is a constant independent of h.
Proof
Multiplying both sides of Eq. (31) by w and integrating over [0, L], from \(w\in C^1[0,L]\) and \(w(0)=w(L)=0\), one gets
Similarly, from Eq. (32),
Subtracting (42) from (41) yields
where the last inequality is from Holder’s inequality. Since \(w\in C^1[0,L]\), \(w(0)=w(L)=0\), from Friedrichs inequality we have \(\Vert w\Vert _2\le C\Vert \partial _x w\Vert _2\). Therefore there exists C independent of h that satisfies
Then Friedrichs inequality gives
\(\square \)
1.2.2 Bound for \(\Vert {\bar{u}}-{\bar{u}}_h\Vert _2\)
Let \(u_h|_{L_i}=u_{hi}\), then \({\bar{u}}_{hi}\) satisfies
Then
with
Since \(\frac{1}{h_i}\int _{L_i}x \, \mathrm{d} x=x_{i-1/2}\) and \({\bar{u}}_{hi}\in C^\infty (L_i)\), we have
The difference between \({\bar{u}}\) and \({\bar{u}}_h\) is given by the following lemma:
Lemma 2
Let \({\bar{w}}={\bar{u}}-{\bar{u}}_h\), then \({\bar{w}}_i={\bar{w}}|_{L_i}\in C^2(L_i)\) satisfies
where C is a constant independent of \(h_i\).
Proof
Since \(\partial _x{\bar{u}}_{hi}|_{x_{i}}=\partial _x{\bar{u}}_{i}|_{x_{i}}\), \({\bar{u}}_{hi}({x_{i}})={\bar{u}}_{i}({x_{i}})\), we have \(\partial _x{\bar{w}}_i|_{x_{i}}=0\), \({\bar{w}}_i({x_{i}})=0\). It is easy to check that \({\bar{w}}_i\in C^2(L_i)\), then \(\partial _x{\bar{w}}_i(x)=\partial _x{\bar{w}}_i(x_i)+(x-x_i)\partial ^2_x{\bar{w}}(\xi )=(x-x_i)\partial ^2_x{\bar{w}}(\xi ) \) for some \(\xi \in L_i\). (32) and (45) indicates that \(\Vert k_i\partial ^2 _x{\bar{w}}_i+k_{xi}\partial _x{\bar{w}}_i\Vert _{L^\infty }<Ch_i\), thus \(\Vert \partial ^2 _x{\bar{w}}_i\Vert _{L^\infty }<Ch_i\), and \(\Vert \partial _x{\bar{w}}_i\Vert _{L^\infty }<Ch_i^2\). From \({\bar{w}}_i|_{x_{i}}=0\), \(\partial _x{\bar{w}}_i(x_i)=0\), we have \({\bar{w}}_i={\bar{w}}_i(x_i)+h_i\partial _x{\bar{w}}_i(x_i)+h_i^2\partial _x^2{\bar{w}}_i(\xi )=h_i^2\partial _x^2{\bar{w}}(\xi )\) and thus \(\Vert {\bar{w}}_i\Vert _{L^\infty }<Ch_i^3\). On the other hand, (32) and (45) gives
Integrating over \(L_i\) we find
Together with \(\partial _x{\bar{w}}_i|_{x_{i}}=0\), we obtain
\(\square \)
1.2.3 Bound for \(\Vert {\bar{u}}_{h}-u_h\Vert _2\)
The function values \({\bar{u}}_{hi}(x_{i})\) and \({\bar{u}}_{hi+1}(x_{i})\) are not necessarily the same. Since \({\bar{u}}_{i+1}(x_{i})= {\bar{u}}_{i}(x_{i})\) and \(\big ({\bar{K}}_{i+1}\partial _x {\bar{u}}_{i+1}\big )|_{x_{i}}= \big ({\bar{K}}_{i}\partial _x{\bar{u}}_{i}\big )|_{x_{i}}\), we have
Then \({\bar{u}}_h|_{L_i}={\bar{u}}_{hi}=\sum _{k=1}^{2}{\bar{c}}_{k,i} W_{k,i}+{\tilde{v}}_i\) and satisfies the interface condition as in (50). At the boundary, \({\bar{u}}_{hI}(L)=u_L\), \({\bar{u}}_{h1}(0)={\bar{u}}(0)-{\bar{w}}(0)=u_0+O(h_1^3)\). The following lemma gives the distance between \({\bar{u}}_h\) and \(u_h\).
Lemma 3
Let \(w_h={\bar{u}}_h-u_h\), then \(w_{hi}(x)=w_h|_{L_i}\in C^\infty (L_i)\) and satisfies
where C is a constant independent of h.
Proof
For \(i=1,\cdots , I\), \(k_i\partial _x^2w_{hi}+k_{xi}\partial _xw_{hi}=0\). From (37) and (50), for \(i=1,\cdots , I-1\),
At the boundary \(w_{h}(L)=0\), \(w_h(0)=O(h_1^3)\). First of all, we show that there exists \(\xi \in [0,L]\) such that \(|\partial _xw_h(\xi )|\le Ch^2\). There are three situations:
-
For some \(j\in \{1,2,\cdots , I\}\), there exists \(\xi \in (x_{j-1},x_j)\) such that \(\partial _xw_{hj}(\xi )=0\).
-
For any given \(j\in \{1,\cdots , I\}\), \(\forall x\in L_j\), \(\partial _xw_{hj}(x)\) has the same sign, and there exists \(j\in \{1,\cdots , I-1\}\) such that
$$\begin{aligned} \partial _xw_{hj}(x_j)\partial _xw_{hj+1}(x_j)\le 0. \end{aligned}$$From (51) and the fact that \({\bar{K}}_i(x_i)={\bar{K}}_{i+1}(x_i)>0\), we find
$$\begin{aligned} |\partial _x w_{hj}(x_j)|\le Ch_{i+1}^3 \end{aligned}$$ -
For any given \(j\in \{1,\cdots , I\}\), \(\forall x\in L_j\), \(\partial _xw_{hj}(x)\) has the same sign and for all \(j\in \{1,\cdots , I-1\}\)
$$\begin{aligned} \partial _xw_{hj}(x_j)\partial _xw_{hj+1}(x_j)\ge 0. \end{aligned}$$Assume that for \(\forall i\in \{1,\cdots , I-1\}\), \(\partial _xw_{hi}(x_i)\ge 0\), \(\partial _xw_{hi+1}(x_i)\ge 0\), then \(w_{hi}(x_i)\ge w_{hi}(x_{i-1})\) for \(\forall i\in \{1,\cdots , I\}\) and
$$\begin{aligned} \Big |\sum _{i=1}^I\big ( w_{hi}(x_i)-w_{hi}(x_{i-1})\big )\Big |\ge \min _{i=1,\cdots ,I}\big |\partial _xw_{hi}(\xi _{i})\big |\sum _{i=1}^Ih_{i}, \end{aligned}$$where \(\xi _i\in L_i\) and satisfies \(w_{hi}(x_i)-w_{hi}(x_{i-1})=h_i\partial _xw_{hi}(\xi _i)\). On the other hand,
$$\begin{aligned} \begin{aligned} \Big |\sum _{i=1}^{I}\int _{L_i}\partial _x w_h \, \mathrm{d} x\Big |&=\Big |\sum _{i=1}^I\big ( w_{hi}(x_i)-w_{hi}(x_{i-1})\big )\Big |\\&=\Big |\sum _{i=1}^{I-1}\big (w_{hi}(x_i)-w_{hi+1}(x_i)\big )-w_{h1}(0)+w_{hI}(L)\Big |\\&\le C\sum _{i=1}^Ih_i^3. \end{aligned} \end{aligned}$$Similar results hold when \(\forall i\in \{1,\cdots , I-1\}\), \(\partial _xw_{hi}(x_i)\le 0\), \(\partial _xw_{hi+1}(x_i)\le 0.\) Thus
$$\begin{aligned} \min _{i=1,\cdots ,I}|\partial _xw_{hi}(\xi _i)|<Ch.^2 \end{aligned}$$
We have shown that there exists \(\xi \in L_s\), such that \(\big |\partial _xw_h(\xi )\big |\le Ch^2\), we then prove by induction that \(\forall x\in [0,L]\), \(\big |\partial _xw_h(x)\big |<Ch^2\). We first consider the interval \([\xi ,x_{s}]\). Since \(|\partial _xw_h(\xi )|\le Ch^2\) and \(k_s\partial _x^2w_h(\xi )+k_{xs}\partial _xw_h(\xi )=0\), we have \(|\partial _x^2w_h(\xi )|\le Ch^2\). Let
then for \(\forall x\in [\xi ,x_s]\),
where \(\xi '\in [\xi ,x]\). Then for \(\forall x\in [\xi ,x_s]\),
where we have used \(k_s\partial _x^3w_h(\eta _s)+k_{xs}\partial ^2_xw_h(\eta _s)=0\) in the second equality. Since \({\bar{K}}_s(x_s)={\bar{K}}_{s+1}(x_s)\), we have \(\partial _xw_{hs}(x_s)-\partial _xw_{hs+1}(x_s)=O(h_{s+1}^3)\) from (51), then
Similar discussions for the interval \(L_{s+1}\), we get
and
By induction, we find for \(\forall s'\in \{s+1,\cdots ,I\}\) and \(\forall x\in L_{s'}\),
Since the geometrical mean is less than the arithmetic mean, we have for arbitrary \(s_1,s_2\in \{s,s+1,\cdots ,I\}\) and \(s_1<s_2\),
where C is a constants independent of I and \(h_i\). Then (52) gives that for \(\forall x\in [\xi ,L]\), \(\big |\partial _xw_{h}(x)\big |<Ch^2\). Similar result holds for the interval \([0,\xi ]\) and we find \(\Vert \partial _xw_h\Vert _{\infty }\le Ch^2\). Then since \(w_h(L)=0\), it is easy to check \(\Vert w_h\Vert _\infty \le Ch^2\) by induction. \(\square \)
Rights and permissions
About this article
Cite this article
Tang, M., Chang, L. & Wang, Y. Tailored Finite Point Method for Diffusion Equations with Interfaces on Distorted Meshes. J Sci Comput 90, 65 (2022). https://doi.org/10.1007/s10915-021-01717-3
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-021-01717-3