Abstract

In this article, we propose an idea of Sawi homotopy perturbation transform method (SHPTM) to derive the analytical results of nonlinear gas dynamic (GD) equations. The implementation of this numerical scheme is straightforward and produces the results directly without any assumptions and hypothesis in the recurrence relation. Sawi transform (ST) has an advantage of reducing the computational work and the error of estimated results towards the precise solution. The results obtained with this approach are in the shape of an iteration that converges to the precise solution very gradually. We provide the validity and accuracy of this scheme with the help of illustrated examples and their graphical results. This scheme has shown to be the simplest approach for achieving the analytical results of nonlinear problems in science and engineering.

1. Introduction

In recent decades, nonlinear models are particularly describing various physical phenomena in engineering, physics, chemistry, and other sciences. Numerous analytical and numerical schemes have been broadly applied to these nonlinear problems. The procedure of obtaining the precise results for the nonlinear problems is very complicated, and it is still a challenging issue to solve these nonlinear PDEs in most of the cases; besides this, there are various strategies for their solution. As a result, various researchers and scientists have studied multiple novel methods for getting the analytical solution that are reasonably close to the precise solutions such as the Jacobi elliptic function method [1], Exp -expansion method [2], new Kudryashov’s method [3], rank upgrading technique [4], modified exponential rational method [5], Hermite-Ritz method [6], residual power series (RPS) method [7], and Adomian decomposition method [8, 9].

He [10, 11] developed an idea of homotopy perturbation method (HPM) to obtain the analytical solution of differential problems. Later, Khuri and Sayfy [12] combined Laplace transform with HPM for the analytical results of differential problems. Nadeem and Li [13] presented a combined approach of Laplace transform with HPM for dealing the analytical work of nonlinear vibration systems and nonlinear wave problems. HPM provides the significant results to solve linear and nonlinear equations of reaction-diffusion equations [14], heat transfer model [15], delay differential equations [16], integro-differential equation [17], and Schrödinger equations [18].

Gas dynamic equations are mathematically modeled by various physical laws such as energy, mass, and momentum conservation. The study of gas motion and its impact on structures using the principles of fluid dynamics and fluid mechanics is known as “gas dynamic,” and it belongs to the discipline of fluid dynamics [1921]. Jafari [22] presented the idea of variational iteration method (VIM) on the basis of Lagrange multipliers to investigate the analytical solution of nonlinear gas dynamic equation and Stefan equation. Later, Matinfar et al. [23] used a simple procedure using He’s polynomials to obtain the analytical results of GD equation and provided the efficient results to show that the suggested algorithm is quite suitable for such problems. Kumar and Rashidi [24] formulated a scheme based on Laplace transform and the homotopy analysis scheme for handling the time-fractional GD equations. Singh et al. [25] provided the approximate solution of GD equation and showed that HPM presents the excellent performance in various nonlinear problems. Singh and Aggarwal [26] introduced Sawi transform for population growth and decay problems. Many authors provided that this transform has an excellent performance in various differential problems [2729].

In this article, we combined Sawi transform and HPM to formulate the idea of SHPTM and obtain the analytical results of GD equations. HPM is used to handle nonlinear components. Sawi transform has an advantage of reducing the computational work and minimizing the error of the estimated results towards the precise results. We observe that HPM is very efficient technique in solving the nonlinear phenomena. Results show that this strategy is very unique and easy to implement than other approaches. This article is presented as follows: in Section 2, we report the concept of Sawi transform with some property functions. In Section 3, a basic idea of HPM is revealed to overcome the nonlinear components. Section 4 demonstrates the basic idea of SHPTM to handle the nonlinear problems. We illustrate two numerical examples to sow the performance of SHPTM and present the conclusion in Sections 5 and 6, respectively.

2. Sawi Transform

Definition 1. Consider be a function with , so is said to be Laplace transform.

Definition 2. Sawi transform is represented by for a function Here, is termed as Sawi transform and if is the Sawi transform of a function . then is the inverse of so that is said to be inverse Sawi transform.

