Abstract: We discuss a new method for solving unsteady convectiondiffusion problems arising high order compact difference approximations. The method can investigate not only the effects of numerical error but also those of uncertainty in a physical model at the same time. In this study, we developed numerical methods by replacing the time and space derivatives by compact finite-difference approximations. Furthermore, numerical experiments are conducted to verify its high accuracy and to compare it in combination preconditioned methods for stability, convergence.
INTRODUCTION
An attractive problem is the Diffusion-Convection equation for which various numerical methods have been suggested by a number of researchers to solve them (Golbabai and Arabshahi, 2010). Application of this equation may be seen in computational fluid dynamics, computational acoustics and computational hydraulics and electromagnetic for modeling Diffusion-Convection of quantities such as mass, energy, vorticity, heat, etc. (Dehghan and Molavi-Arabshahi, 2007; Evans, 1999; Zhao et al., 2008). This study is devoted to the numerical solution of the Diffusion-Convection equation in the form:
(1) |
Subject to initial and dirichlet boundary conditions:
(2) |
(3) |
(4) |
where, ,
(5) |
The convection-diffusion Eq. 1 above occurs in many practical problems in which the diffusion coefficient is very small compared to the velocity field
Various numerical finite difference schemes have been proposed to solve convection-diffusion problems approximately. Most of these schemes are either first-order or second-order accurate in space and have poor quality for convection dominated flows if the mesh is not sufficiently refined. Higher order discretizations are generally associated with large (non-compact) stencils which increase the band-width of the resulting matrix and lead to a large number of arithmetic operations, especially for higher dimensional problems. To obtain satisfactory higher order numerical results with reasonable computational cost, there have been attempts to develop Higher Order Compact (HOC) schemes, which utilize only the grid nodes directly adjacent to the central node.
Usual finite element methods typically produce approximate solutions with large, non-physical oscillations unless either the mesh width h is globally small with respect to the diffusion coefficient or enough is known about the exact solution to generate Shishkin-like meshes which are locally small with respect to in all transition regions in a very precise sense. Thus, various stabilizations have proven to be essential computational tools.
Many scientists are interested in the convection-dominated case, which may come from a linearized Navier-Stokes equation with high Reynolds number, the drift-diffusion equations of semiconductor device modeling and the Black-Scholes equation from financial modeling. Due to the small diffusion, the solution to Eq. 1 has singularities in the form of boundary or interior layers. The standard numerical approximation, e.g., standard finite element method, on quasi-uniform grids will yield nonphysical oscillatgions unless the mesh is fine enough to capture the layers. To obtain a robust numerical approximation for convection-dominated problems, one approach is to modify the discretization of the convection term while keeping the underlying uniform or quasi uniform grids unchanged (Spotz, 1995; Golbabai and Arabshahi, 2011). Moreover the accuracy depends crucially on the uniformity of the grids which are away from the singularity. On the other hand, we further show that the accuracy depends crucially on the uniformity of the grids which are away from the singularity. The accuracy of the approximation is very sensitive to the perturbation of grid points in the region where the solution is smooth but, in contrast, it is robust with respect to the perturbation of properly adapted grid points inside the boundary or interior layers. Up to now, various numerical methods have been suggested for solving Eq. 1. Many authors are mainly interested in the case ||
Therefore, for the Diffusion-convection problems, there is considerable interest in constructing accurate and non-diffusive schemes, which overcome or reduce numerical oscillations with as little, computing cost as possible and which preserve numerical stability. Both explicit and implicit methods for solving the Diffusion-convection equation are not efficient because the explicit schemes are usually very time consuming due to the stability restriction and implicit methods are un-conditionality stable, thus allowing a large time step. Krylov subspace methods are one of the widely used and successful classes of numerical algorithms for solving large and sparse systems of algebraic equations but the speed of these methods are slow for problems which arise from typical applications. In order to be effective and obtaining faster convergence, these methods should be combined with a suitable preconditioner. The rate of convergence generally depends on the condition number of the corresponding matrix. Since the preconditioner plays a critical role in preconditioned Krylov subspace methods, many preconditioners have been proposed and studied amongst the ADI preconditioner. In this study, we accomplish a comprehensive study for different preconditioners in combination with Krylov subspace methods for solving linear systems arising from the compact high-order approximations. The resulting block tri-diagonal linear system of equations is solved by using Krylov subspace methods. The outline of the study is as follows:
In Section 2, we discuss some physical example of convection diffusion equations and in section 3, we briefly introduce Krylov subspace methods and in Section 4, we consider some available preconditioned techniques. In Section 5, we consider Diffusion-convection problem arising from the compact high-order approximations (Jain et al., 1992). We present the results of our comparative study in the final section.
BEHAVIOR OF CONVECTION-DIFFUSION EQUATION
The convection-diffusion equations are widely used in science and engineering as mathematical models for computational simulations, such as in oil reservoir simulations, transport of mass and energy and global weather production, in which an initially discontinuous profile is propagated by diffusion and convection, the latter with a speed of
The convection-diffusion equation is a combination of the diffusion and convection (advection) equations and describes physical phenomena where particles, energy, or other physical quantities are transferred inside a physical system due to two processes: Diffusion and convection. The general equation is:
Where:
• | U is the variable of interest (species concentration for mass transfer, temperature for heat transfer) |
• | D is the diffusivity (also called diffusion coefficient), such as mass diffusivity for particle motion or thermal diffusivity for heat transport |
• | |
• | R describes "sources" or "sinks" of the quantity c. For example, for a chemical species, R>0 means that a chemical reaction is creating more of the species and R<0 means that a chemical reaction is destroying the species. For heat transport, R>0 might occur if thermal energy is being generated by friction |
• | ∇ represents gradient and ∇ represents divergence |
The convection-diffusion equation is a relatively simple equation describing flows, or alternatively, describing a stochastically-changing system. Therefore, the same or similar equation arises in many contexts unrelated to flows through space:
• | It is formally identical to the Fokker-planck equation for the velocity of a particle |
• | In semiconductor physics, this equation is called the drift-diffusion equation. The word "drift" is related to drift current and drift velocity |
• | It is closely related to the Navier-stokes equations, because the flow of momentum in a fluid is mathematically similar to the flow of mass or energy. The correspondence is clearest in the case of an incompressible Newtonian fluid, in which case the Navier-stokes equation is: |
where, M is the momentum of the fluid (per unit volume) at each point (equal to the density ρ multiplied by the velocity v), μ is viscosity, P is fluid pressure and f is any other body force such as gravity. In this equation, the term on the left-hand side describes the change in momentum at a given point; the first term on the right describes viscosity, which is really the diffusion of momentum; the second term on the right describes the adjective flow of momentum; and the last two terms on the right describes the external and internal forces which can act as sources or sinks of momentum.
KRYLOV SUBSPACE METHODS
Consider the linear system Ax = b, where A is a large sparse non-symmetric matrix. Let xo present an arbitrary initial guess to x and ro = b-Axo be a corresponding residual vector. An iterative scheme for solving Eq. 3) is called a Krylov subspace method if for any choice of ω; it produces approximate solutions of the form x = xo+ω. The subspace km is the Krylov subspace
In section 4, we solve our problems with well-known Krylov subspace methods such as generalized minimal residual method GMRES (m), quasi minimal residual method (QMR), BiCG, Conjugate gradient squared method (CGS) and Bi-Conjugate Gradient stabilized (BiCGSTAB) method that for more complete explanation refer to (Barrett et al., 1994; Saad, 1995; Van der Vorst, 2003).
PRECONDITIONED TECNIQUES
The convergence rate of iterative methods highly depends on the eigenvalue distribution of the coefficient matrix. A criterion for the width of the spectrum is the Euclidean condition number, that is for SPD matrices is:
(6) |
With
(7) |
The right hand side of (3.2) increases with growing condition number. Hence, lower condition number usually accelerates the speed of convergence. Hence we will attempt to transform the linear system into another equivalent system in the sense that it has the same solution, but has more favorable spectral properties. A preconditioner is a matrix that effects such as a transformation (Bruaset, 1995). If the preconditioner be as M = M1M2 then the preconditioned system is as:
(8) |
The matrices M1 and M2 are called the left and right preconditioners, respectively. Now, we briefly describe preconditioners that we use for solving linear systems and let us take A matrix arising from fourth-order approximations that is block tri-diagonal.
Preconditioner based on relaxation technique: Let A = D+L+U such that D, L and U are diagonal, lower and upper triangular block matrices, respectively. A splitting of the coefficient matrix is as A = M-N where the stationary iteration for solving a linear system is as:
(9) |
If the preconditioner M is defined as M = D, then this preconditioner is called Jacobi. Also, if M is defined as:
Then, we have SOR preconditioner where for ω = 1, we have Gauss-Seidel preconditioner. If M is defined as:
We get SSOR preconditioner. In the above notation, ω is called the relaxation parameter. We have chosen matrix M in Jacobi, G-S and SOR methods as a left preconditioner and in SSOR preconditioner, we have chosen:
As a left preconditioner and M2 = D-1 (D+ωU) as a right preconditioner. Also, we take:
(Bruaset, 1995) (Fig. 1-3).
ADI preconditioner: Let A = H+V and matrix A is in the form:
where, Ai = tridiag (a1i, b1i, c1i), Bi = tridiag (a2i, b2i, c2i) and Ci = tridiag (a3i, b3i, c3i) of order NxN where H and V are given in the form, V = (0.5 Bi, a1i, c1i, a3i, c3i).
Fig. 1: | Approximation solution, h: 0.25, delta: 0.00625, T: 0.1 |
Fig. 2: | 3D error of the compact finite difference scheme with time T = 10 |
Fig. 3: | Convergence plot of BiCGSTAB method |
The alternative direct H = (0.5 Bi, b3i, b1i) ion implicit method (Int Hout and Welfert, 2009; Ma and Saad, 1993; Peaceman and Rachford Jr., 1955) for solving the linear system Ax = b is in following form:
(10) |
(11) |
The ADI preconditioner is defined as M = (H+tjI) (V+rjI) and M1 = (H+tjI), M2 = (V+rjI) where Parameters r1 and r2 are acceleration parameters. Young (1971) and Varga (1962) proved that the optimum value for r1 and r2 is
BLAGE preconditioner: The block alternating group explicit (BLAGE) method was originally introduced as analogue of the Alternating Group Explicit (AGE) method (Bhuruth and Evans, 1997; Mohanty, 2007). The BLAGE uses fractional splitting technique that is applied in two half steps on linear systems with block tri-diagonal matrices of order N2xN2 and in the form:
where, Ai, Bi and Ci are tri-diagonal matrices of order NxN. The splitting of matrix A is sum of matrices G1 and G2 in which A = G1+G2 where G1 and G2 are of the form:
and:
For odd values of n where:
The BLAGE preconditioner is as M = (G1+ω1I)(G2+ω2I)
that M1 = (G1+ω1I) and M2 =
(G2+ω2I) where ω1 and ω2
are optimal iteration parameters. We have experimentally chosen the relaxation
parameter
NUMERICAL ILLUSTRATIONS
In this section, in order the validity and effectiveness of the proposed scheme; have considered the numerical solution of Diffusion-convection Eq. 1 with using preconditioned methods (Table 1 and 2). The computations have been done on a P.C. with Core 7 Pue 3.40 GHz and 8 GB RAM. We consider Eq. 1. in the region. The initial conditions is given by:
Fig. 4(a-b): | Distribution of eigen values in BLAGE preconditioner, (a) M1 and (b) M2 |
Table 1: | No. of iterations with BiCGSTAB |
Table 2: | Maximum absolute error ||e||4 |
The analytical solution is of the form:
The initial condition is a Gaussian pulse centered at (0.5, 0.5) having height 1. The boundary conditions have been taken from the analytical solution. We choose v1 = v2 = 1, v1 = v2 = 0.8, θ = 0.01 and t = 10. We discretized Eq. 1 using compact high-order approximation.
CONCLUSION
High-order approximation are designed by the need to produce more stable schemes which are efficient with respect to the operation number and that do not experience difficulties near boundaries. A high-order compact scheme in combination preconditioner was applied successfully to Diffusion- Convection equation. We study comparison of different preconditioners in combination Krylov subspace methods. The numerical results which are given in the previous section demonstrate the good accuracy of this scheme and efficiency of preconditioned Krylov subspace methods. We got to this conclusion that the ADI preconditioner is effective for model problems rather than other. So, we propose using ADI preconditioner in combination with Krylov subspace methods for solving non-symmetric systems because this preconditioner needs to less computing time and have the less iteration number than other. Also, we propose the BiCGSTAB method because of the need to less iteration number, simplicity in implementation, flat convergence and to save in computational time.