(4. Two-dimensional problem)
 
Line 1,465: Line 1,465:
 
|   
 
|   
 
| '''5.34'''  
 
| '''5.34'''  
 +
|-style="text-align:center"
 +
| colspan="7" |
 
|-style="text-align:center"
 
|-style="text-align:center"
 
!  <math display="inline">N</math>  !!  <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order
 
!  <math display="inline">N</math>  !!  <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order
Line 1,515: Line 1,517:
 
|   
 
|   
 
| '''5.77'''  
 
| '''5.77'''  
 +
|-style="text-align:center"
 +
| colspan="7" |
 
|-style="text-align:center"
 
|-style="text-align:center"
 
!  <math display="inline">N</math>  !!  <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order
 
!  <math display="inline">N</math>  !!  <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order !! <math display="inline">L_\infty </math>-norm !!  Order

Latest revision as of 14:33, 4 January 2024

Abstract

This paper introduces a sixth-order Immersed Interface Method (IIM) for addressing 2D Poisson problems characterized by a discontinuous forcing function with straight interfaces. In the presence of this discontinuity, the problem exhibits a non-smooth solution at the interface that divides the domain into two regions. Here, the IIM is employed to compute the solution on a fixed Cartesian grid. This method integrates necessary jump conditions resulting from the interface into the numerical schemes. In order to achieve a sixth-order method, the proposed approach combines implicit finite differences with the IIM. The proposed scheme is efficient because the matrix arising from discretization remains the same as in the smooth problem, and changes are made to the resulting linear system by introducing new terms on the right side. These supplementary terms account for the discontinuities in the solution and its derivatives, with calculations restricted near the interface. The paper demonstrates the accuracy of the proposed method through various numerical examples.

Keywords: Poisson equation, immersed interface method, finite difference, sixth-order of accuracy, implicit finite difference

1. Introduction

Developing advanced algorithms for solving the Poisson equation holds great significance in numerous research domains, including computational fluid dynamics, wave propagation, and theoretical physics [1]. The discontinuous problem emerges in scenarios marked by abrupt changes at interfaces that separate different regions within a given domain [2,3,4]. In this article, we particularly focus on linear interfaces, which are commonly encountered in layered phenomena (for example, as seen in [5,6,7] and the cited references). Additionally, the pursuit of high-order methods for addressing such challenges is highly advantageous since their enhanced precision permits the use of coarser grids, subsequently reducing computational expenses.

This paper presents high-order finite-difference schemes up to sixth-order for the Poisson equation for straight interfaces. The problem is given by [2,3,4]

(1)
(2)
(3)

where and are the solution and known right-hand side function, respectively. We divide in two regions, and , separated by an immersed interface . The computational domain can be one-dimensional (1D) (with several interface points), or a two-dimensional (2D) region with straight interfaces. We use Dirichlet boundary conditions on . We assume that the solution, the right-hand side function, and their derivatives may have discontinuities at . Thus, we require jump conditions as additional inputs. The principal jump conditions and are known functions and are defined on . Here, is the derivative in the normal direction.

Many numerical methods have been proposed to solve accurately the Poisson equation; however most of these methods are limited to smooth solutions. For instance, many developments have been made to get fourth- and sixth-order finite-difference methods for the Poisson equation (1), see for example [8,9,10,11,12,13,14]. On the other hand, to overcome the interface issue, several approaches exist to approximate discontinuous solutions, such as the level set method [15], immersed boundary method [16], ghost fluid method [17], interpolation matched interface method [18], Galerkin finite element method [19], boundary condition capturing [20], and interface neural networks [21]. However, there are not many available high-order discretizations of the Poisson problems with interfaces and many of these algorithms are only second-order accuracy. From these methods, the immersed interface method [4,22,23,24,25] is one popular option to solve Eqs. (1)-(3) accurately by simple modifications of standard finite differences.

There only exist a few high-order immersed interface methods to solve elliptic equations. Fourth-order interface methods for elliptic equations with discontinuous solutions or discontinuous coefficients are investigated in [26,27,28,29,30]. Lately, Feng and Li [31] presented a third-order IIM for elliptic interface problems, but it is limited to straight interfaces lying at grid points. Pan et al. [32] proposed a third-order IIM to solve elliptic problems on irregular domains, and Colnago et al. [33] developed a fourth-order approximation. More recently, Feng et al. [34] presented a sixth-order IIM to solve Poisson interface problem with singular sources based on the undetermined coefficients technique.

This paper presents a new high-order implicit finite-difference immersed interface method (HIFD-IIM) up to sixth-order accuracy to solve the 2D Poisson problem (1)-(3) with straight interfaces. The implicit finite-difference methodology is based on calculating the unknown variable and its corresponding derivatives simultaneously [35,36]. The system is changed by adding new terms on the right side, named jump contributions. These terms include the jumps of the solution and its derivatives, and they are calculated near the interface. In this context, the straight interfaces allows to calculate the jumps contributions directly from principal jump conditions (2) and (3) without any other calculation. The modifications are only performed at grid points where the method's stencil intersects the interface. Moreover, the matrix in the linear system is the same as the smooth problem. This formulation makes the method attractive as it is easy to implement and does not require other convergence restrictions than the ones from standard methods for smooth solutions. To the best authors' knowledge, there is not other methods using the proposed formulation.

