<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2022.1312061</article-id><article-id pub-id-type="publisher-id">AM-122165</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Spectral Method for Convection-Diffusion Equations
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Peng</surname><given-names>Guo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Qin</surname><given-names>Wang</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhengang</surname><given-names>Zhao</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff3"><addr-line>Department of Fundamental Courses, Shanghai Customs College, Shanghai, China</addr-line></aff><aff id="aff2"><addr-line>College of Transport &amp;amp; Communications, Shanghai Maritime University, Shanghai, China</addr-line></aff><aff id="aff1"><addr-line>The Business School, Shanghai Dianji University, Shanghai, China</addr-line></aff><pub-date pub-type="epub"><day>28</day><month>12</month><year>2022</year></pub-date><volume>13</volume><issue>12</issue><fpage>968</fpage><lpage>987</lpage><history><date date-type="received"><day>10,</day>	<month>November</month>	<year>2022</year></date><date date-type="rev-recd"><day>27,</day>	<month>December</month>	<year>2022</year>	</date><date date-type="accepted"><day>30,</day>	<month>December</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In the practical problems such as nuclear waste pollution and seawater intrusion etc., many problems are reduced to solving the convection-diffusion equation, so the research of convection-diffusion equation is of great value. In this work, a spectral method is presented for solving one and two dimensional convection-diffusion equation with source term. The finite difference method is also used to solve the convection diffusion equation. The numerical experiments show that the spectral method is more efficient than other methods for solving the convection-diffusion equation.
 
