Next Article in Journal
Determination of the Optimum Blend Ratio of Diesel, Waste Oil Derived Biodiesel and 1-Pentanol Using the Response Surface Method
Next Article in Special Issue
Three-Dimensional CFD Modeling on the Thermal Characteristics of Buried Oil Pipeline Involving the Heat Transfer of Wax Layer
Previous Article in Journal
Sub-Optimal Stabilizers of the Pendubot Using Various State Space Representations
Previous Article in Special Issue
Heat and Mass Transfer of Micropolar-Casson Nanofluid over Vertical Variable Stretching Riga Sheet
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A New Explicit Numerical Schemes for Time-Dependent PDEs with Application to Pressure Driven Fluid Flow in a Rectangular Duct

1
Department of Mathematics, Air University, PAF Complex E-9, Islamabad 44000, Pakistan
2
Department of Mathematics and Sciences, College of Humanities and Sciences, Prince Sultan University, Riyadh 11586, Saudi Arabia
3
Stochastic Analysis and Optimization Research Group, Department of Mathematics, Air University, PAF Complex E-9, Islamabad 44000, Pakistan
4
Department of Mathematics, Faculty of Science, The Hashemite University, P.O. Box 330127, Zarqa 13133, Jordan
5
Department of Medical Research, China Medical University, Taichung 40402, Taiwan
6
Department of Mathematics, Comsats University Islamabad, Park Road Terlai Kalan, Islamabad 44000, Pakistan
*
Authors to whom correspondence should be addressed.
Energies 2022, 15(14), 5145; https://doi.org/10.3390/en15145145
Submission received: 15 June 2022 / Revised: 8 July 2022 / Accepted: 12 July 2022 / Published: 15 July 2022
(This article belongs to the Special Issue Modeling Heat Transfer in Computational Fluid Dynamics)

Abstract

:
A modified class of temporal discretization schemes for partial differential equations (PDEs) is proposed, explicit and second to fifth-order accurate in time. In time, the stability region of the proposed modified second-order scheme is larger than the standard second-order Adams–Bashforth method constructed on two time levels. A modification made for the Du Fort–Frankel method was also implemented in the proposed second-order scheme, which permits the little larger stability region, but the scheme becomes first-order accurate. Since the Du Fort–Frankel method cannot be employed without a modification of averaging in time levels, the proposed second-order scheme can be used without any modification. The proposed modified scheme with different orders in space and second orders in time was implemented for heat and mass transfer of chemically reactive fluid flow in a rectangular duct. The flow is generated due to applying different pressure gradients. The contour plots of velocity, temperature, and concentration profiles are portrayed at different pressure gradients; Péclet number in heat transfer, Péclet number in mass transfer, reaction parameter, and at different times. In addition, stability and convergence conditions for the considered system of linear and non-linear PDEs consisting of non-dimensional momentum, energy, and concentration equations were found for two cases. The displayed graphs depict the transfer of heat in the fluid, which rises due to heated boundaries, and the transfer of mass in the fluid at various moments. Classical models can be solved using the proposed method, which has a faster convergence rate than the standard or classical approach. This approach is illustrated through computer simulations that demonstrate its key computational features. It is believed that the data presented in this study will serve as a useful source for future fluid flow investigations to be conducted in an industrial setting within an enclosed area.

1. Introduction

Applications of the magnetic field in MHD pump, heat exchangers, etc., has attracted many researchers’ attention [1]. Hartmann (1998) formulated the electromagnetic viscous force [2]. However, unsteady MHD nanofluid compressed flow between parallel plates, observed by Dogonchi and Ganji [3,4], studied a similar effect with solar radiation. Ref. [5] recently analyzed unsteady magnetohydrodynamics (MHD) nanofluid flow using natural conviction with entropy generation. Additionally, entropy formation in a non-Newtonian microflow regulated by conjugate heat transport was presented in [6].
Nayak and Redd et al. [7] studied the viscous dissipation effect and Maxwell liquid effect on MHD flow using thermal radiation. Refs. [8,9,10] depict some of the work on MHD flow through the variable surface topology.
The industrial applications of heat and mass transport using chemical reactions are substantial for many scientists. Route et al. [11] observed the chemical reaction, mass, and heat sources on MHD flow in an asymmetrical channel. Refs. [12,13] studied the effect of chemical reaction on convection flow of viscous nanofluid using a magnetic field and over a permeable sheet to solve the governing equation. In [14,15,16], fluid flows with effects of chemical reactions were studied using Jeffery liquid flow due to radially stretching sheets. Refs. [17,18,19] are some examples in which the chemical reaction effect was coupled with nanofluid, and resulting consequences were intimated on the industrial level. In [20], heat and mass transfer of upper-convected Maxwell nanofluid with the magnetic field’s effects was studied past an inclined stretching surface. A shooting method consisting of the fourth-order Runge–Kutta method (RK4) was utilized to find the solution to ordinary differential equations (ODEs) obtained from PDEs.
One of the applications of Newtonian fluids is their use in lubrication. In lubrication, the fluid does not change viscosity as a function of shear, but it depends on the temperature. Motor oil is one example of this process. The oil does not become too thin at higher engine operating temperatures. Moreover, its important characteristic is that the viscosity does not change if this oil is shared between engine elements [21].
Various authors studied the flow in a duct for heat and mass transfer effects. The flow in a rectangular cross-section was given in [22], and the flow in a circular cross-section was given in [23,24]. The problem of flow in a rectangular duct with a constant streamwise pressure gradient was given in [25]. In [26], the authors focused on the entropy generation for viscoelastic fluid flow through a parallel plate microchannel under pressure gradient, interfacial slip, and conjugate heat transfer. The effect of viscous dissipation on convective heat transfer and entropy formation for Poiseuille flow in an asymmetrically heated slit microchannel was studied in [27].
An extensive literature study revealed that the amount of education based on blood flow in a porous saturated stenotic artery has dwindled. Dash et al. [28] studied blood flow in the tube via a homogenous porous medium. The central theme behind this study was that the distribution of fatty cholesterol and artery-clogging blood clots in the lumen of a coronary artery is equivalent to a fictitious porous medium in some pathological situations. This idea was manipulated by [29]. The blood was considered a Newtonian flood and found its flow through a porous medium under magnetic field influence.
The present attempt proposes a new class of explicit numerical schemes for the temporal discretization of parabolic and first-order hyperbolic differential equations. These schemes are constructed at different time levels, and construction was made through the Taylor series expansions. A Von Neumann stability criterion was used to find the stability condition of the second-order scheme for a parabolic linear equation with diffusion term only. However, from a computation point of view, the scheme takes a small temporal step size to produce an accurate solution. In order to reduce the computational time, a modification is suggested. This suggested modification was used when the Du Fort–Frankel scheme was constructed from the second-order unconditionally unstable scheme. The modification in diffusion terms made the Du Fort–Frankel method unconditionally stable. A modification that made the Du Fort–Frankel method unconditionally stable is the average of two neighboring time levels to approximate the time at level “n”. Therefore, here, the same modification was implemented in the proposed scheme on the second-order central difference formula for diffusion term. Additionally, using this modification, the scheme permits a little larger time step size. Despite this, the scheme loses some of its temporal order as a result of this adjustment, and the application of a first-order approximation causes this loss of order. For obtaining second-order accuracy, one can use a third-order approximation to approximate the time at level “n,” so the order of the modified scheme will not be affected if one can find the solution using the modified approach in an implicit manner. The work gave the third-order modification for the Du Fort–Frankel method [30]. Since the first-order approximation in the scheme permitted a little larger value of the diffusion number for the present flow problem, only the second-order proposed and the first-order modified scheme was used to produce the final results for the displayed graphs.
Since Adams–Bashforth’s methods are the class of methods used to solve the ordinary differential equations, in [30], a class of methods was given for temporal discretization of 1D hyperbolic partial differential equations. This class of methods [30] can give second to fifth-order accuracy for hyperbolic partial differential equations. In [31,32], a Fully Explicit and Compact Numerical Scheme of the Fourth Order for the Heat Transfer in Boundary Layer Flow was proposed and discussed.
The second-order Adams–Bashforth method for the temporal discretization of PDEs given in [28] can be employed for the following parabolic partial differential equation
u t = α 2 u x 2
By using the existing numerical scheme, the discretized equation is given by
u i n + 1 = u i n + α Δ t 2 { 3 δ x 2 u i n δ x 2 u i n 1 }
where δ x 2 u i n = u i 1 n 2 u i n + u i + 1 n ( Δ x ) 2 .
This method (2) is second-order accurate in space and time, which finds a solution at “ n + 1 ” time level by using the previous two time levels, “ n ” and “ n 1 ”. This existing explicit method (2) has an advantage of accuracy over an existing Du Fort–Frankel method.

