Computational Solutions of Two Dimensional Convection Diffusion Equation Using Crank-Nicolson and Time Efficient ADI

Abstract

To develop an efficient numerical scheme for two-dimensional convection diffusion equation using Crank-Nicholson and ADI, time-dependent nonlinear system is discussed. These schemes are of second order accurate in apace and time solved at each time level. The procedure was combined with Iterative methods to solve non-linear systems. Efficiency and accuracy are studied in term of L2, L norms confirmed by numerical results by choosing two test examples. Numerical results show that proposed alternating direction implicit scheme was very efficient and reliable for solving two dimensional nonlinear convection diffusion equation. The proposed methods can be implemented for solving non-linear problems arising in engineering and physics.

Share and Cite:

Saqib, M. , Hasnain, S. and Mashat, D. (2017) Computational Solutions of Two Dimensional Convection Diffusion Equation Using Crank-Nicolson and Time Efficient ADI. American Journal of Computational Mathematics, 7, 208-227. doi: 10.4236/ajcm.2017.73019.

1. Introduction

In this paper we have extended our previous approach associated to two dimension Convection-diffusion equation. The great Physicist Johannes Martinus Burgers discovered Burgers equation, which is non-linear parabolic partial dif- ferential equation (PDE) and widely used as a model in many engineering problems, which explains such as physical flow phenomena in fluid dynamics, turbulence, boundary layer behavior, shock wave formation, and mass transport [1] . Two dimensional convection-diffusion equation is given by the following equation.

u t + u u x + u u y 1 R ( u x x + u y y ) = 0 (1)

where ( x , y , t ) Ω × ( 0 , T ]

with initial conditions

u ( x , y , 0 ) = u 0 ( x , y ) , ( x , y ) Ω

The Dirichlet boundary conditions are given by

u ( a , y , t ) = f 1 ( x , y , t ) , u ( b , y , t ) = f 2 ( x , y , t )

u ( x , c , t ) = g 1 ( x , y , t ) , u ( x , d , t ) = g 2 ( x , y , t )

where ( x , y , t ) Ω × ( 0 , T ] , Ω = { ( x , y ) : a x b , c y d } is a rectangular domain in R 2 , ( 0 , T ] is the time interval. u 0 , f 1 , f 2 , g 1 , g 2 are given sufficiently smooth functions and u ( x , y , t ) may represent heat, diffusion, etc. Re is the Reynolds number.

This equation established the interaction between the non-linear convection processes and the diffusive viscous processes [2] . As Burgers equation is probably one of the simplest non-linear PDE for which it is possible to obtain an exact solution [3] . Also depending on the magnitude of the various terms in Burgers equation, it behaves as an elliptic, parabolic or hyperbolic PDE, conse- quently, it is one of the principle model equations used to test the accuracy of new numerical methods or computational algorithms [4] . It is widely known that non-linear PDEs do not have precise analytic solutions [5] . The first attempt to solve the Burgers equation analytically was done by Batman [6] , who derived the steady state solution of this equation as a test solution to one dimension, which was used to model turbulence nature of the phenomena [7] [8] . The two dimensional non-linear Burgers equations are a special form of in compressible Naiver-Stokes equations without the pressure term and the continuity equation [9] [10] . Due to its wide range of applicability, several researchers, both scientists and engineers, have been interested in studying the properties of the Burgers equation using various numerical techniques [11] . They have successfully used it to develop new computational algorithms and to test the existing ones [12] . Vineet and Tamsir [10] used two different test problems to analyses the accuracy of the Crank Nicholson(CN) scheme [10] . From literature review, it came to know that Newton’s method is also applicable to reform the Jacobean matrix to get the linear algebraic sparse matrix. Solution of such algebraic system of equations can be found by Gauss elimination with partial pivoting technique [13] [14] . Bahadir also used same technique to test the accuracy of scheme, using fully implicit finite difference scheme [15] [16] . The terminology of the Burgers equation explains that with viscous term the Burgers Equation is parabolic while without viscous term it is hyperbolic. In the later case it possesses discontinuous solutions due to the non-linear term and even if smooth initial condition is considered the solution may be discontinuous after finite time [8] . It also governs the phenomenon of shock waves [12] .

