Next Article in Journal
On the Dirichlet Problem with Corner Singularity
Next Article in Special Issue
Meshless Analysis of Nonlocal Boundary Value Problems in Anisotropic and Inhomogeneous Media
Previous Article in Journal
The Most Refined Axiom for a Digital Covering Space and Its Utilities
Previous Article in Special Issue
Three-Dimensional Volume Integral Equation Method for Solving Isotropic/Anisotropic Inhomogeneity Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Numerical Analysis of Convection–Diffusion Using a Modified Upwind Approach in the Finite Volume Method

by
Arafat Hussain
1,
Zhoushun Zheng
1,* and
Eyaya Fekadie Anley
1,2
1
School of Mathematics and Statistics, Central South University, Changsha 410083, China
2
Department of Mathematics, College of Natural and Computational Science, Arba-Minch University, Arba-Minch 21, Ethiopia
*
Author to whom correspondence should be addressed.
Mathematics 2020, 8(11), 1869; https://doi.org/10.3390/math8111869
Submission received: 14 September 2020 / Revised: 2 October 2020 / Accepted: 5 October 2020 / Published: 28 October 2020
(This article belongs to the Special Issue Numerical Modeling and Analysis)

Abstract

:
The main focus of this study was to develop a numerical scheme with new expressions for interface flux approximations based on the upwind approach in the finite volume method. Our new proposed numerical scheme is unconditionally stable with second-order accuracy in both space and time. The method is based on the second-order formulation for the temporal approximation, and an upwind approach of the finite volume method is used for spatial interface approximation. Some numerical experiments have been conducted to illustrate the performance of the new numerical scheme for a convection–diffusion problem. For the phenomena of convection dominance and diffusion dominance, we developed a comparative study of this new upwind finite volume method with an existing upwind form and central difference scheme of the finite volume method. The modified numerical scheme shows highly accurate results as compared to both numerical schemes.

1. Introduction

Partial differential equations (PDEs) have a vital role in describing different phenomena in real life. Such applications appear in many fields—in industry, biology, agriculture, petro-chemistry, heat transfer in draining films, the spread of solutes in liquid flowing through a tube, flow in porous media, meteorology and electric discharge [1,2,3,4,5,6]. Fluid dynamics is an important scientific area where governing equations are most often differential equations, and any analytical solutions for these equations are only possible for a restricted and limited number of cases. Due to this, several numerical techniques have been developed for the numerical approximations of convection–diffusion problems [7,8,9,10,11,12,13,14,15,16,17,18]. The most common numerical techniques are based on the finite difference method, the finite volume method and the finite element method. The comparison of finite difference and finite volume method for the numerical approximation of the convection–diffusion equation was studied in the papers [19,20,21,22]. The finite volume method is a special kind of numerical approach which is widely used for solving convection–diffusion problems in computational fluid dynamics [23,24,25,26,27] and also to simulate advection-diffusion problems with convection dominated processes [28,29,30]. The numerical simulation and the error estimate of steady-state convection–dominated diffusion problem was investigated in [31] using a cell-vertex finite volume approximation, whereas [32] used cell-centered finite difference approximations for a steady-state convection–diffusion problem to get second-order convergence that fulfilled the discrete maximum principle with discrete Sobolev spaces. By looking at the work in [33] a singular perturbed convection–diffusion problem was discretized with the help of the upwind finite volume scheme with uniform point-wise convergence over layer-adapted meshes. The authors [34] discussed the numerical solution of the unsteady-state advection-diffusion problem in two dimensions using the upwind finite volume method and an alternating-implicit, upwind finite volume method. Numerical simulations of non-Newtonian fluids were investigated using the finite volume formulation [35], where the approximation of the convection process is managed by using the QUICK differences scheme. A two-dimensional, incompressible in-viscid-free surface was simulated in [36] and they used the level set method for capturing the interface. A numerical solution of the convection–diffusion problem with variable coefficients over the nonstandard control volume grid was analyzed in [37] using the weighted upwind finite volume method. In the [38] finite volume method combined with the Lattice–Boltzmann method was studied for discretizing the convection operator over different regions, whereas [39] discussed the error estimation of the non-linear advection operator using the upwind finite volume method over a geometric corrector. In the meantime, the convergence analysis for the general initial and boundary condition with linear transport problems over the regularity property was solved in [40] using the upwind finite volume method.
Since in flow simulations it is imperative to satisfy conservation laws at all levels [41], by avoiding generation and consumption of mass, energy and momentum due to artificial terms inside the control volume, this is not guaranteed in finite difference and finite element methods. The control volume integration is a key step in the finite volume method, which ensures the conservation of relevant properties at each finite control cell level. This control volume integration gives a semi–discretize conservation law which involves fluxes at the interfaces of control volumes. The most popular forms of the finite volume method discretization are cell-centered, vertex-centered and face-centered [42]. The important contributions of the finite volume method are that it can also be formulated in the physical space on unstructured meshes and it is relatively easy to implement a variety of boundary conditions in a non-invasive manner [43].
The numerical schemes for time-dependent problems are known as explicit, implicit and fully implicit based on the chosen temporal approximation. One of the most common and widely used techniques for temporal approximation is the Crank–Nicolson method [44,45]. This technique forms a second-order implicit scheme in time. John Crank and Phyllis Nicolson constructed this well-known numerical technique in the mid 20th century [44,46,47,48,49,50,51]. In the past, based on spatial interface approximations, several finite volume numerical schemes were developed to solve the convection–diffusion problem.
In this study, based on the upwind approach, new expressions were obtained for spatial approximation at the interface. Crank–Nicolson formulation is used for the approximation along the temporal direction, and using these new interface approximations, a numerical scheme was developed for the numerical approximation of convection–diffusion problem. This newly developed scheme is unconditionally stable and gives second-order accuracy. Some numerical experiments have been carried out to validate our newly developed theoretical algorithm for the upwind approach, and we have compared the numerical results of our modified upwind approach with the central differences scheme and the most common upwind approach [4,21], and the numerical approximation of the unsteady convection–diffusion problem.
The paper is organized as follows: we have introduced preliminary remarks and definitions in Section 2. We have also shown the discretized and formulated form of our problem in Section 3, and in Section 4, the numerical scheme is treated and analyzed with the boundary condition. In addition, our stability and convergence order analysis are discussed using the von Neumann–Fourier method in Section 5. In Section 6, numerical experiments are shown to verify our theoretical study and the conclusions are presented in Section 7.

2. Preliminary Remarks