The paper is organized as follows. Section 2 introduces the implicit formulation. The main theoretical results are presented in this section. Section 3 deals with the 1D Poisson problem. Section 4 shows how to implement the high order methods for 2D problems with straight interfaces. Section 5 contains several examples to test the algorithm's capacity. Finally, in Section 6, we present the conclusions and future work.

2. Implicit finite-difference formulation

We begin our analysis by considering the 1D finite-difference (FD) scheme for the second derivative of a real-valued function . In this work, the numerical solution is approximated using a uniform grid. An interval is divided into sub-intervals, using , , where the grid size is given by . For simplicity, we set between two consecutive grid points . We called and irregular points; meanwhile the reminder points are referred as regular. Besides , the discretization needs the definitions of , and . Note that is a positive value, meanwhile is negative (Figure 1).

Draft Balam 338770048-Stencil.png
Figure 1. Stencil of the immersed interface method at and


Finally, we denote as the evaluation of function at the th-point of the grid.

2.1 Approximation on regular points

It is well-known that the central finite difference gives us a second-order approximation, and can be written as

(4)

where

(5)

for a given small value .

One way to increase the order of accuracy in Eq. (4) is using a FD operator with more grid points. However, there is another way to get high-order approximations without changing the length of the FD operator (5). It is by considering a high-order implicit finite-difference (HIFD) formulation, as presented in Zapata and Balam [13]. Thus, using Taylor series expansions, it directly follows that the sixth-order formula is given by

(6)

where the FD operator is given by Eq. (5) and the partial operator is defined as

(7)

and . The above formulation (6) turns in a fourth-order method if we choose and . Moreover, if we select and the standard second-order approximation is recovered.

We remark that Eq. (6) can only be applied in cases where the problem's solution has enough regularity [37]. To overcome this issue, we combine the HIFD with the IIM to solve problems with discontinuous solutions, as described in the next section.

2.2 Approximation on irregular points

This paper proposes a new formulation named HIFD-IIM that is based on the combination of HIFD and IIM. To derive high-order schemes, the IIM requires additional conditions at . These are known as jump conditions at . Thus, for a function , they are given by

(8)

The IIM contribution requires to include high-order jump derivatives. However, we can reduce the number of jumps by applying a less accurate scheme at the irregular points. As other IIMs proposed by different authors [22,24,38,39,40], the global order is , even if the local truncation error at and is one order lower, i.e., [41]. Recently, Pan et al. [32] proposed a global third-order IIM using and local truncation errors at regular and irregular grid points, respectively. Following similar ideas, the main result of this paper is presented in Theorem 1.

Theorem 1: HIFD-IIM. Let us consider the known jump conditions

(9)

on such that . Then can be approximated at and by the finite-difference scheme

(10)

where

(11)
(12)


We obtain a fifth-order scheme for at and following similar ideas as the generalized Taylor expansion proposed by Xu and Wang [38] and the IIM for elliptic interface problems with straight interfaces proposed by Feng and Li [39].

We initially consider extended solutions of , named and , as shown in Figure 2. The idea is to have smooth functions such that we can apply the standard central scheme to and . These functions are defined as

(13)

(14)

where and are defined in Eq. (8).

Draft Balam 338770048-Function ul.png Draft Balam 338770048-Function ur.png
Figure 2. Extended solutions and


Taylor series expansions of around yields

Using the definition of jumps (9), it follows

Next, we use definition in (13) to obtain

Thus,

(15)

where is defined as Eq. (11). Substituting (15) into a standard central scheme for the second-order derivative, it yields

On the other hand, using Taylor series of , we have

Thus,


Finally, we get . This completes the proof. The same procedure can be applied for the proof at using definition (14).

It is important to remark that and are constants computed from the jump derivatives of and we assume that those values are known. To emphasize that the contribution includes all jump derivatives up to sixth-order we write instead .

Remark 1: We can rewrite the contributions (11) and (12) as follows

(16)
(17)

where and are defined as in Eq. (7).

Remark 2: If the solution is smooth, then all contributions and are equal to zero and the standard sixth-order method [37] is recovered in Eq. (6).

Corollary 1: If we consider and in Eqs. (1) and (17), then we obtain a third-order scheme for (global fourth-order method) as follows

(18)

where

(19)
(20)

Corollary 2: If in Eqs. (1) and (17), the method represents an explicit finite-difference scheme of first-order of accuracy for (global second-order method) as follows

(21)

where

(22)
(23)

In this case, we only require to explicitly know jump conditions , , and .

Observe that previous corollaries include the superscript and to emphasize contributions upto second- and fourth-order derivatives, respectively.