Many different researchers used Burgers equation to develop new algorithms and to test various existing algorithms [4] . For exact solution of such non-linear problem, researchers used Hopf-Cole transformation to linearize the Burgers equations into parabolic partial differential equation [17] . Some of the resear- chers also tried to tackle the non-linear Burgers equation directly (without Hopf-Cole transformation), by applying Crank-Nicholson finite difference method to the linearized Burgers equation by Hopf-Cole transformation which is unconditionally stable and is second order convergent, in both space and time with no restriction on mesh size [10] . In another result due to Kutluay et al. a direct approach via least square quadratic B-spline finite element method is discussed [18] . Recently Pandey et al. discussed Douglas finite difference scheme on linearized Burgers equation which is fourth order convergent in space and second order convergent in time [1] [18] .

1.1. Problem 1

From literature review, [19] we found that earlier work done by Mittal,Jain and Holla in 2012 [20] on convection-diffusion equation in one dimension. We extended our work to enhance our knowledge towards two dimensional Convection diffusion equation.Two test problems were taken to understand the numerical solution with finite difference schemes. By setting some parameters with arbitrary constants in bounded domain Ω = { ( x , y ) : 0.5 x 0.5 , 0.5 y 0.5 } . Exact solution of the above two dimensional equation is

u ( x , y , t ) = 0.5 tanh ( ( x + y t ) R 2 ) (2)

where ( x , y ) Ω , t > 0 and R is a parameter, known as Reynolds number. Boundary conditions and initial conditions can be taken from exact solution of u(x,y,t) [21] .

1.2. Problem 2

In this problem the rectangular domain of two dimensional nonlinear convection- diffusion Equation (1) is given as Ω = [ ( x , y ) : 0 x 1,0 y 1 ] . Exact solution of the above two dimensional equation is

u ( x , y , t ) = 1 1 + ( x + y t ) R 2 (3)

where ( x , y ) Ω , t > 0 and R is a parameter, known as Reynolds number. Boundary conditions and initial conditions can be taken from exact solution of u ( x , y , t ) . where Ω is a rectangular domain in R 2 . The main objective of the paper is to find efficient solution of unknown u ( x , t ) . Two test problems were described to understand the numerical solution by taking two finite difference schemes. Also Convection diffusion equation has been extensively studied to describe various kinds of phenomena which can be seen from equation [21] .

2. Numerical Methods

Numerical solution of the two dimensional non-linear equation in a finite domain Ω . The first step is to choose integers L and M to define step sizes h x = ( b a ) / L and h y = ( d c ) / M in x and y directions respectively. Partition the interval [a, b] into L equal parts of width h x and the interval [c, d] into M equal parts of width h y . Place a grid by drawing vertical and horizontal lines through the points with coordinates ( x l , y m ) , where x l = a + l h for each l = 0 , 1 , 2 , , L and y m = c + m k for each m = 0 , 1 , 2 , , M also the lines x = x l and y = y m are grid lines, and their intersections are the mesh points of the grid. For each mesh point in the interior of the grid, ( x l , y m ) , for l = 1 , 2 , , L 1 and m = 1 , 2 , , M 1 , we apply different algorithms to approximate the numerical solution to the problem in equation [21] also we assume t n = n k , n = 0 , 1 , , N T where t is the time.

2.1. Second Order Implicit Scheme

We apply Crank-Nicholson implicit finite difference scheme to equation [21] , by integrating Equation (1) in the compact way:

u t = u l , m n + 1 + u l , m n k , u = u l , m n + 1 + u l , m n 2 u x = u l + 1 , m n + 1 u l 1 , m n + 1 + u l + 1 , m n u l 1 , m n 4 h , u y = u l , m + 1 n + 1 u l , m 1 n + 1 + u l , m + 1 n u l , m 1 n 4 h δ x 2 u ^ = u ^ l + 1 , m 2 u ^ l , m + u ^ l 1 , m h 2 , δ y 2 u ^ = u ^ l , m + 1 2 u ^ l , m + u ^ l , m 1 h 2 }