Properties. If , the following differential properties yield [26, 28]: (a)(b)(c)

3. Fundamental Concept of HPM

This sector presents the strategy of HPM with the consideration of a nonlinear functional equation [13]. Consider with conditions Here, is a general function and is the boundary operator, and is source term. We can now split such that is said to be a linear and be a nonlinear operator. Thus, we can write Equation (3) as

Consider such that it is suitable for or Here, is homotopy element and is the starting approximation of Equation (3). The study of HPM declares that is assumed as a minimal factor and the result of Equation (3) can be expressed in the shape of .

Considering , we get particular of Equation (3) as

The nonlinear terms are obtained as where is defined as

This result in Equation (10) generally converges as the rate of convergence depends on the nonlinear operator .

4. Formulation of SHPTM

This section reveals the construction of SHPTM for achieving the analytical results GD equation. Consider a nonlinear differential problem such as with initial condition where is a function in time domain , represents nonlinear component, is known, and is the constant. Now, Equation (12) can reconsider as

Operating ST on Equation (14), we get

Implementing the properties of ST, it yields

Thus, is found from Equation (16) as

Applying inverse ST on Equation (17), it yields

Equation (18) is called the recurrence relation of Equation (12) where

According to the strategy of HPM, consider and nonlinear terms can be determined using an algorithm where is He’s polynomial, and we calculate them by using the following procedure.

Putting Equations (20), (21), and (22) in Equation (18) and equating the same components of , we obtain the following iterations

By repeating the same manner, we can sum up this series to obtain the analytical results such that

Thus, Equation (24) yields as an analytical result of differential problem of Equation (12).

5. Numerical Applications

In this portion, we implement the idea of SHPTM in order to obtain the analytical solution of nonlinear GD equations. The solution series converges to the exact solution with few iterations which shows the significance of this approach.

5.1. Example 1

Consider the homogenous and nonlinear GD equation with initial condition

Taking the Sawi transform of Equation (25), we get

Employing the properties of Sawi transform, we get which may be solved further as

Applying inverse Sawi transform, we get

Utilizing HPM on Equation (30), we get In comparing, the following iterations can be obtained:

Hence, the solution can be expressed as

In Figure 1, we show the analytical and exact solution graphs of Problem 1 at and . The graphical results show that the analytical solution and the exact solutions are very close to each other. In addition, Figure 2 presents the graphical error with at , and it seems that the suggested approach is very efficient and authentic for finding the analytical solution of nonlinear GD equations.

5.2. Example 2

Consider the nonhomogenous and nonlinear GD equation with initial condition

Taking the Sawi transform of Equation (34), we get

Employing the properties of Sawi transform, we get which may be solved further as

Applying inverse Sawi transform, we get

Utilizing HPM on Equation (39), we get In comparing, the following iterations can be obtained: Hence, the solution can be expressed as

In Figure 3, we show the analytical and exact solution graphs of Problem 1 at and . The graphical results show that the analytical solution and the exact solutions are very close to each other. In addition, Figure 4 presents the graphical error with at , and it seems that the suggested approach is very efficient and authentic for finding the analytical solution of nonlinear GD equations.

6. Conclusion

In this paper, we constructed a SHPTM to obtain the analytical solution of nonlinear GD equations. The conservation characteristics of the numerical scheme are demonstrated by theoretical analysis. Additionally, we determined the error estimates to show that the obtained results are in quick convergence. One observation is that if Sawi transform is used with HPM, we do not need to digitize the GD equations which leads to a high number of restrictions and assumptions. This is because Sawi transform is independent of restrictive variable and considered as a direct approach for the conservation law in both linear and nonlinear problems. We use Mathematica software 11.0.1 for the numerical analysis and computation of the iterations of series solutions. One can use this scheme for other nonlinear numerical problems to obtain the excellent results that are stable and accurate. However, our work can easily be modified to study the theory of fractional calculus in science and engineering.

Data Availability

This article contains all the data.

Conflicts of Interest

This article has no conflicts of interest.