3. One-dimensional problem

In this section, we use approximation from Theorem 1 to study the 1D Poisson problem given by

(24)

where and can be discontinuous functions at a given point , and the principal jump conditions , are known values at . For the boundary conditions, we impose the Dirichlet type. Although this technique can be applied to several interface points, we only focus on one point to simplify our exposition.

If we apply the partial operator (7) at both sides of (24), then we get

(25)

Substituting Eqs. (6) and (10) into the left hand-side of Eq. (25), we get

(26)

where corresponds to the contribution term of at given by

(27)


Here, we introduce the notation to emphasize that the contribution depends on the high-order jump derivatives and it is computed from the function . It is necessary because in next section we will require to obtain contributions from different functions.

If we explicitly know the function and its derivatives, then the right-hand side of Eq. (25) can be calculated as:

On the other hand, if we only know values of on the grid, we have to approximate the second- and fourth-order derivative of at . As with other implicit schemes [13,36], the right-hand side derivatives are calculated using a central finite-difference method. The discretization of the right-hand side for is given by

where . For , we need to compute the derivatives using the IIM technique which is described as follows. Notice that the second derivative of in requires a discretization of third-order accuracy to obtain a local error of because it is already multiplied by a factor . Thus, using Eq. (1), we obtain

(28)

On the other hand, the fourth-order derivative of in only requires an approximation of the first-order accuracy because its coefficient includes the term ; thus, we still have a local to keep a global sixth-order accurate method. Now applying Eqs. (1) and (2) we get

then,

(29)

where

Note that now the contribution notation includes from which function or it comes. We also remark that term will be small if we guarantee is bounded, which is always true in our analysis. Now, using identities (28) and (29), we obtain the discretization of the right-hand side as follows

(30)

Finally, the HIFD-IIM for the 1D Poisson equation (24) at is given by

(31)

where and

for . Note that Dirichlet boundary conditions are directly applied at and .

Using definitions (19), (20), (22), and (23), we can simplify contribution as

(32)

where , and

3.1 1D HIFD-IIM and the principal jump conditions

Note that , , , , , and must be known to apply the proposed sixth-order HIFD-IIM. Thus, it seems that more jump conditions of rather than the principal jump conditions are required to have a sixth-order accurate method. However, we can use the Poisson equation (24) to obtain relations between , and their derivatives as follows

Thus, the total jump contribution for the 1D problem, , is given by

where

for . Thus, the contribution depends only on the principal jump conditions and right-hand side jumps , , , , and .

Remark 3: For the 1D Poisson problem, a second-order IIM (, ) only requires knowing the principal jump conditions , , and . On the other hand, a fourth-order IFD-IIM () is obtained knowing the principal jump conditions , , , and additionally and . However, the extra jumps are from the right-hand side, which is already known analytically or can be approximated using the current values of . In this paper, we will assume that we know them.

Remark 4: We can achieve sixth or fourth-order approximation in some particular grids even if we do not know high-order derivative jumps. For example, for the sixth-order HIFD-IIM, if , then , and both weight terms next to the fourth-order derivative jump of are equal to zero. Thus, we do not require to know the jump condition to obtain a sixth-order method when the interface is located at a grid point. Similarly, we can get a fourth-order scheme even if we do not know jump condition when the interface is located at a grid point.

4. Two-dimensional problem

We now apply the methodology to 2D problems and straight interfaces. We study the 2D Poisson problem given by

(33)

where and can be discontinuous functions at , and the principal jump conditions are known functions in the variable and specified as follows

(34)

The numerical domain is discretized using an uniform mesh, ( sub-intervals in the -direction) and assuming that ( sub-intervals in the -direction). We denote as and where the th point is given by

The grid points are also classified into two types: regular and irregular. If the straight interface, , intersects the FD stencil surrounding the th point, the center point is called irregular; otherwise, the grid point is regular (Figure 3).

Draft Balam 338770048-Fig IRPoints.png
Figure 3. Two-dimensional computational domain with a uniform mesh showing regular and irregular grid points. On the right-hand side, we list different types of stencils used to discretize the 2D Poisson problem


Finally, let us define the discrete operators and at the th point as

Formulas and are defined similarly.

We develop the discretization around the th point. However, to simplify our exposition we drop the evaluation at th point. We start the discretization by applying the HIFD operator (7) in - and -direction to the Poisson equation (33), as

(35)

where

(36)

Adding both equations in Eq. (35),

(37)

In the following sections, we will describe the discretization of Eq. (37) for regular and irregular grid points.

4.1 The HIFD-IIM at regular points

Using one-dimensional formula (6), Eq. (36) and some algebraic simplifications, the sixth-order implicit method applied on the regular grid points is given by

(38)

The implicit methods have not only high accuracy, but they are also more efficient in terms of the number of iterations required to solve the linear system of the discretization [13]. In the next section we work with the irregular grind points.

4.2 The HIFD-IIM at irregular points