when substitute these terms in to Equation (1), the Crank-Nicholson Scheme is given by

u l , m n + 1 u l , m n + R 1 [ ( u l , m n + 1 + u l , m n ) { u l + 1 , m n + 1 u l 1 , m n + 1 + u l + 1 , m n u l 1 , m n + u l , m + 1 n + 1 u l , m 1 n + 1 + u l , m + 1 n u l , m 1 n } ] + R 2 [ u l + 1 , m n + 1 + u l 1 , m n + 1 + u l , m + 1 n + 1 + u l , m 1 n + 1 4 u l , m n + 1 + u l + 1 , m n + u l 1 , m n + u l , m + 1 n + u l , m 1 n 4 u l , m n ] = 0 where R 1 = k 8 h , R 2 = k 2 R h 2 (4)

The scheme shows that the accuracy is of O ( k 2 + h 2 ) . A Jacobian matrix is now Penta-diagonal, but unfortunately due to large number of iterations it extends from the diagonal at least n entries away in every direction,but another methods which can be used to handle such problems (discussed later), because of the large bandwidth, increasing grid points the calculation become more difficult. To overcome this difficulty another method solution is needed.Newton method is used for solving nonlinear task (discussed later). The Crank- Nicholson is computationally inefficient.

2.2. Computationally Efficient Implicit Scheme

In search of a time efficient alternate, we analyzed that the Crank-Nicholson scheme for the two dimensional equation, and find out that scheme is not time efficient [8] [11] [12] . To get high time efficiency, the common name of Alternating Direction Implicit (ADI) method, can be used [22] .

In this approach, the finite difference equations are written in terms of quantities at two levels However, two different finite difference approximations were used alternately, one to advance the calculations from the plane n to a plane n*, and the second to advance the calculations from (n*)-plane to the (n + 1). Same parameters were used in this method as described above. The derivation of ADI scheme, we have following steps;

Sweep in x-direction

u l , m * u l , m n = P 1 ( u l + 1 , m * 2 u l , m * + u l 1 , m * + u l + 1 , m n 2 u l , m n + u l 1 , m n ) + P 2 ( u l , m + 1 n 2 u l , m n + u l 1 , m n ) + P 3 ( u l , m n ( u l + 1 , m n u l 1 , m n ) ) + P 3 ( u l , m n ( u l , m + 1 n u l , m 1 n ) ) (5)

u l , m * u l , m n = P 1 ( δ x 2 ( u l , m * + u l , m n ) ) + P 2 ( δ y 2 ( u l , m n ) ) + k F ( u n ) (6)

where

F ( u n ) = P 3 ( u l , m n δ x ( u l , m n ) ) + P 3 ( u l , m n δ y u l , m n )

Sweep in y-direction

u l , m n + 1 u l , m * = P 1 ( u l , m + 1 n + 1 2 u l , m n + 1 + u l , m 1 n + 1 + u l , m + 1 * 2 u l , m * + u l , m 1 * ) + P 2 ( u l + 1 , m * 2 u l , m * + u l 1 , m * ) + P 3 ( u l , m * ( u l + 1 , m * u l 1 , m * ) ) + P 3 ( u l , m * ( u l , m + 1 * u l , m 1 * ) ) (7)

u l , m n + 1 u l , m * = P 1 ( δ y 2 ( u l , m n + 1 + u l , m * ) ) + P 2 ( δ x 2 ( u l , m * ) ) + k F ( u * ) (8)

where

F ( u * ) = P 3 ( u l , m * δ x ( u l , m * ) ) + P 3 ( u l , m * δ y u l , m * )

P 1 = k R e 2 h 2 , P 2 = k R e h 2 , P 3 = k 2 h

where u l , m * defines similarly to u l , m n + 1 . This method is unconditionally stable. The method has accuracy O ( k 2 + h 2 ) , newton’s iterative method is used to solve tridiagonal system.

The family of linear system in x-direction as:

a 1 u x , m u * = b 1 m + F ( k u x , m n ) (9)

where m = 1 , , M 1

The family of linear system in y-direction as:

c 1 u y , m n + 1 = d 1 m + F ( k u y , m * ) (10)

where l = 1 , , L 1

where a 1 , c 1 develops tridiagonal matrix and the array b 1 , d 1 depends on l and m

The reaction term is x-direction

F ( k u x , m n ) = [ k F ( u 1, m n ) , , k F ( u 1, L 1 n ) ]

similarly for the reaction term in y-direction:

F ( k u y , l * ) = [ k F ( u 1 , M 1 * ) , , k F ( u 1 , 1 * ) ]

finally the scheme makes tridiagonal family of linear system.Iterative methods was carried out to solved this system. The trick used in constructing the ADI scheme is to split time step into two, and apply two different stencils in each half time step, therefore to increment time by one time step in grid point, we first compute both of these stencils are chosen such that the resulting linear system is tridiagonal [5] [7] [8] [9] [11] [17] [22] . To obtain the numerical solution, we need to solve a non-linear tridiagonal system at each time step. We have done this by using Newton’s iterative method

Algorithm 1

To construct Newton iterative method for the two dimensional Convection- diffusion equation. The non-linear system in equations [23] and [24] , can be written in the form:

G ( S ) = 0 (11)

where

S _ [ u _ n + 1 ] = [ S 1, m , S 2, m , , S ( 2 L 2 ) , m ] T

u _ : m n + 1 = [ u 1, m n + 1 , u 2, m n + 1 , u 3, m n + 1 , , u L 1, m n + 1 ] T

G _ = [ G 1, m , G 2, m , , G ( 2 L 2 ) , m ] T , where G 1, m , G 2, m , , G ( 2 L 2 ) , m were system of nonlinear equations obtained from the system in [23] and [24] . The system of equations, is solved by Newton’s iterative method using the following steps

1) Specify u ( 0 ) as an initial approximation.

2) For k = 0 , 1 , 2 , until convergence achieve.

・ Solve the linear system A ( u ( k ) ) Δ u ( k ) = R ( u ( k ) )

・ Specify u ( k + 1 ) = u ( k ) + Δ u ( k ) ,

where A ( u ( k ) ) is ( m × m ) Jacobian matrix, which is computed analytically and Δ u ( k ) is the correction vector. In the iteration method solution at the previous time step is taken as the initial guess. Iteration at each time step is stopped when R ( u ( k ) ) T o l with Tol is a very small prescribed value. The linear system obtained from Newton’s iterative method, is solved by Court’s method. Convergence done with iterations along less CPU time [5] [14] .

Algorithm 2

Clearly, the system is tridiagonal and can be solved with Thomas algorithm. The dimension of J is l × m . In general a tridiagonal system can be written as,

a l x l 1 + b l x l + c l x l + 1 = S l , with a 1 = c l = 0

above system can be written as in a matrix-vector form,

J u = S

where J is a coefficient matrix (Jacobean Matrix), which is known, comes from Newton’s iterative method. Right hand side is column vector which is known.Our main goal is to find the resultant vector u . Now we have

J = [ b 1 c 1 0 0 0 0 a 2 b 2 c 2 0 0 0 a n 1 b n 1 c n 1 a n b n ]

u _ = [ u 1 , u 2 , u 3 , , u n ] t

S _ = [ s 1 , s 2 , s 3 , , s n ] t

technique is explained in the following steps,

J = L U

where

L = [ μ 1 0 0 0 0 0 β 2 μ 2 0 0 0 0 α 3 β 3 μ 3 0 0 0 0 α n 1 β n 1 μ n 1 0 α n β n μ n ]

and

U = [ 1 δ 1 λ 1 0 0 0 0 1 δ 2 λ 2 0 0 0 0 1 δ 3 λ 3 0 0 ... 0 1 δ n 2 λ 2 0 0 1 δ n 1 0 0 1 ]

By equating both sides of the J u = S , we get the elements of the matrices L and U . The computational tricks for the implementation of Thomas algorithm are shown in results, taken from a specific examples.

