Abstract
We consider a slightly modified local finite-volume approximation of the Laplacian operator originally proposed by Chandrashekar (Int J Adv Eng Sci Appl Math 8(3):174–193, 2016, https://doi.org/10.1007/s12572-015-0160-z). The goal is to prove consistency and convergence of the approximation on unstructured grids. Consequently, we propose a semi-discrete scheme for the heat equation augmented with Dirichlet, Neumann and Robin boundary conditions. By deriving a priori estimates for the numerical solution, we prove that it converges weakly, and subsequently strongly, to a weak solution of the original problem. A numerical simulation demonstrates that the scheme converges with a second-order rate.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The compressible Navier–Stokes equations are the foundation of computational fluid dynamics (CFD) for modelling the flow of viscous compressible fluids. Consequently, numerical methods for approximating their solutions are vastly studied. For a numerical scheme to yield a convergent sequence of approximate solutions, it must be a stable discretisation of the well-posed continuous problem. For linear partial differential equations (PDEs), the energy method, which depends heavily on integration by parts (IBP), is often used to prove well-posedness. In the (semi-)discrete setting, analogous stability proofs can be obtained by using the discrete energy method, where IBP is mimicked using summation-by-parts (SBP). Numerical methods formulated to satisfy the SBP property are thus frequently used for various PDEs, including CFD problems (see e.g. [6, 9, 24, 31, 32]).
Different numerical methods can be formulated in the SBP framework. These include the finite-difference methods (see e.g. [20, 21, 28]), the finite-volume methods (see e.g. [7, 23, 29]) and the discontinuous Galerkin spectral element methods (see e.g. [12]). The latter two may be formulated on unstructured grids, that are sometimes preferred for domains with complex geometries.
Herein, we focus the attention on local finite-volume methods that only use nearest neighbours to approximate the derivatives. These are still the workhorse methods in production CFD, due to their simplicity and robustness, and since the local structure allows for easier parallelisation. A well-known drawback is however the difficulty of finding consistent second-derivative approximations, which hampers their usability for the compressible Navier–Stokes equations. It was, for example, shown in [29] that a commonly used edge-based approximation is inconsistent on general unstructured grids. Although proofs of convergence exist for finite-volume methods, they often rely on admissible meshes (in the sense of Def. 3.1 in [11], see e.g. [3, 13]), that require normal derivative approximations at volume faces to be orthogonal to the face. This severely constrains mesh generation. Hence, it is desirable to design a local finite-volume scheme that runs on standard unstructured grids such as Delaunay triangulations.
In the interest of accurately discretising the viscous terms of the compressible Navier–Stokes equations on such grids, we study the Laplacian approximation proposed by Chandrashekar in [7]. His approximation incorporated the Dirichlet boundary conditions weakly, and the resulting operator was shown to satisfy the SBP property. The approximation was then used to discretise the heat equation, and numerical experiments showed that the scheme converged with second-order rate on triangulated grids.
In this work, we slightly modify the Laplacian operator from [7], by not including any boundary conditions directly in the operator. We mimic the proof of Chandrashekar, and demonstrate that the modified operator maintain the SBP property proved in [7]. To study the consistency and convergence of the Laplacian approximation, we use the heat equation as a model equation. We propose a numerical scheme for this equation where the Dirichlet boundary conditions are imposed strongly by injection (see e.g. [16] for more information about this technique), and the Neumann and Robin boundary coditions are imposed weakly similar to [7]. This approach is analogous to the one used in [15] to prove both linear and non-linear stability for the compressible Navier–Stokes equations augmented with the no-slip adiabatic wall boundary conditions on structured grids.
The main goal herein is to mathematically prove the convergence of the proposed scheme for the heat equation, thus also proving the consistency, in a weak sense, of the second-derivative approximation. By utilising the SBP properties of the Laplacian operator, we find a priori \(H^1\) estimates for the numerical solution. These estimates guarantee that the numerical solution converges weakly (up to a subsequence) to a weak solution of the heat equation. Furthermore, we show that the numerical solution converges strongly by employing Aubin–Lions’ lemma, and subsequently show that the weak solution is unique. The present proof is valid for general triangular grids with Lipschitz boundaries, and does not require admissible meshes. By using the method of manufactured solutions, we verify by a numerical experiment that the scheme is convergent.
Remark 1.1
To the best of our knowledge, this is the first convergence proof for a local finite-volume method for the second-derivative that does not require admissible meshes. We note that some multi-point flux approximations (MPFA) finite-volume methods have been proven convergent by identifying them as mixed finite-element approximations (see e.g. [2, 18]).
The proof presented herein is also easily adapted to weakly imposed boundary conditions. Stability for such a scheme for the heat equation was established in [7], and herein we show that injected Dirichlet boundary conditions also yield a stable scheme. That is, both approaches are applicable, and we have chosen the strong imposition to provide an alternative.
The paper is further organised as follows. Section 2 defines the problem, whereas a priori estimates for the continuous solution are found in Sect. 3. In Sect. 4 we state the weak formulation of the problem. Section 5 concerns the spatial discretisation and provides the proof of the slightly altered Laplacian operator being SBP. In Sect. 6, the numerical scheme that approximates our problem is stated. Furthermore, the SBP properties of the Laplacian operator are utilised to obtain discrete a priori estimates similar to those found for the continuous solution. Using these estimates, we show in Sect. 7 that the approximate solution obtained by the proposed numerical scheme converges weakly to a weak solution of the original problem. Furthermore, we show in Sect. 8 that the solution indeed converges strongly by using Aubin–Lions’ lemma. The solution is subsequently shown to be unique in Sect. 9. Finally, Sect. 10 provides a numerical example that demonstrates the convergence of the scheme.
2 Problem Statement
Consider the heat equation on a two-dimensional open polygonal Lipschitz domain, \(\Omega \), with boundary \(\partial \Omega \):
The superscripts D, N, R indicate the Dirichlet, Neumann and Robin parts of the boundary with corresponding boundary data. We assume \(\partial \Omega ^D \cup \partial \Omega ^N \cup \partial \Omega ^R = \partial \Omega \), and \(\partial \Omega ^D \cap \partial \Omega ^N = \partial \Omega ^D \cap \partial \Omega ^R = \partial \Omega ^N \cap \partial \Omega ^R = \emptyset \). Furthermore, \(\varvec{n}\) denotes the outward unit normal vector, \(f \in L^2(\Omega )\) is the initial data, and \(\mu > 0\), \(\alpha \ge 0\) are constants. We take \(g^{\scriptscriptstyle D} \in H^1(0,T; H^{1/2}(\partial \Omega ^D))\) and \(g^{\scriptscriptstyle N,R} \in L^2(0,T;L^2(\partial \Omega ^{N,R}))\).
To simplify the forthcoming analysis, we define a function, w, such that \(w \in L^2(0,T;H^1(\Omega ))\) and \(w_t \in L^2(0,T;H^1(\Omega ))\), and \(w|_{\partial \Omega ^D} = g^{\scriptscriptstyle D}\) (in the sense of traces). By the trace theorem, we know there exists such a \(w \in H^1(\Omega )\) (see [1]). Lastly, we choose w to satisfy \(w|_{t=0} = f\), and
Then, by introducing \(u = v-w\) (see e.g. [1, 17]), (1) can be recast to
Here,
is a forcing function.
Remark 2.1
We could have made all boundary conditions homogeneous by defining w differently. However, we choose non-zero Neumann and Robin data to keep the regularity assumptions on the boundary data to a minimum.
3 A Priori Estimates for the Continuous Problem
To obtain a priori estimates on u, we use the energy method (see e.g. [17]). By inserting F given in (4) into (3a) and integrating by parts, we obtain
Using Cauchy–Schwarz’s and Young’s inequality on the first integral on the right-hand side, we obtain
By choosing \(\epsilon = 1\), the term \( - \mu \Vert \nabla u\Vert ^2_{L^2(\Omega )} + \tfrac{\epsilon }{2} \mu \Vert \nabla u\Vert ^2_{L^2(\Omega )} = -\tfrac{\mu }{2} \Vert \nabla u\Vert ^2_{L^2(\Omega )}\). Since \(\epsilon \) is now determined, \(\tfrac{1}{2 \epsilon } \mu \Vert \nabla w\Vert ^2_{L^2(\Omega )} = \tfrac{\mu }{2}\Vert \nabla w\Vert ^2_{L^2(\Omega )}\), which is bounded by definition. Hence, (5) reads
Inserting the boundary conditions for w and u given in (2) and (3b)–(3d), respectively, we obtain
Consider the underlined boundary terms above. We follow [19], and bound these terms by first using the Cauchy–Schwarz inequality:
and then by using the trace theorem, which states that \(\Vert u\Vert _{L^2(\partial \Omega )} \le C \Vert u\Vert _{H^1(\Omega )}\), \(C>0\) (see e.g. [1]):
Here, we have introduced the notation \(a \lesssim b\) for \(a \le Cb\), where \(C > 0\) is a constant.
By employing Young’s inequality, the boundary terms (7) finally read
The preliminary estimate (6), can then be stated as
The last term on the right-hand side is negative semi-definite, since \(\alpha \ge 0\). We neglect it in the remaining analysis. Hence we have
Consider the three last terms on the left-hand side of the above inequality. By adding and subtracting \(\tfrac{\mu }{2} \Vert u\Vert ^2_{L^2(\Omega )}\), they can be rewritten as
By choosing \(\beta \) sufficiently small \(\tfrac{\mu - \beta }{2} \Vert u\Vert ^2_{H^1(\Omega )} \ge \tfrac{\mu - \beta }{2} \Vert u\Vert ^2_{L^2(\Omega )} \ge 0\). From (8) we then have
Employing Grönwall’s inequality (see e.g. [10]), we obtain
The inequality holds for all \(0 \le t \le T\). In Sect. 2 we defined \(w \in L^2(0,T;H^1(\Omega ))\), \(w_t \in L^2(0,T;H^1(\Omega ))\) and \(g^{\scriptscriptstyle N,R} \in L^2(0,T;L^2(\partial \Omega ^{N,R}))\). Using this, we find that the right-hand side of the above inequality is bounded. Thus, \(u \in L^\infty (0,T;L^2(\Omega ))\). Lastly, we integrate (8) in time to obtain
where we have used \(u|_{t=0} \equiv 0\) in the last step. Since \(\int _0^T \Vert u(\cdot , \cdot , t)\Vert ^2 \, dt \le constant\), we observe from this inequality that \(\nabla u \in L^2(0,T; L^2(\Omega ))\), and thus we have \(u \in L^2(0,T;H^1(\Omega ))\).
4 Weak Formulation of the Heat Equation
Next, we derive the weak formulation of (3). Let \(H^1_{\partial \Omega ^D_0}(\Omega )\) denote the space of \(H^1\) functions vanishing at the Dirichlet boundary. Furthermore, let \(\phi \in H^1(0,T; H_{\partial \Omega ^D_0}^1(\Omega ))\) be a test function that satisfies \(\phi (\textbf{x}, T) = 0\), \(\textbf{x}\in \Omega \). Multiply (3a) by \(\phi \) and integrate over \(\Omega \).
Integrating by parts and inserting the boundary conditions given in (3b)–(3d), give
where we have used \(\phi |_{\partial \Omega ^D} = 0\). Using \(\phi |_{t=T} = 0\), \(u|_{t=0} = 0\) and partially integrating the left-hand side in time further yields the weak form of (3):
where F given by (4) satisfies
Remark 4.1
Since the forcing function is not the main focus of this work, we use \(\int _\Omega \phi F \, d\textbf{x}\) as short-hand notation for (12) and make comments about it where necessary.
Remark 4.2
From (12), we see that \(w \in H^1(\Omega )\) is sufficient to bound the two first integrals on the right-hand side. Furthermore, the regularity of \(w_t\) is determined by the regularity of the boundary data (see e.g. [17]). Thus, for \(\gamma (w_t) = g_t^{\scriptscriptstyle D}\) to be satisfied (where \(\gamma \) is the trace function), we must have \(w_t \in H^1(\Omega )\), and that is why we assumed that \(g^{\scriptscriptstyle D} \in H^1(0,T;H^{1/2}(\partial \Omega ^D))\) in Sect. 2.
Definition 4.3
A function u satisfying (11) is called a weak solution of the problem (3).
5 Spatial Discretisation
Let \(\bar{\Omega }_h\) be a discretisation of \(\bar{\Omega } = \Omega \cup \partial \Omega \) into non-overlapping triangles \(K_n\), \(n = 1, \ldots , N\) such that \(\bar{\Omega }_h = \cup _{n=1}^N K_n\), and such that there are no hanging nodes in \(\bar{\Omega }_h\). The grid functions are defined on the vertices of the triangles. Furthermore, subdivide \(\bar{\Omega }_h\) into a dual grid consisting of dual cells, \(V_i\), \( i = 1, \ldots , I\), such that \(\bar{\Omega }_h = \cup _{i=1}^I V_i\). The dual cells are polygons surrounding a vertex, i. A dual-volume boundary consists of straight lines drawn from the mid-point of an edge adjacent to grid point i to the centroid of the triangles adjacent to the grid point (see Fig. 1). (These are the dual volumes of the standard node-centred finite-volume method, see e.g. [22]). We introduce the notation
The discretisation of the problem (3) utilises the approximation of the Laplacian and gradient operator proposed in [7] for the interior scheme. For triangles having at least one edge along the Dirichlet boundary, the Dirichlet condition was incorporated weakly in the gradient operator in [7]. Here, we use the approximation for interior triangles for every triangle in the grid. The approximation is given by
where \(|K_n|\) is the area of triangle \(K_n\); i, j, k are the vertices of the triangle, and \(\hat{\varvec{n}}^n_{i,j,k}\) are the outward pointing normal vectors of the triangle, opposite of the particular node (see Fig. 2). The length of the normal vectors, \(\hat{\varvec{n}}^n_{i,j,k}\), is equal to the length of the adjacent edge.
Next, we introduce the following notation.
Then the approximation of the Laplacian on a dual volume is found by approximating (see [7])
by
Here, \(\hat{\varvec{b}}(e)\) denotes the outward pointing normal vector at boundary edge e (see Fig. 3a). The superscript n(e) signifies the triangle that has the boundary edge e. The components of the approximation (15) is depicted in Fig. 3b.
The approximation of the Laplacian (15) with Dirichlet boundary conditions taken into account, was demonstrated to satisfy the Summation-by-Parts (SBP) property in Theorem 1 in [7]. Here, we state the analogous result without any boundary conditions.
Theorem 5.1
Let \(u^h\) and \(v^h\) be two grid functions defined on \(\bar{\Omega }_h\) such that \(u^h = (u_1, u_2, \ldots , u_I)\), and correspondingly for \(v^h\). Then the discrete approximation of the Laplacian operator (15) satisfies the SBP property
where the subscripts \(\{i,1\}\) and \(\{i,2\}\) indicate the two edges adjacent to the boundary node i.
Proof
Multiply Eq. (15) by \(v_i V_i\) and sum over all vertices in the grid.
In the second equality, we have used that the set \(E_i\) is empty for interior nodes.
For the first term in the above equation, we change the order of summation and move \(\nabla _h u^n\) outside the summation over the vertices of a triangle \(K_n\) in (16), to obtain
For the boundary nodes, we have
With (17) and (18), (16) can be written as
In the last equality we have used the approximation of the gradient (13). \(\square \)
6 The Numerical Scheme and Discrete A Priori Estimates
To approximate the problem (1) we use (15) for the Laplacian approximation at the interior nodes. The Dirichlet condition is imposed strongly by injection (see e.g. [15, 16]). The Neumann and Robin conditions are imposed weakly in the same way as in [7]. That is, by replacing the last term of (14) with the boundary data, we approximate the Neumann and Robin boundaries by:
Remark 6.1
Imposing the Dirichlet condition by injection means in practice that the Dirichlet nodes are overwritten by the exact boundary data after each time step. (Equivalently, no equation is solved at these nodes, since u is equal to the boundary data.)
Remark 6.2
A boundary node is either of Dirichlet, Neumann or Robin type. The entire dual-cell boundary coinciding with the physical boundary is subsequently approximated as the same type as the boundary node, see Fig. 4. This means that in the junction between two boundary types, part of the computational boundary may be approximated as something different than the actual physical boundary. However, this is an \(\mathcal {O}(h)\) error of the boundary integral which tends to zero with decreasing mesh sizes. Note that this is only necessary for the Dirichlet nodes where the boundary conditions are injected. For Neumann and Robin nodes, we could split the outer dual-cell boundary into a Neumann and a Robin part since these boundary conditions are set weakly. However, in the scheme (19) below, we use the first approach to reduce notation.
The above choices lead to the following discrete approximation scheme of (1)
Remark 6.3
For readers familiar with the simultaneous approximation term (SAT) (see e.g. the review papers [8, 30]) we remark that the schemes for the Neumann and Robin nodes are equivalent to
where the SATs take the form
Remark 6.4
To simplify following energy analysis, we have defined the Dirichlet nodes in (19) as \((v_i)_t = (g^{\scriptscriptstyle D}_i)_t\). We emphasise that when implementing the scheme, the Dirichlet nodes should take the form \(v_i = g^{\scriptscriptstyle D}_i\) in order to avoid discretisation errors from the time-stepping algorithm.
As for the continuous problem, we transform the scheme (19) into one that imposes homogeneous Dirichlet boundary conditions. That is, we construct a function w as defined in Sect. 2 and introduce \(u = v-w\) (see again [1, 17]). Inserting \(v = u + w \) into the scheme (19), we obtain
where
Remark 6.5
By the Picard–Lindelöf theorem (see e.g. [25]), the ordinary differential equation (21) has a solution if the scheme is stable.
To obtain a priori estimates for the approximate solution \(u^h = (u_1, u_2, \ldots , u_I)\), we use the discrete energy method (see e.g. [17] for more details on the energy method). That is, we multiply the scheme (21) in each node, i, by \(u_i V_i\) and sum over all grid points.
Since \( \bar{\Omega }_h = \Omega _h^V \cup \partial \Omega _h^D \cup \partial \Omega _h^N \cup \partial \Omega _h^R\), and all the sets are disjoint, and since the scheme for the Dirichlet nodes is zero, the underlined terms amount to summing over all nodes in the grid. That is, the above is equivalent to
Using Theorem 5.1, we obtain
where we in the last inequality have used that \(\sum _{i \in \partial \Omega ^R_h} -\tfrac{1}{2} \alpha u_i^2 (|\hat{\varvec{b}}_{i,1}(e)| + |\hat{\varvec{b}}_{i,2}(e)|) \le 0\) since \(\alpha \ge 0\). We can further manipulate the Neumann boundary terms as follows
Using Young’s inequality, we obtain
The Robin boundary terms can be manipulated the same way. Thus, (23) reads
We introduce the following notation for the discrete equivalents of the \(L^2\)-norms:
Using the definitions (25)–(27), we can recast (24) as
To obtain an estimate analogous to (8), we must consider the forcing term \(\sum _{i \in \bar{\Omega }_h^V} u_i V_i F_i\). Except for the time-derivative term in (22), \(F_i\) takes the same form as the right-hand side of the scheme (21). By using the SBP property from Theorem 5.1 and Young’s inequality, we obtain
Thus, we have
Similarly as for the continuous problem, if we choose \(\epsilon = 1\), we obtain \(- \mu \Vert \nabla _h u^h\Vert ^2_{L^2_K(\Omega )} + \tfrac{\epsilon }{2} \mu \Vert \nabla _h u^h\Vert ^2_{L^2_K(\Omega )} = - \tfrac{\mu }{2} \Vert \nabla _h u^h\Vert ^2_{L^2_K(\Omega )}\) in (28). Furthermore, \(\beta \Vert u^h\Vert ^2_{L^2_B(\partial \Omega ^N_h)} + \frac{ \beta }{2} \Vert u^h\Vert ^2_{L^2_B(\partial \Omega ^R_h)} \lesssim \beta \Vert u^h\Vert ^2_{L^2_B(\partial \Omega )}\). Hence, we have
Finally using the trace theorem, we arrive at a similar estimate as in (8):
Note that we have arrived at a semi-discrete equivalent of (8). Thus, by using Grönnwall’s inequality followed by integration in time, as done in Sect. 3, we obtain \(u^h \in L^\infty (0,T;L^2_V(\Omega ))\) and \(\nabla _h u^h \in L^2(0,T;L^2_K(\Omega ))\). We may extend the numerical solution, \(u^h\), to the entire domain by a linear interpolation on the triangles. Let \(u^h_c\) denote this continuous piecewise linear function. We have that \(\nabla _h u^h_c = \nabla u^h_c = \nabla _h u^h\). Hence \(\nabla u^h_c \in L^2(0,T;L^2_K(\Omega ))\) (and also, \(\nabla u^h_c \in L^2(0,T;L^2(\Omega ))\) since \(\nabla u^h_c\) is piecewise constant). Furthermore, the norm \(\Vert u^h_c\Vert ^2_{L^2(\Omega )}\) can be bounded by \(\Vert u^h\Vert ^2_{L^2_V(\Omega )}\). Thus, we have \(u^h_c \in L^2(0,T;H^1(\Omega ))\).
7 Weak Convergence to a Weak Solution
Let \(\phi \in H^1(0,T; C^\infty _{\partial \Omega ^D_0}(\bar{\Omega }) )\). Since \(\phi \) is smooth (in space), \(\phi |_{V_i}\), which is the restriction of \(\phi \) to a dual cell, can be written as \(\phi |_{V_i} = \phi (x_i,y_i,t) + h p_i = \phi _i + h p_i\), where h is a characteristic mesh size and \(p_i(x_i, y_i, t)\) is a function of size \(\mathcal {O}(1)\). The gradient approximation (13) is \(\nabla _h \phi |_{K_n} = \nabla \phi |_{K_n} + \mathcal {O}(h)\). This can easily be checked for equilateral triangles. Thereafter, one can prove the relation for a general triangle by transforming it to an equilateral one using a linear transformation.
We denote the right-hand side of the scheme (21) by \(L_hu^h\). To prove convergence to a weak solution, we test the numerical scheme (21) against \(\phi \). That is, we calculate
We now use that \(\phi |_{V_i} = \phi _i + h p_i\) to obtain
where we have used \(u^h_t = L_h u^h\) in the last step. Thus
Inserting the specific form of \(L_h u^h\) (that is, the right-hand side of the scheme (21)) yields
Since \(\phi _i\) is constant on each dual cell, \(V_i\) and the Laplacian approximation is a scalar constant, the right-hand side above can be integrated exactly, leading to
As in the discrete analysis in Sect. 6, the underlined terms can be written as the sum over all grid points in \(\bar{\Omega }_h\) as follows
Using the SBP properties from Theorem 5.1 yields
Since \(\nabla _h \phi ^n\) and \(\nabla _h u^n\) are constant on each triangle K, we have that \(- \sum _{n \in \bar{\Omega }_h^K} \nabla _h \phi ^n \cdot \mu \nabla _h u^n |K_n| = - \sum _{n \in \bar{\Omega }_h^K} \int _{K_n} \nabla _h \phi ^h \cdot \mu \nabla _h u^h \, d\textbf{x}\). Thus, (36) can be written as
Partial integration in time yields
where we have used \(u^h|_{t=0} = 0\) and \(\phi ^h|_{t=T} = 0\).
Remark 7.1
Here, \(\int _\Omega \phi ^h F^h \, d\textbf{x}\) is the short-hand for the semi-discrete form of (12). By using the SBP property from Theorem 5.1, it can be written as
We keep the symbolic expression to reduce notation.
Since \(\phi |_{V_i} = \phi ^h|_{V_i} + hp_i\) and \(\nabla _h \phi |_{K_n} = \nabla \phi + \mathcal {O}(h)\), the weak formulation (37) becomes
We utilise the following functional analysis theorem (see e.g. [10], and [5] for a proof).
Theorem 7.2
Let \(\Omega _T \subset \mathbb {R}^n\) be an open domain and let \(\{u_n\} \in L^2(\Omega _T)\) be a bounded sequence. Then there exists a subsequence, \(\{u_{n_i}\} \in L^2(\Omega _T)\) that converges weakly to \(\bar{u} \in L^2(\Omega _T)\). That is,
Here, we take \(\Omega _T = \Omega \times [0,T]\). Consider the \(\mathcal {O}\)(1) term on the left-hand side of (39). Using Theorem 7.2, we have that
The other \(\mathcal {O}(1)\) terms can be treated in a similar way. Turning to the second term in (39), we have
as \(h \rightarrow 0\), since \(u^h \in L^\infty (0,T;L^2(\Omega ))\). Using the available bounds, similar arguments imply that \(\mathcal {O}(h) \mu \nabla _h u^h\), \(hpg^{{\scriptscriptstyle N},h}\), \(hpg^{{\scriptscriptstyle R},h}\), \(hpu^h\) and \(hpF^h\) vanish.
Remark 7.3
Since all terms in F (see (38)) are known and bounded in \(L^2(\Omega _T)\) (see the assumptions in Sect. 2), the weak convergence of the symbolic expression (38) follows trivially.
In summary, letting \(h \rightarrow 0\), (39) becomes
which is satisfied for all \(\phi \in H^1(0,T;C^\infty _{\partial \Omega _0^D}(\bar{\Omega }))\).
Remark 7.4
Note that the boundary integrals over the computational boundaries converge to the integrals over the physical boundaries as \(h \rightarrow 0\). That is,
as \(h \rightarrow 0\).
Remark 7.5
The term \(\int _\Omega \phi _t u^h \, d\textbf{x}\) in (39) satisfies
(this can be verified by using the specific form of \(u^h_c\) on each triangle). Since \(u^h_c \in H^1(\Omega )\), Theorem 7.2 gives
in \(H^1(\Omega )\). Thus, \(\overline{\nabla u} = \nabla \bar{u}\) in (40).
Theorem 7.6
Equation (40) holds for all \(\phi \in H^1(0,T;H^1_{\partial \Omega _0^D}(\Omega ))\).
Proof
Since the space \(H^1(0,T;C^\infty _{\partial \Omega ^D_0} (\bar{\Omega }))\) is dense in \(H^1(0,T;H^1_{\partial \Omega _0^D}(\Omega ))\) (see [1]), the equality (40) holds for all \(\phi \in H^1(0,T;H^1_{\partial \Omega _0^D} (\Omega ))\). \(\square \)
Hence, \(\bar{u}\) is a weak solution of the problem (3).
8 Strong Convergence to a Weak Solution
Next, we prove strong convergence to the weak solution.
Definition 8.1
(Strong convergence, [10]) A sequence \(\{u_n\}_{n=1}^\infty \subset X\) is said to converge to \(u \in X\), i.e., \(u_n \rightarrow u\), if \(\lim _{n \rightarrow \infty } \Vert u_n - u\Vert _X = 0\).
We also need the following definition.
Definition 8.2
[25, Definition 6.76] We say that a domain, \(\Omega \subset \mathbb {R}^d\), has the k-extension property if there exists a bounded linear mapping \(E: H^k(\Omega ) \rightarrow H^k(\mathbb {R}^d)\) such that \(Eu|_\Omega = u\) for every \(u \in H^k({\Omega }).\)
As we have assumed the spatial domain to be Lipschitz, the following result applies.
Theorem 8.3
(see e.g. [1] or [27]) Any Lipschitz domain has the k-extension property.
For a bounded domain, \(\Omega \), with the k-extension property, we have that \(H^1(\Omega )\) is compactly embedded in \(L^2(\Omega )\) (see e.g. [25]), which in turn is continuously embedded in \(H^{-1}(\Omega )\). To prove strong convergence, we need the Aubin–Lions Lemma:
Lemma 8.4
(Aubin–Lions, see e.g. [26]) Let X, B and Y be Banach spaces such that \(X \subset B \subset Y\), where the embedding, \(X \subset B\) is compact and \(B \subset Y\) is continuous. Let \(U = \{u \in L^p(0,T;X) \, | \, u_t \in L^q(0,T; Y)\}\), \(1 \le p,q < \infty \). Then U is compactly embedded in \(L^p(0,T;B)\).
A Banach space X is compactly embedded in another Banach space Y, if the following two conditions hold (see [10]):
-
(i)
\(\Vert u\Vert _Y \le \mathcal {C} \Vert u\Vert _X\), \((u \in X)\), for some constant \(\mathcal {C}\).
-
(ii)
each bounded sequence in X is precompact in Y, i.e., for a bounded sequence \(\{u_n\}_{n=1}^\infty \), there exists a subsequence, \(\{u_{n_i}\}_{n_i=1}^\infty \subseteq \{u_n\}_{n=1}^\infty \) that converges to a \(\bar{u}\) in Y.
Herein, we use \(X = H^1(\Omega )\), \(B = L^2(\Omega )\) and \(Y = H^{-1}(\Omega )\) in Lemma 8.4. Thus, since we have \(u^h_c \in L^2(0,T,H^1(\Omega ))\), it suffices to show that \((u^h_c)_t \in L^1(0,T;H^{-1}(\Omega ))\) to establish the strong convergence. That is, we need to show that the norm (see e.g. [25])
is bounded. To this end, we test the scheme (21) with a function \(\phi \in C_0^\infty (\bar{\Omega })\).
Note the resemblance to (29) (the only difference being the function \(\phi \) that is now vanishing on the whole boundary \(\partial \Omega \)). From derivations analogous to (30)–(35), we can recast the above equation to
By using \(\phi |_{\partial \Omega } = 0\) and the SBP property (see Theorem. 5.1) we have
Remark 8.5
Here, \(\int _{\Omega } \phi ^h F^h \, d\textbf{x}\) takes the same form as in Remark 7.1, except for the boundary term \(\int _{\partial \Omega ^R_h} \alpha \phi ^h w^h \, ds\) which is zero in (42) since \(\phi \) is vanishing on the entire boundary \(\partial \Omega \) in this case.
Inserting \(\phi = \phi ^h + hp\) and \(\nabla _h \phi = \nabla \phi + \mathcal {O}(h)\), we obtain
Since \(\nabla _h u^h \in L^2(0,T;L^2_K(\bar{\Omega }_h))\) and all terms of \(F^h\) are properly bounded (see the assumptions in Sect. 2), letting \(h \rightarrow 0\) yields
as \(\lim _{h \rightarrow 0} (\phi - hp) = \phi \). By inserting the specific form of \(\int _\Omega \phi \bar{F} \, d\textbf{x}\) and using the Cauchy–Schwarz inequality, we obtain
This holds for all \(\phi \in C^\infty _0(\bar{\Omega })\), and by density, it follows that the inequality holds for all \(\phi \in H^1_0(\Omega )\). Integration in time finally yields
Hence \(u_t^h \in L^1(0,T;H^{-1}(\Omega ))\), and since \((u^h_c)_t\) is \(u^h_t\) extended to the entire domain using a linear interpolant on the triangles, we also have \((u^h_c)_t \in L^1(0,T;H^{-1}(\Omega ))\). Thus, by Aubin–Lions’ lemma 8.4, the family of functions, \(U = \{u^h_c \in L^2(0,T; H^1(\Omega )) \, | \, (u^h_c)_t \in L^1(0,T; H^{-1}(\Omega ))\}\), is compactly embedded in \(L^2(0,T; L^2(\Omega ))\), meaning that \(u^h_c\) converges strongly to the weak solution.
9 Uniqueness of the Weak Solution
Assume that there are two weak solutions u, v to the problem (1) satisfying the boundary and initial data. Then \(w = u-v\) is also a weak solution with homogenous data (\(F = g^{\scriptscriptstyle D} = g^{\scriptscriptstyle N} = g^{\scriptscriptstyle R} \equiv 0\)). Take \(\phi = w\) in (10) to obtain
Integrating the right-hand side by parts, and using the fact that the boundary data is zero, we obtain
Hence, \(\Vert w\Vert _{L^2(0,T;L^2(\Omega ))} = \Vert u - v\Vert _{L^2(0,T;L^2(\Omega ))} = 0\) and thus the weak solution is unique in \(L^2(0,T; L^2(\Omega ))\).
10 Numerical Simulations
We implement the scheme (1) and consider the manufactured solution used in [7]. That is, the exact solution is given by
which yields a zero forcing function. Furthermore, we let \(\mu = \alpha = 1\). We consider a square domain \(\Omega = [0,1] \times [0,1]\) containing a hole. The hole is located at \((x,y) = (0.5, 0.5)\), and has radius \(r = \frac{1}{8}\). We pose Dirichlet boundary conditions on the boundary of the hole, Neumann boundary conditions on \(y = 0\), \(y = 1\) and Robin boundary conditions on \(x= 0\), \(x = 1\). The boundary data is given by (44). \(t = 0.05\) is used as the final time. The scheme was run on grids containing 398, 1394, 5097, 19457 and 76166 nodes. A typical grid is depicted in Fig. 5a. All grids were generated using Gmsh (see [14]). The scheme was implemented using the Julia programming language (see [4]).
Figure 5b shows the convergence rate together with a reference line representing second-order convergence. We conclude that the scheme converges at approximately a rate of two.
11 Conclusion
Herein, we have considered a slightly modified local finite-volume approximation of the Laplacian operator proposed by Chandrashekar in [7] for discretising the heat equation in two spatial dimensions on general triangular grids. The equation was augmented with Dirichlet, Neumann and Robin boundary conditions. The Dirichlet boundary condition was imposed strongly by injection, while the Neumann and Robin conditions were imposed weakly. We demonstrated that this modification satisfies the SBP property proved in [7]. By using the energy method, a priori estimates for the numerical solution were derived. From these estimates, we were able to prove the weak convergence of the numerical solution to a weak solution of the heat equation. Thus, consistency, in a weak sense, of the Laplacian operator was established. Subsequently, we demonstrated that the numerical solution converges strongly to a weak solution by using Aubin–Lions’ lemma. Finally, the weak solution was shown to be unique. To the best of our knowledge, this is the first proof of convergence for a local finite-volume method for the Laplacian on general triangular grids. The theory presented here is straightforwardly applicable to three spatial dimensions, provided that the Laplacian approximation can be generalised to such domains.
A numerical simulation, which included Dirichlet, Neumann and Robin conditions was run on an unstructured triangulated grid containing a hole. By using the method of manufactured solutions, we demonstrated that the numerical solution converged with a second-order rate.
Data availability
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
References
Atkinson, K., Han, W.: Theoretical numerical analysis, a functional analaysis framework. In: Texts in Applied Mathematics, 2 edn. Springer Science+Business Media Inc. (2005). ISBN 978-0387-25887-4
Bause, M., Hoffmann, J., Knabner, P.: First-order convergence of multi-point flux approximation on triangular grids and comparison with mixed finite element methods. Numer. Math. 116, 1–29 (2010). https://doi.org/10.1007/s00211-010-0290-y
Bauzet, C., Nabet, F., Schmitz, K., Zimmermann, A.: Convergence of a finite-volume scheme for a heat equation with a multiplicative Lipschitz noise (2022). arXiv:2203.09851v1 [math.AP]
Bezanson, J., Edelman, A., Karpinski, S., Shah, V.B.: Julia: a fresh approach to numerical computing. SIAM Rev 590(1), 65–98 (2017)
Brezis, H.: Functional analysis, Sobolev spaces and partial differential equations. Springer (2011). https://doi.org/10.1007/978-0-387-70914-7
Chan, J., Del Rey Fernández, D.C., Carpenter, M.H.: Efficient entropy stable Gauss collocation methods. SIAM J. Sci. Comput. 410(5), A2938–A2966 (2019). https://doi.org/10.1137/18M1209234
Chandrashekar, P.: Finite volume discretization of heat equation and compressible Navier–Stokes equations with weak Dirichlet boundary condition on triangular grids. Int. J. Adv. Eng. Sci. Appl. Math. 80(3), 174–193 (2016). https://doi.org/10.1007/s12572-015-0160-z
Del Rey Fernández D.C., Hicken J.E., Zingg D.W.: Review of summation-by-parts operators with simultaneous approximation terms for the numerical solution of partial differential equations. Comput. Fluids pp. 171–196 (2014). https://doi.org/10.1016/j.compfluid.2014.02.016
Del Rey Fernández, D.C., Carpenter, M.H., Dalcin, L., Zampini, S., Parsani, M.: Entropy stable h/p-nonconforming discretization with the summation-by-parts property for the compressible Euler and Nacier–Stokes equations. SN Partial Differ. Equ. Appl. (2020). https://doi.org/10.1007/s42985-020-00009-z
Evans, L.C.: Partial Differential Equations, Volume 19 of Graduate Studies in Mathematics, 2 edn. American Mathematical Society (2010). ISBN 978-0-8218-4974-3
Eymard, R., Gallouët, T., Herbin, R.: Finite volume methods. Hanbook Numer. Anal. 7, 713–1020 (2000). https://doi.org/10.1016/S1570-8659(00)07005-8
Friedrich, L., Winters, A.R., Del Rey Fernández, D.C., Gassner, G.J., Parsani, M., Carpenter, M.H.: An entropy stable h/p non-conforming dircontinuous Galerkin method with the summation-by-parts property. J. Sci. Comput. 77, 689–725 (2018). https://doi.org/10.1007/s10915-018-0733-7
Gallouët, T., Larcher, A., Latché, J.: Convergence of a finite volume scheme for the convection-diffusion equation with \(L^1\) data. Math. Comput. 810(279), 1429–1454 (2012)
Geuzaine, C., Remacle, J.-F.: Gmsh: A 3-D finite element mesh generator with built-in pre-and post-processing facilities. Int. J. Numer. Methods Eng. 79, 1309–1331 (2009). https://doi.org/10.1002/nme.2579
Gjesteland, A., Svärd, M.: Entropy stability for the compressible Navier–Stokes equations with strong imposition of the no-slip boundary condition. J. Comput. Phys. 470 (2022). https://doi.org/10.1016/j.jcp.2022.111572
Gustafsson, B.: High order difference methods for time dependent PDE. In: Springer Series in Computational Mathematics. Springer, Berlin (2008). https://doi.org/10.1007/978-3-540-74993-6
Gustafsson, B., Kreiss, H.-O., Oliger, J.: Time-dependent problems and difference methods. In: Pure and Applied Mathematics, 2 edn. Wiley (2013). ISBN 978-0-470-90056-7
Klausen, R.A., Winther, R.: Robust convergence of multi point flux approximation on rough grids. Numer. Math. 104, 317–337 (2006). https://doi.org/10.1007/s00211-006-0023-4
Knabner, P., Angermann, L.: Numerical methods for elliptic and parabolic partial differential equations, 2nd edn. With contributions by Andreas Rupp. In: Texts in Applied Mathematics. Springer-Verlag New York Inc (2021). https://doi.org/10.1007/978-3-030-79385-2
Kreiss, H.O., Scherer, G.: Finite element and finite difference methods for hyperbolic partial differential equations. In: Mathematical Aspects of Finite Elements in Partial Differential Equations (1974)
Mattsson, K., Nordström, J.: Summation by parts operators for finite-difference approximations of second derivatives. J. Comput. Phys. 199, 503–540 (2004). https://doi.org/10.1016/j.jcp.2004.03.001
Moukalled, F., Mangani, L., Darwish, M.: The Finite Volume Method in Computational Fluid Dynamics: An Advanced Introduction with OpenFOAM and Matlab, Volume 113 of Fluid Mechanics and Its Applications. Springer International Publishing (2016). https://doi.org/10.1007/978-3-319-16874-6
Nordström, J., Forsberg, K., Adamsson, C., Eliasson, P.: Finite volume methods, unstructured meshes and strict stability for hyperbolic problems. Appl. Numer. Math. 45, 453–473 (2003). https://doi.org/10.1016/S0168-9274(02)00239-8
Parsani, M., Carpenter, M.H., Nielsen, E.J.: Entropy stable wall boundary conditions for the three-dimensional compressible Navier–Stokes equations. J. Comput. Phys. 292, 88–113 (2015). https://doi.org/10.1016/j.jcp.2015.03.026
Renardy, M., Rogers, R. C.: An Introduction to Partial Differential Equations, Volume 13 of Texts in Applied Mathematics. Springer-Verlag New York Inc (1993). ISBN 0-387-97952-2
Simon, J.: Compact sets in the space \(L^p(0, T;B)\). Ann. Math. Pura Appl. 146, 65–96 (1986)
Stein, E.M.: Singular Integrals and Differentiability Properties of Functions. Princeton University Press (1970). ISBN 0-691-08079-8
Strand, B.: Summation by parts for finite difference approximations for d/dx. J. Comput. Phys. 110, 47–67 (1994)
Svärd, M., Nordström, J.: Stability of finite volume approximations for the Laplacian operator on quadrilateral and triangular grids. Appl. Numer. Math. 51, 101–125 (2004). https://doi.org/10.1016/j.apnum.2004.02.001
Svärd, M., Nordström, J.: Review of summation-by-parts schemes for initial-boundary-value problems. J. Comput. Phys. 268, 17–38 (2014). https://doi.org/10.1016/j.jcp.2014.02.031
Svärd, M., Carpenter, M.H., Parsani, M.: Entropy stability and the no-slip wall boundary condition. SIAM J. Numer. Anal. 560(1), 256–273 (2018). https://doi.org/10.1137/16M1097225
Yamaleev, N.K., Del Rey Fernández, D.C., Lou, J., Carpenter, M.H.: Entropy stable spectral collocation schemes for the 3-D Navier–Stokes equations on dynamic unstructured grids. J. Comput. Phys. 399 (2019). https://doi.org/10.1016/j.jcp.2019.108897
Funding
Open access funding provided by University of Bergen (incl Haukeland University Hospital) The authors have not disclosed any funding.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no known competing interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Gjesteland, A., Svärd, M. Convergence of Chandrashekar’s Second-Derivative Finite-Volume Approximation. J Sci Comput 96, 46 (2023). https://doi.org/10.1007/s10915-023-02256-9
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-023-02256-9