Definition 1.
The finite volume method is an integration-based numerical method, where after integration, we need to approximate the variables at interfaces and different choices of interface approximations give rise to different numerical schemes. The existing and most common techniques for interface approximation are central difference approximation (piece-wise linear profile assumption) and upwind approach approximation (stepwise profile assumption). Interface approximation using central difference approach are given as
Φ i Δ x 2 = Φ i Δ x + Φ i + Δ x 2 Φ i + Δ x 2 = Φ i + Δ x + Φ i + Δ x 2
Definition 2.
The upwind or donor cell approach takes into account the flow direction. This approach makes the interface approximation in terms of the upstream node, which means the stronger influencing node at the interface (see Figure 1). In the positive directional flow, the upstream node for west and east faces are respectively
Φ i Δ x 2 = Φ i Δ x Φ i + Δ x 2 = Φ i
And for downwind or negative directional flow, the upstream nodes for interfaces are defined as
Φ i Δ x 2 = Φ i Φ i + Δ x 2 = Φ i + Δ x
Definition 3.
In the theory of finite volume method, interface Γ is the common boundary of adjacent control volumes; it can be divided into two classes, internal faces (between two control volumes) and boundary faces (which coincide with the boundaries of the physical domain). Let the computational domain Ω be divided into n c sub-domains also called control volumes as
Ω = i = 1 n c Ω c
The boundary of the control volume is express as:
Ω = i = 1 n f a c Γ c , i
where n f a c denotes the number of faces or edges of a control volume. In our one dimensional study, each control volume has two edges, i.e., n f a c = 2 (see Figure 2), whereas, for triangular and quadrilateral cells, there are 3 and 4 respectively. On a uniform and structured mesh, cells centers or computational nodes are indexed by subscript i or (i,j) for one and two-dimensional domains respectively. For an interface between the cell i and i + 1 the useful subscript notation is i + 1 2 (see in Figure 2).
Γ i Δ x 2 = 1 2 ( x i Δ x + x i + Δ x ) Γ i + Δ x 2 = 1 2 ( x i + x i + Δ x )
Remark 1.
In our study, by taking the transportiveness of the property or flow direction under consideration, we have obtained new expressions for the interface approximation, and for the treatment of boundary nodes we have adjusted imaginary or mirror nodes Φ 1 Δ x , j and Φ n + Δ x , j at a distance of Δ x 2 outside the left and right boundaries of computational domain shown (indicated in Figure 3) which are approximated by:
Φ 1 Δ x , j = 2 Φ L , j Φ 1 , j , Φ n + Δ x , j = 2 Φ R , j Φ n , j ,
Lemma 1
([40,52,53]). Let Ω = [ 0 , L ] be a bounded smooth domain and let T > 0; then the transportive linear equation with initial and boundary conditions
ϕ ( x , t ) t + v ϕ ( x , t ) x = k 2 ϕ ( x , t ) x 2 + p ( x , t ) , ( x , t ) Ω × [ 0 , T ] , ϕ ( x , 0 ) = f ( x ) , x Ω , ϕ ( 0 , t ) = ϕ 1 ( t ) , ϕ ( L , t ) = ϕ 2 ( t ) , t [ 0 , T ]
with v > 0 , k 0 being constant coefficients, has a finite and unique solution.

3. Discretization and Formulation of the Problem