3. Error Norms

The accuracy and consistency of the schemes is measured in terms of error norms specially L 2 and L which are defined as:

R M S E r r o r = i , j = 1 L ( U i , j u i , j ) 2 L × L (12)

L = max 1 i L j = 1 L | ( U i . j u i , j ) | (13)

L 2 = ρ ( U i , j u i , j ) t ( U i , j u i , j ) (14)

where u ( x , y , t ) and U ( x , y , t ) denote the numerical and exact solutions at the grid point ( x l , y m , t n ) . In this method ρ ( U i , j u i , j ) = max ( λ ) and λ is an eigen value of ( U i , j u i , j ) respectively.

4. Results and Discussion

Numerical computations were performed using the uniform grid. In Table 1 & Table 2 Crank-Nicholson and ADI results was performed, compared with the analytical results at grids size 20 × 20 in problem 1. Moreover by fixing some parameter such as time step k = 0.0001 time level t = 0.5 and Reynolds number Re = 100,500 with different mesh points. The obtained results was compared with the existing results in literature. By describing results same parameters, notations was used as other researchers were used in their studies. For convergence L 2 , L norm were used for the unknown u ( x , y , t ) Khater et al. (2008), Mittal and Jiwari (2012), Kutluay and Yagmurlu (2012) and R.C. Mittal and Amit Tripathi were considered this problem in (2016) [21] [23] [24] . Approximate results in problem 1 Table 3, comparison of analytical and numerical results of CN and ADI at fixed Reynolds no Re = 500, time level = 0.0005, time = 1, grid size 30 × 30 with different typical mesh points at (-0.3,-0.3), (−0.45, −0.45), (−0.35, −0.35), (0.25, −0.25). The obtained results makes a very good agreement with the exact solution. To attain more refine and better results by changing time level = 0.001, grid size = 25 × 25 with the same mesh points in Table 4 more refine results was obtained with Reynolds no Re = 50. In Figure 1 analytical and numerical results were compared at grid size 20 × 20 k = 0.0001 time = 0.5 and time level = 0.0001 corresponding results in Table 1. Figure 2 and Figure 3 changing time = 0.1 and grid size 30 × 30 with same time level and Reynolds no as in Figure 1. In both Figure 1 and Figure 2 almost same behavior corresponds to results in Tables 1-4. Similar patterns were depicted by Kutluay and Yagmurlu (2012), Mittal (2016) [21] [24] . The obtained solutions were better than those obtained in earlier studies (Khater et al., 2008; Kutluay and Yagmurlu, 2012, Mittal (2016).

In problem 2, considering Equation (1) over the domain [0.5, 0.5] × [0.5, 0.5], boundary and initial conditions were taken from the exact solution showed stable results time step and increasing grid size (refine mesh size). In Table 5 analytical and numerical results of Crank-Nicholson and ADI were compared at gird size 30 × 30, Re = 200, time = 1, time step = 0.001. In problem 2, Table 6 by reducing grid size 20 × 20, increasing time step k = 0.0001 and time = 3 with fixed Reynolds number attained stable results.

In Figure 4 showed ADI results by reducing Reynolds no Re = 10 with gird size 20 × 20 k = 0.0001 and time = 0.5 and in Figure 5 increasing grid size 101 × 101 at Reynolds 50, time level = 0.0001, time = 0.5, obtained good accuracy corresponds to the exact results.Matrices δ x 2 and δ y 2 are more complex in Crank-Nicholson case depend on the order where the grid points are arranged in to the array u. In Table 7 & Table 8 error norm reduced when changing step

Table 1. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 100 at t = 0.5, k = 0.0001 and grid size = 20 × 20 for unknown u ( x , y , t ) Problem 1.

Table 2. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 500 at t = 0.5, k = 0.0001 and grid size = 20 × 20 for unknown u ( x , y , t ) Problem 1.

Table 3. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 500 at t = 1, k = 0.0005 and grid size = 30 × 30 for unknown u ( x , y , t ) .

Table 4. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 50 at t = 1, k = 0.001 and grid size = 25 × 25 for unknown u ( x , y , t ) Problem 1.

Figure 1. Analytical and numerical results of CN at t = 0.5, grid size = 20 × 20, k = 0.0001, Re = 500 problem 1.

Figure 2. Numerial results of CN at t = 0.1, grid size = 30 × 30, k = 0.0001, Re = 500 problem 1.

Figure 3. Exact solution of CN at t = 0.1, grid size = 30 × 30, k = 0.0001, Re = 500 problem 1.

Table 5. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 200 at t = 1, k = 0.001 and grid size = 30 × 30 for unknown u ( x , y , t ) Problem 2.

Table 6. Comparison of Analytical and Exact solution at different time level with fixed Reynolds number Re = 200 at t = 3, k = 0.0001 and grid size = 20 × 20 for unknown u ( x , y , t ) Problem 2.

Figure 4. Numerical results of ADI at t = 0.5, grid size = 20 × 20, k = 0.0001, Re = 10 problem 1.

Figure 5. Analytical and numerical results of ADI at t = 0.5, grid size = 101 × 101, k = 0.0001, Re = 50 problem 1.

Table 7. Calculating errors using different parameters for unknown values u(x, t) at different grid size and time step k at t = 0.05, Re = 1 Problem 2.

Table 8. Calculating errors using different parameters for unknown values u(x, t) at different grid size and time step k at t = 0.25, Re = 1 Problem 2.

Table 9. Calculating Errors using different parameters for unknown values u ( x , t ) at different grid size at k = 0.005, t = 0, Re = 100 Problem 1.

Table 10. Calculating Errors using different parameters for unknown values u ( x , t ) at different grid size at k = 0.005, t = 0.05, Re = 100 Problem 1.

size and grid size with fixed Reynolds no Re = 1, t = 0.05 and 0.25. Good results obtained when compared the values of this exact solution with those of the approximation gained in Tables 1-3. Furthermore in Table 9 error reduced when changing grid size at fixed Reynolds no Re = 100,k = 0.005, time = 0 .In our next computations in Table 10 changing Reynolds no Re and grid size at time = 0.1 error increased. It means that error increase by choosing high Reynolds no Re value.Solution profiles at t = 0.5 and t = 1 have been presented in Figure 6 and Figure 7 for grids sizes 20 × 20 and 30 × 30 at k = 0.001, Re = 50 and 100 respectively. Figure 8 Crank-Nicholson results obtained using same parameters as in Figure 7 with grid size 25 × 25. Solution presented in Figure 9 at grid point 20 × 20, time = 0.5, step size = 0.0001 with large Reynolds no Re = 200 error increased. Solution reported in Table 11 by changing Reynolds no Re and grid sizes at time = 0.1 and k = 0.001, 0.0001 L 2 , L norm increased. Root mean square value also increased by changing Reynolds no Re. Among all the interior grid points found both L 2 , L norm of the numerical solution. Figure 10 was presented at grid time = 1, k = 0.001, showed maximum results at time = 0.5. Approximate solution compare with exact of ADI presented in Figure 11 and Figure 12 with grid size 30 × 30 and 20 × 20, time = 2 and 1 respectively. In these figure choosing low Reynolds no Re = 10 at k = 0.0001 presents very refine results in time efficient manner. In Figure 13 by refining mesh sizes showing excellent results at k = 0.0001, Re = 10 and grid sizes 101 × 101. Solution presents in Figure 14 at time = 0 makes a good agreement with the exact solution at time step = 0.0001, Re = 50 respectively.

Results gained by using ADI scheme at very small step spacing to understand the importance of reducing steps. Sharp edges remove during increases time level. These results are very interesting for us to understand the efficiency of the ADI scheme. The corresponding graphical representation for the solution of unknown u ( x , y , t ) was presented in Figure 11 and Figure 12. Similar patterns

Figure 6. Numerical results of ADI at t = 0.5, grid size = 20 × 20, k = 0.001, Re = 100 problem 1.

Figure 7. Numerical results of ADI at t = 1, grid size = 30 × 30, k = 0.001, Re = 50 problem 1.

Figure 8. Numerical results of CN at t = 1, grid size = 25 × 25, k = 0.001, Re = 50 problem 1.

Figure 9. Numerical results of CN at t = 0.5, grid size = 20 × 20, k = 0.0001, Re = 200 problem 2.

Table 11. Calculating errors using different parameters for unknown values u ( x , t ) at different Reynold’s number, grid sizes at t = 0.1 Problem 1.

Figure 10. Numerical results of CN at t = 1, grid size = 30 × 30, k = 0.001, Re = 50 problem 2.

Figure 11. Exact and numerical results of ADI at t = 2, grid size = 20 × 20, k = 0.0001, Re = 10 problem 2.

Figure 12. Exact and numerical results of ADI at t = 1, grid size = 30 × 30, k = 0.0001, Re = 10 problem 2.

Figure 13. Analytical and numerical results of ADI at t = 2, grid size = 20 × 20, k = 0.0001, Re = 10 problem 2.

Figure 14. Analytical and numerical results of ADI at t = 0, grid size = 20 × 20, k = 0.0001, Re = 50 problem 2.

have been obtained in earlier studies (Mittal and Jiwari, 2016). In literature point of view present schemes shows similar results as (Jain and Holla, 1978; Mittal and Jiwari, 2016, khater (2008)) [21] [23] . Moreover, got similar results with small grid size. From graphical illustrations, obtained numerical results give steady state solution and the scheme is stable. In Table 9 & Table 10 we observed that results becomes better by changing grid sizes from low to high and by reducing step size.

The obtained results gives excellent agreement with the solutions available in the literature. When the number of grid points get larger than several hundred, the memory and storage of the Crank-Nicholson starts to become a serious issue and it is better to solve this method using different approaches that take advantage of the special form. This method is computationally inefficient. Thomas algorithm avoids having to store having the whole matrix J (Jacobean) in its memory and solve the system much more expediently. ADI methods reduces to the CN scheme and this method solve the system very efficiently.The order of truncation error: O ( k 2 + h 2 ) . The implementation of ADI computa- tionally is in a time efficient manner. Alternating direction implicit method is fastest when it works and it works well for simple,ideal problems and give efficient results.

5. Conclusion

In this research work, finite difference methods has been discussed for solving two dimensional convection-diffusion equation. Two test problems were considered, explained the efficiency, accuracy and stability of the schemes. The numerical results showed that Alternating Direction Implicit method is easy to implement and excellent in time efficient manner. The accuracy and stability of these methods were compared to the other numerical methods, shows good agreement with the exact solution. Both ADI and Crank-Nicholson are un- conditionally stable and highly accurate. For convergence L 2 and L norms were treated towards zero when grid size was increased. Numerical results showed that both methods are good but ADI method is consistent and time- efficient. The approach used in this paper may be useful to solve higher dimensional partial differential equations appearing in various applications of science and engineering.

Acknowledgements

This research was supported by the division of Numerical Analysis, department of Mathematics, King Abdulaziz University. Authors are thankful to Vineet K. Srivastava Scientist/Engineer-ISTRAC/ISRO, Bangalore, India and M.S. Ismail Department of Maths, King Abdulaziz University, Jeddah, Kingdom of Saudia Arabia, for providing help to understand the numerical technique for highly accurate solution.

Competing Interests

This paper has no financial or non-financial competing interest.

Authors Contribution

The authors contributed to the manuscripts equally.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Pandey, K.P., Lajja, V.L. and Amit, K.V. (2009) On a Finite Difference Scheme for Burgers Equation. Applied Mathematics and Computation, 215, 2208-2214.
https://doi.org/10.1016/j.amc.2009.08.018
[2] Fletcher, C.A. (1983) Generating Exact Solutions of the Two-Dimensional Burgers Equations. International Journal for Numerical Methods in Fluids, 3, 213-216.
https://doi.org/10.1002/fld.1650030302
[3] Collatz, L.C. (1960) The Numerical Treatment of Differential Equations. Springer Verlag, Berlin, 28.
https://doi.org/10.1007/978-3-662-05500-7
[4] Zhu, H.Q., Shu, H.Z. and Ding, M.Y. (2010) Numerical Solution of Two-Dimensional Burgers’ Equations by Discrete Adomian Decomposition Method. Computers and Mathematics with Applications, 60, 840-848.
https://doi.org/10.1016/j.camwa.2010.05.031
[5] Mazumder, S.M. (2015) Numerical Methods for Partial Differential Equations: Finite Difference and Finite Volume Methods. Academic Press, New York.
[6] Bateman, H.B. (1915) Some Recent Researches on the Motion of Fluids. Monthly Weather Review, 43, 163-170.
https://doi.org/10.1175/1520-0493(1915)43<163:SRROTM>2.0.CO;2
[7] Crandall, S.H. (1956) Engineering Analysis. McGraw-Hill, New York, 151.
[8] Noye, J.N. (1981) Nonlinear Partial Differential Equations in Engineering. University of Melbourne, Melbourne.
[9] Schiesser, W.E. and Griffiths, G.W. (2009) A Compendium of Partial Differential Equation Models. Cambridge University Press, Cambridge.
https://doi.org/10.1017/CBO9780511576270
[10] Srivastava, V.K. and Tamsir, M.T. (2012) Crank Nicolson Semi Implicit Approach for Numerical Solution of Two Dimensional Coupled Non-Linear Burgers Equations. International Journal of Applied Mechanics and Engineering, 17, 571-581.
[11] Ames, W.F. (1965) Non-Linear Partial Differential Equations in Engineering. Academic Press, New York.
[12] Ames, W.F. (1969) Finite Difference Methods for Partial Differential Equations. Academic Press, New York.
[13] James, E.F. (2002) An Introduction to Numerical Analysis. John Wiley and Sons, New York.
[14] Roache, P.J. (1972) Computational Fluid Dynamics. Hermosa, Albuquerque.
[15] Mohammad, T.M. and Vineet, K.S. (2011) A Semi-Implicit Finite-Difference Approach for Two-Dimensional Coupled Burgers Equations. International Journal of Scientific and Engineering Research, 2, 9-18.
[16] Bahadir, A.B. (2003) A Fully Implicit Finite-Difference Scheme for Two-Dimensional Burger’s Equation. Applied Mathematics and Computation, 137, 137-131.
https://doi.org/10.1016/S0096-3003(02)00091-7
[17] Kanti, P.K. and Lajja, V.L. (2011) A Note on Crank-Nicolson Scheme for Burgers Equation. Applied Mathematics, 2, 888-899.
[18] Richard, B.L. and Douglas, J.F. (2001) Numerical Analysis. 7th Edition, Brooks/ Cole, Pacific Grove.
[19] Cole, J.D. (1951) On a Quasilinear Parabolic Equations Occurring in Aerodynamics. Quarterly of Applied Mathematics, 9, 225-235.
https://doi.org/10.1090/qam/42889
[20] Holla, P.J. (1987) Numerical Solution of Coupled Burger’s Equations. International Journal for Numerical Methods in Engineering, 12.
[21] Mittal, R.C. and Tripathi, A. (2015) Numerical Solutions of Two-Dimensional Burgers Equations Using Modified Bi-Cubic B-Spline Finite Elements. Engineering Computations, 32, 1275-1306.
https://doi.org/10.1108/EC-04-2014-0067
[22] Lakoba, T.L. (2015) The Heat Equation in 2 and 3 Spatial Dimensions. University of Vermont, Burlington.
[23] Temsah, R.S. and Hassan, M.M. (2008) A Chebyshev Spectral Collocation Method for Solving Burgers-Type Equations. Journal of Computational and Applied Mathematics, 222, 333-350.
https://doi.org/10.1016/j.cam.2007.11.007
[24] Yagmurlu, K.S.N. (2012) The Modified Bi-Quintic B-Splines for Solving the Two-Dimensional Unsteady Burgers Equation. European International Journal of Science and Technology, 1, 23-39.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.