In this paper we are concerned with numerical stability of Chebyshev-tau method in solving some singularly perturbed two-point boundary value problems.
We consider linear as well as nonlinear (convection-dominated flow) problems. In order to avoid the lack of numerical stability of this method we try a smoothing technique as well as a domain decomposition for linear problems.
Some successful numerical experiments are carried out.
Authors
C.I. Gheorghiu
Tiberiu Popoviciu Institute of Numerical Analysis
S.I. Pop Babeș-Bolyai University, Faculty of Mathematics
Keywords
Chebyshev-tau;stability; two-point boundary value problem; singularly perturbed; steady state Burger; smoothing;
References
See the expanding block below.
Cite this paper as
C. I. Gheorghiu, S.I. Pop, On the Chebyshev-tau approximation for some singularly perturbed two point boundary value problems – Numerical experiments, Rev. Anal. Numér. Théor. Approx. 24 (1995) 117-124.
[1] C. Canuto, M.Y. Hussaini, A. Quarteroni, T.A., Zang, Spectral Methods in Fluid Dynamics, Springer-Verlag, Springer Series in Computational Physics, 1988.
[2] C. I. Gheorghiu, On a Linear Singularity Perturbed TPBVP, Univ. of Cluj-Napoca, Seminar of Functional Analysis and Numerical Methods, Preprint 1 (1988), pp. 67-74.
[3] D. Gottlieb, S.A. Orszag, Numerical analysis of Spectral Methods: Theory and Applications, SIAM Philadelphia, 1977.
[4] C. Johson, Numerical solutions of p.d.e. by the f.e.m., Cambridge Univ. Press. 1987.
[5] R. B. Kellog, A. Tsan, analysis of some difference approximations for a singular perturbaiton problem without turning points, Math. Comput. 32, pp. 1025-1039 (1978).
[6] Y. Maday, A. Quarteroni, Legendre and Chebyshev Spectral Approixmation of Burgers’ Equation, Numer. Math. 37, pp. 321-332 (1981).
[7] S.A. Orszag, Accurate Solution of the Orr-Sommerfeld stability equation, J. Fluid Mech., 50, pp. 689-703 (1971).
[8] M. Stynes, E. O’Riordan, An analysis of a t.p.b.c.p. with a boundary layer, using only finite element techniques, Univ. College Cork. Ireland, 1989.
Paper (preprint) in HTML form
jnaat,+Journal+manager,+1995-Gheorghiu-Pop
ON THE CHEBYSHEV-TAU APPROXIMATION FOR SOME SINGULARLY PERTURBED TWO-POINT BOUNDARY VALUE PROBLEMS - NUMERICAL EXPERIMENTS
C.I. GHEORGHIU and S.I. POP(Cluj-Napoca)
1. INTRODUCTION
We try to expound a direct investigation on the stability of the Chebyshevtau approximation for a singularly perturbed linear two-point boundary value problem (t.p.b.v.p.)
Problem (1.1) may be regarded as a linearized one-dimensional version of a convection-dominated flow problem and problem (1.2) is the steady state Burgers' problem.
It is explained in [7] why expansions in Chebyshev polynomials are better suited to the solution of some singularly perturbed problems (particularly stability) of hydrodynamics, than expansions in other, seemingly more reievant, sets of orthogonal functions.
For improving the numerical stability, the tau variant of spectral methods leads to the determination of the coefficients corresponding to "high frequencies" (i.e high nn in (2.1)) rather from the exact equations furnished by boundary conditions than from approximate algebraic system obtained from differential equation (see (2.2), (2.6), and (2.7)). It is well known that these "high frequencies" are responsible for the lack of stability.
In [6] the authors give the following error estimate for both Legendre and Chebyshev spectral approximation of (1.2)
where u_(N)(x,epsi)u_{N}(x, \varepsilon) is the spectral approximation of the exact solution u(x,epsi),sigma >= 1u(x, \varepsilon), \sigma \geq 1, u(x,epsi)inH_(omega)^(sigma)(-1,1),quad AA epsi in(0,1),H_(omega)^(sigma)u(x, \varepsilon) \in H_{\omega}^{\sigma}(-1,1), \quad \forall \varepsilon \in(0,1), H_{\omega}^{\sigma} are weighted Sobolev spaces for both Legendre and Chebyshev weights (omega-=1,omega=(1-x^(2))^(-1//2):}\left(\omega \equiv 1, \omega=\left(1-x^{2}\right)^{-1 / 2}\right. respectively )) and ||*||_(sigma,omega)\|\cdot\|_{\sigma, \omega} stands for the norm in H_(omega)^(sigma)H_{\omega}^{\sigma}.
{:(1.5)||u(epsi)-u_(N)(epsi)||_(L_(omega)^(2)(0,1)) <= CN^(-sigma)||u(epsi)||_(sigma,omega):}\begin{equation*}
\left\|u(\varepsilon)-u_{N}(\varepsilon)\right\|_{L_{\omega}^{2}(0,1)} \leq C N^{-\sigma}\|u(\varepsilon)\|_{\sigma, \omega} \tag{1.5}
\end{equation*}
Of course, estimations (1.3), (1.4) and (1.5) are also valid for (1.1).
Throughout this paper CC will denote a generic positive constant independent of NN.
Unfortunately, in [5] the authors give bounds for derivatives coresponding to (1.1) that make estimations (1.4) and (1.5), and of course (1.3), useless.
and they show the main difficulty in treating singularly perturbed t.p.b.v.p. of boundary layer type. Many numerical methods (finite difference and finite elements) proposed to solve (1.1) or (1.2), are expouned in [4], [5] and [8].
In order to avoid the lack of stability for almost all numerical methods used in such boundary layer type problems we try a smoothing technique suggested in [1] as well as, for linear problems (1.1), a domain decomposition method also available, for example, in [1], ch. 13.
2. THE CHEBYSHEV-TAU FORMULATION
The Chebyshev approximation u_(N)(x,epsi)u_{N}(x, \varepsilon) of the exact solution of (1.1) is given by
{:(2.1)u_(N)(x","epsi)=sum_(n=0)^(N)a_(n)T_(n)(x)quad" where "a_(i)" are unknown real ":}\begin{equation*}
u_{N}(x, \varepsilon)=\sum_{n=0}^{N} a_{n} T_{n}(x) \quad \text { where } a_{i} \text { are unknown real } \tag{2.1}
\end{equation*}
coefficients depending on epsi\varepsilon and T_(i)(x),i=1,2,dots,nT_{i}(x), i=1,2, \ldots, n are Chebyshev polynomials of the first kind. Using (2.1) and the appendix from [3], the Chebyshev-tau approximation for (1.1) reads as follows
{:(2.2){[-(epsi)/(c_(n))sum_(p=n+2)^(N)p(p^(2)-n^(2))a_(p)+(1)/(c_(n))sum_(p=n+1)^(N)pa_(p)=0","0 <= n <= N-2],[quad p+n" even "],[sum_(n=0)^(N)(-1)^(n)a_(n)=1","sum_(n=0)^(N)a_(n)=0","]:}:}\left\{\begin{array}{l}
-\frac{\varepsilon}{c_{n}} \sum_{p=n+2}^{N} p\left(p^{2}-n^{2}\right) a_{p}+\frac{1}{c_{n}} \sum_{p=n+1}^{N} p a_{p}=0,0 \leq n \leq N-2 \tag{2.2}\\
\quad p+n \text { even } \\
\sum_{n=0}^{N}(-1)^{n} a_{n}=1, \sum_{n=0}^{N} a_{n}=0,
\end{array}\right.
The smoothing of (2.1) means to consider instead of that the expansion
where the sigma_(n)\sigma_{n} are required to be real non-negative numbers such that sigma_(0)=1\sigma_{0}=1 and sigma_(n)\sigma_{n} are decreasing function of nn. We used the factor sigma_(n)\sigma_{n} corresponding to the raised cosine smoothing, i.e.
c_(n)=(1)/(2)(1+cos((n pi)/(N))),n=0,1,dots,Nc_{n}=\frac{1}{2}\left(1+\cos \frac{n \pi}{N}\right), n=0,1, \ldots, N
The qualitative study of problem (1.1), for example [2], [4], enables us to decompose the domain ( -1,1-1,1 ) into separate subdomains Omega_(1)\Omega_{1} and Omega_(2)\Omega_{2} such that (-1,1)=Omega_(1)uuOmega_(2),Omega_(1)nnOmega_(2)=O/(-1,1)=\Omega_{1} \cup \Omega_{2}, \Omega_{1} \cap \Omega_{2}=\varnothing and Omega_(1)=(-1,1-m epsi]uu[1-m epsi,1]\Omega_{1}=(-1,1-m \varepsilon] \cup[1-m \varepsilon, 1], where mm was taken between 5 and 15 . The domain Omega_(2)\Omega_{2} is the domain of boundary layer (a strip of width O(epsi)O(\varepsilon) ) displayed on the left of x=1x=1.
We choose from a large variety of domain decomposition method the patching method (see [1], p. 470). So, the patched Chebyshev-tau approximation u_(N)(x)u_{N}(x) of solution of (1.1) is
where
u_(N)(x,epsi)={[u_(1)^(N_(1))(x","epsi)","x inOmega_(1)],[u_(2)^(N_(2))(x","epsi)","x inOmega_(2)]:}u_{N}(x, \varepsilon)=\left\{\begin{array}{l}
u_{1}^{N_{1}}(x, \varepsilon), x \in \Omega_{1} \\
u_{2}^{N_{2}}(x, \varepsilon), x \in \Omega_{2}
\end{array}\right.
The Chebyshev-tau system coresponding to (2.4) and (2.5) will be c_(0)=2,c_(k)=1,k >= 1c_{0}=2, c_{k}=1, k \geq 1. System (2.6) has N_(1)+N_(2)+2N_{1}+N_{2}+2 equations and a_(i),i=0,1,dots,N_(1),b_(i)a_{i}, i=0,1, \ldots, N_{1}, b_{i}, i=0,1,dots,N_(2)i=0,1, \ldots, N_{2} unknowns. We expected the algebraic system (2.6) to be better conditioned than system (2.2) because there is a less extreme ratio of the largest to smallest coefficient. And indeed comparing (2.2) and (2.6), this is the case.
The Cebyshev-tau system for problem (1.2) reads as follows
{:(2.7){[-2sum_({:[|m|","|p| <= N],[m+p >= n+1],[n+m+p" odd "]:})p bar(a)_(m) bar(a)_(p)+epsisum_({:[m=n+2],[m+n" even "]:})m(m^(2)-n^(2))a_(m)=f_(n)","0 <= n <= N-2],[sum_(n=0)^(N)a_(n)=sum_(n=0)^(N)(-1)^(n)a_(n)=0]:}:}\left\{\begin{array}{l}
-2 \sum_{\substack{|m|,|p| \leq N \\
m+p \geq n+1 \\
n+m+p \text { odd }}} p \bar{a}_{m} \bar{a}_{p}+\varepsilon \sum_{\substack{m=n+2 \\
m+n \text { even }}} m\left(m^{2}-n^{2}\right) a_{m}=f_{n}, 0 \leq n \leq N-2 \tag{2.7}\\
\sum_{n=0}^{N} a_{n}=\sum_{n=0}^{N}(-1)^{n} a_{n}=0
\end{array}\right.
where bar(a)_(m)=c_(m∣)a_(|m|)\bar{a}_{m}=c_{m \mid} a_{|m|} for |m| <= N,c_(0)=2,c_(n)=1,n >= 1|m| \leq N, c_{0}=2, c_{n}=1, n \geq 1, and f_(n)f_{n} are the Chebyshev series coefficients of f(x)f(x). This system is of course a nonlinear one.
All algebraic linear systems encountered in this work were solved by Gauss type method. These systems have a quasi upper triangular form, only the equations corresponding to boundary conditions in (2.2) or (2.6) contain all unknowns.
The SOR methods was unsuccessful in solving the nonlinear system (2.7). Some methods of gradient type (Friedman) were very slowly convergent. Only the classical Newton method was successful.
3. NUMERICAL RESULTS AND DISCUSSIONS
In Fig. 1 are displayed the exact solution of (1.1) for epsi=0.01\varepsilon=0.01, u(x,epsi)=a(1-e^(-(1-x)/(2epsi))),a=(1-e^(-(1)/(epsi)))^(-1)u(x, \varepsilon)=a\left(1-e^{-\frac{1-x}{2 \varepsilon}}\right), a=\left(1-e^{-\frac{1}{\varepsilon}}\right)^{-1} denoted by solid curve, solution (2.1) which is the oscillating curve, and the smoothed solution, cosmetic post-processed (2.3), the dashed curve, extremely close to the exact solution. For both approximations we used N=16N=16 and the coefficients sigma_(n)\sigma_{n} correspond to the raised cosine.
The smoothed approximation looks superior to the unsmoothed solution.
The solution u_(2)^(N_(2))(x,epsi)u_{2}^{N_{2}}(x, \varepsilon), for problem (1.1) with epsi=10^(-3),N_(2)=8\varepsilon=10^{-3}, N_{2}=8 and m=15m=15 is presented in Fig. 2, the upper line being the exact solution.
Fig. 1
Fig. 2
The exact solution and the approximation u_(1)^(N_(1))(x,epsi)u_{1}^{N_{1}}(x, \varepsilon) look identically even if N_(1)N_{1} is very small (N_(1) <= 8)\left(N_{1} \leq 8\right) so we do not display them.
Figures 3 and 4 display approximations (2.1) with N=8,16,32N=8,16,32 of problem
(1.2) with epsi=0.1\varepsilon=0.1 for f(x)=x^(2)f(x)=x^{2} and f(x)={[0",",x in[-1","0]],[1",",x in(0","1]]:}f(x)=\left\{\begin{array}{cc}0, & x \in[-1,0] \\ 1, & x \in(0,1]\end{array}\right., respectively.
They show that the approximations for N=16N=16 and N=32N=32 are very close to each other, the approximation for N=8N=8 being the oscillating line.
With the same entries, for epsi=0.01\varepsilon=0.01, only smoothed solutions (2.3) of order N=16,32,64N=16,32,64 and unsmoothed solutions (2.1) of order greater than N=64N=64 look close and sufficiently smooth. These results and other ones worked out but undisplayed in this paper, show that lowering epsi\varepsilon for both linear and especially nonlinear problems a rapidly increasing order of approximation NN is needed.
When a qualitative behaviour of solution would enable a domain decomposition, this would provide very accurate solutions with a less important computational effort (CPU time and storage requirements).
In all examples carried out in this paper we used in addition to smoothing factors, sigma_(n)\sigma_{n} corresponding to the raised cosine, the Cesaro sums and the Lanczos smoothing factors. The raised cosine seems to be the most effective.
Fig. 3
Fig. 4
In our opinion these numerical experiments underline the superiority of the spectral method of Chebyshev-tau type on the finite differences and finite elements method in solving singularly perturbed t.p.b.v.p. Of course these numerical results are important in starting numerical procedures for unsteady variants of (1.1) and (1.2) and they encourage us to go on to multidimensional problems.
REFERENCES
C. Canuto, M.Y. Hussaini, A. Quarteroni, T.A. Zang, Spectral Methods in Fluid Dynamics, Springer-Verlag, Springer Series in Computational Physics, 1988.
C.I. Gheorghiu, On a Linear Singulary Perturbed TPBVP, Univ. of Cluj-Napoca, Seminar of Functional Analysis and Numerical Methods, Preprint 1 (1988), pp. 67-74.
D. Gottlieb, S.A Orszag, Numerical Analysis of Spectral Methods: Theory and Applications, SIAM Philadelphia, 1977.
C. Johnson, Numerical solutions of p.d.e. by the f.e.m., Cambridge Univ. Press, 1987.
R.B. Kellog, A. Tsan, Analysis of some difference approximations for a singular perturbation problem without turning points, Math. Comput. 32, 1025-1039 (1978).
Y. Maday, A. Quarteroni, Legendre and Cebyshev Spectral Approximations of Burgers' Equation, Numer. Math. 37, 321-332 (1981).
S.A. Orszag, Accurate Solution of the Orr-Sommerfeld stability equation, J. Fluid Mech., 50, 689-703 (1971).
M. Stynes, E. O'Riordan, An analysis of a t.p.b.v.p. with a boundary layer, using only finite element techniques, Univ. College Cork, Ireland, 1989.
Received 1 XII 1992
C.I. Gheorghiu Academia Română Institutul de Calcul ,, Tiberiu Popoviciu " P.O. Box 68 3400 Cluj-Napoca 1 România
S.I. Pop
"Babes-Bolyai" University Faculty of Mathematics R-3400 Cluj-Napoca