2. Proposed Numerical Scheme

This contribution is consisted on a similar kind of explicit class of schemes as given in Equation (2). For developing a scheme with a better stability region than existing scheme (2), the following modification is considered in the scheme given in Equation (2)
u i n u i n + 1 + u i n 1 2
and so the proposed scheme for discretizing Equation (1) is given as
u i n + 1 = u i n + α Δ t 2 { 3 ( u i + 1 n u i n + 1 u i n 1 + u i 1 n ) δ x 2 u i n 1 }
In the initial stages of the this contribution, an explicit second-order numerical scheme of temporal discretization is proposed for time-dependent partial differential equations. Standard difference formulae or any other spatial discretization schemes can be used to discretize space variable(s). Additionally, stability and consistency for scalar equation and stability for the considered system of equations for heat and mass transfer of reactive chemical fluid flow in a rectangular duct are given.
The general difference form of discretized version of Equation (1) is given by
u i n + 1 = a u i n + b u i n 1 + Δ t { c ( u t ) i n + f ( u t ) i n 1 }
The Taylor series expansions for u i n + 1 , u i n 1 , and ( u t ) i n 1 terms are given in Equation (3) as
u i n + 1 = u i n + Δ t ( u t ) i n + ( Δ t ) 2 2 ( 2 u t 2 ) i n + O ( ( Δ t ) 3 )
u i n 1 = u i n Δ t ( u t ) i n + ( Δ t ) 2 2 ( 2 u t 2 ) i n + O ( ( Δ t ) 3 )
( u t ) i n 1 = ( u t ) i n Δ t ( 2 u t 2 ) i n + O ( ( Δ t ) 2 )
Substituting (6)–(8) into Equation (5) gives
u i n + Δ t ( u t ) i n + ( Δ t ) 2 2 ( 2 u t 2 ) i n = a u i n + b u i n b Δ t ( u t ) i n + b ( Δ t ) 2 2 ( 2 u t 2 ) i n + Δ t { c ( u t ) i n + f ( u t ) i n f Δ t ( 2 u t 2 ) i n }
On equating the coefficients of u i n , Δ t ( u t ) i n and ( Δ t ) 2 ( 2 u t 2 ) i n on both sides of Equation (9) gives
a + b = 1 1 = b + c + f 1 2 = b 2 f }
Solving Equation (10) gives
b = 1 a ,   c = 4 a 2 ,   f = a 2
Therefore, for second-order in time, an explicit scheme is given by
u i n + 1 = a u i n + ( 1 a ) u i n 1 + Δ t 2 { ( 4 a ) ( u t ) i n a ( u t ) i n 1 }
Similarly, a scheme with temporal order of three can be constructed, which is given by
u i n + 1 = a u i n + b u i n 1 + c u i n 2 + Δ t { f ( u t ) i n + g ( u t ) i n 1 + h ( u t ) i n 2 }
where
c = 1 a b ,   f = 27 4 a + b 12 , g = 4 a 2 b 3   a n d   h = 9 4 a 5 b 12  
The mentioned scheme (13) consists of two free parameters, and schemes with orders four and five can be constructed similarly with three and four free parameters, respectively. Therefore, the class of Adams–Bashforth schemes for time-dependent PDEs is just a special case for the proposed schemes. Moreover, the second-order scheme with a = 2 gives the same stability region as produced by the second-order Runge–Kutta method, which is more than the standard second-order Adams–Bashforth method in PDEs.
For Equation (1), the scheme given in Equation (12) with a = 1 2 can be expressed by
u i n + 1 = 1 2 ( u i n + u i n 1 ) + α Δ t 4 ( Δ x ) 2 { 7 ( 2 u x 2 ) i n ( 2 u x 2 ) i n 1 }
If the second-order central difference formula for spatial discretization in Equation (14) is employed, then the resulting scheme is given as
u i n + 1 = 1 2 ( u i n + u i n 1 ) + α Δ t 4 { 7 δ x 2 u i n δ x 2 u i n 1 }
In the next section, the stability of the numerical scheme is given using Von Neumann stability criteria for the following equation:
u t = α ( 2 u y 2 + 2 u z 2 ) .

3. Scalar Stability