The convection–diffusion equation can be either convection or diffusion dominated; it depends on the rate of convection and the rate of diffusion. The impact of convection on the transport of physical quantity is measured by Reynold number or the local Peclet number ( v Δ x k ) . For the discretization we have used the domains Ω = [ 0 , L ] and Δ x = L / M x , Δ t = T / N t , 0 i M x 1 , 0 j N t 1 . Consider the one-dimensional convection–diffusion equation with constant coefficients:
Φ t + v Φ x = k 2 Φ x 2 + p ( x , t ) , ( x , t ) [ 0 , L ] × ( 0 , T ] ,
with initial condition
Φ ( x , 0 ) = f ( x ) , x Ω ,
and boundary condition
Φ ( 0 , t ) = ϕ 1 ( t ) , Φ ( L , t ) = ϕ 2 ( t ) , t [ 0 , T ] ,
where v > 0 , k 0 represent the convective velocity and diffusion coefficient respectively, whereas Φ ( x , t ) is the variable convected in x-direction. v Φ x and k 2 Φ x 2 are called convective (sometimes advective) and diffusive (sometimes viscous) terms respectively. For easy implementation of the new upwind approach of the finite volume method, we do not consider the source/sink term in our discretization of the Equation (1). The term convection means the movement of molecules within the fluid. In contrast, diffusion describes the spread of particles through the random motion from the region of high concentration to lower concentration region. In problems in which fluid flow plays important roles, we must consider the effects of convection dominance. A uniform discretization of the finite volume method is shown in Figure 2.
By integrating the problem over the control volume, [ x i Δ x 2 , x i + Δ x 2 ] [ t j , t j + 1 ] around the nodal point i.
i Δ x 2 i + Δ x 2 j j + 1 Φ t d t d x + v j j + 1 i Δ x 2 i + Δ x 2 Φ x d x d t = k j j + 1 i Δ x 2 i + Δ x 2 2 Φ 2 x d x d t .
i Δ x 2 i + Δ x 2 [ ϕ i , j + 1 ϕ i , j ] d x + j j + 1 v [ Φ i + Δ x 2 , j Φ i Δ x 2 , j ] d t = j j + 1 k [ Φ x ) i + Δ x 2 , j ( k Φ x ) i Δ x 2 , j ] d t .
Here, the first term will be approximated by using trapezoidal rule for numerical integration
Δ x 2 [ ϕ i + Δ x 2 , j + 1 + Φ i Δ x 2 , j + 1 ] Δ x 2 [ ϕ i + Δ x 2 , j + Φ i Δ x 2 , j ] + v j j + 1 [ Φ i + Δ x 2 Φ i Δ x 2 ] d t = j j + 1 [ ( k Φ x ) i + Δ x 2 , j ( k Φ x ) i Δ x 2 , j ] d t .
Here we need to make an approximation of variable and its gradients at the interface, as gradients will be approximated using central difference approximation as
( ϕ x ) x i + Δ x 2 , j = [ ϕ i + 1 , j ϕ i , j Δ x ] + O ( Δ x 2 ) .
( ϕ x ) x i Δ x 2 , j = [ ϕ i , j ϕ i 1 , j Δ x ] + O ( Δ x 2 ) .
Remark 2.
One of the major inadequacies of the central difference scheme is its inability to identify the flow direction while approximating these interface fluxes. This scheme treats equally (taking the average value) both neighbor nodes of any interface when approximating the variable at interface, whereas the existing and commonly used upwind approach considers the flow direction with the first-order accuracy. In the current study a numerical scheme based on upwind approach is proposed with second-order accuracy.
For an upwind approach, The upstream or high influential node for each interface of ith control volume is indicated in Figure 1. In the case of the upwind approach ( v > 0 ) the flow is coming from the left side and approximates at its east face Φ i + Δ x 2 , j in terms of its upstream node Φ i , j will be:
Φ i + Δ x 2 , j = Φ i , j + Δ x 2 Φ i , j + ( Δ x 2 ) 2 2 Φ i . j + ( Δ x 2 ) 3 6 Φ i . j .
Φ i + Δ x 2 , j = Φ i , j + Δ x 2 Φ i , j + O ( Δ x 2 ) .
Here Φ i , j can be approximated by using the central difference approximation between the nodes Φ i 1 , j and Φ i + 1 , j as follows:
Φ i , j = Φ i + 1 , j Φ i 1 , j 2 Δ x + O ( Δ x 2 ) ,
By putting this approximation in the above Equation (5), we have:
Φ i + Δ x 2 , j = Φ i , j + Δ x 2 Φ i + 1 , j Φ i 1 , j 2 Δ x + O ( Δ x 2 ) ,
Φ i + Δ x 2 , j = Φ i , j + 1 4 Φ i + 1 , j 1 4 Φ i 1 , j + O ( Δ x 2 ) .
This Equation (6), shows our expression for east interface Φ i + Δ x 2 , j approximation based on the upwind approach ( v > 0 ). Now for the upwind approach ( v > 0 ) the west face Φ i Δ x 2 , j will be approximated by its upstream node Φ i 1 , j :
Φ i Δ x 2 , j = Φ i 1 , j + Δ x 2 Φ i 1 , j + ( Δ x 2 ) 2 2 Φ i 1 , j + ( Δ x 2 ) 3 6 Φ i 1 , j Φ i Δ x 2 , j = Φ i 1 , j + Δ x 2 Φ i 1 , j + O ( Δ x 2 ) .
Here Φ i 1 , j can be approximated by central difference scheme approximation between the node Φ i 2 , j and Φ i , j as follows:
Φ i 1 , j = Φ i , j Φ i 2 , j 2 Δ x + O ( Δ x 2 ) ,
Substitute this approximation into (7) and it becomes:
Φ i Δ x 2 , j = Φ i 1 , j + Δ x 2 Φ i , j Φ i 2 , j 2 Δ x + O ( Δ x 2 ) , Φ i Δ x 2 , j = Φ i 1 , j + 1 4 Φ i , j 1 4 Φ i 2 , j + O ( Δ x 2 ) .
This Equation (8) shows our approximation at the west interface Φ i Δ x 2 , j of the ith control volume when ( v > 0 ). Now substitute the approximations given in Equations (3), (4), (6) and (8) in above semi-discretized Equation (2); we get:
Δ x 2 Φ i , j + 1 + 1 4 Φ i + 1 , j + 1 1 4 Φ i 1 , j + 1 + Φ i 1 , j + 1 + 1 4 Φ i , j + 1 1 4 Φ i 2 , j + 1 Δ x 2 Φ i , j + 1 4 Φ i + 1 , j 1 4 Φ i 1 , j + Φ i 1 , j + 1 4 Φ i , j 1 4 Φ i 2 , j + v j j + 1 Φ i , j + 1 4 Φ i + 1 , j 1 4 Φ i 1 , j ( Φ i 1 , j + 1 4 Φ i , j 1 4 Φ i 2 , j ) d t = k Δ x j j + 1 Φ i 1 , j 2 Φ i , j + Φ i + 1 , j d t .
After some simplification we get:
Δ x 8 Φ i 2 , j + 1 + 3 Δ x 8 Φ i 1 , j + 1 + 5 Δ x 8 Φ i , j + 1 + Δ x 8 Φ i + 1 , j + 1 + v j j + 1 1 4 Φ i 2 , j 5 4 Φ i 1 , j + 3 4 Φ i , j + 1 4 Φ i + 1 , j d t = k Δ x j j + 1 Φ i 1 , j 2 Φ i , j + Φ i + 1 , j d t Δ x 8 Φ i 2 , j + 3 Δ x 8 Φ i 1 , j + 5 Δ x 8 Φ i , j + Δ x 8 Φ i + 1 , j .
After some rearrangements, the above expression becomes:
Δ x 8 Φ i 2 , j + 1 + 3 Δ x 8 Φ i 1 , j + 1 + 5 Δ x 8 Φ i , j + 1 + Δ x 8 Φ i + 1 , j + 1 + v 4 j j + 1 Φ i 2 d t + 5 v 4 k Δ x j j + 1 Φ i 1 d t + 3 v 4 + 2 k Δ x j j + 1 Φ i d t + v 4 k Δ x j j + 1 Φ i + 1 d t = Δ x 8 Φ i 2 , j + 3 Δ x 8 Φ i 1 , j + 5 Δ x 8 Φ i , j + Δ x 8 Φ i + 1 , j .
Here θ method is used to evaluate the temporal integration:
j j + 1 Φ i d t = θ Φ i j + 1 + ( 1 θ ) Φ i j Δ t .
where θ [ 0 , 1 ]
Δ x 8 Φ i 2 , j + 1 + 3 Δ x 8 Φ i 1 , j + 1 + 5 Δ x 8 Φ i , j + 1 + Δ x 8 Φ i + 1 , j + 1 + θ ( v 4 ) Φ i 2 j + 1 + ( 5 v 4 k Δ x ) Φ i 1 j + 1 + ( 3 v 4 + 2 k Δ x ) Φ i j + 1 + ( v 4 k Δ x ) Φ i + 1 j + 1 Δ t + ( 1 θ ) ( v 4 ) Φ i 2 j + ( 5 v 4 k Δ x ) Φ i 1 j + ( 3 v 4 + 2 k Δ x ) Φ i j + ( v 4 k Δ x ) Φ i + 1 j Δ t = Δ x 8 Φ i 2 j + 3 Δ x 8 Φ i 1 j + 5 Δ x 8 Φ i j + Δ x 8 Φ i + 1 j .
For the Crank–Nicolson scheme θ = 1 2 and also divide by Δ x
1 8 + v Δ t 8 Δ x Φ i 2 , j + 1 + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 Φ i 1 , j + 1 + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 Φ i , j + 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 Φ i + 1 , j + 1 = 1 8 v Δ t 8 Δ x Φ i 2 , j + 3 8 + 5 v Δ t 8 Δ x + k Δ t 2 Δ x 2 Φ i 1 , j + 5 8 3 v Δ t 8 Δ x k Δ t Δ x 2 Φ i , j + 1 8 v Δ t 8 Δ x + k Δ t 2 Δ x 2 Φ i + 1 , j .
Let the coefficients be
C 1 = 1 8 + v Δ t 8 Δ x , C 2 = 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 , C 3 = 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 , C 4 = 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 ,
C 5 = 1 8 v Δ t 8 Δ x , C 6 = 3 8 + 5 v Δ t 8 Δ x + k Δ t 2 Δ x 2 , C 7 = 5 8 3 v Δ t 8 Δ x k Δ t Δ x 2 , C 8 = 1 8 v Δ t 8 Δ x + k Δ t 2 Δ x 2
C 1 Φ i 2 , j + 1 + C 2 Φ i 1 , j + 1 + C 3 Φ i , j + 1 + C 4 Φ i + 1 , j + 1 = C 5 Φ i 2 , j + C 6 Φ i 1 , j + C 7 Φ i , j + C 8 Φ i + 1 , j
This Equation (13) shows our numerical scheme based on the upwind approach of the finite volume method, and it is valid for interior nodes from node 3 to n 1 with the convergence of second-order in both space and time. For i = 1 , 2 and i = n this scheme gives Φ 0 , j , Φ 1 , j and Φ n + 1 , j which we do not have in our computational domain; such cells are called ghost cells and values for these cells are called ghost values. For the special treatment of these boundary nodes (see in Section 4), our modified scheme holds the property of boundedness and also ensures the conservation of the variable using the consistent and same approximation expressions for a common interface of the two adjacent control volumes.
Remark 3.
For a downwind approach also we have define the upstream nodes (see Definition 2) and in the case of the downwind approach, i.e., v < 0 , our interface approximations will be
Φ i + Δ x 2 , j = Φ i + 1 , j 1 4 Φ i + 2 , j + 1 4 Φ i , j + O ( Δ x 2 ) .
Φ i Δ x 2 , j = Φ i , j 1 4 Φ i + 1 , j + 1 4 Φ i 1 , j + O ( Δ x 2 ) .
With these interface approximations for the downwind approach ( v < 0 ) the numerical scheme will be
1 8 v Δ t 4 Δ x k Δ x 2 Φ i 1 , j + 5 8 3 v Δ t 4 Δ x + 2 k Δ t Δ x 2 Φ i , j + 3 8 + 5 v Δ t 4 Δ x k Δ t Δ x 2 Φ i + 1 , j + 1 8 v Δ t 4 Δ x Φ i + 2 , j = 1 8 Φ i 1 , j 1 + 5 8 Φ i , j 1 + 3 8 Φ i + 1 , j 1 1 8 Φ i + 2 , j 1 .

4. The Formulation of the Problem within the Analysis of Boundary Conditions