</p></abstract><kwd-group><kwd>Convection-Diffusion Equation</kwd><kwd> Central Finite Difference Method</kwd><kwd> Upwind Difference Method</kwd><kwd> Chebyshev</kwd><kwd> Spectral Method</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In recent decades, with the increasing attention of human beings to environmental problems, environmental pollution problems have become an increasing object of concern. Such as groundwater pollutants transfer, diffusion problem of pollutants in the ocean; absorption of chemical substances in riverbeds, distribution of pollutants in nuclear pollution, long-range propagation of pollutants in the atmosphere, etc., all of these phenomenon can be modelling by the convection-diffusion equation. The study of convection-diffusion equation can provide theoretical support for pollution prediction and the development trend of pollutants, therefore the numerical analysis of convection-diffusion equation has important theoretical and practical value.</p><p>In general, nearly all the partial differential equations are difficult or cannot give the analytical solutions. So many scholars have proposed various numerical algorithms to cope with such problems, the traditional numerical algorithms including finite difference method, finite element method, finite volume method, especially for finite difference method, many scholars have proposed various compact schemes, i.e., using equal number of nodes with different coefficients to construct some new schemes with high precision. These numerical methods have greatly enriched the numerical solution of the convection-diffusion.</p><p>Next, we will focus on the following convection-diffusion equation,</p><p>− ε Δ u + ( α , β ) ⋅ ∇ u + γ u = f , x ∈ Ω . (1)</p><p>The above Equation (1) is the convection-diffusion equation, where the second derivative i.e. Δ u is the diffusion term, the first derivative term ∇ u is the convective term, f is the source term, ε is the coefficient of diffusion term, α and β are constants.</p><p>In general, it is difficult to give an analytical solution for the convection-diffusion equation, so the numerical solution becomes a good way to cope with it. Many scholars proposed many different methods such as finite difference method, finite element method, finite volume method, etc. for solving the convective diffusion equation. Dennis and Hundson [<xref ref-type="bibr" rid="scirp.122165-ref1">1</xref>] proposed a 4th-order compact finite difference method for the Navier-stokes type convection-diffusion equation. Lele [<xref ref-type="bibr" rid="scirp.122165-ref2">2</xref>] proposed a compact finite difference format with pseudo-spectral resolution. Fu and Ma [<xref ref-type="bibr" rid="scirp.122165-ref3">3</xref>] proposed an upwind compact difference method. Cockburn and Shu [<xref ref-type="bibr" rid="scirp.122165-ref4">4</xref>] constructed the nonlinear compact format with fourth-order accuracy, etc. For some other methods and discussions of the convection-diffusion equation we can refer to [<xref ref-type="bibr" rid="scirp.122165-ref5">5</xref>] - [<xref ref-type="bibr" rid="scirp.122165-ref16">16</xref>].</p><p>Compared with the methods mentioned earlier, the spectral method has a higher accuracy in solving partial differential equations [<xref ref-type="bibr" rid="scirp.122165-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.122165-ref18">18</xref>]. In particular, for convection-dominated convective diffusion equations, the spectral method is effective in overcoming the numerical oscillation phenomenon in addition to giving numerical solutions with higher accuracy. In this paper we will consider the Chebyshev spectral method to give numerical solutions of two convective diffusion equations. For more applications of the Chebyshev spectral method and the related theory, we can refer to [<xref ref-type="bibr" rid="scirp.122165-ref17">17</xref>] - [<xref ref-type="bibr" rid="scirp.122165-ref23">23</xref>].</p></sec><sec id="s2"><title>2. Preliminaries</title><p>Some basic contents including Chebyshev polynomials and Chebyshev points will be introduced in this part. The Chebyshev points will be used to construct the differentiation matrices, which is the key point to obtain high-precision solutions.</p><p>Definition 1. [<xref ref-type="bibr" rid="scirp.122165-ref17">17</xref>] When the weight function ρ ( x ) = 1 1 − x 2 , the Chebyshev polynomials can be expressed as follows</p><p>T n ( x ) = cos ( n arccos ( x ) ) , (2)</p><p>where | x | ≤ 1 .</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows the Chebyshev polynomials when n = 1 , 2 , 3 , 4 . Using the trigonometric constancy relation, we also have the following Chebyshev polynomial recurrence relation,</p><p>T n + 1 ( x ) = 2 x T n ( x ) − T n − 1 ( x ) , n ≥ 1. (3)</p><p>This Chebyshev polynomial recurrence relation (3) is equivalent to the explicit expression (2). The first several terms of the Chebyshev recurrence relation are as follows</p><p>{ T 0 ( x ) = 1 , T 1 ( x ) = x , T 2 ( x ) = 2 x 2 − 1 , T 3 ( x ) = 4 x 3 − 3 x .                       ⋮ (4)</p><p>Clearly, when x k = cos k π n , k = 0 , 1 , ⋯ , n , the Chebyshev polynomials equal to zero. All these points are called Chebyshev points. For some finite difference schemes, the equidistant nodes are used widely because of their simplicity and convenience. But for the equidistant nodes, with the number of nodes increases, a major disadvantage is the Runge phenomenon. Especially near the end of the interval, the Runge phenomenon is very obvious. Therefore, to avoid the Runge phenomenon, equidistant nodes are not a suitable choice, and non-equidistant nodes are a way to cope with this problem. Chebyshev points are dense near the ends of the interval and relatively sparse in the middle, so interpolation with Chebyshev nodes can better avoid the Runge phenomenon.</p><p>Property 1.</p><p>∫ − 1 1     ρ ( x ) T m ( x ) T n ( x ) d x = { 0 , m ≠ n , π 2 , m = n = 0 , π , m = n ≠ 0. (5)</p><p>where the weight function is ρ ( x ) = 1 1 − x 2 .</p><p>Since the studied convective-diffusion equation contains derivative terms, it is necessary to consider the Chebyshev derivative matrix to approximate the derivative terms, and next we give the specific representation of the Chebyshev derivative matrix.</p><p>D = ( − 2 N 2 + 1 6 ⋯ 2 ( − 1 ) i − 1 − x j ⋯ 1 2 ( − 1 ) N ⋮ ⋱ ⋮ ( − 1 ) i + j x i − x j ⋮ − 1 2 ( − 1 ) i 1 + x i ⋯ − x j 2 ( 1 − x j 2 ) ⋯ − 1 2 ( − 1 ) i 1 − x i ⋮ ( − 1 ) i + j x i − x j ⋮ ⋱ ⋮ 1 2 ( − 1 ) N ⋯ 2 ( − 1 ) N + j 1 − x j ⋯ 2 N 2 + 1 6 ) (6)</p><p>where D is the Chebyshev matrix of first order derivative. For each element of the Chebyshev first order derivative matrix, the following is shown</p><p>{ D 0 , 0 = − 2 N 2 + 1 6 , D i , i = − x i 2 ( 1 − x i 2 ) , i = 1 , 2 , ⋯ , N − 1 , D i , j = c i ( − 1 ) i + j c j ( x i − x j ) , i ≠ j , i , j = 0 , 1 , ⋯ , N , D N , N = 2 N 2 + 1 6 , (7)</p><p>where</p><p>c i = { 2 , i = 0 ,   N , 1 , else . (8)</p><p>For the second order and higher order derivatives, we approximate them by D k , k ≥ 2 i.e. we have the following approximate representation,</p><p>( u ( k ) ( x 1 ) u ( k ) ( x 2 ) ⋮ u ( k ) ( x n ) ) = D k ( u ( x 1 ) u ( x 2 ) ⋮ u ( x n ) ) . (9)</p><p>There are some other polynomials such as Legendre polynomials, Laguerre polynomials, Jacobi polynomials etc. For a specific discussion of special polynomials and their related properties, one can refer to [<xref ref-type="bibr" rid="scirp.122165-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.122165-ref18">18</xref>].</p><p>Theorem 1. [<xref ref-type="bibr" rid="scirp.122165-ref24">24</xref>] Suppose u is analytical, ρ is sum of semimajor and semiminor axis lengths, P is the interpolation function on the Chebyshev points, Then,</p><p>| P N ( x ) − u ( x ) | = O ( ρ − N ) . (10)</p><p>One of the advantages of spectral methods is that they have high accuracy. Theoretically speaking, Chebyshev spectral method can achieve any order of accuracy. In fact, the accuracy of the Chebyshev spectrum method depends on the smoothness of the solution of the original problem. If the solution u of the original problem is an analytic function in the complex plane, then the convergence efficiency completely depends on the analytic ellipse of u.</p></sec><sec id="s3"><title>3. Nunmerical Algorithms for Two Types of Convection-Diffusion Equations</title><p>In the following part, we will discuss the numerical solutions of several different types of convection-diffusion equations. For each convection-diffusion equation, we will use the finite difference method and the Chebyshev spectral method to get the numerical solution, respectively.</p><sec id="s3_1"><title>3.1. One Dimensional Convection-Diffusion Equation</title><p>In this part we will consider the following one dimensional convection-diffusion equation,</p><p>{ − ε u x x + α u x = f ( x ) ,   x ∈ Ω , u | ∂ Ω = g . (11)</p><p>where the diffusion coefficient ε and convection coefficient α are constants. f ( x ) is the cource term.</p><p>Using the central finite difference method, the second order derivative term u x x has the following approximate format</p><p>u x x | x i = u i + 1 − 2 u i + u i − 1 h 2 + O ( h 2 ) . (12)</p><p>For the first order derivative term u x , there are many different ways to approximate it, such as the central finite difference method, the upwind finite difference method, and the modified finite difference method, etc. Finally, we will discuss several different numerical algorithms and compare the advantages and disadvantages of these algorithms.</p><p>Example 1.</p><p>{ − ε u x x + u x = 1 , u ( 0 ) = 0 , u ( 1 ) = 0. (13)</p><p>In this case, we will give the corresponding numerical solution by finite difference method. In the interval [ 0,1 ] we will use n + 1 nodes and give a equidistant discretization, i.e. each subinterval the length h = 1 n . Then each point of the interval can be expressed as x i = i n , i = 1 , 2 , ⋯ , n .</p><p>For the first order derivative term u x , we use</p><p>u x | x i = u i + 1 − u i − 1 2 h + O ( h 2 ) . (14)</p><p>Then for this problem, the following central finite difference scheme is obtained.</p><p>− ε u i + 1 − 2 u i + u i − 1 h 2 + u i + 1 − u i − 1 2 h = 1 , (15)</p><p>The trunction error is O ( h 2 ) .</p><p>Let’s denote 2 ε h 2 = α , − ε h 2 + 1 2 h = β , − ε h 2 − 1 2 h = γ , then we can write the discrete form of convection-diffusion equation as the following expression,</p><p>( α β 0 ⋯ 0 0 0 γ α β ⋯ 0 0 0 0 γ α ⋯ 0 0 0 ⋮ ⋮ ⋮ ⋱ ⋮ ⋮ ⋮ 0 0 0 ⋯ γ α β 0 0 0 ⋯ 0 γ α ) ( u 1 u 2 u 3 ⋮ u n − 2 u n − 1 ) = ( 1 − γ u 0 1 1 ⋮ 1 1 − β u n ) . (16)</p><p>Figures 2-5 show the numerical and exact solutions of the convection diffusion equation for different ε respectively. <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig3">Figure 3</xref> show that when ε &gt; 1 , the numerical solution agrees very well with the exact solution, and</p><p>there are no significant errors from the plots. <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref> show that the numerical and exact solutions agree well with relatively small errors in the left half of the interval, but the errors become larger in the right side of the interval, especially near the right endpoint of the interval [ 0,1 ] .</p><p>As shown in <xref ref-type="table" rid="table1">Table 1</xref>, the absolute error between the exact and numerical solutions when ε takes different values, i.e. ε = 100 , 2 , 1 20 , 1 100 . When the coefficient ε is less than 1, the numerical solution of the convective diffusion equation deviates significantly from the exact solution at the discrete points on the right side of the interval, and the numerical format has a significant oscillation at these points. When ε is less than 1, the smaller ε is, the larger the error is.</p><p>The traditional differential format produces numerical oscillations when the coefficient is less than one, especially when the coefficient is much less than one. This is mainly because, when the coefficient is much less than 1, the equation at this point becomes a convective dominance problem.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Absolute error with different ε </title></caption><table><tbody><thead><tr><th align="center" valign="middle" >x</th><th align="center" valign="middle" >Error ( ε = 100 )</th><th align="center" valign="middle" >Error ( ε = 2 )</th><th align="center" valign="middle" >Error ( ε = 1 / 20 )</th><th align="center" valign="middle" >Error ( ε = 1 / 100 )</th></tr></thead><tr><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >4.92637E−12</td><td align="center" valign="middle" >5.24816E−07</td><td align="center" valign="middle" >2.96805E−09</td><td align="center" valign="middle" >1.45661E−07</td></tr><tr><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >9.34349E−12</td><td align="center" valign="middle" >1.01082E−06</td><td align="center" valign="middle" >1.08744E−08</td><td align="center" valign="middle" >1.94215E−07</td></tr><tr><td align="center" valign="middle" >0.15</td><td align="center" valign="middle" >1.32465E−11</td><td align="center" valign="middle" >1.4557E−06</td><td align="center" valign="middle" >3.18815E−08</td><td align="center" valign="middle" >5.98828E−07</td></tr><tr><td align="center" valign="middle" >0.2</td><td align="center" valign="middle" >1.66317E−11</td><td align="center" valign="middle" >1.85707E−06</td><td align="center" valign="middle" >8.75302E−08</td><td align="center" valign="middle" >1.2516E−06</td></tr><tr><td align="center" valign="middle" >0.25</td><td align="center" valign="middle" >1.94932E−11</td><td align="center" valign="middle" >2.21244E−06</td><td align="center" valign="middle" >2.34436E−07</td><td align="center" valign="middle" >3.06607E−06</td></tr><tr><td align="center" valign="middle" >0.3</td><td align="center" valign="middle" >2.18422E−11</td><td align="center" valign="middle" >2.51923E−06</td><td align="center" valign="middle" >6.20679E−07</td><td align="center" valign="middle" >7.00851E−06</td></tr><tr><td align="center" valign="middle" >0.35</td><td align="center" valign="middle" >2.36706E−11</td><td align="center" valign="middle" >2.77474E−06</td><td align="center" valign="middle" >1.63133E−06</td><td align="center" valign="middle" >1.64988E−05</td></tr><tr><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >2.49811E−11</td><td align="center" valign="middle" >2.97619E−06</td><td align="center" valign="middle" >4.26076E−06</td><td align="center" valign="middle" >3.83516E−05</td></tr><tr><td align="center" valign="middle" >0.45</td><td align="center" valign="middle" >2.57732E−11</td><td align="center" valign="middle" >3.12067E−06</td><td align="center" valign="middle" >1.10549E−05</td><td align="center" valign="middle" >8.96328E−05</td></tr><tr><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >2.60395E−11</td><td align="center" valign="middle" >3.20517E−06</td><td align="center" valign="middle" >2.84631E−05</td><td align="center" valign="middle" >0.000208998</td></tr><tr><td align="center" valign="middle" >0.55</td><td align="center" valign="middle" >2.57855E−11</td><td align="center" valign="middle" >3.22656E−06</td><td align="center" valign="middle" >7.26028E−05</td><td align="center" valign="middle" >0.000487807</td></tr><tr><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >2.50155E−11</td><td align="center" valign="middle" >3.18159E−06</td><td align="center" valign="middle" >0.000183045</td><td align="center" valign="middle" >0.00113807</td></tr><tr><td align="center" valign="middle" >0.65</td><td align="center" valign="middle" >2.37175E−11</td><td align="center" valign="middle" >3.06689E−06</td><td align="center" valign="middle" >0.000454633</td><td align="center" valign="middle" >0.002655643</td></tr><tr><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >2.19049E−11</td><td align="center" valign="middle" >2.87895E−06</td><td align="center" valign="middle" >0.001107008</td><td align="center" valign="middle" >0.006196354</td></tr><tr><td align="center" valign="middle" >0.75</td><td align="center" valign="middle" >1.95584E−11</td><td align="center" valign="middle" >2.61414E−06</td><td align="center" valign="middle" >0.002622719</td><td align="center" valign="middle" >0.014458306</td></tr><tr><td align="center" valign="middle" >0.8</td><td align="center" valign="middle" >1.67001E−11</td><td align="center" valign="middle" >2.26869E−06</td><td align="center" valign="middle" >0.005969958</td><td align="center" valign="middle" >0.033735899</td></tr><tr><td align="center" valign="middle" >0.85</td><td align="center" valign="middle" >1.33124E−11</td><td align="center" valign="middle" >1.83869E−06</td><td align="center" valign="middle" >0.01275003</td><td align="center" valign="middle" >0.078717554</td></tr><tr><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >9.40247E−12</td><td align="center" valign="middle" >1.32008E−06</td><td align="center" valign="middle" >0.024224171</td><td align="center" valign="middle" >0.183628034</td></tr><tr><td align="center" valign="middle" >0.95</td><td align="center" valign="middle" >4.96446E−12</td><td align="center" valign="middle" >7.08634E−07</td><td align="center" valign="middle" >0.034546107</td><td align="center" valign="middle" >0.435309438</td></tr></tbody></table></table-wrap><p>In order to overcome numerical oscillations, scholars have proposed upwind finite difference method (16), corrected finite difference method (17), characteristic finite difference method and other methods based on the traditional finite difference method.</p><p>Upwind finite difference method,</p><p>− ε u i + 1 − 2 u i + u i − 1 h 2 + u i − u i − 1 h = 1. (17)</p><p>Corrected finite difference method,</p><p>− ε u i + 1 − 2 u i + u i − 1 h 2 + [ λ u i − u i − 1 h + ( 1 − λ ) u i + 1 − u i − 1 2 h ] = 1. (18)</p><p>For the corrected finite difference method, is a combination of central difference method and upwind difference method with weight λ and 1 − λ separately, where 0 ≤ λ ≤ 1 .</p><p>Similarly, the traditional finite element method also has numerical oscillations for the convection dominant equation. Many scholars have proposed a series of correction techniques to combine the finite element method with other methods, and proposed the characteristic finite element method, characteristic hybrid element method, etc.</p><p><xref ref-type="fig" rid="fig6">Figure 6</xref> and <xref ref-type="fig" rid="fig7">Figure 7</xref> show the numerical solutions of various different algorithms when ε takes different parameters. For the central differential format, the numerical oscillation is obvious when ε is smaller. The upwind differential format and the modified upwind differential format can overcome the numerical oscillation phenomenon, but the accuracy of these methods is not good enough. Therefore, an algorithm that can avoid numerical oscillations and at the same time obtain high numerical accuracy is necessary for solving the convection-diffusion equation.</p><p><xref ref-type="table" rid="table2">Table 2</xref> shows the absolute errors between the numerical solution and the exact solution obtained with different numerical algorithms. Error<sub>1</sub>, Error<sub>2</sub>, and</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Absolute errors for different methods</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >x</th><th align="center" valign="middle" >Error<sub>1</sub></th><th align="center" valign="middle" >Error<sub>2</sub></th><th align="center" valign="middle" >Error<sub>3</sub></th></tr></thead><tr><td align="center" valign="middle" >0.05</td><td align="center" valign="middle" >1.45661E−07</td><td align="center" valign="middle" >1.38084E−15</td><td align="center" valign="middle" >6.93889E−18</td></tr><tr><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >1.94215E−07</td><td align="center" valign="middle" >9.58955E−15</td><td align="center" valign="middle" >2.77556E−17</td></tr><tr><td align="center" valign="middle" >0.15</td><td align="center" valign="middle" >5.98828E−07</td><td align="center" valign="middle" >5.88696E−14</td><td align="center" valign="middle" >2.77556E−17</td></tr><tr><td align="center" valign="middle" >0.2</td><td align="center" valign="middle" >1.2516E−06</td><td align="center" valign="middle" >3.54244E−13</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >0.25</td><td align="center" valign="middle" >3.06607E−06</td><td align="center" valign="middle" >2.12655E−12</td><td align="center" valign="middle" >8.32667E−17</td></tr><tr><td align="center" valign="middle" >0.3</td><td align="center" valign="middle" >7.00851E−06</td><td align="center" valign="middle" >1.27607E−11</td><td align="center" valign="middle" >1.66533E−16</td></tr><tr><td align="center" valign="middle" >0.35</td><td align="center" valign="middle" >1.64988E−05</td><td align="center" valign="middle" >7.65654E−11</td><td align="center" valign="middle" >9.99201E−16</td></tr><tr><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >3.83516E−05</td><td align="center" valign="middle" >4.59393E−10</td><td align="center" valign="middle" >1.33782E−14</td></tr><tr><td align="center" valign="middle" >0.45</td><td align="center" valign="middle" >8.96328E−05</td><td align="center" valign="middle" >2.75636E−09</td><td align="center" valign="middle" >1.90792E−13</td></tr><tr><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >0.000208998</td><td align="center" valign="middle" >1.65382E−08</td><td align="center" valign="middle" >2.73237E−12</td></tr><tr><td align="center" valign="middle" >0.55</td><td align="center" valign="middle" >0.000487807</td><td align="center" valign="middle" >9.9229E−08</td><td align="center" valign="middle" >3.9163E−11</td></tr><tr><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >0.00113807</td><td align="center" valign="middle" >5.95374E−07</td><td align="center" valign="middle" >5.61335E−10</td></tr><tr><td align="center" valign="middle" >0.65</td><td align="center" valign="middle" >0.002655643</td><td align="center" valign="middle" >3.57225E−06</td><td align="center" valign="middle" >8.04581E−09</td></tr><tr><td align="center" valign="middle" >0.7</td><td align="center" valign="middle" >0.006196354</td><td align="center" valign="middle" >2.14335E−05</td><td align="center" valign="middle" >1.15323E−07</td></tr><tr><td align="center" valign="middle" >0.75</td><td align="center" valign="middle" >0.014458306</td><td align="center" valign="middle" >0.000128601</td><td align="center" valign="middle" >1.65295E−06</td></tr><tr><td align="center" valign="middle" >0.8</td><td align="center" valign="middle" >0.033735899</td><td align="center" valign="middle" >0.000771603</td><td align="center" valign="middle" >2.36905E−05</td></tr><tr><td align="center" valign="middle" >0.85</td><td align="center" valign="middle" >0.078717554</td><td align="center" valign="middle" >0.004629324</td><td align="center" valign="middle" >0.000339287</td></tr><tr><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >0.183628034</td><td align="center" valign="middle" >0.027732378</td><td align="center" valign="middle" >0.004822096</td></tr><tr><td align="center" valign="middle" >0.95</td><td align="center" valign="middle" >0.435309438</td><td align="center" valign="middle" >0.15992872</td><td align="center" valign="middle" >0.063029495</td></tr></tbody></table></table-wrap><p>Error<sub>3</sub> in the table are the absolute errors between the analytical solution and the numerical solution obtained in the central difference format, upwind difference format, and the corrected upwind difference format, respectively. For the same points as shown in <xref ref-type="table" rid="table2">Table 2</xref>, especially at the points near the right end of the interval, Errors<sub>2</sub> and Error<sub>3</sub> are significantly smaller than Error<sub>1</sub>, which also means that there is no numerical oscillation for the corresponding numerical format.</p><p>Algorithm 1: Chebyshev spectral method for one dimentional convection-diffusion equation</p><p>For the convection-diffusion equation, we can obtain the following numerical format, using the Chebyshev spectral method,</p><p>− ε D 2 u + D u = f , (19)</p><p>where D is the Chebyshev matrix, f = ( 1,1, ⋯ ,1 ) T . If we denote L as the coefficient matrix − ε D 2 + D , then we have</p><p>L u = f . (20)</p><p>Next, we consider the boundary conditions u ( 0 ) = 1 , u ( 1 ) = 0 . We need to make a small modification to the coefficient L. After replacing the first and last row of the matrix L with ( 1,0, ⋯ ,0,0 ) , ( 0,0, ⋯ ,0,1 ) respectively, we denote the new coefficient matrix as L ^ . For the right-hand side term f of the Equation (18), we also need to modify the first and last terms to 0, we denote the modified f as f ^ . Finally, we get the numerical format for the convection-diffusion equation with Chebyshev spectral method,</p><p>L ^ u = f ^ . (21)</p><p><xref ref-type="fig" rid="fig8">Figure 8</xref> shows the numerical solutions given by the Chebyshev spectral method and several of the previously discussed finite difference methods. It is clear that the Chebyshev spectral method does not have numerical oscillations while being able to obtain higher accuracy. This is mainly because the Chebyshev points are not uniformly distributed and are more concentrated at the two ends of the interval, so there is no numerical oscillation near the interval endpoints.</p><p>In <xref ref-type="table" rid="table3">Table 3</xref>, Error<sub>1</sub>, Error<sub>2</sub>, Error<sub>3</sub> and Error<sub>ch</sub> are the errors of cerntral difference method, upwind difference method, corrected difference method and Chebyshev spectral method respectively and 21 nodes are used for each format. From <xref ref-type="table" rid="table3">Table 3</xref>, it is clear that the numerical solution calculated with the central difference format has the largest error and the numerical solution calculated by the Chebyshev spectral method has the smallest error.</p><p><xref ref-type="table" rid="table4">Table 4</xref> shows the absolute errors between the numerical results calculated by the Chebyshev spectral method and exact solutions when different parameters are taken. It is obvious that when the coefficients are fixed, the larger the number of nodes, the smaller the error, meanwhile, when the coefficients are very small there is no numerical oscillation. When the node N is large enough, the absolute error values in the table are already very small and exceed the minimum value of the system, so some of the data values in the table are 0.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Maximum error of different methods. ( ε = 1 100 )</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >‖ Error 1 ‖ ∞</th><th align="center" valign="middle" >‖ Error 2 ‖ ∞</th><th align="center" valign="middle" >‖ Error 3 ‖ ∞</th><th align="center" valign="middle" >‖ Error ch ‖ ∞</th></tr></thead><tr><td align="center" valign="middle" >4.353E−01</td><td align="center" valign="middle" >1.599E−01</td><td align="center" valign="middle" >6.303E−02</td><td align="center" valign="middle" >6.017E−03</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Maximum errors of Chebyshev spectral method with different nodes N and ε </title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 10</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 40</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 80</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 100</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 200</th></tr></thead><tr><td align="center" valign="middle" >N = 41</td><td align="center" valign="middle" >4.61E−16</td><td align="center" valign="middle" >2.62E−16</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >6.07E−10</td><td align="center" valign="middle" >2.39E−08</td><td align="center" valign="middle" >7.26E−05</td></tr><tr><td align="center" valign="middle" >N = 51</td><td align="center" valign="middle" >5.28E−16</td><td align="center" valign="middle" >2.05E−15</td><td align="center" valign="middle" >9.99E−16</td><td align="center" valign="middle" >2.29E−14</td><td align="center" valign="middle" >5.01E−12</td><td align="center" valign="middle" >6.79E−07</td></tr><tr><td align="center" valign="middle" >N = 81</td><td align="center" valign="middle" >5.30E−16</td><td align="center" valign="middle" >2.98E−15</td><td align="center" valign="middle" >3.33E−16</td><td align="center" valign="middle" >2.50E−16</td><td align="center" valign="middle" >5.27E−16</td><td align="center" valign="middle" >4.22E−15</td></tr><tr><td align="center" valign="middle" >N = 101</td><td align="center" valign="middle" >5.22E−16</td><td align="center" valign="middle" >3.38E−17</td><td align="center" valign="middle" >1.07E−15</td><td align="center" valign="middle" >1.24E−15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >N = 201</td><td align="center" valign="middle" >4.62E−16</td><td align="center" valign="middle" >1.97E−14</td><td align="center" valign="middle" >4.80E−15</td><td align="center" valign="middle" >1.06E−14</td><td align="center" valign="middle" >1.11E−15</td><td align="center" valign="middle" >0</td></tr></tbody></table></table-wrap></sec><sec id="s3_2"><title>3.2. Two Dimensional Convection-Diffusion Equation</title><p>In this part we will focus on the two dimensional convection-diffusion equation. The specific equation format is as follows,</p><p>− ε ( u x x + u y y ) + α ( x , y ) u x + β ( x , y ) u y + u = f ( x , y ) ,   ( x , y ) ∈ Ω , (22)</p><p>where the diffusion coefficient ε is a constant, α ( x , y ) , β ( x , y ) are the convection coefficients, and f ( x , y ) is the source term. The convection-diffusion satisfies Dirichlet boundary condition, i.e. u | ∂ Ω = g ( x , y ) .</p><p>Both in x and y directions we use the central difference method respectively, we have</p><p>u x x | x i , y j = u i + 1 , j − 2 u i , j + u i − 1 , j h 2 + O ( h 2 ) , (23)</p><p>u y y | x i , y j = u i , j + 1 − 2 u i , j + u i , j − 1 h 2 + O ( h 2 ) , (24)</p><p>u x | x i , y j = u i + 1 , j − u i − 1 , j 2 h + O ( h 2 ) , (25)</p><p>u y | x i , y j = u i , j + 1 − u i , j − 1 2 h + O ( h 2 ) . (26)</p><p>Then we have the following numerical scheme.</p><p>  − ε ( u i + 1 , j − 2 u i , j + u i − 1 , j h 2 + u i , j + 1 − 2 u i , j + u i , j − 1 h 2 )   + α i , j u i + 1 , j − u i − 1 , j 2 h + β i , j u i , j + 1 − u i , j − 1 2 h + u i , j = f i , j . (27)</p><p>In the above numerical format α i , j = α ( x i , y j ) , β i , j = β ( x i , y j ) , f i , j = f ( x i , y j ) . Both in x and y directions, we use the same step size h.</p><p>Example 2.</p><p>{ − ε u x x + u y y + 1 1 + y u x = f ( x , y ) ,   ( x , y ) ∈ [ 0 , 1 ] &#215; [ 0 , 1 ] , u ( x , 0 ) = e − x + 2 − 1 ε , u ( x , 1 ) = e 1 − x + 2 , u ( 0 , y ) = e y + 2 − 1 ε ( 1 + y ) 1 + 1 ε , u ( 1 , y ) = e y − 1 + 2 − 1 ε ( 1 + y ) 1 + 1 ε . (28)</p><p>On the right hand side of the above equation f ( x , y ) = ( − 2 ε − 1 1 + y ) e y − x − 2 − 1 ε ( 1 + 1 ε ) ( 1 + y ) 1 ε − 1 .</p><p>The numerical solution of Example 2 using the central finite difference algorithm (26) is shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>, and the analytic solution of the corresponding problem is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. It is clearly that when ε is small, there is a significant difference between the numerical solution and the exact solution at the points near the end of the definition domain. <xref ref-type="fig" rid="fig1">Figure 1</xref>2 shows the absolute errors of the numerical and exact solutions at the nodes, which are smaller when x and y are near the left endpoint 0 and have become quite large when x and y are near the right endpoint 1.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>1 and <xref ref-type="fig" rid="fig1">Figure 1</xref>2 show the errors between the numerical solution given by the central difference method and the exact solution when the diffusion coefficient ε takes different values. When the diffusion coefficient ε is large, the numerical solution given by the central difference algorithm agrees better with the exact solution, but when the diffusion coefficient is small, the error between the numerical solution and the exact solution is larger.</p><p><xref ref-type="table" rid="table5">Table 5</xref> shows the maximum error in the definition domain when the nodes and diffusion coefficients take different values. From <xref ref-type="table" rid="table5">Table 5</xref> we can clearly see that when the diffusion coefficient ε ≥ 1 , the maximum error is relatively small regardless of the number of nodes, but when the diffusion coefficient ε is small, as shown in the table when ε = 1 100 or ε = 1 200 , the maximum error has reached an unacceptable level even if the number of nodes is large.</p><p>Algorithm 2: Chebyshev spectral method for two dimenditional convection- diffusion equation.</p><p>For the Chebyshev derivative matrix D, as discussed in the previous section, we will not expand the discussion in detail here. If we arrange the solution u into a column vector along the y direction. Then u x x + u y y can be expressed as ( D 2 ⊗ I + I ⊗ D 2 ) u , where ⊗ is the Kronecker product. The first order term 1 1 + y u x can be writen as d i a g ( 1 1 + y 0 , ⋯ , 1 1 + y n ) ( D ⊗ I ) U . Similarly, for the right end term f of the equation we rearrange it and denote it as F. Then for two dimenditional convection-diffusion Equation (27) we have the following Chebyshev spectral numerical format.</p><p>( − ε ( D 2 ⊗ I + I ⊗ D 2 ) + d i a g ( 1 1 + y 0 , ⋯ , 1 1 + y n ) ( D ⊗ I ) ) U = F . (29)</p><p>If we denote − ε ( D 2 ⊗ I + I ⊗ D 2 ) + d i a g ( 1 1 + y 0 , ⋯ , 1 1 + y n ) ( D ⊗ I ) as L, then the above format can be simply written as</p><p>L U = F . (30)</p><p>However, this Format (28) or (29) only considers the internal nodes, and the boundary conditions are not yet considered. If we take the boundary conditions into account, then we need to make a small modification to (28) or (29), i.e., replace the coefficient matrix and the corresponding row of the right terminal term with the corresponding relationship at the boundary. If we denote the modified coefficient matrix and the right terminal term as L ^ and F ^ , respectively, then we have,</p><p>L ^ U = F ^ . (31)</p><p>We use the Chebyshev spectral method given above to calculate the numerical solution of Example 2. <xref ref-type="fig" rid="fig1">Figure 1</xref>3 and <xref ref-type="fig" rid="fig1">Figure 1</xref>4 show the errors when ε is taken as 10 and 1 100 respectively, and 21 nodes are taken in the x and y directions.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>3 shows that when ε = 10 , the maximum absolute error is less than 1.5 &#215; 10<sup>−9</sup>. When the diffusion coefficient is ε = 1 100 , the absolute error of the numerical solution given by the spectral method becomes larger but is still less than 4 &#215; 10<sup>4</sup>. This result is much better than the numerical solution given by the central difference format, and there is no numerical oscillation.</p><p><xref ref-type="table" rid="table6">Table 6</xref> gives the absolute errors of the numerical solutions obtained by the Chebyshev spectral method for example 2 when different parameters are taken.</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Absolute error of central difference method with different parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >‖ Error cd ‖ ∞ ε = 10</th><th align="center" valign="middle" >‖ Error cd ‖ ∞ ε = 1</th><th align="center" valign="middle" >‖ Error cd ‖ ∞ ε = 1 10</th><th align="center" valign="middle" >‖ Error cd ‖ ∞ ε = 1 100</th><th align="center" valign="middle" >‖ Error cd ‖ ∞ ε = 1 200</th></tr></thead><tr><td align="center" valign="middle" >N x = N y = 21</td><td align="center" valign="middle" >3.59E−05</td><td align="center" valign="middle" >5.43E−05</td><td align="center" valign="middle" >0.003404</td><td align="center" valign="middle" >0.614740</td><td align="center" valign="middle" >1.585612</td></tr><tr><td align="center" valign="middle" >N x = N y = 41</td><td align="center" valign="middle" >9.01E−06</td><td align="center" valign="middle" >1.36E−05</td><td align="center" valign="middle" >0.000856</td><td align="center" valign="middle" >0.171562</td><td align="center" valign="middle" >0.662713</td></tr><tr><td align="center" valign="middle" >N x = N y = 51</td><td align="center" valign="middle" >5.77E−06</td><td align="center" valign="middle" >8.70E−06</td><td align="center" valign="middle" >0.000547</td><td align="center" valign="middle" >0.111182</td><td align="center" valign="middle" >0.421548</td></tr><tr><td align="center" valign="middle" >N x = N y = 81</td><td align="center" valign="middle" >2.25E−06</td><td align="center" valign="middle" >3.40E−06</td><td align="center" valign="middle" >0.000214</td><td align="center" valign="middle" >0.045283</td><td align="center" valign="middle" >0.186831</td></tr><tr><td align="center" valign="middle" >N x = N y = 101</td><td align="center" valign="middle" >1.44E−06</td><td align="center" valign="middle" >2.18E−06</td><td align="center" valign="middle" >0.000137</td><td align="center" valign="middle" >0.029173</td><td align="center" valign="middle" >0.123285</td></tr></tbody></table></table-wrap><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Absolute error of Chebyshev spectral method with different parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 10</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 10</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 100</th><th align="center" valign="middle" >‖ Error ch ‖ ∞ ε = 1 200</th></tr></thead><tr><td align="center" valign="middle" >N x = N y = 21</td><td align="center" valign="middle" >1.26E−09</td><td align="center" valign="middle" >1.12E−10</td><td align="center" valign="middle" >6.66E−12</td><td align="center" valign="middle" >3.63E−05</td><td align="center" valign="middle" >0.004378</td></tr><tr><td align="center" valign="middle" >N x = N y = 41</td><td align="center" valign="middle" >1.22E−08</td><td align="center" valign="middle" >1.77E−09</td><td align="center" valign="middle" >1.22E−10</td><td align="center" valign="middle" >1.46E−11</td><td align="center" valign="middle" >4.93E−09</td></tr><tr><td align="center" valign="middle" >N x = N y = 51</td><td align="center" valign="middle" >5.72E−08</td><td align="center" valign="middle" >4.54E−09</td><td align="center" valign="middle" >4.76E−10</td><td align="center" valign="middle" >4.06E−11</td><td align="center" valign="middle" >1.51E−11</td></tr><tr><td align="center" valign="middle" >N x = N y = 81</td><td align="center" valign="middle" >5.04E−07</td><td align="center" valign="middle" >5.04E−08</td><td align="center" valign="middle" >3.83E−09</td><td align="center" valign="middle" >3.73E−10</td><td align="center" valign="middle" >2.54E−10</td></tr><tr><td align="center" valign="middle" >N x = N y = 101</td><td align="center" valign="middle" >1.76E−06</td><td align="center" valign="middle" >1.53E−07</td><td align="center" valign="middle" >1.46E−08</td><td align="center" valign="middle" >9.47E−10</td><td align="center" valign="middle" >5.89E−10</td></tr></tbody></table></table-wrap><p>The errors are all better than the finite difference method when the diffusion coefficient is smaller, which also shows that the spectral method is better adapted than the finite difference method for solving the convective dominance equation.</p></sec></sec><sec id="s4"><title>4. Conclusions</title><p>In this work, we mainly focus on the one and two dimensional convection-diffusion equation. For the one dimensional convection-diffusion equation, we give the Chebyshev spectral format, in addition the central difference format, the upwind format, and the correction format are also given. Through specific numerical case, it is obvious that the finite difference format has numerical oscillations in the convection dominant case and the accuracy of the differential format is not very satisfactory. In contrast, the numerical solution given by the Chebyshev spectral method is in good agreement with the exact solution and has no numerical oscillations. For the two-dimensional convection-diffusion equation, we mainly discuss the numerical format corresponding to the two dimensional Chebyshev spectral method, and also give the central difference format. Through specific numerical results, it is obvious that the Chebyshev spectral method not only obtains higher accuracy, but also has significant advantages over the difference method in suppressing numerical oscillations.</p><p>The Chebyshev spectral method mentioned above is generally only adapted to rectangular regions, and it is difficult to extend it to general regions. Therefore, the spectral method is combined with other methods, such as the finite element method, to extend its adaptation to the general area, which is very useful when dealing with practical problem models, not only to give more accurate solutions, but also to save the computational workload significantly.</p></sec><sec id="s5"><title>Acknowledgements</title><p>This research was funded by the Humanity and Social Science Youth foundation of Ministry of Education (No. 18YJC630120), the Applied Mathematics of Shanghai Dianji University (No. 16JCXK02) and the Key Projects of Shanghai Soft Science Research Program (No. 18692106600), the Natural Science Foundation of Shanghai (No. 19ZR1422000).</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Guo, P., Wang, Q. and Zhao, Z.G. (2022) A Spectral Method for Convection-Diffusion Equations. Applied Mathematics, 13, 968-987. https://doi.org/10.4236/am.2022.1312061</p></sec></body><back><ref-list><title>References</title><ref id="scirp.122165-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dennis, S.C.R. and Hundson, J.D. (1989) Compact h&lt;sup&gt;4&lt;/sup&gt; Finite-Difference Approximations to Operators of Navier-Stokes Type. Journal of Computational Physics, 85, 390-416. https://doi.org/10.1016/0021-9991(89)90156-3</mixed-citation></ref><ref id="scirp.122165-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Lele, S.K. (1992) Compact Finite Difference Schemes with Spectral-Like Resolution. Journal of Computational Physics, 103, 16-42. https://doi.org/10.1016/0021-9991(92)90324-R</mixed-citation></ref><ref id="scirp.122165-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Ma, Y.W. and Fu, D.X. (1995) Super Compact Finite Difference Methods with Uniform and Nonuniform Grid System. Proceedings of 6th International Symposium on Computational Fluid Dynamics, Lake Tahoe, Nevada, 1435-1440.</mixed-citation></ref><ref id="scirp.122165-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Cockburn, B. and Shu, C.-W. (1994) Nonlinearly Stable Compact Schemes for Shock Calculations. SIAM Journal on Numerical Analysis, 31, 607-630. https://doi.org/10.1137/0731033</mixed-citation></ref><ref id="scirp.122165-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Bassi, F. and Rebay, S. (2002) Numerical Evaluation of Two Discontinuous Galerkin Methods for the Compressible Navier-Stokes Equations. International Journal for Numerical Methods in Fluids, 40, 197-207. https://doi.org/10.1002/fld.338</mixed-citation></ref><ref id="scirp.122165-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Cockburn, B. and Shu, C.W. (1998) The Local Discontinuous Galerkin Method for Time-Dependent Convection Diffusion System. SIAM Journal on Numerical Analysis, 35, 2440-2463. https://doi.org/10.1137/S0036142997316712</mixed-citation></ref><ref id="scirp.122165-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Li, L.Y. and Yin, Z. (2017) Numerical Simulation of Groundwater Pollution Problems Based on Convection Diffusion Equation. American Journal of Computational Mathematics, 7, 350-370. https://doi.org/10.4236/ajcm.2017.73025</mixed-citation></ref><ref id="scirp.122165-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Ghorbanzadeh, M. and Kerayechian, A. (2011) Analysis of an Il’in Scheme for a System of Singularly Perturbed Convection-Diffusion Equations. Applied Mathematics, 2, 866-873. https://doi.org/10.4236/am.2011.27116</mixed-citation></ref><ref id="scirp.122165-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Spotz, W.F. and Carey, G.F. (2001) Extension of High-Order Compact Schemes to Time-Dependent Problems. Numerical Methods for Partial Differential Equations, 17, 657-672. https://doi.org/10.1002/num.1032</mixed-citation></ref><ref id="scirp.122165-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Patidar, K.C. (2007) High Order Parameter Uniform Numerical Method for Singular Perturbation Problems. Applied Mathematics and Computation, 188, 720-733. https://doi.org/10.1016/j.amc.2006.10.040</mixed-citation></ref><ref id="scirp.122165-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Q. and Shi, D. (2020) New Error Analysis of a Second Order BDF Scheme for Unsteady Natural Convection Problem. Applied Numerical Mathematics, 154, 243-259. https://doi.org/10.1016/j.apnum.2020.04.004</mixed-citation></ref><ref id="scirp.122165-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Andargie, A. and Reddy, Y.N. (2007) Fitted Fourth-Order Tridiagonal Finite Difference Method for Singular Perturbation Problems. Applied Mathematics and Computation, 192, 90-100. https://doi.org/10.1016/j.amc.2007.02.123</mixed-citation></ref><ref id="scirp.122165-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Li, R., Wu, Q. and Zhu, S. (2019) Proper Orthogonal Decomposition with Supg-Stabilized Isogeometric Analysis for Reduced Order Modelling of Unsteady Convection-Dominated Convection-Diffusion-Reaction Problems. Journal of Computational Physics, 387, 280-302. https://doi.org/10.1016/j.jcp.2019.02.051</mixed-citation></ref><ref id="scirp.122165-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Yang, J.Q. and Zhao, B.X. (2021) Numerical Investigation of Double-Diffusive Convection in Rectangular Cavities with Different Aspect Ratio I: High-Accuracy Numerical Method. Computers &amp; Mathematics with Applications, 94, 155-169. https://doi.org/10.1016/j.camwa.2021.05.002</mixed-citation></ref><ref id="scirp.122165-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Tong, F.H., Feng, X.L. and Li, Z.L. (2021) Fourth Order Compact FD Methods for Convection Diffusion Equations with Variable Coefficients. Applied Mathematics Letters, 121, Article ID: 107413. https://doi.org/10.1016/j.aml.2021.107413</mixed-citation></ref><ref id="scirp.122165-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Sweilam, N.H., Moharram, H.M. and Ahmed, S. (2012) On the Parallel Iterative Finite Difference Algorithm for 2-D Poisson’s Equation with MPI Cluster. 2012 8th International Conference on Informatics and Systems (INFOS), Giza, 14-16 May 2012, MM-78-MM-85.</mixed-citation></ref><ref id="scirp.122165-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Jie, S. and Tao, T. (2006) Spectral and High-Order Methods with Applications. Science Press, Beijing.</mixed-citation></ref><ref id="scirp.122165-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Jie, S., Tao, T. and Wang, L.L. (2011) Spectral Methods: Algorithms, Analysis and Applications, Springer-Verlag, Berlin.</mixed-citation></ref><ref id="scirp.122165-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Gu, Z. and Chen, Y. (2014) Chebyshev Spectral-Collocation Method for a Class of Weakly Singular Volterra Integral Equations with Proportional Delay. Journal of Numerical Mathematics, 22, 311-342. https://doi.org/10.1515/jnma-2014-0014</mixed-citation></ref><ref id="scirp.122165-ref20"><label>20</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Kumar</surname><given-names> S. </given-names></name>,<etal>et al</etal>. (<year>2022</year>)<article-title>Numerical Solution of Fuzzy Fractional Diffusion Equation by Chebyshev Spectral Method</article-title><source> Numerical Methods for Partial Differential Equations</source><volume> 38</volume>,<fpage> 490</fpage>-<lpage>508</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.122165-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Rauch, R., Trummer, M.R. and Williams, J.F. (2021) A Spectral Collocation Method for Mixed Functional Differential Equations. Applied Numerical Mathematics, 161, 101-110. https://doi.org/10.1016/j.apnum.2020.10.011</mixed-citation></ref><ref id="scirp.122165-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Trefethen, L.N. (2000) Spectral Methods in MATLAB. SIAM, Philadelphia.https://doi.org/10.1137/1.9780898719598</mixed-citation></ref><ref id="scirp.122165-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Kosloff, D. (2012) Solution of the Equations of Dynamic Elasticity by a Chebychev Spectral Method. Geophysics, 55, Article 734. https://doi.org/10.1190/1.1442885</mixed-citation></ref><ref id="scirp.122165-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Berrut, J.P. and Klein, G. (2014) Linear Barycentric Rational Quadrature. Journal of Computational and Applied Mathematics, 259, 95-107. https://doi.org/10.1016/j.cam.2013.03.044</mixed-citation></ref></ref-list></back></article>