Discretize Equation (16) by using the constructed scheme in the previous section with second-order central spatial discretization. The discretize equation is given by
u i , j n + 1 = 1 2 ( u i , j n + u i , j n 1 ) + α Δ t 4 ( Δ y ) 2 ( Δ z ) 2 [ { 7 ( Δ z ) 2 ( u i + 1 , j n 2 u i , j n + u i 1 , j n ) + 7 ( Δ y ) 2 ( u i , j + 1 n 2 u i , j n + u i , j 1 n ) ( Δ z ) 2 ( u i + 1 , j n 1 2 u i , j n 1 + u i 1 , j n 1 )   ( Δ y ) 2 ( u i , j + 1 n 1 2 u i , j n 1 + u i , j 1 n 1 ) } ]
In order to employ the Von Neumann stability criteria for Equation (17), consider the following transformations
u i , j n = U ¯ n e I ( i ψ 1 + j ψ 2 ) ,     u i ± 1 , j n = U ¯ n e I ( ( i ± 1 ) ψ 1 + j ψ 2 ) u i , j ± 1 n = U ¯ n e I ( i ψ 1 + ( j ± 1 ) ψ 2 ) ,    u i ± 1 , j n 1 = U ¯ n 1 e I ( ( i ± 1 ) ψ 1 + j ψ 2 ) u i , j ± 1 n 1 = U ¯ n 1 e I ( i ψ 1 + ( j ± 1 ) ψ 2 ) ,    u i , j n ± 1 = U ¯ n ± 1 e I ( i ψ 1 + j ψ 2 ) }
where I = 1 . Substituting transformations (18) into Equation (17) gives
U ¯ n + 1 e I ( i ψ 1 + j ψ 2 ) = 1 2 ( U ¯ n e I ( i ψ 1 + j ψ 2 ) + U ¯ n 1 e I ( i ψ 1 + j ψ 2 ) ) + α Δ t 4 ( Δ y ) 2 ( Δ z ) 2 [ 7 U ¯ n { ( e I ( ( i + 1 ) ψ 1 + j ψ 2 ) 2 e I ( i ψ 1 + j ψ 2 ) + e I ( ( i 1 ) ψ 1 + j ψ 2 ) ) ( Δ z ) 2 + ( Δ y ) 2 ( e I ( i ψ 1 + ( j + 1 ) ψ 2 ) 2 e I ( i ψ 1 + j ψ 2 ) + e I ( i ψ 1 + ( j 1 ) ψ 2 ) ) } U ¯ n 1 { ( Δ z ) 2 ( e I ( ( i + 1 ) ψ 1 + j ψ 2 ) 2 e I ( i ψ 1 + j ψ 2 ) + e I ( ( i 1 ) ψ 1 + j ψ 2 ) ) + ( Δ y ) 2 ( e I ( i ψ 1 + ( j + 1 ) ψ 2 ) 2 e I ( i ψ 1 + j ψ 2 ) + e I ( i ψ 1 + ( j 1 ) ψ 2 ) ) } ]
Dividing both sides of Equation (19) by e I ( i ψ 1 + j ψ 2 ) gives
U ¯ n + 1 = 1 2 ( U ¯ n + U ¯ n 1 ) + α Δ t 4 ( Δ y ) 2 ( Δ z ) 2 [ 7 U ¯ n { ( Δ z ) 2 ( e I ψ 1 2 + e I ψ 1 ) + ( Δ y ) 2 ( e I ψ 2 2 + e I ψ 2 ) } U n 1 { ( Δ z ) 2 ( e I ψ 1 2 + e I ψ 1 ) + ( Δ y ) 2 ( e I ψ 2 2 + e I ψ 2 ) } ]
Equation (20) can be expressed as
U ¯ n + 1 = 1 2 ( U ¯ n + U ¯ n 1 ) + α Δ t 2 [ 7 U ¯ n { ( c o s ψ 1 1 ) / ( Δ y ) 2 + ( c o s ψ 2 1 ) / ( Δ z ) 2 } U ¯ n 1 { ( c o s ψ 1 1 ) / ( Δ y ) 2 + ( c o s ψ 2 1 ) / ( Δ z ) 2 } ]
Let a ¯ = 1 2 + 7 α Δ t 2 [ ( c o s ψ 1 1 ) / ( Δ y ) 2 + ( c o s ψ 2 1 ) / ( Δ z ) 2 ] and b ¯ = 1 2 α Δ t 2 [ ( c o s ψ 1 1 ) / ( Δ y ) 2 + ( c o s ψ 2 1 ) / ( Δ z ) 2 ]
Now, Equation (21) can be expressed as
U ¯ n + 1 = a ¯ U ¯ n + b ¯ U ¯ n 1
One more equation can be constructed as
U ¯ n = 1 U ¯ n + 0 U ¯ n 1
System of Equations (22) and (23) can be expressed in the following single matrix–vector of the form
[ U ¯ n + 1 U ¯ n ] = [ a ¯ b ¯ 1 0 ] [ U ¯ n U ¯ n 1 ]
The stability conditions can be imposed on the eigenvalues of the matrix given in (24) as
| λ 1 | 1   and   | λ 2 | 1
where
λ 1 = a ¯ 2 1 2 a ¯ 2 + 4 b ¯   and   λ 2 = a ¯ 2 + 1 2 a ¯ 2 + 4 b ¯
The most restrictive condition can be made by checking the expression a ¯ 2 + 4 b ¯ to be positive or negative or zero. Here, two cases were considered for extreme values of c o s ψ 1 and c o s ψ 2 . For the first case, when c o s ψ 1 = 1 = c o s ψ 2 , then the expression is a ¯ 2 + 4 b ¯ given by
a ¯ 2 + 4 b ¯ = 49 d 2 3 d + 9 4
Since the coefficient of d 2 is positive, its graph, which is a parabola, opens upwards, and by using optimization, it can also be proved that the vertex of the parabola (26) lies above to x -axis; due to these two mentioned facts, the expression (26) gives a positive value for every value of the diffusion number d for the considered case. For the second case, when c o s ψ 1 = 1 = c o s ψ 2 , the expression a ¯ 2 + 4 b ¯ becomes zero, and the remaining two cases can be discussed similarly to the first case. Thus the eigenvalues are real, and the stability conditions can be found in inequalities | λ 1 | 1 and | λ 2 | 1 . It is to be noted that the main contribution to stability condition can be found from two inequalities, 2 a ¯ a ¯ 2 + 4 b ¯ and a ¯ + a ¯ 2 + 4 b ¯ 2 , and these inequalities can be implied from the inequalities | λ 1 | 1 and | λ 2 | 1 .
Now, by using the inequality 2 a ¯ a ¯ 2 + 4 b ¯ . The following inequality can be constructed: b ¯ 1 + a ¯ , which gives
1 2 + α Δ t ( 1 ( Δ y ) 2 + 1 ( Δ z ) 2 ) 1 + 1 2 7 α Δ t ( 1 ( Δ y ) 2 + 1 ( Δ z ) 2 )
d 1 8
where d = α Δ t ( 1 ( Δ y ) 2 + 1 ( Δ z ) 2 ) .
Similarly, other two cases, when c o s ψ 1 = 1 and c o s ψ 2 = 1 or c o s ψ 1 = 1 and c o s ψ 2 = 1 , can be discussed. The case when c o s ψ 1 = 1 and c o s ψ 2 = 1 is straightforward, and the inequality b ¯ 1 + a ¯ becomes true for every value of the diffusion number d . The remaining inequality to be checked is a ¯ + a ¯ 2 + 4 b ¯ 2 , and from this inequality, one of the conditions that can be imposed on stability is that 2 a ¯ 0 , which holds because m a x ( a ¯ ) = 1 2 for α > 0 . Moreover, the inequality a ¯ + a ¯ 2 + 4 b ¯ 2 implies
1 a ¯ b ¯
which gives 7 1 or 0 0 for four different cases depending upon the extreme values of c o s ψ 1 and c o s ψ 2 , and these inequalities are true for any choice of diffusion number d . The main contributing cases for stability were discussed, and the stability condition for the considered PDE is d 1 8 .

4. Consistency of the Scheme