As the interface is a vertical line, the left-hand side terms without cross derivatives of (37) can be approximated using the HIFD-IIM formulation as follows

(39)

The left-hand side terms with cross derivatives of (37) require more attention. Using the Poisson equation and Theorem 1, we can show that the following equation holds

(40)

On the other hand, using the definition of operator given by (36), the right-hand side can be written as follows

(41)

Substituting Eqs. (39)-(41) into (37) we obtain

(42)

where

(43)

All above terms are evaluated at the th point (omitted to avoid misunderstandings). If we known explicitly , then the discretization is complete. However, there are problems which the Poisson implementation only allows to known the right-hand side at the discretization points. In the following section, we focus on this case.

4.3 Right-hand side approximation

It is possible that is only know at the grid points. If this is the case, we only require to compute terms and using HIFD-IIM because the interface is a vertical line (Figure 3). Moreover, Eqs. (28) and (29) are valid in this case. Then,

(44)

where . Finally, putting together Eqs. (42) and (44), we obtain the fully discretized 2D problem as follows

(45)

where .

If the 2D Poisson problem admits a smooth solution, then all contribution terms in Eq. (45) are equal to zero, and a sixth-order method is recovered. In the presence of an interface, the contributions , , and on regular grid points are always zero. This scheme requires a stencil type C (Figure 3).

Remark 5: Taking into Eq. (36) and only considering approximations up to four-order accurate, we obtain the IFD-IIM

(46)

where and . In addition, if the 2D Poisson problem admits a smooth solution, all contribution terms in (5) vanish, and we get a fourth-order implcit scheme. In fact, the contributions are always zero on regular grid points. This scheme requires a stencil type A (Figure 3). Furthermore, if we consider that in Eq. (5) then we obtain the standard explicit immersed interface method, called IIM, which is second order accurate.

Remark 6: It is possible to develop a discrete formulation for the 2D Poisson problem when the straight interface is horizontal. The resulting scheme is

where

The constants , , and are computed using jump derivatives in the -direction.

4.4 Boundary treatment

The grid points close to the interface require special treatment because the HIFD-IIM formulation of the 21-point stencil C cannot be applied there. For regular grid points, we use the following fourth-order method

The deduction of this scheme, stencil type A, can be found in Zapata and Balam [13].

It is necessary to develop a new fourth-order method for the grid points near both boundary and interface. Following the same ideas to develop the sixth-order method, we obtain a new scheme with stencil of type B

where

Remark 7: We emphasized that the proposed methods are high-order accuracy regardless of the position of the interface concerning the grid. Moreover, the scheme does not assume restrictions in the jumps, such as the natural jump conditions (, ). This characteristic is a significant advantage of the proposed HIFD-IIM, besides the higher-order, compared with the fourth-order simplified immersed interface method developed by Feng et al.[39].

5. Numerical results

This section tests the HIFD-IIM for different one- and two-dimensional examples with straight interfaces. In the following simulations, we numerically solve the Poisson equation for a given right-hand side function and compare it with its analytic solution. We present different examples to test the HIFD-IIM capabilities. First, we investigate the method's accuracy for one-dimensional problems. Next, we validate the HIFD-IIM for two-dimensional solutions with straight interfaces.

The errors are reported utilizing the -norm, as , where and corresponds to the exact and numerical solution at , respectively. The estimated order of accuracy is computed as

where and indicates the different number of sub-intervals. In all tables, the last row shows the numerical order calculated by the regression-line slope based on a Least Squares Method (LSM).

5.1 One-dimensional examples

We initially consider the 1D problem (24) to analyze the order of the proposed implicit methods. The numerical method is tested using three different tests. Example 1.A was designed to verify the high-order implicit method for smooth solutions. Example 1.B studies a Poisson equation with a discontinuous solution in a single interface point. Example 1.C presents a discontinuous problem with multiple interface points. Thus, the proposed solution is taken from the following list of functions:

(47)
(48)
(49)

where , and are known values corresponding to the interface location. The right-hand side function, , is obtained directly from Eq. (33) and . For all cases, we impose the Dirichlet boundary conditions according to . The computational domain is the interval , and the grid spacing is for different numbers.

For Example 1.A, due to the solution's regularity, the jump contributions are equal to zero. Table 1 presents the convergence analysis of Example 1.A for different grid resolutions. Note that the IIM, IFD-IIM, and HIFD-IIM achieve their corresponding order of accuracy. These results match with the ones obtained using an implicit methodology as presented in [13].

Table 1. Convergence analysis of Example 1.A for IFD-IIM and HIFD-IIM
-norm Order -norm Order -norm Order
10 7.52e-02 –- 9.30e-03 –- 1.39e-04 –-
20 1.70e-02 2.15 5.05e-04 4.20 1.52e-06 6.51
40 4.15e-03 2.03 3.06e-05 4.04 1.77e-08 6.43
80 1.03e-03 2.01 1.90e-06 4.01 2.34e-10 6.24
160 2.57e-04 2.00 1.18e-07 4.00 3.24e-12 6.18
LSM 2.04 4.06 6.34


Example 1.B shows the capacity of the proposed method to solve a single interface problem located at . We test two different interface points: and . We initially select the mesh grid given by , thus the first interface is always located on a grid point (). For the second case, we have different values for the same numbers. Figure 4 shows the numerical and exact solution using . As expected, the exact solution is accurately recovered for both cases.

Numerical and exact solution of Example 1.B using N = 40 using (a) x_α= 0.4, and (b) x_α= 0.63.
Figure 4. Numerical and exact solution of Example 1.B using using (a) , and (b)


Table 2 shows the convergence analysis for Example 1.B. As expected, the desired order of accuracy are obtained for the two values. Observe that high-order methods do not depend on the location of the interface. However, their error magnitude presents minor variations due to the interface position. Errors with mesh size close to have a random behavior due the effect of arithmetic operations close to the machine precision. Figure 5 shows the error analysis corresponding to interface locations and for . Note that errors of IFD-IIM give a good behavior even if the varies and they are close to fourth order. As expected, errors of HIFD-IIM are also near sixth order.

Table 2. Convergence analysis of Example 1.B using the IFD-IIM and HIFD-IIM
-norm Order -norm Order -norm Order
10 1.69e-02 –- 5.75e-05 –- 6.42e-07 –-
20 4.21e-03 2.00 3.58e-06 4.00 1.01e-08 6.42
40 1.05e-03 2.00 2.24e-07 4.00 1.59e-10 6.21
80 2.63e-04 2.00 1.40e-08 4.00 2.48e-12 6.11
160 6.57e-05 2.00 8.74e-10 4.00 4.55e-14 5.82
LSM 2.00 4.00 5.95
-norm Order -norm Order -norm Order
10 6.63e-03 –- 3.42e-05 –- 6.38e-07 –-
20 1.48e-03 2.16 1.97e-06 4.12 9.89e-09 6.44
40 4.46e-04 1.73 1.39e-07 3.82 1.58e-10 6.18
80 9.37e-05 2.25 7.75e-09 4.16 2.40e-12 6.15
160 2.75e-05 1.77 5.37e-10 3.85 7.31e-14 5.08
LSM 1.98 3.99 5.81


Draft Balam 338770048-Fig Exa1B 1D CloudOrder4.png
Convergence analysis of Example 1.B for N = 10,\dots ,100 using (a),(b) IFD-IIM  and (c),(d) HIFD-IIM for x_α= 0.40 and x_α= 0.63.
Figure 5. Convergence analysis of Example 1.B for using (a),(b) IFD-IIM and (c),(d) HIFD-IIM for and


We remark that, the contribution formula includes jumps , , , , and to obtain a fourth-order accurate method. Figure 6 shows that if we add additional jumps of high-order derivatives to , such as , we observe that the error oscillation decreases compared to Figure 5 results. It is expected because now the method is for the whole computational domain, including the irregular points. Thus, we can mitigate error oscillations due to interface position by adding high-order jumps. A similar behavior is observed for the sixth-order HIFD-IIM if we include the seventh derivative jump .

Convergence analysis of Example 1.B for N = 10,\dots ,100 using (a) x_α= 0.40, and (b) x_α= 0.63. The contribution term includes jumps up to fifth-order ([uₓₓₓₓₓ]=[fₓₓₓ]).
Figure 6. Convergence analysis of Example 1.B for using (a) , and (b) . The contribution term includes jumps up to fifth-order ()


Finally, Example 1.C investigates the method's capacity to solve a multiple interface problem. We only focus on two interface points located at and . However, the methodology could be applied for several interfaces by doing minor modifications in the implementation. Figure 7 presents the analytical and numerical solution using . This figure also shows the corresponding absolute error. Figure 8 shows the error analysis for high-order IIM using different grid resolutions . As expected, the IFD-IIM and HIFD-IIM are fourth- and sixth-order accurate methods, respectively.

(a) Numerical and exact solution of Example 1.C with multiple interfaces using N = 40; (b) Absolute error of the numerical solution using the HIFD-IIM.
Figure 7. (a) Numerical and exact solution of Example 1.C with multiple interfaces using . (b) Absolute error of the numerical solution using the HIFD-IIM


Convergence error analysis of (c) the IFD-IIM, and (d) HIFDM-IIM, using different grid resolutions N = 10, 20, 40, 80 ,160.
Figure 8. Convergence error analysis of (c) the IFD-IIM, and (d) HIFDM-IIM, using different grid resolutions

5.2 Two-dimensional examples

In this section we study the method's capacities to solve two-dimensional problems with different jump-contribution characteristics. Here we use straight interfaces located at . First, we consider smooth problem to verify the accurate implementation of the implicit method. Next, we analyze several discontinuous problems and finally, we include a more complex test where the jump derivatives increase rapidly.