The boundary nodes 1, 2 and n need special treatment for the discretization of a governing equation over these nodes.
For node 1 the wet face Φ 1 Δ x 2 , j is known because it coincides with the left boundary of the physical domain.
Φ 1 Δ x 2 = Φ L , j .
The east face of node 1 Φ 1 + Δ x 2 , j can be approximate from Equation (6) by taking i = 1 . For the approximation of east face of node 1 we have adjusted an imaginary node ϕ 1 Δ x , j outside the boundary of the domain at a distance Δ x 2 (see in Remark 1 and Figure 3). For east face of node 1, Equation (6) becomes
Φ 1 + Δ x 2 = Φ 1 , j + 1 4 Φ 2 , j 1 4 Φ 1 Δ x , j .
Here Φ 1 Δ x , j is our left imaginary node; substitute its approximated value (see Remark 1) in Equation (15)
Φ 1 + Δ x 2 , j = 5 4 Φ 1 , j + 1 4 Φ 2 , j 1 2 Φ L , j .
This expression (16) shows the east face approximation of node 1. By substituting the approximations in expression (14) and (16) into Equation (2), the discretized equation for node 1 will be
5 8 + 5 v Δ t 8 Δ x + 3 k Δ t 2 Δ x 2 Φ 1 j + 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x Φ 2 j + 1 = 5 8 5 v Δ t 8 Δ x 3 k Δ t 2 Δ x 2 Φ 1 j + 1 8 v Δ t 8 Δ x + k Δ t 2 Δ x 2 Φ 2 j + 1 4 + 3 v Δ t 4 Δ x + k Δ t Δ x 2 Φ L j + 1 4 + 3 v Δ t 4 Δ x + k Δ t Δ x 2 Φ L j + 1 .
This is the discretized equation for node 1. As the uniqueness and major advantage of the finite volume method is to ensure the conservation of variable by using the consistent expression for a common interface between two adjacent control volumes, the west face of node 2 and east face of node 1 must have same approximation expression:
Φ 1 + Δ x 2 = Φ 2 Δ x 2 , j = 5 4 Φ 1 , j + 1 4 Φ 2 , j 1 2 Φ L , j .
The east face of node 2 can be approximated from expression (6) by taking i = 2 .
Φ 2 + Δ x 2 , j = Φ 2 , j + 1 4 Φ 3 , j 1 4 Φ 1 , j + O ( Δ x 2 ) .
Using the expressions (18) and (19) for west and east face approximations of node 2 respectively, the expression (2) after some simplification and applying the θ method gives the discretized equation for node 2 as
1 2 3 v Δ t 4 Δ x k Δ t 2 Δ x 2 Φ 1 j + 1 + 5 8 + 3 v Δ t 8 Δ x + k Δ x Δ x 2 Φ 2 j + 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 Φ 3 j + 1 = 1 2 + 3 v Δ t 4 Δ x + k Δ t 2 Δ x 2 Φ 1 j + 5 8 3 v Δ t 8 Δ x k Δ t Δ x 2 Φ 2 j + 1 8 v Δ t 8 Δ x + k Δ t 2 Δ x 2 Φ 3 j + 1 4 v Δ t 4 Δ x Φ L j + 1 4 v Δ t 4 Δ x Φ L j + 1
This is the final discretized equation for node 2. The upstream node for east face Φ n + Δ x 2 , j is node n and can by approximated form expression (6) by taking i = n :
Φ n + Δ x 2 , j = Φ n , j + 1 4 Φ n + 1 , j 1 4 Φ n 1 , j .
Φ n + 1 is our right side imaginary node (see Figure 3); put the approximation of imaginary node Φ n + 1 , j (see Remark 1) in Equation (21) and it becomes
Φ n + Δ x 2 , j = 3 4 Φ n , j 1 4 Φ n 1 , j + 1 2 Φ B , j .
Φ R is known because it lies over the right boundary of physical domain. The west face Φ n Δ x 2 , j can be approximated using Equation (8) by taking i = n :
Φ n Δ x 2 = Φ n 1 , j + 1 4 Φ n , j 1 4 Φ n 2 , j
By using the Equations (22) and (23) for node n the discretized equation will be
1 8 + v Δ t 8 Δ x Φ n 2 j + 1 + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 Φ n 1 j + 1 + 1 2 + v Δ t 4 Δ x + 3 k Δ t 2 Δ x 2 Φ n j + 1 = 1 8 v Δ t 8 Δ x Φ n 2 j + 3 8 + 5 v Δ t 8 Δ x + k Δ t 2 Δ x 2 Φ n 1 j + 1 2 v Δ t 4 Δ x 3 k Δ t 2 Δ x 2 Φ n j + 1 4 v Δ t 4 Δ x + k Δ t Δ x 2 Φ R j + 1 4 v Δ t 4 Δ x + k Δ t Δ x 2 Φ R j + 1 .

5. Theoretical Aspects and Analysis of the Numerical Scheme

5.1. Stability Analysis

In this section, our objective is to find the stability region for the modified scheme of the finite volume method. The von Neumann technique based on Fourier mode analysis is used. Now the the stability of a scheme actually requires | ξ | 1 .
Theorem 1.
Let ϕ i , j ^ be the numerical approximation of the exact solution ϕ i , j ; then scheme (13) is unconditionally stable over a finite domain and 3 i M x 1 , 1 j N 1 .
Proof of Theorem 1.
In Fourier analysis the amplification factor of error is represented by η i , j = ξ j e s β i Δ x where ξ is a time dependent variable, s represents 1 and β is wave number with associated wavelength λ = 2 π | β | . When we apply this factor to our scheme (13), its error equation becomes
C 1 ξ j + 1 e s β ( i 2 ) Δ x + C 2 ξ j + 1 e s β ( i 1 ) Δ x + C 3 ξ j + 1 e s β ( i ) Δ x + C 4 ξ j + 1 e s β ( i + 1 ) Δ x = C 5 ξ j e s β ( i 2 ) Δ x + C 6 ξ j e s β ( i 1 ) Δ x + C 7 ξ j e s β i Δ x + C 8 ξ j e s β ( i + 1 ) Δ x
Simplification and collecting like-terms:
ξ j + 1 C 1 e s 2 β Δ x + C 2 e s β Δ x + C 3 + C 4 e s β Δ x = C 5 e s 2 β Δ x + C 6 e s β Δ x + C 7 + C 8 e s β Δ x ξ j ξ j + 1 C 1 e s β Δ x + C 2 + C 3 e s β Δ x + C 4 e s 2 β Δ x = C 5 e s β Δ x + C 6 + C 7 e s β Δ x + C 8 e s 2 β Δ x ξ j
Then, we can find the factor at time-level j + 1 as:
ξ j + 1 = C 5 e s β Δ x + C 6 + C 7 e s β Δ x + C 8 e s 2 β Δ x C 1 e s β Δ x + C 2 + C 3 e s β Δ x + C 4 e s 2 β Δ x ξ j
By further simplification we get:
ξ j + 1 = ( C 5 + C 7 ) cos ( β Δ x ) + s ( C 7 C 5 ) sin ( β Δ x ) + C 6 + C 8 e s 2 β Δ x ( C 3 + C 1 ) cos ( β Δ x ) + s ( C 3 C 1 ) sin ( β Δ x ) + C 2 + C 4 e s 2 β Δ x ξ j
After simplification of coefficients, expression (25) can be expressed in a simple form:
ξ j + 1 = α β γ α + β + γ ξ j
α , β and γ are complex numbers in where s = 1 :
α = ( 1 2 cos ( β Δ x ) + 1 4 + 1 4 cos ( β Δ x ) ) + s ( 3 4 + 1 4 cos ( β Δ x ) sin ( β Δ Δ x ) ) , β = v Δ t Δ x ( 1 2 cos ( β Δ x ) 3 4 + 1 4 cos 2 ( β Δ x ) ) + s v Δ t 4 Δ x ( 1 + cos ( β Δ x ) sin ( β Δ x ) ) a n d γ = k Δ t Δ x 2 ( 1 cos ( β Δ x ) cos ( β Δ x ) ) + s k Δ t Δ x 2 ( 1 cos ( β Δ x ) sin ( β Δ x ) )
| ξ j + 1 | = | α β γ α + β + γ ξ j | = | α ( β + γ ) | | α + ( β + γ ) | | ξ j |
As we know, for two complex numbers we have the inequality
| z 1 z 2 | | z 1 + z 2 | .
This implies
| α ( β + γ ) | | α + ( β + γ ) | .
Using this inequality, expression (27) becomes
| ξ j + 1 | = | α ( β + γ ) | | α + ( β + γ ) | | ξ j | | α + ( β + γ ) | | α + ( β + γ ) | | ξ j | = | ξ j | | ξ j | = | α ( β + γ ) | | α + ( β + γ ) | | | α + ( β + γ ) | | α + ( β + γ ) | = 1 .
From the Expression (29) it is clear that the magnitude | ξ j | is bounded, which indicates that the numerical scheme is unconditionally stable, as we expected. It means that there are no restrictions on the spatial and temporal step sizes Δ x and Δ t respectively, but we should choose Δ x and Δ t in such a way that the accuracy order of the scheme should not be degraded. □

5.2. Convergence Analysis of the Scheme