The consistency of the scheme is checked by employing Taylor series expansions for the terms in the scheme. Consider the scheme (17) for discretizing Equation (16) and the Taylor series expansions for the terms in Equation (17) are given as
u i + 1 , j n = u i , j n + Δ y ( u y ) i , j n + ( Δ y ) 2 2 ( 2 u y 2 ) i , j n + O ( ( Δ y ) 3 )
u i 1 , j n = u i , j n Δ y ( u y ) i , j n + ( Δ y ) 2 2 ( 2 u y 2 ) i , j n + O ( ( Δ y ) 3 )
Similarly, Taylor series expansions for the term u i , j + 1 n and u i , j 1 n can be constructed. Now, some of the terms in the scheme (17) can be expressed by
7 ( Δ z ) 2 ( u i + 1 , j n 2 u i , j n + u i 1 , j n ) = 7 ( Δ z ) 2 ( Δ y ) 2 ( 2 u y 2 ) i , j n
7 ( Δ y ) 2 ( u i , j + 1 n 2 u i , j n + u i , j 1 n ) = 7 ( Δ y ) 2 ( Δ z ) 2 ( 2 u z 2 ) i , j n
Adding Equations (31) and (32) gives
7 ( Δ z ) 2 ( u i + 1 , j n 2 u i , j n + u i 1 , j n ) + 7 ( Δ y ) 2 ( u i , j + 1 n 2 u i , j n + u i , j 1 n ) = 7 ( Δ z ) 2 ( Δ y ) 2 { ( 2 u y 2 ) i , j n + ( 2 u z 2 ) i , j n }
Now, the Taylor series expansion for the terms u i + 1 , j n 1 ,   u i , j n 1 and u i 1 , j n 1 are given by
u i + 1 , j n 1 = u i , j n Δ t ( u t ) i , j n + ( Δ t ) 2 2 ( 2 u t 2 ) i , j n ( Δ t ) 3 6 ( 3 u t 3 ) i , j n + Δ y ( u y ) i , j n Δ t Δ y ( 2 u y t ) i , j n + ( Δ t ) 2 ( Δ y ) 2 ( 3 u y t 3 ) i , j n ( Δ t ) 3 ( Δ y ) 6 ( 4 u y t 3 ) i , j n + ( Δ y ) 2 2 ( 2 u y 2 ) i , j n ( Δ t ) ( Δ y ) 2 2 ( 3 u y 2 t ) i , j n + ( Δ t ) 2 ( Δ y ) 2 4 ( 4 u y 2 t 2 ) i , j n ( Δ t ) 3 ( Δ y ) 2 12 ( 5 u y t 3 ) i , j n + ( Δ y ) 3 6 ( 3 u y 3 ) i , j n ( Δ t ) ( Δ y ) 3 6 ( 4 u y 3 t ) i , j n + ( Δ t ) 3 ( Δ y ) 3 12 ( 5 u y 3 t 2 ) i , j n ( Δ t ) 3 ( Δ y ) 3 36 ( 6 u y 3 t 3 ) i , j n + O ( ( Δ t ) 4 , ( Δ y ) 3 )
u i 1 , j n 1 = u i , j n Δ t ( u t ) i , j n + ( Δ t ) 2 2 ( 2 u t 2 ) i , j n ( Δ t ) 3 6 ( 3 u t 3 ) i , j n + O ( ( Δ t ) 4 )
u i 1 , j n 1 = u i , j n Δ t ( u t ) i , j n + ( Δ t ) 2 2 ( 2 u t 2 ) i , j n ( Δ t ) 3 6 ( 3 u t 3 ) i , j n Δ y ( u y ) i , j n + Δ t Δ y ( 2 u y t ) i , j n ( Δ t ) 2 ( Δ y ) 2 ( 3 u y t 3 ) i , j n + ( Δ t ) 3 ( Δ y ) 6 ( 4 u y t 3 ) i , j n + ( Δ y ) 2 2 ( 2 u y 2 ) i , j n ( Δ t ) ( Δ y ) 2 2 ( 3 u y 2 t ) i , j n + ( Δ t ) 2 ( Δ y ) 2 4 ( 4 u y 2 t 2 ) i , j n ( Δ t ) 3 ( Δ y ) 2 12 ( 5 u y t 3 ) i , j n ( Δ y ) 3 6 ( 3 u y 3 ) i , j n + ( Δ t ) ( Δ y ) 3 6 ( 4 u y 3 t ) i , j n ( Δ t ) 3 ( Δ y ) 3 12 ( 5 u y 3 t 2 ) i , j n + ( Δ t ) 3 ( Δ y ) 3 36 ( 6 u y 3 t 3 ) i , j n + O ( ( Δ t ) 4 , ( Δ y ) 3 )
Similarly, Taylor series expansion for the terms u i , j + 1 n 1 and u i , j 1 n 1 can be constructed. By using (34)–(36), some terms in the scheme (17) for time level “ n 1 ” can be simplified as
( Δ z ) 2 ( u i + 1 , j n 1 2 u i , j n 1 + u i 1 , j n 1 ) = ( Δ z ) 2 { ( Δ y ) 2 ( 2 u y 2 ) i , j n ( Δ t ) ( Δ y ) 2 ( 3 u y 2 t ) i , j n + ( Δ t ) 2 ( Δ y ) 2 2 ( 4 u y 2 t 2 ) i , j n ( Δ t ) 3 ( Δ y ) 2 6 ( 5 u y 2 t 3 ) i , j n }
Similarly, using the Taylor series, the terms u i , j 1 n 1 and u i , j + 1 n 1 can be expanded and simplified as
( Δ y ) 2 ( u i , j 1 n 1 2 u i , j n 1 + u i , j + 1 n 1 ) = ( Δ y ) 2 { ( Δ z ) 2 ( 2 u z 2 ) i , j n ( Δ t ) ( Δ z ) 2 ( 3 u z 2 t ) i , j n + ( Δ t ) 2 ( Δ z ) 2 2 ( 4 u z 2 t 2 ) i , j n ( Δ t ) 3 ( Δ z ) 2 6 ( 5 u z 2 t 3 ) i , j n }
By adding Equations (37) and (38), the resulting equation is given as
( Δ z ) 2 ( u i + 1 , j n 1 2 u i , j n 1 + u i 1 , j n 1 ) + ( Δ y ) 2 ( u i , j 1 n 1 2 u i , j n 1 + u i , j + 1 n 1 ) = ( Δ y ) 2 ( Δ z ) 2 { ( 2 u y 2 ) i , j n + ( 2 u z 2 ) i , j n } Δ t ( Δ y ) 2 ( Δ z ) 2 { ( 3 u y 2 t ) i , j n + ( 3 u z 2 t ) i , j n } + ( Δ t ) 2 ( Δ y ) 2 ( Δ z ) 2 2 { ( 4 u y 2 t 2 ) i , j n + ( 4 u z 2 t 2 ) i , j n } ( Δ t ) 3 ( Δ y ) 2 ( Δ z ) 2 6
By using Equations (17), (33) and (39), and Taylor series expansions for the terms u i , j n + 1 and u i , j n 1 , the resulting equation is given by
u i , j n + Δ t ( u t ) i , j n + ( Δ t ) 2 2 ( 2 u t 2 ) i , j n + ( Δ t ) 3 6 ( 3 u t 3 ) i , j n = 1 2 { u i , j n + u i , j n Δ t ( u t ) i , j n + ( Δ t ) 2 2 ( 2 u t 2 ) i , j n ( Δ t ) 3 6 ( 3 u t 3 ) i , j n } + α Δ t 4 [ 6 { ( 2 u y 2 ) i , j n + ( 2 u z 2 ) i , j n } + Δ t { ( 3 u y 2 t ) i , j n + ( 3 u z 2 t ) i , j n } ( Δ t ) 2 2 { ( 4 u y 2 t 2 ) i , j n + ( 4 u z 2 t 2 ) i , j n } + ( Δ t ) 3 6 { ( 5 u y 2 t 3 ) i , j n + ( 5 u z 2 t 3 ) i , j n } ]
Simplifying the terms in Equation (40) yields
( u t ) i , j n = α { ( 2 u y 2 ) i , j n + ( 2 u z 2 ) i , j n } + α Δ t 6 { ( 3 u y 2 t ) i , j n + ( 3 u z 2 t ) i , j n } α ( Δ t ) 2 12 { ( 4 u y 2 t 2 ) i , j n + ( 4 u z 2 t 2 ) i , j n } + α ( Δ t ) 3 36 { ( 5 u y 2 t 3 ) i , j n + ( 5 u z 2 t 3 ) i , j n } ( Δ t ) 6 ( 2 u t 2 ) i , j n ( Δ t ) 2 6 ( 3 u t 3 ) i , j n
By using the consistency criteria, and applying the limits Δ t 0 ,   Δ y 0 ,   Δ x 0 , the resulting equation becomes the original parabolic partial differential Equation (16) evaluated at the grid point ( i , j ) and at time level “ n ”. Thus the scheme is consistent. Now using Equation (16) in Equation (41), the leading error term in the scheme is given by 3 8 ( Δ t ) 3 ( 3 u t 3 ) i , j n .

5. Problem Formulation in Fluid Flow

Consider a fully developed laminar, incompressible flow in a rectangular duct with a streamwise constant pressure gradient. The cross-sectional area of a duct is shown in Figure 1. Let u be a velocity component along x -axis, T is the temperature of the fluid, and let C is the concentration poured into the fluid. Two boundaries of the duct are kept at a hot temperature T w , and an ambient temperature is used for the left and right walls of the rectangular cross-sectional region. The flow is generated due to the constant pressure gradient exerted on the fluid. Dirichlet-type boundary conditions for velocity, temperature, and concentration are used for all four sides of a duct. The concentration is poured into the specified duct location from its bottom wall.
The governing equations of the considered flow problem using the effect of the chemical reaction can be expressed as
u t + 1 ρ p x = ν ( 2 u y 2 + 2 u z 2 )
T t = α ( 2 T y 2 + 2 T z 2 )
C t = D B ( 2 C y 2 + 2 C z 2 ) k 1 ( C C )
subject to the boundary conditions
A t   y = 0   a n d   y = h ( i )         0 z 0.2360 L       u = 0 ,   T = T h ,   C = C 1       ( i i )               z > 0.2360 L                   u = 0 ,   T = T h ,     C = C 0 }
A t   z = 0 u = 0 ,   T = T c ,   C = C 0 }
A t   z = 7 L u = 0 ,   T = 0 ,   C = 0 }
where ρ is the density of the fluid, ν is the kinematic viscosity, α is the thermal diffusivity, D B is the Brownian diffusion coefficient, and k 1 is the reaction rate parameter.
To make Equations (42)–(47) dimensionless, the following transformations are employed:
X = x L ,   Y = y L ,   Z = z L ,   U = u u 0 ,   P = p ρ u 0 2 θ = T T T w T ,   ϕ = C C C w C ,   τ = t u 0 L }
where u 0 is the average velocity of the fluid. By incorporating transformations (48) for Equations (42)–(47), the following set of partial differential equations are obtained
U τ = P X + 1 R e ( 2 U Y 2 + 2 U Z 2 )
θ τ = 1 P e 1 ( 2 θ Y 2 + 2 θ Z 2 )
ϕ τ = 1 P e 2 ( 2 ϕ Y 2 + 2 ϕ Z 2 ) γ ϕ
Subject to the dimensionless boundary conditions
A t   Y = 0   a n d   Y = h L ( i )         0 Z 0.2360       U = 0 ,     θ = 1 ,     ϕ = 1       ( i i )               Z > 0.2360                   U = 0 ,     θ = 1 ,     ϕ = 0 }
A t   Z = 0 U = 0 ,   θ = 0 ,   ϕ = 0 }
A t   Z = 7 U = 0 ,     θ = 0 ,     ϕ = 0 }
where R e is the Reynolds number, P e 1 and P e 2 are the thermal and solutal Péclet numbers, respectively, and γ is the reaction rate parameter, which is defined by
R e = L u 0 ν ,   P e 1 = L u 0 a ,   P e 2 = L u 0 D B ,   γ = k L u 0
To solve Equations (49)–(54), a proposed numerical scheme for temporal discretization is employed with second-order central differencing formulas are adopted for spatial discretization.
Using a proposed second-order scheme for temporal discretization with standard central difference formulas for the spatial discretization to Equations (49)–(51) yields the following equation
U i , j n + 1 = 1 2 ( U i , j n + U i , j n 1 ) + Δ t 4 [ 7 P X + 1 R e { 7 δ Y 2 U i , j n + 7 δ Z 2 U i , j n } + P X 1 R e { δ Y 2 U i , j n 1 + δ Z 2 U i , j n 1 } ]
θ i , j n + 1 = 1 2 ( θ i , j n + θ i , j n 1 ) + Δ t 4 [ 1 P r { 7 δ Y 2 θ i , j n + 7 δ Z 2 θ i , j n } 1 P r { δ Y 2 θ i , j n 1 + δ Z 2 θ i , j n 1 } ]
ϕ i , j n + 1 = 1 2 ( ϕ i , j n + ϕ i , j n 1 ) + Δ t 4 [ 1 S c { 7 δ Y 2 ϕ i , j n + 7 δ Z 2 ϕ i , j n } 1 S c { δ Y 2 ϕ i , j n 1 + δ Z 2 ϕ i , j n 1 } ]
where δ Y 2 U i , j n = U i 1 , j n 2 U i , j n + U i + 1 , j n ( Δ Y ) 2 and similarly, the remaining quantities in Equations (56) and (58) can be defined. The summary for finding solutions of Equations (49)–(54) using Matlab software is given in the form of Algorithm 1.
Algorithm 1 Summary of the Matlab code
1.  InitializationBegin The Code With Input Data.
2.  Temporal For Loop Begin The “For Loop” for Temporal Variable First and Give
 Initial Conditions.
3.  Spatial For Loops  Begin “For Loops” ( i = 0   t o   l e n g t h ( y ) ) and
  ( j = 0   t o   l e n g t h ( z ) ) for Spatial Variables and Give
 Boundary Conditions Using if-else Statements.
4.  ProcessingFind the Solution for U ,   θ ,   and   ϕ at the Grid Points ( i , j ) and
at Time Level n + 1 .
5.  EndEnd the Conditional Statements if-else and also end the
 Spatial and Temporal Loops.
6.  PlotsDraw the Desire Plots Using Matlab Command Window.

6. Vector Stability

In order to check the stability conditions for Equations (49)–(51), a Von Neumann stability criteria is adopted again for this case. Therefore, for doing so, first, convert the Equations (49)–(51) into a single following matrix–vector equation
U τ = C ¯ ( 2 U Y 2 + 2 U Z 2 )
where C ¯ = [ 1 R e 0 0 0 1 P e 1 0 0 0 1 P e 2 ]   and   U = [ U , θ , ϕ ] t .
Employing the proposed numerical scheme for temporal discretization with the second-order central scheme for spatial discretization for Equation (59) gives:
U i , j n + 1 = 1 2 ( U i , j n + U i , j n 1 ) + C ¯ Δ τ 4 [ 7 { δ Y 2 U i , j n + δ Z 2 U i , j n } { δ Y 2 U i , j n 1 + δ Z 2 U i , j n 1 } ]
where δ Y 2 U i , j n = U i + 1 , j n 2 U i , j n + U i 1 , j n ( Δ Y ) 2 .
By inserting the following transformations
U i , j n + 1 = E n + 1 e I ( i ψ 1 + j ψ 2 ) ,   U i ± 1 , j n = E n e I ( ( i + 1 ) ψ 1 + j ψ 2 ) , U i , j ± 1 n = E n e I ( i ψ 1 + ( j + 1 ) ψ 2 ) ,   U i , j n = E n e I ( i ψ 1 + j ψ 2 )  
into Equation (60), it gives the following equation after dividing both sides of the resulting equation by e I ( i ψ 1 + j ψ 2 )
E n + 1 = 1 2 ( E n + E n 1 ) + Δ τ C ¯ 4 ( Δ Y ) 2 ( Δ Z ) 2 [ 7 ( Δ Z ) 2 E n { e I ψ 1 2 + e I ψ 1 } + 7 ( Δ Y ) 2 E n { e I ψ 2 2 + e I ψ 2 } ( Δ Z ) 2 E n 1 { e I ψ 1 2 + e I ψ 1 } ( Δ Y ) 2 E n 1 { e I ψ 2 2 + e I ψ 2 } ]
Equation (61) can be expressed as
E n + 1 = 1 2 ( E n + E n 1 ) + Δ τ C ¯ 2 ( Δ Y ) 2 ( Δ Z ) 2 [ 7 E n ( Δ Z ) 2 ( c o s ψ 1 1 ) + 7 E n ( Δ Y ) 2 ( c o s ψ 1 1 ) ( Δ Z ) 2 E n 1 ( c o s ψ 1 1 ) ( Δ Y ) 2 E n 1 ( c o s ψ 2 1 ) ]
Let
A ¯ = 1 2 Δ τ C ¯ 2 ( Δ Y ) 2 ( Δ Z ) 2 [ 7 ( Δ Z ) 2 ( c o s ψ 1 1 ) + 7 ( Δ Y ) 2 ( c o s ψ 2 1 ) ]
B ¯ = 1 2 Δ τ C ¯ 2 ( Δ Y ) 2 ( Δ Z ) 2 [ ( Δ Z ) 2 ( c o s ψ 1 1 ) + ( Δ Y ) 2 ( c o s ψ 2 1 ) ]
where A ¯ and B ¯ can be expressed by
A ¯ = I . D 2 + 7 d e ¯ C ¯   and   B ¯ = I . D 2 d e ¯ C ¯
with e ¯ = ( Δ Z ) 2 ( c o s ψ 1 1 ) + ( Δ Y ) 2 ( c o s ψ 2 1 ) , d = Δ τ 2 ( Δ Y ) 2 ( Δ Z ) 2 , I = 1 and I . D is an identity matrix.
By substituting A ¯ and B ¯ into Equation (53), the resulting equation can be expressed by
E n + 1 = A ¯ E n + B ¯ E n 1
Consider now an equation of the form
E n = I . D E n + OE n 1
System of Equations (63) and (64) can be expressed in the form of a matrix–vector equation given as
[ E n + 1 E n ] = [ A ¯ B ¯ I . D 0 ] [ E n E n 1 ]
The stability conditions can be imposed on the eigenvalues of the matrix given in Equation (65) as
| λ 1 | 2 1   and   | λ 2 | 2 1
where λ 1 = A 1 2 1 2 A 1 2 + 4 B 1 and λ 2 = A 1 2 + 1 2 A 1 2 + 4 B 1 and A 1 = 1 2 + 7 λ m , C ¯ d e ¯ , B 1 = 1 2 λ m , C ¯ d e ¯ .
In the expressions of A 1 and B 1 , λ m _ C ¯ denotes the maximum eigenvalues of the matrix C ¯ .
Theorem 1.
A presently proposed scheme tends to converge for the dimensionless conservative form of considered PDEs if the error made by the scheme at the first time level is bounded and the following condition holds
8 B ( 1 ( Δ Y ) 2 + 1 ( Δ Z ) 2 ) + C 2 0
where f = U 2 , B = [ 1 / R e 0 0 0 1 / P e 1 0 0 0 1 / P e 2 ] and C = [ 0 0 0 0 0 0 0 0 1 ]
Proof. 
Non-dimensional form of Equations (43)–(45) can be expressed in the following matrix–vector form
U τ = B ( 2 U Y 2 + 2 U Z 2 ) + CU
By discretizing Equation (67) using the proposed scheme with second-order central difference formulas, the following equation is obtained:
U i , j n + 1 = 1 2 ( U i , j n + U i , j n 1 ) + B 4 { 7 ( δ Y 2 U i , j n + δ Z 2 U i , j n ) ( δ Y 2 U i , j n 1 + δ Z 2 U i , j n 1 ) } + C 4 ( 7 U i , j n U i , j n 1 )
Let the exact discretized scheme for discretizing Equation (67) be given as
U ^ i , j n + 1 = 1 2 ( U ^ i , j n + U ^ i , j n 1 ) + B 4 { 7 ( δ Y 2 U ^ i , j n + δ Z 2 U ^ i , j n ) ( δ Y 2 U ^ i , j n 1 + δ Z 2 U ^ i , j n 1 ) } + C 4 ( 7 U ^ i , j n U ^ i , j n 1 )
By subtracting Equation (69) from Equation (68), denoting e i , j n = U i , j n U ^ i , j n , e i , j n 1 = U i , j n 1 U ^ i , j n 1 , the resulting Equation is given by
e i , j n + 1 = 1 2 ( e i , j n + e i , j n 1 ) + ( B 4 ( δ Y 2 + δ Z 2 ) + C 4 ) ( 7 e i , j n e i , j n 1 )
By applying norms on both sides of Equation (70), the following inequality is obtained:
e i , j n + 1 1 2 ( e i , j n + e i , j n 1 ) + ( B 4 ( δ Y 2 + δ Z 2 ) + C 4 ) ( 7 e i , j n e i , j n 1 )
By using inequality δ Z 2 e i , j n e i , j + 1 n + 2 e i , j n + e i , j 1 n 2 ( Δ Z ) 2 at time level n and applying e n = max 1 i N y , 1 j N z e i , j n , the resulting inequality can be expressed as
e n + 1 1 2 ( e n + e n 1 ) + B ( 1 ( Δ Y ) 2 + 1 ( Δ Z ) 2 ) ( 7 e n + e n 1 ) + C 4 ( 7 e n + e n 1 )
Now, if e n 1 = m a x { e n , e n 1 } , then the Inequality (72) can be simplified as
e n + 1 { 1 + 8 B ( 1 ( Δ Y ) 2 + 1 ( Δ Z ) 2 ) + 2 C } e n 1 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
Let β = 1 + 8 B ( 1 ( Δ Y ) 2 + 1 ( Δ Z ) 2 ) + 2 C , then Inequality (73) can be expressed by
e n + 1 β e n 1 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
For n = 1 in Inequality (74), the following inequality is obtained
e 2 β e 0 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
Since the initial condition is exact, so e 0 = 0 ; therefore, Inequality (75) becomes
e 2 G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
By using the hypothesis, the following inequality can be constructed
e 1 M
For n = 2 in Inequality (74), it gives
e 3 β e 1 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) ) β M + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
For n = 3 in Inequality (74), the following inequality is obtained
e 4 β e 2 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) ) ( 1 + β ) G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
For n = 4 in Inequality (74), it yields
e 5 β e 3 + G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) ) β 2 M + ( 1 + β ) G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
Similarly, this process continues, and for even n ,
e n ( 1 + β + β 2 + + β n 2 ) G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
When n is odd, an inequality becomes
e n β n 3 M + ( 1 + β + β 2 + + β n 3 ) G ( O ( ( Δ τ ) 2 , ( Δ Y ) 2 , ( Δ Z ) 2 ) )
Since the series 1 + β + β 2 + + β n 3 + is a geometric series that converges for | β | 1 and similarly if e n = m a x { e n , e n 1 } , then it can be proved that | β | 1 and therefore theorem is proved. □