For all 2D examples, the right-hand side function and jump conditions are computed from the corresponding exact solution, the computational domain is and the grid size in both directions is the same using , , , , . We impose Dirichlet boundary conditions. This paper uses the Successive-Over Relaxation (SOR) method with and as tolerance and relaxation parameters, respectively.

5.2.1 2D Poisson equation with smooth solution

In the first 2D example, we solve the Poisson equation (33) for a smooth solution to show the correct implementation of the high-order implicit methods. In this case, the exact solution is given by

(50)

Table 3 shows the convergence analysis of Example 2.A using different grid resolutions for the fourth- and sixth-order implicit formulation. As expected for a smooth solution, the implicit formulation improves the precision of the standard second-order numerical solution.

Table 3. Convergence analysis of Example 2.A
-norm Order -norm Order -norm Order
10 2.65e-02 –- 3.07e-04 –- 4.64e-05 –-
20 7.06e-03 1.91 2.10e-05 3.87 7.54e-07 5.94
40 1.76e-03 2.00 1.32e-06 3.99 1.17e-08 6.01
80 4.40e-04 2.00 8.24e-08 4.00 1.82e-10 6.00
160 1.10e-04 2.00 5.16e-09 4.00 2.95e-12 5.95
LSM 1.98 3.97 5.98

5.2.2 2D Poisson equation with straight interfaces

In this section, we solve the 2D Poisson problem using the following set of functions:

Examples 2.B, 2.C and 2.D investigate the influence on the absolute error and the accuracy over several assumptions of the jump derivatives. Example 2.B analyzes the solution where jump derivatives in the -direction vanish at . In Example 2.C, the jump derivative in the -direction changes slower for than the one for . Example 2.D studies the problem without any assumption about the jump derivatives. Note that the interface location is also different for each example.

Figure 9 shows the numerical solution of these examples using a grid resolution of . As expected, the HIFD-IIM solves the problem accurately for each case.

Numerical solution of 2D Poisson equation with a straight interface corresponding to Examples 2.B, 2.C, and 2.D using N=80.
Figure 9. Numerical solution of 2D Poisson equation with a straight interface corresponding to Examples 2.B, 2.C, and 2.D using


Table 4 shows the convergence analysis for Example 3 using the implicit methods. As expected, the IFD-IIM and HIFD-IIM schemes are close to fourth- and sixth-order, respectively. This table also confirms the standard IIM is second-order accurate. Observe that the order corresponding to the HIFD-IIM with in Example 2.B is reduced due to the arithmetic operations close to the machine precision. Figure 10 shows more details of the convergence analysis using a cloud of points from to .

Table 4. Convergence analysis of Examples 2.B, 2.C, and 2.D using a straight interface

-norm Order -norm Order -norm Order
10 5.76e-04 –- 5.06e-06 –- 2.10e-06 –-
20 1.50e-04 1.94 3.19e-07 3.99 3.78e-08 5.79
40 3.77e-05 1.99 2.00e-08 3.99 6.34e-10 5.90
80 9.45e-06 2.00 1.25e-09 4.00 1.03e-11 5.95
160 2.36e-06 2.00 7.84e-11 4.00 1.17e-12 3.13
LSM 1.99 4.00 5.34
-norm Order -norm Order -norm Order
10 2.65e-02 –- 8.40e-04 –- 3.01e-04 –-
20 6.60e-03 2.00 6.58e-05 3.67 6.74e-06 5.48
40 1.61e-03 2.04 4.52e-06 3.86 1.25e-07 5.75
80 3.98e-04 2.01 2.96e-07 3.93 2.14e-09 5.87
160 9.90e-05 2.01 1.90e-08 3.97 3.50e-11 5.93
LSM 2.02 3.87 5.77
-norm Order -norm Order -norm Order
10 4.62e-02 –- 5.46e-04 –- 2.62e-04 –-
20 1.13e-02 2.03 3.94e-05 3.79 2.91e-06 6.49
40 2.81e-03 2.01 2.63e-06 3.91 5.40e-08 5.75
80 7.04e-04 2.00 1.69e-07 3.96 9.12e-10 5.89
160 1.76e-04 2.00 1.07e-08 3.98 1.48e-11 5.95
LSM 2.01 3.91 5.98


Draft Balam 338770048-Fig Exa2 2D ABC cloud4thB.png
Convergence analysis of Examples 2.B, 2.C, and 2.D using the (a)-(c) IFD-IIM and (d)-(f) HIFD-IIM from N=10 to 100.
Figure 10. Convergence analysis of Examples 2.B, 2.C, and 2.D using the (a)-(c) IFD-IIM and (d)-(f) HIFD-IIM from to

5.2.3 2D Poisson solution with large jump derivatives

Finally, we construct the following example to analyze the variations in the errors due to jump derivative magnitudes. Thus, we have

Here, the jump derivatives for all points at the interface are , , , , , and . Is important to remark that opposite to the previous examples, the jump derivatives increase rapidly. This behavior makes the problem challenging to solve.