Theorem 2.
Let Φ ^ i , j be the exact solution of the governing problem (1), whereas Φ i , j represents the solution by our numerical scheme (13); then for all 0 j N + 1 , we have the estimates:
Φ ^ i , j Φ i , j c ( Δ x 2 + Δ t 2 )
where Φ ^ i , j Φ i , j = max 1 i M x | Φ ^ i , j Φ i , j | , c is a positive constant which is independent of Δ x and Δ t , whereas . stands for the discrete L 2 norm.
Proof of Theorem 2.
The numerical approximation gives an error e i , j at each grid point defined as e i , j = Φ ^ i , j Φ i , j where e i j = ( e 1 j , e 2 j , e 3 j , · , e M j ) and e i 0 = 0 ; we have from our numerical scheme (13),
if j = 1 :
E i 1 = 1 8 + v Δ t 8 Δ x e i 2 1 + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 e i 1 1 + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 e i 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 e i + 1 1 ;
if j > 1
E i j = 1 8 + v Δ t 8 Δ x e i 2 j + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 e i 1 j + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 e i j + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 e i + 1 j
where E i j c ( Δ x 2 + Δ t 2 ) , i = 3 , 4 , , M 1 , j = 0 , 1 , 2 , 3 , 4 , . , N + 1 and c is a positive constant which is independent of Δ x and Δ t .
We can use the mathematical induction to prove the Theorem 2. Let j = 1 and assume | e m 1 | = max 1 i M x | e i 1 |
e m 1 = | e m 1 | 1 8 + v Δ t 8 Δ x | e m 2 1 | + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 | e m 1 1 | + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 | e m 1 | + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 | e m + 1 1 | | 1 8 + v Δ t 8 Δ x e m 2 1 + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 e m 1 1 + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 e m 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 e m + 1 1 | = | E m 1 | c ( Δ x 2 + Δ t 2 )
Suppose that if j n , e i n c ( Δ x 2 + Δ t 2 ) ; hold and assume j = n + 1 ; let | e m n + 1 | = max 1 i M x | e i n + 1 |
e m n + 1 = | e m n + 1 | 1 8 + v Δ t 8 Δ x | e m 2 n + 1 | + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 | e m 1 n + 1 | + 5 8 + 3 v Δ t 8 Δ x + k Δ t Δ x 2 | e m n + 1 | + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 | e m + 1 n + 1 | | 1 8 + v Δ t 8 Δ x e m 2 n + 1 + 3 8 5 v Δ t 8 Δ x k Δ t 2 Δ x 2 e m 1 n + 1 + 5 8 + 3 v Δ t 8 Δ x + Δ t Δ x 2 e m n + 1 + 1 8 + v Δ t 8 Δ x k Δ t 2 Δ x 2 e m + 1 n + 1 | = | E m n + 1 | c ( Δ x 2 + Δ t 2 )
which completes the proof. □

6. Numerical Experiments

1. Let ϕ ( x , t ) be the property transported by means of convection and diffusion processes through one dimensional domain. Using equally spaced cells with the modified scheme of the finite volume method for the convection–diffusion equation, calculate the distribution of ϕ ( x , t ) . The analytical solution of the problem given in [15] by ϕ ( x , t ) = 1 + e ( π 2 t / 10 ) s i n ( π ( x t ) ) is considered on the finite domain [ 0 , 1 ] × [ 0 , 1 ] . The initial and boundary values are calculated from the exact solution by taking t = 0 and x = 0 , x = 1 , respectively.
For time step Δ t = 1 / 1500 and spatial step size Δ x = 1 / 320 the convection–diffusion problem is solved using a modified upwind approach of the finite volume method, obtaining numerical solution and maximum are shown in Figure 4.
The spatial and temporal convergence order of the newly constructed scheme are displayed in Table 1 and Table 2, respectively. In Table 1 spatial convergence has been proved for temporal step sizes Δ t = 1 / 500 , 1 / 1000 and 1 / 1500 , whereas spatial step size Δ x taken as 1 / 10 , 1 / 20 , 1 / 40 and 1 / 80 . In Table 2 results for the temporal convergence order have been shown. Temporal convergence order is proved for spatial step size ( Δ x ) taken as 1 / 300 , 1 / 800 and 1 / 1500 ,;the temporal step size ( Δ t ) is 1 / 20 , 1 / 40 , 1 / 80 or 1 / 160 . The obtained spatial and temporal convergence order mentioned in Table 1 and Table 2 supports our theoretical approach about the convergence order of our scheme (see Section 3 and Section 5.2).
2. Consider a homogeneous one dimensional convection–diffusion problem over a computational domain, 0 x 1 , 0 t 1 . ; its exact solution is given in [16] as: ϕ ( x , t ) = 1 4 t + 1 e ( ( x 1 v t ) 2 ) / k ( 4 t + 1 ) with v 0 as the convection velocity to the x direction and k > 0 as the diffusion coefficient. Now, we can find the transported property ϕ ( x , t ) for two different cases of convection dominance and diffusion dominance respectively, using the modified upwind finite volume method with equally spaced cells. The initial and boundary values are calculated from an exact solution by taking t = 0 and x = 0 , x = 1 , respectively.
In Figure 5 numerical results for the convection dominant case ( v = 1 , k = 0.07 ) are expressed. The left figures show the numerical approximation and maximum error of the modified upwind finite volume method. In contrast, figures on the right side represent the numerical solution and maximum error using an existing upwind finite volume method for the convection–diffusion problem. In this case, the numerical value of maximum error produced by the new upwind scheme was 3.1930 × 10 5 , but for the existing upwind scheme, the maximum error was 0.0010 . This indicates new upwind scheme has the ability to deal with a dominant convection problem numerically as compared to the existing upwind scheme, and this shows consistency with our theoretical approach.
Table 3 and Table 4 respectively show the maximum errors with spatial convergence order and temporal convergence order respectively, for the new scheme and existing upwind scheme of finite volume method. The spatial order of convergence in the case of convection dominance (k = 0.4 and v = 1) has been proven for temporal step sizes ( Δ t ) 1/5000 and 1/10,000. For temporal convergence order, spatial discretization width ( Δ x ) is taken as 1 / 300 and 1 / 400 . The results shown in both tables support to our theoretical algorithm.
In Figure 6 numerical results for the diffusion dominant case ( v = 0.05 , k = 0.1 ) are expressed. Left figures show the numerical approximation and maximum error of the modified upwind finite volume method. In contrast, figures at the right side represent the numerical solution and maximum error using an existing upwind finite volume method for the convection–diffusion problem. In this case, the numerical value of maximum error produced by the new upwind scheme is 2.0803 × 10 5 , but for the existing upwind scheme, it is 0.0012 . This implies that for a dominant diffusion problem, the new upwind scheme gives a higher accuracy solution than the existing upwind FVM.
Table 5 and Table 6 respectively show the maximum error with spatial convergence order and temporal convergence order for the new numerical scheme and existing upwind scheme of finite volume method in the case of diffusion dominance. To prove the spatial and temporal convergence order in case of diffusion dominance, coefficients are taken as k = 0.7 and v = 0.05 . For temporal convergence, the numbers of spatial nodes are taken as ( M x ) = 300 and 400. For spatial convergence, time level N t is fixed at N t = 5000 and 10,000. The results shown in both tables support to our theoretical algorithm. From both tables it is clear that the new upwind scheme gives less maximum error; this implies that the numerical approximation is highly accurate as compared to the existing numerical scheme.
Figure 7 shows the numerical approximation (for numerical example 2) of the convection–diffusion problem using the modified upwind finite volume method with different time levels. Numerically, we have tested the modified scheme for convection dominance (see left of Figure 7) and for diffusion dominance (see right of Figure 7). Both figures indicate that the increase of the time level for a numerical solution using our proposed numerical scheme get closeness to an exact solution.
3. Consider a homogeneous one dimensional convection–diffusion problem over a computational domain, 0 x 1 , 0 t 1 , where its exact solution is given in [16] as: ϕ ( x , t ) = 20 t + 20 e ( ( x 2 v t ) 2 ) / 4 k ( t + 20 ) with v 0 is the convection velocity to the x direction and k > 0 is the diffusion coefficient. Now, we can find the transported property ϕ ( x , t ) for two different cases of convection dominance using new upwind finite volume method with equally spaced cells. The initial and boundary values are calculated from the exact solution by taking t = 0 and x = 0 , x = 1 , respectively. We took time step Δ t = 1 / 3000 and spatial step size Δ x = 1 / 320 . This numerical experiment also shows a numerical comparison of the modified finite volume method and the most common form (central difference scheme) of finite volume method for the approximation of the convection–diffusion problem.
In Figure 8 and Figure 9 numerical approximations using new form of finite volume method and the most central difference scheme of FVM are compared for different cases of convection dominance. When we compare the max-errors of both numerical schemes, in the first case (when v = 3 and k = 0.01 ) the max-errors produced by new FVM scheme and central (FVM) scheme are 8.0116 × 10 7 and 1.6529 × 10 4 respectively. For the second convection dominance case ( v = 2 , k = 0.001 ) the new scheme gives max-error 9.2800 × 10 10 and the central scheme gives 3.9683 × 10 8 . This implies that, for both cases, this newly constructed FVM scheme gives highly accurate results and it has the good capability to deal with convection dominance as compared to the central scheme of finite volume method.
Figure 10 shows the numerical behavior of both numerical schemes for different values of the Peclet number ( P e = v Δ x k ). Figure 10 left and right express the results for P e = 6 and P e = 14 respectively. From both figures, it is clear that the central difference scheme produces a solution that appears to oscillate about the exact solution. These oscillations are often called “wiggles” in the literature. The consistency with the analytical solution is weak as compared to the modified scheme of finite volume method.