7. Results and Discussion

The set of governing non-dimensional partial differential equations was solved by employing the proposed second-order in time with second-order and combined second and fourth-order spatial discretization. The proposed second-order scheme was proved to be conditionally stable for the case of scalar parabolic partial differential equations. In addition to this, a modification was suggested that can be coupled with the proposed scheme, which permits a little larger stability region. However, it has the disadvantage of reduction in the order of accuracy. Since the modification is first-order accurate, the order of the resultant scheme is reduced, and the proposed scheme (4) and Du Fort–Frankel scheme become first-order accurate. However, since Richardson’s scheme was unconditionally unstable, the modification makes it unconditionally stable, and here, the same modification was used to enhance the stability region. The modification overcomes the computational time issue for a second-order scheme. Because a scheme with a very small temporal step size may take more time to converge compared to a scheme that may take a short time to converge, the disadvantage is dropping a temporal order of a scheme. However, one can use a third-order approximation instead of Du Fort–Frankel’s first-order approximation for the diffusion term. The third-order approximation [29], as mentioned in the introduction of this work, can also be considered, and so in this way, the order of the scheme is not reduced in some or most of the cases. Moreover, the Du Fort–Frankel method consists of the time derivative on n t h time level. For this case, the time derivatives were used for two consecutive time levels, n t h and ( n 1 ) t h , but the modification is suggested for the n t h time level and with a spatial discretization of a diffusion term(s). The stability of the system of equations was also given.
In drawing Figure 2, Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11 and Figure 12, L = 1   and   h = 1 were used. Figure 1 shows the geometry of the cross-section of a rectangular duct. Dirichlet-type boundary conditions were implemented on all four sides of the rectangular cross-sectional region of the duct. The x coordinate is the streamwise coordinate of the flow, and the flow was generated due to different constant pressure gradients exerted on the fluid from the inlet. A small part of the bottom boundary was used for concentration. Therefore, in non-dimensional form, the concentration has a maximum value at the particular part of the boundary, and at the remaining boundaries, it is zero. Figure 2 shows the flow velocity at different pressure gradients. Since the fully developed flow was considered, the parabolic behavior of the velocity can be visualized in Figure 2.
Figure 3 shows velocity contours at different times. Since no-slip boundary conditions were imposed at the walls, the same color representing these conditions is shown in Figure 3.
Figure 3 shows that more layers of fluid are disturbing with time. Figure 4 shows the flow temperature with the variation in thermal Péclet number.
By decaying thermal Péclet number, the temperature of the flow de-escalates. This results from lower thermal conductivity due to a decrease in thermal diffusivity. The decay in thermal diffusivity is the consequence of the direct relationship between thermal diffusivity and thermal Péclet number. Figure 5 shows the contours of the temperature of the flow.
Since the temperature has its maximum values at the top and bottom edges of the rectangular region, the temperature of the fluid near these walls is maximum. Then, due to transferring heat into adjacent layers of the fluid, the temperature of those layers also increases. The increase in thermal Péclet number produces lower heat transfer, which can be seen in Figure 5. The decrease in the heat transfer by increment in thermal Péclet number is the consequence of decreasing thermal conductivity discussed earlier in this contribution. Figure 6 shows the contours of the temperature of the flow at different value times.
Figure 6 deliberates that more layers of fluid become hotter with time. The temperature has its minimum values at the left and right walls of the rectangular cross-sectional region. Figure 7 deliberates the temperature of the flow at different times and different z coordinates.
Due to transferring of heat, the temperature approaches its maximum values at both locations of chosen z coordinate by time. Effect of thermal Péclet number on the temperature of the flow is shown in Figure 8.
These two-dimensional graphs show that temperature is decreasing by growing values of thermal Péclet number. The effect of solutal Péclet number on concentration is shown in Figure 9.
The mass transfer is better at smaller values of the solutal Péclet number. This is the consequence of decreasing mass diffusivity by increasing solutal Péclet number because both are inversely proportional to each other. Figure 10 shows the contours of concentration with time. The concentration is maximum at the specified location at z -axis due to imposed boundary conditions. The transfer of mass from this location to the adjacent layers of fluid flow can be seen in Figure 10.
The effect of the reaction rate parameter on concentration can be seen in Figure 11. The dual behavior of concentration can be seen in Figure 11.
For verification of the code for the proposed scheme for a time-dependent partial differential equation, the following example is considered:
v t = 2 v y 2
subject to the boundary conditions
v ( t , 0 ) = 1         and             v 0   w h e n   y
and using zero as the initial condition. The problem is solved using the proposed scheme in time and fourth-order spatial discretization except at those grid points where fourth-order central spatial discretization cannot be employed. The exact solution of the problem (83) and (84) is available. The comparison of the proposed scheme with the exact solution is given in Figure 12.
Figure 12 shows the absolute error produced by the proposed scheme, which is obtained by finding the absolute value for the difference between numerical and exact solutions. Figure 13 demonstrates the usefulness of the proposed scheme (4), which is the combination of the existing second-order scheme (2) and a modification given in the existing DuFort method (3). The proposed scheme produces a better stability region, which is evidence of the proposed strategy in Figure 13. The existing second-order scheme does not converge on chosen temporal step size. However, the proposed scheme (4) converges on the same temporal step size, but the temporal order of the proposed scheme (4) is reduced to one due to first-order modification (3). In the caption of Figure 13, N t , N y , and t f denote the number of time levels, grid points, and final time, respectively.

8. Conclusions

An explicit class of second to fifth-order accurate in-time schemes was proposed for time-dependent PDEs. The stability of the second-order in time and space scheme for the parabolic linear PDE was found. Additionally, a modification was suggested so that the modified proposed scheme permits a little larger stability region for time-dependent PDEs. Moreover, stability conditions of the linearized non-dimensional form of the present model were found, and the convergence condition of the present scheme for the considered system of PDEs in the flow phenomenon was found. Some related discussions drew plots of velocity, temperature, and concentration contours, along with temperature and concentration profiles. In addition, the proposed method was easy to implement and can be used in a larger class of partial differential equations seen in both practical and theoretical contexts.

Author Contributions

Conceptualization—Y.N.; funding acquisition—W.S.; investigation, software, writing (review and editing), methodology, and writing (original draft)—Y.N.; methodology—M.S.A.; project administration—W.S.; resources—W.S.; supervision—M.S.A.; visualization—W.S.; writing (review and editing)—M.B. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by a Seed Project research grant from Prince Sultan University, Saudi Arabia (SEED-2022-CHS-100).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The manuscript includes all relevant data and implementation information.

Acknowledgments

The authors express their gratitude to Prince Sultan University for facilitating the publication of this article through the Theoretical and Applied Sciences Lab.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Malapati, V.; Polarapu, P. Unsteady MHD free convective heat and mass transfer in a boundary layer flow past a vertical permeable plate with thermal radiation and chemical reaction. Procedia Eng. 2015, 127, 191–199. [Google Scholar] [CrossRef] [Green Version]
  2. Davidson, P.A. An Introduction to Magnetohydrodynamics; Cambridge University Press: New York, NY, USA, 2001. [Google Scholar]
  3. Dogonchi, A.S.; Ganji, D.D. Impact of Cattaneo—Christov heat flux on MHD nanofluid flow and heat transfer between parallel plates considering thermal radiation effect. J. Taiwan Inst. Chem. Eng. 2017, 52, 52–64. [Google Scholar] [CrossRef]
  4. Dogonchi, A.S.; Divsalar, K.; Ganji, D.D. Flow and heat transfer of MHD nanofluid between parallel plates in the presence of thermal radiation. Comput. Methods Appl. Mech. Eng. 2016, 310, 58–76. [Google Scholar] [CrossRef]
  5. Ghasemi, K.; Siavashi, M. MHD nanofluid free convection and entropy generation in porous enclosures with different conductivity ratios. J. Magn. Magn. Mater. 2017, 442, 474–490. [Google Scholar] [CrossRef]
  6. Sarma, R.; Gaikwad, H.; Mondal, P.K. Effect of conjugate heat transfer on entropy generation in slip-driven microflow of power law fluids. Nanoscale Microscale Thermophys. Eng. 2017, 21, 26–44. [Google Scholar] [CrossRef]
  7. Reddya, P.B.A.; Suneetha, S.; Reddy, N.B. Numerical study of magnetohydrodynamics (MHD) boundary layer slip flow of a Maxwell nanofluid over an exponentially stretching surface with convective boundary condition. Propuls. Power Res. 2017, 6, 259–268. [Google Scholar] [CrossRef]
  8. Hussain, A.; Malik, M.Y.; Salahuddin, T.; Rubab, A.; Khan, M. Effects of viscous dissipation on MHD tangent hyperbolic fluid over a non-linear stretching sheet with convective boundary conditions. Results Phys. 2017, 7, 3502–3509. [Google Scholar] [CrossRef]
  9. Khan, M.; Malik, M.Y.; Salahuddin, T.; Hussain, A. Heat and mass transfer of Williamson nanofluid flow yield by an inclined Lorentz force over a non-linear stretching sheet. Results Phys. 2018, 8, 862–868. [Google Scholar] [CrossRef]
  10. Soid, S.K.; Ishak, A.; Pop, I. MHD flow and heat transfer over a radially stretching/shrinking disk. Chin. J. Phys. 2016, 56, 58–66. [Google Scholar] [CrossRef]
  11. Narayana, P.V.S.; Venkateswarlu, B.; Devika, B. Chemical reaction and heat source effects on MHD oscillatory flow in an irregular channel. Ain Shams Eng. J. 2016, 7, 1079–1088. [Google Scholar]
  12. Nayak, M.K.; Akbar, N.S.; Tripathi, D.; Khan, Z.H.; Pandey, V.S. MHD 3D free convective flow of nanofluid over an exponentially stretching sheet with chemical reaction. Adv. Powder Technol. 2017, 9, 2159–2166. [Google Scholar] [CrossRef]
  13. Yu, H.; Son, G.; Shim, W. Numerical simulation of droplet merging and chemical reaction in a porous medium. Int. Commun. Heat Mass Transf. 2017, 89, 154–164. [Google Scholar] [CrossRef]
  14. Hayat, T.; Waqas, M.; Khan, M.I.; Alsaedi, A. Impacts of constructive and destructive chemical reactions in magnetohydrodynamic (MHD) flow of Jeffrey liquid due to non-linear radially stretched surface. J. Mol. Liq. 2017, 225, 302–310. [Google Scholar] [CrossRef]
  15. Wen, X.; Wang, H.; Luo, Y.; Luo, K.; Fan, J. Numerical investigation of the effects of volatile matter composition and chemical reaction mechanism on pulverized coal combustion characteristics. Fuel 2017, 210, 695–704. [Google Scholar] [CrossRef]
  16. Tlili, I.; Khan, W.A.; Khan, I. Multiple slips effects on MHD SA-Al2O3 and SA-Cu non-Newtonian nanofluids flow over a stretching cylinder in porous medium with radiation and chemical reaction. Results Phys. 2018, 8, 213–222. [Google Scholar] [CrossRef]
  17. Sambath, P.; Pullepu, B.; Hussain, T.; Shehzad, S.A. Radiated chemical reaction impacts on natural convective MHD mass transfer flow induced by a vertical con. Results Phys. 2018, 8, 304–315. [Google Scholar] [CrossRef]
  18. Kerboua, K.; Hamdaoui, O. Influence of reactions heats on variation of radius, temperature, pressure and chemical species amounts within a single acoustic cavitation bubble. Ultrason. Sonochem. 2018, 41, 447–457. [Google Scholar] [CrossRef]
  19. Khan, M.; Shahid, A.; Malik, M.Y.; Salahuddin, T. Chemical reaction for Carreau-Yasuda nanofluid flow past a non-linear stretching sheet considering Joule heating. Results Phys. 2018, 8, 1124–1130. [Google Scholar] [CrossRef]
  20. Acharya, N.; Das, K.; Kundu, P.K. Cattaneo—Christov intensity of magnetised upperconvected Maxwell nanofluid flow over an inclined stretching sheet: A generalised Fourier and Fick’s perspective. Int. J. Mech. Sci. 2017, 230, 167–173. [Google Scholar] [CrossRef]
  21. Khan, M.; Shahid, A.; Malik, M.Y.; Salahuddin, T. Thermal and concentration diffusion in Jeffery nanofluid flow over an inclined stretching sheet: A generalized Fourier’s and Fick’s perspective. J. Mol. Liq. 2018, 251, 7–14. [Google Scholar] [CrossRef]
  22. Ellahi, R.; Bhatti, M.M.; Vafai, K. Effects of heat and mass transfer on peristaltic flow in a non-uniform rectangular duct. Int. J. Heat Mass Transf. 2014, 71, 706–719. [Google Scholar] [CrossRef]
  23. Hina, S.; Mustafa, M.; Hayat, T.; Alsaedi, A. Peristaltic transport of Powell-Eyring fluid in a curved channel with heat/mass tran fer and wall properties. Int. J. Heat Mass Transf. 2016, 101, 156–165. [Google Scholar] [CrossRef]
  24. Nadeem, S.; Akbar, N.S.; Bibi, N.; Ashiq, S. Influence of heat and mass transfer on peristaltic flow of a third order fluid in a diverging tube. Commun. Nonlinear Sci. Numer. Simul. 2010, 15, 2916–2931. [Google Scholar] [CrossRef]
  25. Hoffmann, K.A.; Chiang, S.T. Computational Fluid Dynamics (Vol. 1); Engineering Education System: Wichita, KS, USA, 2000. [Google Scholar]
  26. Sarma, R.; Mondal, P.K. Entropy generation minimization in a pressure-driven microflow of viscoelastic fluid with slippage at the wall: Effect of conjugate heat transfer. J. Heat Transf. 2018, 140, 052402. [Google Scholar] [CrossRef]
  27. Sarma, R.; Nath, A.J.; Konwar, T.; Mondal, P.K.; Wongwises, S. Thermo-hydrodynamics of a viscoelastic fluid under asymmetrical heating. Int. J. Heat Mass Transf. 2018, 125, 515–524. [Google Scholar] [CrossRef]
  28. Nayak, M.K. MHD 3D flow and heat transfer analysis of nanofluid by shrinking surface inspired by thermal radiation and viscous dissipation. Int. J. Mech. Sci. 2017, 124, 185–193. [Google Scholar] [CrossRef]
  29. Zangooee, M.R.; Hosseinzadeh, K.; Ganji, D.D. Hydrothermal analysis of MHD nanofluid (TiO2-GO) flow between two radiative stretchable rotating disks using AGM. Case Stud. Therm. Eng. 2017, 56, 621–627. [Google Scholar] [CrossRef]
  30. Nawaz, Y. Development of new and modified numerical methods for hyperbolic conservation laws. Numer. Heat Transf. Part B Fundam. 2019, 76, 224–251. [Google Scholar] [CrossRef]
  31. Nawaz, Y.; Arif, M.S.; Shatanawi, W.; Nazeer, A. An explicit fourth-order compact numerical scheme for heat transfer of boundary layer flow. Energies 2021, 14, 3396. [Google Scholar] [CrossRef]
  32. Nawaz, Y.; Arif, M.S.; Shatanawi, W.; Ashraf, M.U. A Fourth Order Numerical Scheme for Unsteady Mixed Convection Boundary Layer Flow: A Comparative Computational Study. Energies 2022, 15, 910. [Google Scholar] [CrossRef]