Table 5 and Figure 11 show the convergence analysis for Example 2.E. Numerical results show that Example 2.E has more variability in error than previous examples. However, the order of each technique is close to the proposed one. These findings also confirm that local truncation error depends not only on and but also on the jump magnitudes.

Table 5. Convergence analysis of Example 2.E

-norm Order -norm Order -norm Order
10 1.11e-02 –- 2.72e-04 –- 1.38e-04 –-
20 1.80e-03 2.62 5.61e-05 2.28 2.48e-06 5.80
40 5.64e-04 1.67 3.62e-06 3.96 9.43e-08 4.72
80 1.57e-04 1.85 2.29e-07 3.98 2.61e-09 5.17
160 4.11e-05 1.93 1.43e-08 3.99 6.10e-11 5.42
LSM 1.97 3.64 5.21


Draft Balam 338770048-Fig Exa4 2D ABC solcloud4th6thB.png
Figure 11. (a) Numerical and exact solution of Example 2.E using . (b)-(c) Convergence error analysis of IFD-IIM and HIFD-IIM, respectively, using different grid resolutions from to

6. Conclusions

The present paper introduces a new sixth-order immersed interface combined with an implicit finite difference to solve 2D Poisson problems with straight interfaces. The resulting numerical method is at regular points, and at irregular points. Furthermore, a fourth-order immersed interface method is obtained as a particular case of the proposed scheme. This paper also presents a numerical technique to handle the boundaries in the Poisson problem. The global accuracy of the sixth-order was demonstrated using several numerical examples. As expected, this approach does not depend on the interface position. For future work, the proposed approximation will be used to solve more general elliptic equations and interface shapes, and time-dependent problems in higher dimensions.

References

[1] Diersch H.J., Fletcher C.A.J. Computational techniques for fluid dynamics. Vol. I: Fundamental and general techniques. Vol. II: Specific techniques for different flow categories, Springer-Verlag, 1998.

[2] Javierre E., Vuik C., Vermolen F.J., Van der Zwaag S. A comparison of numerical models for one-dimensional Stefan problems. J. Comput. Appl. Math., 192(2):445–459, 2006.

[3] Shi Y.E., Ray R.K., Nguyen K.D. A projection method-based model with the exact C-property for shallow-water flows over dry and irregular bottom using unstructured finite-volume technique. Comput. Fluids, 76:178–195, 2013.

[4] Li Z., Ito K. The immersed interface method: Numerical solutions of PDEs involving interfaces and irregular domains. SIAM: Frontiers in Applied Mathematics, pp. 331, Society for Industrial and Applied Mathematics, 2006.

[5] Li Z., McTigue D., Heine J. A numerical method for diffusive transport with moving boundaries and discontinuous material properties. Int. J. Numer. Anal. Meth. Geomech., 21:653–662, 1997.

[6] Li Z., Zou J. Theoretical and numerical analysis on a thermo-elastic system with discontinuities. J. Comput. Appl. Math., 91:1–22, 1998.

[7] Tsynkov S., Baruch G., Fibich G., Turkel E. Fourth order schemes for time-harmonic wave equations with discontinuous coefficients. Commun. Comput. Phys., 5:442–455, 2009.

[8] Li M., Fornberg B., Tang T. A compact fourth order finite difference scheme for the steady incompressible Navier-Stokes equations. Int. J. Numer. Methods Fluids, 20:1137–1151, 1995.

[9] Zhang J. Multigrid method and fourth-order compact scheme for 2D Poisson equation with unequal mesh-size discretization. J. Comput. Phys., 179(1):170–179, 2002.

[10] Nabavi M., Siddiqui M.H.K., Dargahi J. A new 9-point sixth-order accurate compact finite difference method for the Helmholtz equation. J. Sound Vib., 307:972–982, 2007.

[11] Wang Y., Zhang J. Sixth order compact scheme combined with multigrid method and extrapolation technique for 2D poisson equation. J. Comput. Phys., 228:137–146, 2009.

[12] Zhai S., Feng X., He Y. A new method to deduce high-order compact difference schemes for two-dimensional Poisson equation. Applied Mathematics and Computation, 230:9–26, 2014.

[13] Uh Zapata M., Itzá Balam R. High-order implicit finite difference schemes for the two-dimensional Poisson equation. Applied Mathematics and Computation, 309:222–244, 2017.

[14] Itzá Balam R., Uh Zapata M. A new eighth-order implicit finite difference method to solve the three-dimensional Helmholtz equation. Computers & Mathematics with Applications, 80(5):1176–1200, 2020.

[15] Sethian J.A. Level set methods and fast marching methods: Evolving interfaces in geometry, fluid mechanics, computer vision, and materials sciences, pp. 404, Cambridge University Press, 1999.

[16] Peskin C.S. The immersed boundary method. Acta Numer., 11:479–517, 2002.

[17] Liu X.D., Soderis T.C. Convergence of the ghost fluid method for elliptic equations with interfaces. J. Math. Comp., 72:1731–1746, 2003.