7. Conclusions

In this article, an upwind approach of finite volume method is proposed to treat the convection–diffusion equation numerically with the Dirichlet-type boundary condition. With the consideration of convection dominance or flow direction, new expressions for interface approximations have been obtained for the directional flow phenomenon, and using those approximations a numerical scheme was developed with second-order accuracy in both space and time. The stability of this modified method has been discussed and it was shown that it is unconditionally stable; it has been numerically proven too. The convection diffusion equations for different values of convective velocity ( v ) and diffusion coefficient ( k ) have been numerically solved by this newly developed upwind approach, and also we have displayed the numerical results of convergence order for space and time which are consistent with our modified theoretical algorithm. The performance of this current numerical scheme for the convection–diffusion problem has been studied by measuring the maximum error and convergence order for convection and diffusion dominance phenomena. We showed a numerical comparison of our modified upwind approach of the finite volume method with an existing upwind approach of the finite volume method and an upwind approach of the finite difference method. The numerical results produced by these numerical methods indicate that our proposed numerical scheme gives numerical results which are highly accurate and near to the exact solution, so this approach is a good alternative to some existing ones for solving physical problems.

Author Contributions

The authors equally contributed. All authors have read and agreed to the published version of the manuscript.

Funding

This research was financially supported by the National Key Research (grant number 2017YFB0305601) and Development Program of China (grant number 2017YFB0701700).

Acknowledgments