Figure 1. Two-dimensional geometry for the cross-section of rectangular duct.
Figure 1. Two-dimensional geometry for the cross-section of rectangular duct.
Energies 15 05145 g001
Figure 2. Impact of pressure gradient on velocity using N τ = 3000 ,   N Y = 40 ,   N Z = 90 .
Figure 2. Impact of pressure gradient on velocity using N τ = 3000 ,   N Y = 40 ,   N Z = 90 .
Energies 15 05145 g002
Figure 3. Velocity of the flow at different times ( a )   τ = 0.4998 ,   ( b )   τ = 1 using N τ = 2500 ,   N Y = 40 ,   N Z = 900 ,   P / X = 15 .
Figure 3. Velocity of the flow at different times ( a )   τ = 0.4998 ,   ( b )   τ = 1 using N τ = 2500 ,   N Y = 40 ,   N Z = 900 ,   P / X = 15 .
Energies 15 05145 g003
Figure 4. Impact of thermal Péclet number on the temperature of the flow using N τ = 3500 ,   N Y = 40 ,   N Z = 900 .
Figure 4. Impact of thermal Péclet number on the temperature of the flow using N τ = 3500 ,   N Y = 40 ,   N Z = 900 .
Energies 15 05145 g004
Figure 5. Impact of thermal Péclet number on contours of flow’s temperature at ( a )   P e 1 = 10 , ( b )   P e 1 = 15 , ( c )   P e 1 = 20 using N τ = 3500 ,   N Y = 40 ,   N Z = 900 ,   t f = 1 .
Figure 5. Impact of thermal Péclet number on contours of flow’s temperature at ( a )   P e 1 = 10 , ( b )   P e 1 = 15 , ( c )   P e 1 = 20 using N τ = 3500 ,   N Y = 40 ,   N Z = 900 ,   t f = 1 .
Energies 15 05145 g005
Figure 6. Contours of flow’s temperature at different times ( a )   τ = 0.9999 , ( b )   τ = 1.4999 ( c )   τ = 2 using N τ = 8000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Figure 6. Contours of flow’s temperature at different times ( a )   τ = 0.9999 , ( b )   τ = 1.4999 ( c )   τ = 2 using N τ = 8000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Energies 15 05145 g006
Figure 7. Flow temperature at different times using N τ = 8000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Figure 7. Flow temperature at different times using N τ = 8000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Energies 15 05145 g007
Figure 8. Impact of thermal Péclet number on flow temperature using N τ = 10000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Figure 8. Impact of thermal Péclet number on flow temperature using N τ = 10000 ,   N Y = 40 ,   N Z = 900 ,   P e 1 = 5 .
Energies 15 05145 g008
Figure 9. Impact of solutal Péclet number on contours of concentration at ( a )   P e 2 = 10 , ( b )   P e 2 = 15 , ( c )   P e 2 = 20 using N τ = 3000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   t f = 1 .
Figure 9. Impact of solutal Péclet number on contours of concentration at ( a )   P e 2 = 10 , ( b )   P e 2 = 15 , ( c )   P e 2 = 20 using N τ = 3000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   t f = 1 .
Energies 15 05145 g009
Figure 10. Concentration contours at different times at ( a )   τ = 0.5999 , ( b )   τ = 0.8 , ( c )   τ = 1 using N τ = 5000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   t f = 1 ,   P e 2 = 5 .
Figure 10. Concentration contours at different times at ( a )   τ = 0.5999 , ( b )   τ = 0.8 , ( c )   τ = 1 using N τ = 5000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   t f = 1 ,   P e 2 = 5 .
Energies 15 05145 g010
Figure 11. Impact of reaction rate parameter on concentration using N τ = 3000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   P e 2 = 10 .
Figure 11. Impact of reaction rate parameter on concentration using N τ = 3000 ,   N Y = 40 ,   N Z = 900 ,   γ = 4 ,   P e 2 = 10 .
Energies 15 05145 g011
Figure 12. Absolute error obtained by the proposed scheme using a = 1 2 ,   N t = 350 ,   N y = 40 ,   t f = 1 .
Figure 12. Absolute error obtained by the proposed scheme using a = 1 2 ,   N t = 350 ,   N y = 40 ,   t f = 1 .
Energies 15 05145 g012
Figure 13. Comparison of existing/classical Adams–Bashforth scheme and proposed scheme using N t = 50 ,   N y = 40 ,   t f = 1 .
Figure 13. Comparison of existing/classical Adams–Bashforth scheme and proposed scheme using N t = 50 ,   N y = 40 ,   t f = 1 .
Energies 15 05145 g013
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Nawaz, Y.; Arif, M.S.; Shatanawi, W.; Bibi, M. A New Explicit Numerical Schemes for Time-Dependent PDEs with Application to Pressure Driven Fluid Flow in a Rectangular Duct. Energies 2022, 15, 5145. https://doi.org/10.3390/en15145145

AMA Style

Nawaz Y, Arif MS, Shatanawi W, Bibi M. A New Explicit Numerical Schemes for Time-Dependent PDEs with Application to Pressure Driven Fluid Flow in a Rectangular Duct. Energies. 2022; 15(14):5145. https://doi.org/10.3390/en15145145

Chicago/Turabian Style

Nawaz, Yasir, Muhammad Shoaib Arif, Wasfi Shatanawi, and Mairaj Bibi. 2022. "A New Explicit Numerical Schemes for Time-Dependent PDEs with Application to Pressure Driven Fluid Flow in a Rectangular Duct" Energies 15, no. 14: 5145. https://doi.org/10.3390/en15145145

APA Style

Nawaz, Y., Arif, M. S., Shatanawi, W., & Bibi, M. (2022). A New Explicit Numerical Schemes for Time-Dependent PDEs with Application to Pressure Driven Fluid Flow in a Rectangular Duct. Energies, 15(14), 5145. https://doi.org/10.3390/en15145145

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