[18] Hu H., Pan K., Tan Y. An interpolation matched interface and boundary method for elliptic interface problems. J. Comput. Appl. Math., 234:73–94, 2010.

[19] Mu L., Wang J., Ye X., Zhao S. A new weak Galerkin finite element method for elliptic interface problems. J. Comput. Phys., 325:157–173, 2016.

[20] Cho H., Han H., Lee B., Ha Y., Kang M. A second-order boundary condition capturing method for solving the elliptic interface problems on irregular domains. Journal of Scientific Computing, 81(3):217–251, 2019.

[21] Itzá Balam R., Hernandez-Lopez F., Trejo-Sánchez J., Uh Zapata M. An immersed boundary neural network for solving elliptic equations with singular forces on arbitrary domains. Mathematical Biosciences and Engineering: MBE 18(1):22–56, 2020.

[22] Leveque R.J., Li Z. The immersed interface method for elliptic equations with discontinuous coefficients and singular sources. SIAM J. Numer. Anal., 31(4):1019-1044, 1994.

[23] Wiegmann A., Bube K.P. The explicit-jump immersed interface method: finite difference methods for PDEs with piecewise smooth solutions. SIAM J. Numer. Anal., 37(3):827–862, 2000.

[24] Berthelsen P.A. A decomposed immersed interface method for variable coefficient elliptic equations with non-smooth and discontinuous solutions. J. Comput. Phys., 197(1):364–386, 2004.

[25] Seo J.H., Mittal R. A high-order immersed boundary method for acoustic wave scattering and low-Mach number flow-induced sound in complex geometries. J. Comput. Phys., 230:1000–1019, 2011.

[26] Ito K., Li Z., Kyei Y. Higher-order, Cartesian grid based finite difference schemes for elliptic equations on irregular domains. SIAM Journal on Scientific Computing, 27(1):346-367, 2005.

[27] Gibou F., Fedkiw R. A fourth order accurate discretization for the Laplace and heat equations on arbitrary domains with applications to the Stefan problem. J. Comput. Phys., 202(2):577-601, 2005.

[28] Linnick M.N., Fasel H.F. A high-order immersed interface method for simulating unsteady incompressible flows on irregular domains. J. Comput. Phys., 204(1):157-192, 2005.

[29] Zhou Y.C., Zhao S., Feig M., Wei G.W. High order matched interface and boundary method for elliptic equations with discontinuous coefficients and singular sources. J. Comput. Phys., 213(1):1–30, 2006.

[30] Zhong X. A new high-order immersed interface method for solving elliptic equations with imbedded interface of discontinuity. J. Comput. Phys., 225(1):1066-1099, 2007.

[31] Feng X., Li Z., Qiao Z. High order compact finite difference schemes for the Helmholtz equation with discontinuous coefficients. J. of Comput. Math., 29(3):324–340, 2011.

[32] Pan K., He D., Li Z. A high order compact FD framework for elliptic BVPs involving singular sources, interfaces, and irregular domains. J. Sci. Comput., 88(3):1–25, 2021.

[33] Colnago M., Casaca W., de Souza L.F. A high-order immersed interface method free of derivative jump conditions for Poisson equations on irregular domains. J. Comput. Phys., 423:109791, 2020.

[34] Feng Q., Han B., Minev P. Sixth order compact finite difference schemes for Poisson interface problems with singular sources. Computers & Mathematics with Applications, 99:2-25, 2021.

[35] Claerbout J.F. The craft of wave-field extrapolation. In Imaging the Earth's Interior, Blackwell Scientific Publications, Oxford, pp. 260-265, 1985.

[36] Liu Y., Sen M.K. A practical implicit finite-difference method: examples from seismic modeling. Journal of Geophysics and Engineering, 6(3):231-249, 2009.

[37] Spotz W.F. High-order compact finite difference schemes for computational mechanics. Ph.D. Thesis, University of Texas at Austin, 1995.

[38] Xu S., Wang Z.J. Systematic derivation of jump conditions for the immersed interface method in three-dimensional flow simulation. J. Sci. Comput., 27(6):1948-1980, 2006.

[39] Feng X., Li Z. Simplified immersed interface methods for elliptic interface problems with straight interfaces. Num. Meth. for Par. Diff. Eqs., 28(1):188–203, 2012.

[40] Li Z. Immersed interface methods for moving interface problems. Numerical algorithms, 14(4):269-293, 1997.

[41] Huang H., Li Z. Convergence analysis of the immersed interface method. IMA Journal of Numerical Analysis, 19(4):583-608, 1999.
Back to Top

Document information

Published on 27/12/23
Accepted on 17/12/23
Submitted on 04/09/23

Volume 39, Issue 4, 2023
DOI: 10.23967/j.rimni.2023.12.002
Licence: CC BY-NC-SA license

Document Score

0

Views 137
Recommendations 0

Share this document

claim authorship

Are you one of the authors of this document?