The authors are thankful to the editor and the anonymous reviewers for their meaningful comments to improve the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Moukalled, F.; Mangani, L.; Darwish, M. The Finite Volume Method in Computational Fluid Dynamics; Springer: Berlin/Heidelberg, Germany, 2016; Volume 6. [Google Scholar]
  2. Hrvoje, J. Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows; Imperial College: London, UK, 1996. [Google Scholar]
  3. Lemos, E.M.; Secchi, A.R.; Biscaia, E.C., Jr. Development of high-order finite volume method with multiblock partition technique. Braz. J. Chem. Eng. 2012, 29, 183–201. [Google Scholar] [CrossRef]
  4. Versteeg, H.K.; Malalasekera, W. An Introduction to Computational Fluid Dynamics: The Finite Volume Method; Pearson Education: Edinburgh, UK, 2007. [Google Scholar]
  5. Fuhrmann, J.; Ohlberger, M.; Rohde, C. Finite Volumes for Complex Applications VII: Methods and Theoretical Aspects; Springer; FVCA: Berlin, Germany, 2014; Volume 77. [Google Scholar]
  6. Arminjon, P.; Smith, L. Upwind finite volume schemes with anti—Diffusion for the numerical study of electric discharges in gas-filled cavities. Comput. Methods Appl. Mech. Eng. 1992, 100, 149–168. [Google Scholar] [CrossRef]
  7. Causona, D.; Mingham, C.; Qia, L. Introductory Finite Volume Methods for PDEs; Manchester Metropolitan University: Manchester, UK, 2011. [Google Scholar]
  8. Karahan, H. Solution of weighted finite difference techniques with the advection—Diffusion equation using spreadsheets. Comput. Appl. Eng. Edu. 2008, 16, 147–156. [Google Scholar] [CrossRef]
  9. Shen, W.; Zhang, C.; Zhang, J. Relaxation method for unsteady convection—Diffusion equations. Comput. Math. Appl. 2011, 61, 908–920. [Google Scholar] [CrossRef] [Green Version]
  10. Dehghan, M. On the numerical solution of the one-dimensional convection—Diffusion equation. Math. Probl. Eng. 2005, 2005, 456730. [Google Scholar] [CrossRef]
  11. Wei, T.; Xu, M. An integral equation approach to the unsteady convection—Diffusion equations. Appl. Math. Comput. 2016, 274, 55–64. [Google Scholar] [CrossRef]
  12. Mohammadi, R. Exponential B—Spline solution of convection—Diffusion equations. Appl. Math. 2013, 4, 933–944. [Google Scholar] [CrossRef] [Green Version]
  13. Tian, Z.F.; Yu, P.X. A high-order exponential scheme for solving 1D unsteady convection–diffusion equations. J. Comput. Appl. Math. 2011, 235, 2477–2491. [Google Scholar] [CrossRef] [Green Version]
  14. Hindmarsh, A.C.; Gresho, P.M.; Griffiths, D.F. The stability of explicit Euler time-integration for certain finite difference approximations of the multi-dimensional advection—Diffusion equation. Int. J. Numer. Methods Fluids 1984, 4, 853–897. [Google Scholar] [CrossRef]
  15. Peng, H.F.; Yang, K.; Cui, M.; Gao, X.W. Radial integration boundary element method for solving two-dimensional unsteady convection–diffusion problem. Eng. Anal. Bound. Elem. 2019, 102, 39–50. [Google Scholar] [CrossRef]
  16. Mohammadi, A.; Manteghian, M.; Mohammadi, A. Numerical solution of the one-dimensional advection-diffusion equation using simultaneously temporal and spatial weighted parameters. Aust. J. Basic Appl. Sci. 2011, 6, 1536–1543. [Google Scholar]
  17. Lazarov, R.D.; Mishev, I.D.; Vassilevski, P.S. Finite volume methods for convection-diffusion problems. SIAM J. Numer. Anal. 1996, 33, 31–55. [Google Scholar] [CrossRef] [Green Version]
  18. Anley, E.F.; Zheng, Z. Finite difference approximation method for a space fractional convection—Diffusion equation with variable coefficients. Symmetry 2020, 12, 485. [Google Scholar] [CrossRef] [Green Version]
  19. Shukla, A.; Singh, A.K.; Singh, P.; Shukla, A.; Singh, A.K.; Singh, P.A. comparative study of finite volume method and finite difference method for convection-diffusion problem. Am. J. Comput. Appl. Math. 2011, 1, 67–73. [Google Scholar] [CrossRef]
  20. Liu, R.; Wang, D.; Zhang, X.; Li, W.; Yu, B. Comparison Study on the Performances of Finite Volume Method and Finite Difference Method. J. Appl. Math. 2013, 2013, 596218. [Google Scholar] [CrossRef]
  21. Botte, G.G.; Ritter, J.A.; White, R.E. Comparison of finite difference and control volume methods for solving differential equations. Comput. Chem. Eng. 2000, 24, 2633–2654. [Google Scholar] [CrossRef]
  22. Mazumder, S. Numerical Methods for Partial Differential Equations: Finite Difference and Finite Volume Methods; Academic Press: London, UK, 2015. [Google Scholar]
  23. Zhang, T.; Zheng, L. A finite volume method for Stokes problems on quadrilateral meshes. Comput. Math. Appl. 2019, 77, 1091–1106. [Google Scholar] [CrossRef]
  24. ten Thije Boonkkamp, J.H.M.; Anthonissen, M.J.H. The finite volume-complete flux scheme for advection-diffusion-reaction equations. J. Sci. Comput. 2011, 46, 47–70. [Google Scholar] [CrossRef] [Green Version]
  25. Xu, M. A modified finite volume method for convection-diffusion-reaction Problems. Int. J. Heat Mass Transf. 2018, 117, 658–668. [Google Scholar] [CrossRef]
  26. Cordero, E.; De Biase, L.; Pennati, V. A new finite volume method for the solution of convection–diffusion equations: Analysis of stability and convergence. Commun. Numer. Methods Eng. 1997, 13, 923–940. [Google Scholar] [CrossRef]
  27. Anley, E.F. Numerical solutions of elliptic partial differential equations by using finite volume method. Pure Appl. Math. J. 2015, 5, 120–129. [Google Scholar] [CrossRef]
  28. Kinney, R.B.; Mahdi, H.S. A new finite-volume approach with adaptive upwind convection. Int. J. Numer. Methods Eng. 1988, 26, 1325–1343. [Google Scholar] [CrossRef]
  29. Pan, D.; Chang, C.H. Upwind finite-volume method for natural and forced convection. Numer. Heat Transf. Part B Fundam. 1994, 25, 177–191. [Google Scholar] [CrossRef]
  30. Manzini, G.; Russo, A. A finite volume method for advection–diffusion problems in convection-dominated regimes. Comput. Methods Appl. Mech. Eng. 2008, 197, 1242–1261. [Google Scholar] [CrossRef]
  31. Morton, K.; Stynes, M.; Suli, E. Analysis of a cell-vertex finite volume method for convection-diffusion problems. Math. Comput. 1997, 66, 1389–1406. [Google Scholar] [CrossRef] [Green Version]
  32. Lararov, R.D.; Mishev, I.D.; Vassilevski, P.S. Finite volume methods with local refinement for convection-diffusion problems. Computing 1994, 53, 33–57. [Google Scholar] [CrossRef]
  33. Linss, T. Uniform point-wise convergence of an upwind finite volume method on layer-adapted meshes. ZAMM-J. Appl. Math. Mech./Z. Angew. Math. Mech. Appl. Math. Mech. 2002, 82, 247–254. [Google Scholar]
  34. Wang, H.; Zhao, W. An upwind finite volume scheme and its maximum-principle-preserving ADI splitting for unsteady-state advection-diffusion equations. Numer. Methods Partial Differ. Equ. Int. J. 2003, 19, 211–226. [Google Scholar] [CrossRef]
  35. Neofytou, P. A third order upwind finite volume method for generalized Newtonian fluid flows. Adv. Eng. Softw. 2005, 36, 664–680. [Google Scholar] [CrossRef]
  36. Yang, A.; Chen, S.; Yang, L.; Yang, X. An upwind finite volume method for incompressible inviscid free surface flows. Comput. Fluids 2014, 101, 170–182. [Google Scholar] [CrossRef]
  37. Liang, D.; Zhao, W. The Weighted upwinding finite volume method for the convection—Diffusion problem on a nonstandard covolume grid. Appl. Numer. Anal. Comp. Math. 2004, 1, 180–194. [Google Scholar] [CrossRef]
  38. Stiebler, M.; Tolke, J.; Krafczyk, M. An upwind discretization scheme for the finite volume lattice Boltzmann method. Comput. Fluids 2006, 35, 814–819. [Google Scholar] [CrossRef]
  39. Bouche, D.; Ghidaglia, J.; Pascal, F.P. Error estimate for the upwind finite volume method for the nonlinear scalar conservation law. J. Comput. Appl. Math. 2011, 235, 5394–5410. [Google Scholar] [CrossRef] [Green Version]
  40. Boyer, F. Analysis of the upwind finite volume method for general initial-and boundary-value transport problems. IMA J. Numer. Anal. 2012, 32, 1404–1439. [Google Scholar] [CrossRef]
  41. Lin, S.Y.; Chin, Y.S. An upwind finite-volume scheme with a triangular mesh for conservation laws. J. Comput. Phys. 1990, 107, 324–337. [Google Scholar] [CrossRef]
  42. Vieira, L.M.; Giacomini, M.; Sevilla, R.; Huerta, A. A second-order face-centred finite volume method for elliptic problems. Comput. Methods Appl. Mech. Eng. 2020, 358, 112655. [Google Scholar] [CrossRef]
  43. Pan, D.; Cheng, J.-C. A second-order upwind finite-volume method for the Euler solution on unstructured triangular meshes. Int. J. Numer. Meth. Fluids 1993, 16, 1079–1098. [Google Scholar] [CrossRef]
  44. Piskarev, S.; Zwart, H. Crank-Nicolson scheme for abstract linear system. Numer. Funct. Anal. Optim. 2007, 26, 717–736. [Google Scholar] [CrossRef]
  45. Gu, W.; Wang, P. A Crank Nicolson difference scheme for solving a type of variable coefficient delay partial differential equations. J. Appl. Math. 2014, 2014, 560567. [Google Scholar] [CrossRef]
  46. Siddque, M. Smoothing of Crank–Nicolson scheme for the two-dimensional diffusion with an integral condition. Appl. Math. Comput. 2009, 214, 512–522. [Google Scholar] [CrossRef]
  47. Luskin, M.; Rannacher, R.; Wendland, W. On the smoothing property of the crank-nicolson scheme. Appl. Anal. 1982, 14, 117–135. [Google Scholar] [CrossRef]
  48. Oishi, C.M.; Yuan, J.Y.; Cuminato, J.A.; Stewart, D.E. Stability analysis of Crank–Nicolson and Euler schemes for time-dependent diffusion equations. BIT Numer. Math. 2015, 55, 487–513. [Google Scholar] [CrossRef]
  49. Nassif, N.R. Numerical solution of parabolic problems by the generalized Crank-Nicolson schemme. Calcolo 1975, 12, 51–61. [Google Scholar] [CrossRef]
  50. Van, C.J.A. On the Crank-Nicolson scheme once again. J. Evol. Equ. 2011, 11, 457–476. [Google Scholar]
  51. Kadalbajoo, M.K.; Awasthi, A. A numerical method based on Crank-Nicolson scheme for Burgers’ equation. Appl. Math. Comput. 2006, 182, 1430–1442. [Google Scholar] [CrossRef]
  52. Anderson, J.R. Local existence and uniqueness of solutions of degenerate parabolic equations. Comm. Partial. Differ. Equ. 1991, 16, 105–143. [Google Scholar] [CrossRef]
  53. Gilding, B.H.; Kersner, R. The characterization of reaction-convection-diffusion processes by travelling waves. J. Differ. Equ. 1996, 124, 27–79. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Upstream and downstream nodes for a flow in positive direction.
