Comparing Solutions to the Nonlinear Dissipative Wave Equation ()

Zaki Mrzog Alaofi^{1,2}, Talaat Sayed El-Danaf^{3}, Silvestru Sever Dragomir^{2}

^{1}Department of Mathematics, College of Science and Arts, King Khalid University, Muhayil Asir, KSA.

^{2}Mathematics, College of Engineering & Science, Victoria University, Melbourne, Australia.

^{3}Department of Mathematics, Faculty of Sciences and Arts, Taibah University, Medina, KSA.

**DOI: **10.4236/jamp.2022.104040
PDF
HTML XML
108
Downloads
624
Views
Citations

In previous decades, many of the practical problems arising in scientific fields such as physics, engineering, and mathematics have been related to nonlinear fractional partial differential equations. One of these nonlinear partial differential equations, the dissipative wave equation, has been found to have a plethora of useful applications in different fields. A special class of solutions has been studied for the dissipative wave equation including exact solutions and approximate solutions. The aim of this article is to compare the non-polynomial spline method and the cubic B-spline method with the solution of a nonlinear dissipative wave equation. We will conduct a comparison of the stability of the two methods using the Von Neumann stability analysis. In addition, a numerical example will be presented to illustrate the accuracy of these methods.

Keywords

Dissipative Wave Equation, Cubic B-Spline, Non-Polynomial Spline, Truncation Error, Von Neumann Stability

Share and Cite:

Alaofi, Z. , El-Danaf, T. and Dragomir, S. (2022) Comparing Solutions to the Nonlinear Dissipative Wave Equation. *Journal of Applied Mathematics and Physics*, **10**, 1281-1296. doi: 10.4236/jamp.2022.104040.

1. Introduction

Nonlinear partial differential equations (NPDEs) are encountered in various fields such as physics, chemistry, biology, mathematics and engineering. Most nonlinear models of real-life problems are still proving difficult to solve either numerically or theoretically. Recently, much attention has been devoted to the search for better and more efficient solution methods for determining a solution, approximate or exact, analytical or numerical, for nonlinear models [1].

Many methods have been developed to solve a dissipative wave equation, including the non-polynomial spline method and the cubic B-spline method. Researchers who have used the non-polynomial spline method include El-Danaf and Faisal (2009), who used a non-polynomial spline-based method to obtain numerical solutions for a dissipative wave equation. The developed method was shown to be conditionally stable for the given values of specified parameters. Furthermore, the obtained numerical results reveal that their proposed method maintains good accuracy [2]. Zaki Ahmed *et al*. (2020) used a non-polynomial spline function to obtain numerical solutions for a dissipative wave equation at middle points for lattice in space direction and at the same time. The presented method was shown to be conditionally stable. In addition, the computational results revealed that their proposed technique was suitable for the solution of these equations and agreed with the true solutions [3]. The cubic B-spline has been employed by many researchers to solve nonlinear dissipative wave equations. The most recent relevant results are those presented by Alaofi *et al*. in 2021. The stability analysis investigation demonstrated that the method is conditionally stable. The developed method is shown to be conditionally stable for given values of specified parameters. The obtained numerical results indicate that the proposed method maintains good accuracy [4]. As the previous two methods, non-polynomial spline and cubic B-spline, have been used many times in recent years, we wanted to present a comparison between them to assist future researchers. Section one outlines some previous studies on the nonlinear dissipative wave equation. Section two offers basic definitions and descriptions of the non-polynomial spline functions, local truncation errors, and the cubic B-spline method. The third section will describe the stability analysis. Using the concept of stability and the von Neumann method, three stability-related cases are provided. Section four addresses numerical illustration. In this section, we offer an example from each author as well as their results. We have also presented additional results that we have obtained during our research. In the final section, we offer some conclusions and highlight some areas for further development.

The generalised nonlinear dissipative wave equation of the form [5]:

$\frac{{\partial}^{2}u}{\partial {t}^{2}}-\frac{{\partial}^{2}u}{\partial {x}^{2}}+2{u}_{t}u=g\left(x,t\right)$ (1)

under the boundary conditions:

$u\left(a,t\right)={\eta}_{1},\text{\hspace{0.17em}}\text{\hspace{0.17em}}u\left(b,t\right)={\eta}_{2},\text{\hspace{0.17em}}\text{\hspace{0.17em}}t\ge 0$ (2)

and initial conditions:

$u\left(x,0\right)={f}_{1}\left(x\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}{u}_{t}\left(x,0\right)={f}_{2}\left(x\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}a\le x\le b$ (3)

2. The Methods

In this section, we will illustrate the non-polynomial spline method and the cubic B-spline method.

2.1. Non-Polynomial Spline Method

The Non-polynomial Spline Functions [6]

Let $a={x}_{0}<{x}_{1}<\cdots <{x}_{N}=b$ be a subdivision of the interval $\left[a,b\right]$. The non-polynomial spline function is defined by

$p\left(x,{t}_{n}\right)=\{\begin{array}{l}{p}_{0}\left(x,{t}_{n}\right),x\in \left[{x}_{0},{x}_{1}\right]\text{}\text{}\text{}\text{}\text{}\\ {p}_{1}\left(x,{t}_{n}\right),x\in \left[{x}_{1},{x}_{2}\right]\text{}\text{}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\vdots \\ {p}_{N-1}\left(x,{t}_{n}\right),x\in \left[{x}_{N-1},{x}_{N}\right]\text{}\end{array}$

where ${p}_{j}\left(x,{t}_{n}\right)$ is a mixed spline function of the form:

$\begin{array}{l}{p}_{j}\left(x,{t}_{n}\right)={b}_{1j}\left({t}_{n}\right)\mathrm{cos}\omega \left(x-{x}_{j}\right)+{b}_{2j}\left({t}_{n}\right)\mathrm{sin}\omega \left(x-{x}_{j}\right)+{a}_{1j}\left({t}_{n}\right){\left(x-{x}_{j}\right)}^{r}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}+{a}_{2j}\left({t}_{n}\right){\left(x-{x}_{j}\right)}^{r-1}+\cdots +{a}_{rj}(x-{x}_{j})+{a}_{\left(r+1\right)j},\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}\text{}j=0,1,\cdots ,N-1.\end{array}$

and *r* represents the degree of the polynomial part.

Remark

We can use other functions as $\left(\mathrm{cosh}\omega x,\mathrm{sinh}\omega x\right)$, $\left(\mathrm{tanh}\omega x,\text{sech}\omega x\right)$, $\left(\text{cosh}\omega x,\text{sech}\omega x\right)$ and $\left({\text{e}}^{\omega x},{\text{e}}^{-\omega x}\right)$ instead of $\left(\mathrm{cos}\omega x,\mathrm{sin}\omega x\right)$ in ${p}_{j}\left(x,{t}_{n}\right)$.

Local truncation error [6]

The truncation error is the difference between the differential equation and its approximating difference equation. Let
${F}_{jn}\left(u\right)=0$ represent the differential equation at the
${\left(j,n\right)}_{th}$ mesh point. If *u* is replaced by *U* at the mesh points of the difference equation, then the value of
${F}_{jn}\left(U\right)$ is named the local truncation error at the
${\left(j,n\right)}_{th}$ mesh point. We denote it by
${T}_{j}^{n}$.

Zaki Ahmed [3] *et al*. and El-Danaf [2] *et al*. used the non-polynomial spline method.

To set up the non-polynomial spline method, select an integer $N>0$ and time-step size $k>0$. With $h=\frac{b-a}{N+1}$, the mesh points $\left({x}_{i},{t}_{j}\right)$ are:

${x}_{i}=a+ih,\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}\text{each}\text{\hspace{0.17em}}i=0,1,\cdots ,N+1$

and,

${t}_{j}=jk,\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}\text{each}\text{\hspace{0.17em}}j=0,1,\cdots $

Let ${Z}_{i}^{j}\equiv Z\left({x}_{i},{t}_{j}\right)$ be an approximation to $u\left({x}_{i},{t}_{j}\right)$, obtained by the segment ${P}_{i}\left(x,{t}_{j}\right)$ of the mixed spline function passing through the points $\left({x}_{i},{Z}_{i}^{j}\right)$ and $\left({x}_{i+1},{Z}_{i+1}^{j}\right)$. Each segment has the forms (4) and (5) as follows:

Zaki Ahmed *et al*. used the following form,

${Q}_{i}\left(x,{t}_{j}\right)={a}_{i}\left({t}_{j}\right)\mathrm{cos}w\left(x-{x}_{i}\right)+{b}_{i}\left({t}_{j}\right)\mathrm{sin}w\left(x-{x}_{i}\right)+{c}_{i}\left({t}_{j}\right)$ (4)

El-Danaf *et al*. used the following form,

${P}_{i}\left(x,{t}_{j}\right)={a}_{i}\left({t}_{j}\right)\mathrm{cos}\omega \left(x-{x}_{i}\right)+{b}_{i}\left({t}_{j}\right)\mathrm{sin}\omega \left(x-{x}_{i}\right)+{c}_{i}\left({t}_{j}\right)\left(x-{x}_{i}\right)+{d}_{i}\left({t}_{j}\right)$ (5)

where $i=0,1,\cdots ,n-1$ ; $j=0,1,\cdots $ ; ${a}_{i}\left({t}_{j}\right);{b}_{i}\left({t}_{j}\right);{c}_{i}\left({t}_{j}\right)$ and ${d}_{i}\left({t}_{j}\right)$ are unknowns to be determined and $\omega $ is a parameter of the trigonometric functions.

The truncation error for Equation (4) at $i=1,n$ is as follows:

$\begin{array}{c}{t}_{i}^{j}=[\left(\frac{6}{8}-\left({w}_{0}+{w}_{1}+{w}_{2}+{w}_{3}\right)\right){h}^{2}{D}_{x}^{2}+\left(\frac{1}{2}-\left(\frac{{w}_{0}+3{w}_{1}+5{w}_{2}+7{w}_{3}}{2}\right)\right){h}^{3}{D}_{x}^{3}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left(\frac{39}{192}-\left(\frac{{w}_{0}+9{w}_{1}+25{w}_{2}+49{w}_{3}}{8}\right)\right){h}^{4}{D}_{x}^{4}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left(\frac{1}{16}-\left(\frac{{w}_{0}+27{w}_{1}+125{w}_{2}+343{w}_{3}}{48}\right)\right){h}^{5}{D}_{x}^{5}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\left(\frac{726}{46080}-\left(\frac{{w}_{0}+81{w}_{1}+625{w}_{2}+2401{w}_{3}}{384}\right)\right){h}^{6}{D}_{x}^{6}+\cdots ]{u}_{i}^{j}\end{array}$

to make ${t}_{i}^{j},i=1,n$ of order $O\left({h}^{6}\right)$.

The approximation with local truncation error of $O\left({k}^{2}\right)$ :

${Z}_{i}^{1}\approx {Z}_{i}^{0}+k{f}_{2}\left({x}_{i}\right)+\frac{{k}^{2}}{2}\left({g}_{i}^{0}+\frac{{\text{d}}^{2}{f}_{1}}{\text{d}{x}^{2}}\left({x}_{i}\right)-2{f}_{2}{f}_{1}\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}i=1,\cdots ,N$.

2.2. The Cubic B-Spline Method

The cubic B-spline functions $\left\{{\phi}_{i}\left(x\right)\right\}$ are defined by:

${\phi}_{i}\left(x\right)=\frac{1}{{h}^{3}}\{\begin{array}{ll}{\left(x-{x}_{i-2}\right)}^{3}\hfill & x\in \left[{x}_{i-2},{x}_{i-1}\right]\hfill \\ {h}^{3}+3{h}^{2}(x-{x}_{i-1})+3h{\left(x-{x}_{i-1}\right)}^{2}-3{\left(x-{x}_{i-1}\right)}^{3}\hfill & x\in \left[{x}_{i-1},{x}_{i}\right]\hfill \\ {h}^{3}+3{h}^{2}\left({x}_{i+1}-x\right)+3h{\left({x}_{i+1}-x\right)}^{2}-3{\left({x}_{i+1}-x\right)}^{3}\hfill & x\in \left[{x}_{i},{x}_{i+1}\right]\hfill \\ {\left({x}_{i+2}-x\right)}^{3}\hfill & x\in [{x}_{i+1},{x}_{i+2}]\hfill \\ 0\hfill & \text{otherwise}\hfill \end{array}$

where $h={x}_{i+1}-{x}_{i},i=0,1,\cdots ,N-1$. The values of the cubic B-spline ${\phi}_{i}\left(x\right)$ and its first and second derivatives vanish outside the interval $\left({x}_{i-2},{x}_{i+2}\right)$. We establish the values of ${\phi}_{i}\left(x\right)$ and its derivatives at the knots in Table 1.

This type of spline is used to obtain an approximate solution to partial differential equations, see [4].

The Analysis and the Initial State for the Dissipative Wave Equation

1) The approximate solution of the dissipative wave equation is considered to be:

Table 1. The values of ${\phi}_{i}\left(x\right)$ and its derivatives with knots at the shown points.

where ${\varphi}_{i}\left({x}_{j}\right)$ represents the spline functions, and ${w}_{i}\left({t}_{j}\right)$ represents the unknowns to be determined.

2) The dissipative wave equation reduced to system of ODE.

They get:

$\begin{array}{l}{a}_{i}{\omega}_{i-1}^{n+1}+{b}_{i}{\omega}_{i}^{n+1}+{c}_{i}{\omega}_{i+1}^{n+1}\\ =-{d}_{i}{\omega}_{i-1}^{n}-{e}_{i}{\omega}_{i}^{n}-{f}_{i}{\omega}_{i+1}^{n}-{n}_{i}{\omega}_{i-1}^{n-1}-{s}_{i}{\omega}_{i}^{n-1}-{l}_{i}{\omega}_{i+1}^{n-1}+{k}^{2}{\eta}_{i}^{n}\left(x,t\right)\end{array}$

3) Using the boundary conditions to get $N+3$ equations in $N+3$ unknowns.

$\frac{6}{{h}^{2}}{\omega}_{-1}-\frac{12}{{h}^{2}}{\omega}_{0}+\frac{6}{{h}^{2}}{\omega}_{1}=0$,

$\frac{6}{{h}^{2}}{\omega}_{N-1}-\frac{12}{{h}^{2}}{\omega}_{N}+\frac{6}{{h}^{2}}{\omega}_{N+1}=0$.

4) Apply the initial conditions to get the independent variables:

${\left({\omega}_{-1}^{0},{\omega}_{0}^{0},\cdots ,{\omega}_{N}^{0},{\omega}_{N+1}^{0}\right)}^{\text{T}}$

5) After getting the following system of algebraic equations:

$A{\omega}^{n+1}=-B{\omega}^{n}-C{\omega}^{n-1}+{k}^{2}{\eta}_{i}^{n}\left(x,t\right)$

6) Two initial conditions are applied to get the following system:

${\omega}_{i-1}^{0}+4{\omega}_{i}^{0}+{\omega}_{i+1}^{0}=u\left({x}_{j},0\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}j=0,1,2,\cdots ,N$

7) Adding the following two initial conditions to complete the system of equations:

$\begin{array}{l}-3{\omega}_{-1}^{0}+3{\omega}_{1}^{0}=h{u}_{x}\left(a,0\right)\\ -3{\omega}_{N-1}^{0}+3{\omega}_{N+1}^{0}=h{u}_{x}\left(b,0\right)\end{array}$

3. The Stability Analysis

Stability [7]

Suppose that, in a computation involving a difference scheme, an error
${\xi}^{0}$ is introduced at a time level
${t}^{0}$, and suppose that no further errors occur. If
${\xi}^{n}$ denotes the error resulting from this error at time
${t}^{n}$, then the scheme is stable if
$\left|{\xi}^{n}\right|$ remains bounded as
$n\to \infty $ (*i.e.*, the error must not grow without limit).

Stability by the Fourier series method (Von Neumann’s Method) [7]

This method, developed by Von Neumann during World War II, was first discussed in detail by O’Brien, Hyman and Kaplan in a paper published in 1951. It expresses an initial line of errors in terms of a finite Fourier series, and considers the growth of a function that reduces to this series for $t=0$ using a “variables separable” method identical to that commonly used for deriving analytical solutions to partial differential equations. If we write ${N}_{j}^{n}={u}_{j}^{n}+{\xi}_{j}^{n}$ in the difference scheme, and if it is linear, then ${\xi}^{n}$ will satisfy the same equation as ${u}_{j}^{n}$ expresses the error as a finite Fourier series of the form ${{\displaystyle \sum}}^{\text{}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\xi}^{n}\left(t\right){\text{e}}^{ik{x}_{j}}$. Furthermore, if the equation is linear, then we need consider only the growth of a single form:

${\xi}_{j}^{n}={\xi}^{n}{\text{e}}^{ik{x}_{j}},$

where $i=\sqrt{-1}$, and let:

$g=\frac{{\xi}^{n+1}}{{\xi}^{n}}$,

where *g* is called the growth of an amplification factor. For stability, the Von Neumann condition requires:

$\left|g\right|\le 1+{\rm O}\left(\Delta t\right)$.

*i.e**.* the error will not increase as *t* increases.

It should be noted that this method applies only to linear difference equations with periodic initial data. The criterion $\left|g\right|\le 1$ is necessary and sufficient for three or more level equations—though it is always necessary. In practice, the method often gives useful results even when its application is not fully justified.

According to the Von Neumann technique we have:

${S}_{i}^{j}={\xi}^{j}{\text{e}}^{\left(q\phi hi\right)}$ (6)

where
${q}^{2}=-1$,
$\phi $ is the mode number, *h* is the element size, and
$\xi $ is the amplification factor.

For stability, we must have $\left|{\xi}_{\pm}\right|\le 1$. Also, from Equation (6) we can observe that the product of the two values of $\xi $ is clearly unity. So, three cases arise.

Case 1: Both the roots are equal to unity. In this case, the discriminant of the quadratic Equation (6) is zero.

Case 2: One of the roots is greater than unity. In this case, the discriminant is greater than zero. This means the stability condition, that is $\left|{\xi}_{\pm}\right|\le 1$, is not satisfied. In other words, ${\xi}^{j}$ would grow in an unbounded manner.

Case 3: The discriminant is less than zero, that is: ${\mu}^{2}-1<0$. Thus, for stability:

$-1\le \mu \le 1$ (7)

[2] and [3] using Equation (6), the above inequality becomes:

$-\frac{{k}^{2}{d}^{*}}{2}\le \frac{2{k}^{2}{\mathrm{sin}}^{2}\left(\varphi /2\right)}{\left(\beta +2\alpha \right)-4\alpha {\mathrm{sin}}^{2}\left(\varphi /2\right)}\le 2-\frac{{k}^{2}{d}^{*}}{2}$ (8)

Two cases will be discussed:

Case 1: For $\beta =-2\alpha $, inequality (8) becomes:

$-\frac{{k}^{2}{d}^{\text{*}}}{2}\le \frac{{k}^{2}}{-2\alpha}\le 2-\frac{{k}^{2}{d}^{\text{*}}}{2}$

We can say that our system is stable for $\beta =-2\alpha $, $\alpha <0$, and ${k}^{2}\ll \left|\alpha \right|$ such that $\left|\alpha \right|$, and ${k}^{2}$ are small enough.

Case

On the other hand, [4] using Equation (6), the (7) inequality becomes:

$-1\le \frac{\left[\left(-2-{r}_{1}\right)\mathrm{cos}\varphi h+\left(-4+{r}_{1}\right)\right]}{\left[\left(2+2{k}^{2}m\right)\mathrm{cos}\varphi h+\left(4+4{k}^{2}m\right)\right]}\le 1$. (9)

After simplifying inequality (9), we get:

$\left(\frac{-m{h}^{2}}{3}+1\right)+\left(\frac{2m{h}^{2}}{3}-2\right){\mathrm{sin}}^{2}\frac{\varphi h}{2}\le \left(1+\frac{2m{h}^{2}}{3}\right)$,

If *h* is small enough, the method is conditionally stable.

4. Numerical Illustration

Example. Consider the dissipative wave equation [8]:

$\frac{{\partial}^{2}u}{\partial {t}^{2}}-\frac{{\partial}^{2}u}{\partial {x}^{2}}+2{u}_{t}u=-2{\mathrm{sin}}^{2}x\mathrm{sin}t\mathrm{cos}t\le x\le \pi ,\text{\hspace{0.17em}}\text{\hspace{0.17em}}t\ge 0,$ (10)

with the initial conditions:

$u\left(x,0\right)=\mathrm{sin}x,\text{\hspace{0.17em}}\text{\hspace{0.17em}}{u}_{t}\left(x,0\right)=0$, (11)

and the boundary conditions:

$u\left(0,t\right)=u\left(\pi ,t\right)=0$. (12)

4.1. The Results of [2]

Table 2 shows maximum error occurred at 0.5, 1.5, 2.5, and 3.5 respectively. Numerical values have been computed using the non-polynomial spline method and reported in Table 3 & Table 4. The simulation is done up to *x *= 0.8π. We

Table 2. The *L*_{∞} error for the numerical and exact solutions when
$k=0.01$,
$h=\frac{\pi}{40}$,
$\alpha =-1.01$;
$\beta =-2\alpha $.

Table 3. Comparison between the numerical and exact solutions at $h=\pi /40$ ; $t=1.5$ ; $\alpha =2\times {10}^{-7}$ ; $\beta =6.18\times {10}^{-3}$.

can conclude that applying nonpolynomial splines in the solution of partial differential equations is a promising approach.

4.2. The Results of [3]

*L*_{∞} error norms are reported in Table 5. In addition, comparisons of approximate and exact solutions at different nodes x and different time levels are reported in Table 6 & Table 7.

The relation between time and the maximum error is shown in Figure 1 and

Table 4. Comparison between the numerical and exact solutions at $h=\pi /40$ ; $t=2.5$ ; $\alpha =2\times {10}^{-7}$ ; $\beta =6.18\times {10}^{-3}$.

Table 5. The maximum absolute errors at $h=\frac{\pi}{50}$, $k=0.01$, $\alpha =-1$ and $\beta =-2\alpha $.

Table 6. The true and numerical solution at $h=\frac{\pi}{50}$, $k=0.001$, $t=0.25$, $\alpha ={10}^{-5}$ and $\beta =0.005$.

Table 7. The true and numerical solution at $h=\frac{\pi}{50}$, $k=0.01$, $t=2.5$, $\alpha =-1$ and $\beta =-2\alpha $.

Figure 1. The relation between time and maximum error as per Table 5.

the graph of exact and approximate solutions for different time levels are depicted in Figure 2.

4.3. The Results of [4]

To make a comparison quantitatively, they have computed the error norms *L*_{∞} in Table 8. Moreover, the comparison of obtained numerical results with the cubic B-spline method is presented in Table 9 & Table 10 when *t* = 0.2 and *t* = 2.

Figure 3 & Figure 4 depict a comparison of exact and approximate solutions when *t* = 2 and *t* = 5.

In the following section, we introduce the numerical results, which have been obtained by [4].

Figure 2. The true solution (green) and numerical solution (red) at $h=\frac{\pi}{50}$, $k=0.01$, $\alpha =-1$, $\beta =-2\alpha $ and $t=2.5$.

Table 8. The *L*_{∞} error for the numerical and exact solutions when *k* = 0.01,
$h=\frac{\pi}{20}$ from *t* = 0.5 to *t* = 2.0.

Table 9. Comparison between the numerical and exact solutions at *t* = 0.2, *k* = 0.002,
$h=\frac{\pi}{20}$.

4.4. Our Results

In Table 11, the computational maximum errors with respect to the exact solution and numerical solution.

Table 10. Comparison between the numerical and exact solutions at *t* = 2, *k* = 0.002,
$h=\frac{\pi}{20}$.

Figure 3. The exact and numerical results when the time *t* = 2.0 with *k* = 0.01.

Figure 4. The exact and numerical results when the time*t* = 5.0 with *k* = 0.01.

Table 11. The *L*_{∞} error for the numerical and exact solutions for a big time when *k* = 0.01,
$h=\frac{\pi}{20}$ from *t* = 15.0 to *t* = 50.0.

Figure 5. The exact and numerical results when the time *t* = 15.0 with *k* = 0.01.

Figure 6. The exact and numerical results when the time *t* = 25.0 with *k* = 0.01.

From Figures 5-9, we observe that the smaller the
$\Delta t=k$ (than the value of *h), *the better the accuracy. The numerical approximations are still acceptable within the large time.

The following figures, Figures 10-13, show the 3D representation of the numerical solutions of the dissipative equation for virus time and the same discretisations (*h*).

5. Conclusion

In this article, we discussed the non-polynomial spline method and the cubic

Figure 7. The exact and numerical results when the time *t* = 35.0 with *k* = 0.01.

Figure 8. The exact and numerical results when the time *t* = 45.0 with *k* = 0.01.

Figure 9. The exact and numerical results when the time*t* = 50.0 with *k* = 0.01.

Figure 10. 3D representation of the numerical solutions of the dissipative from the time *t* = 0.0 to *t* = 10.0.

Figure 11. 3D representation of the numerical solutions of the dissipative from the time *t* = 0.0 to 20.0.

B-spline method for solving a nonlinear dissipative wave equation and its truncation errors. The stability analysis of these methods was shown to be conditionally stable. Furthermore, the obtained approximate numerical solutions maintain good accuracy compared with the exact solutions, especially for small values.

Figure 12. 3D representation of the numerical solutions of the dissipative from the time *t* = 10.0 to *t* = 20.0.

Figure 13. 3D representation of the numerical solutions of the dissipative from the time*t* = 20.0 to *t* = 40.0.

The results obtained by [4] demonstrate that solving the nonlinear dissipative wave equation using the cubic B-spline method is more accurate than using the non-polynomial spline method. A large set of values was used to treat the nonlinear dissipative wave equation using the cubic B-spline method, and both 2D and 3D graph representations were provided. Our conclusion was that the non-polynomial spline method is more useful when the researcher wants to obtain the local truncation error, while the B-spline method is more accurate for solving nonlinear partial differential equations.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

[1] |
Hereman, W. and Takaoka, M. (1990) Solitary Wave Solutions of Nonlinear Evolution and Wave Equations Using a Direct Method and MACSYMA. Journal of Physics A: Mathematical and General, 23, 4805-4822. https://doi.org/10.1088/0305-4470/23/21/021 |

[2] |
El Danaf, T.S. and Abdel Alaal, F.E.I. (2009) Non-Polynomial Spline Method for the Solution of the Dissipative Wave Equation. International Journal of Numerical Methods for Heat & Fluid Flow, 19, 950-959. https://doi.org/10.1108/09615530910994441 |

[3] |
Ahmed, Z., Ahmad, N., Ghonamy, M.I. and Rashid, N. (2020) On the Numerical Solution of the Dissipative Wave Equation at Midpoints. Journal of Critical Reviews, 7, 8623-8632. https://researchgate.net/publication/344467678 |

[4] |
Alaofi, Z., Sayed Ali, T. and Dragomir, S. (2021) A Numerical Solution of the Dissipative Wave Equation by Means of Cubic B-Spline Method. Journal of Physics Communications, 5. https://doi.org/10.1088/2399-6528/ac2940 |

[5] |
Adomian, G. (1994) Solving Frontier Problems of Physics: The Decomposition Method. Kluwer Academic Publisher, Boston, MA. https://doi.org/10.1007/978-94-015-8289-6 |

[6] |
Amin, M., Abbas, M., Iqbal, M.K. and Baleanu, D. (2019) Non-Polynomial Quintic Spline for Numerical Solution of Fourth-Order Time Fractional Partial Differential Equations. Advances in Difference Equations, 2019, 1-22. https://doi.org/10.1186/s13662-019-2125-1 |

[7] |
Li, M., Ding, X. and Xu, Q. (2018) Non-Polynomial Spline Method for the Time-Fractional Nonlinear Schrödinger Equation. Advances in Difference Equations, 2018, 1-15. https://doi.org/10.1186/s13662-018-1743-3 |

[8] |
Adomian, G. (1994) Nonlinear Dissipative Wave Equations. Applied Mathematics Letters, 11, 125-126. https://doi.org/10.1016/S0893-9659(98)00044-5 |

Journals Menu

Contact us

+1 323-425-8868 | |

customer@scirp.org | |

+86 18163351462(WhatsApp) | |

1655362766 | |

Paper Publishing WeChat |

Copyright © 2024 by authors and Scientific Research Publishing Inc.

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.