Figure 1. Upstream and downstream nodes for a flow in positive direction.
Mathematics 08 01869 g001
Figure 2. Node and face generation in a uniform discretization of finite volume method.
Figure 2. Node and face generation in a uniform discretization of finite volume method.
Mathematics 08 01869 g002
Figure 3. Indication of imaginary nodes for the treatment of boundary nodes.
Figure 3. Indication of imaginary nodes for the treatment of boundary nodes.
Mathematics 08 01869 g003
Figure 4. Analytical solution with numerical solution and Max-error are shown for convection -diffusion problem taking k = 0.1 , v = 1 gives m a x e r r o r = 1.1416 × 10 5 for numerical example 1.
Figure 4. Analytical solution with numerical solution and Max-error are shown for convection -diffusion problem taking k = 0.1 , v = 1 gives m a x e r r o r = 1.1416 × 10 5 for numerical example 1.
Mathematics 08 01869 g004aMathematics 08 01869 g004b
Figure 5. Numerical solution and max-error of modified FVM (left) and existing upwind FVM (right) for convection dominant phenomenon taking ( Δ t = 1 / 15000 , Δ x = 1 / 320 v = 1 , k = 0.07 for numerical example 2).
Figure 5. Numerical solution and max-error of modified FVM (left) and existing upwind FVM (right) for convection dominant phenomenon taking ( Δ t = 1 / 15000 , Δ x = 1 / 320 v = 1 , k = 0.07 for numerical example 2).
Mathematics 08 01869 g005
Figure 6. Numerical solution and max-error of modified FVM (left) and existing upwind FVM (right) for diffusion dominant phenomenon taking ( Δ t = 1 / 15 , 000 , Δ x = 1/320 v = 0.05 , k = 0.1 for numerical example 2).
Figure 6. Numerical solution and max-error of modified FVM (left) and existing upwind FVM (right) for diffusion dominant phenomenon taking ( Δ t = 1 / 15 , 000 , Δ x = 1/320 v = 0.05 , k = 0.1 for numerical example 2).
Mathematics 08 01869 g006
Figure 7. Numerical approximation for convection dominance (at (left) with k = 0.08 , v = 0.4 ) and diffusion dominance (at (right) with k = 0.08 , v = 0.01 ) taking Δ x = 2 / 220 for numerical example 2.
Figure 7. Numerical approximation for convection dominance (at (left) with k = 0.08 , v = 0.4 ) and diffusion dominance (at (right) with k = 0.08 , v = 0.01 ) taking Δ x = 2 / 220 for numerical example 2.
Mathematics 08 01869 g007
Figure 8. Numerical solution and max-error using modified FVM (Left) and central scheme of FVM (right) for convection dominance taking v = 3 , k = 0.01 ( Δ t = 1 / 3000 , Δ x = 1 / 320 for numerical example 3).
Figure 8. Numerical solution and max-error using modified FVM (Left) and central scheme of FVM (right) for convection dominance taking v = 3 , k = 0.01 ( Δ t = 1 / 3000 , Δ x = 1 / 320 for numerical example 3).
Mathematics 08 01869 g008
Figure 9. Numerical solution and max-error using modified FVM (Left) and central scheme of FVM (right) for right for convection dominance taking v = 2 , k = 0.001 ( Δ t = 1 / 3000 , Δ x = 1 / 320 for numerical example 3).
Figure 9. Numerical solution and max-error using modified FVM (Left) and central scheme of FVM (right) for right for convection dominance taking v = 2 , k = 0.001 ( Δ t = 1 / 3000 , Δ x = 1 / 320 for numerical example 3).
Mathematics 08 01869 g009
Figure 10. Comparison of numerical approximation with exact solution taking Δ t = 1 / 3000 , Δ x = 1 / 5 for numerical example 3.
Figure 10. Comparison of numerical approximation with exact solution taking Δ t = 1 / 3000 , Δ x = 1 / 5 for numerical example 3.
Mathematics 08 01869 g010
Table 1. Spatial convergence order taking fixed temporal step size with k = 0.1 and v = 1 .
Table 1. Spatial convergence order taking fixed temporal step size with k = 0.1 and v = 1 .
Δ t = 1 / 500 Δ t = 1 / 1000 Δ t = 1 / 1500
Δ x Max-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/100.00890.00890.0089
1/200.00251.81490.00251.81450.00251.8144
1/406.8518 × 10 4 1.88866.8620 × 10 4 1.88716.86404 × 10 4 1.8868
1/801.7773 × 10 4 1.94681.7867 × 10 4 1.94141.8784 × 10 4 1.9404
Table 2. Temporal convergence order taking fixed spatial step size with k = 0.1 and v = 1 .
Table 2. Temporal convergence order taking fixed spatial step size with k = 0.1 and v = 1 .
Δ x = 1/300 Δ x = 1 / 800 Δ x = 1/1500
Δ t Max-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/200.00220.00220.0022
1/405.4741 × 10 4 2.00295.5206 × 10 4 2.00716.80408 × 10 4 2.0019
1/801.3325 × 10 4 2.00601.3744 × 10 4 2.02271.7884 × 10 4 2.0019
1/1603.07300 × 10 5 2.00253.3829 × 10 5 2.07894.5566 × 10 5 2.0065
Table 3. Spatial convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.4 , v = 1 in the case of convection dominance.
Table 3. Spatial convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.4 , v = 1 in the case of convection dominance.
Δ t = 1 / 5000 Δ t = 1 / 10,000
FVM (13) FVM [21] FVM (13) FVM [21]
Δ x Max-ErrorOrderMax-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/100.00380.01540.00380.0154
1/200.00121.72610.00810.93270.00121.72610.00830.9312
1/403.2596 × 10 4 1.84670.00410.96443.2538 × 10 4 1.84670.00420.9632
1/808.7216 × 10 5 1.90550.00210.99248.7426 × 10 5 1.90480.00210.98151
Table 4. Temporal convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.4 , v = 1 in the case of convection dominance.
Table 4. Temporal convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.4 , v = 1 in the case of convection dominance.
Δ x = 1 / 300 Δ x = 1 / 400
FVM (13) FVM [21] FVM (13) FVM [21]
Δ t Max-ErrorOrderMax-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/207.6965 × 10 4 0.01077.7013 × 10 4 0.0108
1/401.8748 × 10 4 2.03750.00540.99271.8793 × 10 4 2.03490.00550.9712
1/804.6073 × 10 5 2.02480.00251.09534.6437 × 10 5 2.01690.00261.0572
1/1601.2930 × 10 5 1.83320.00101.27891.1261 × 10 5 2.04400.00121.1926
Table 5. Spatial convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.7 , v = 0.05 in case of diffusion dominance.
Table 5. Spatial convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.7 , v = 0.05 in case of diffusion dominance.
Δ t = 1 / 5000 Δ t = 1 / 10,000
FVM (13) FVM [21] FVM (13) FVM [21]
Δ x Max-ErrorOrderMax-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/100.00260.01240.00260.0124
1/207.2459 × 10 4 1.83640.00630.97277.2459 × 10 4 1.830.00630.9712
1/401.9495 × 10 4 1.89410.00320.98441.9495 × 10 4 1.89670.00320.9832
1/805.4858 × 10 5 1.82930.00160.99635.1496 × 10 5 1.94250.00160.99151
Table 6. Temporal convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.7 , v = 0.05 in case of convection dominance.
Table 6. Temporal convergence order of new upwind FVM and existing upwind approach of FVM taking k = 0.7 , v = 0.05 in case of convection dominance.
Δ x = 1 / 300 Δ x = 1 / 400
FVM (13) FVM [21] FVM (13) FVM [21]
Δ t Max-ErrorOrderMax-ErrorOrderMax-ErrorOrderMax-ErrorOrder
1/204.4384 × 10 4 0.00414.4409 × 10 4 0.0041
1/401.0556 × 10 4 2.0710.00210.98041.0587 × 10 4 2.03490.00210.9661
1/802.5854 × 10 5 2.02960.00110.86612.6148 × 10 5 2.01690.00110.9692
1/1607.4417 × 10 6 1.79677.8286 × 10 6 0.68116.2359 × 10 6 2.04406.4136 × 10 4 0.7443
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hussain, A.; Zheng, Z.; Anley, E.F. Numerical Analysis of Convection–Diffusion Using a Modified Upwind Approach in the Finite Volume Method. Mathematics 2020, 8, 1869. https://doi.org/10.3390/math8111869

AMA Style

Hussain A, Zheng Z, Anley EF. Numerical Analysis of Convection–Diffusion Using a Modified Upwind Approach in the Finite Volume Method. Mathematics. 2020; 8(11):1869. https://doi.org/10.3390/math8111869

Chicago/Turabian Style

Hussain, Arafat, Zhoushun Zheng, and Eyaya Fekadie Anley. 2020. "Numerical Analysis of Convection–Diffusion Using a Modified Upwind Approach in the Finite Volume Method" Mathematics 8, no. 11: 1869. https://doi.org/10.3390/math8111869

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop