Abstract

This paper presents the study of a numerical scheme for the analytical solution of nonlinear gas dynamic equation. We use the idea of Laplace–Carson transform and associate it with the homotopy perturbation method (HPM) for obtaining the series solution of the equation. We show that this hybrid approach is excellent in agreement and converges to the exact solution very smoothly. Further, HPM combined with He’s polynomial is utilized to minimize the numerical simulations in nonlinear conditions that make it easy for the implementation of Laplace–Carson transform. We also exhibit a few graphical solutions to indicate that this approach is extremely reliable and convenient for linear and nonlinear challenges.

1. Introduction

The gas dynamic equation is mathematically modeled by various physical laws such as energy, mass and momentum conservation. Gas is a collection of numerous elements in continuous chaotic motion such as molecules, atoms, ions, etc. The nonlinear gas dynamics equation is used in shock waves, centered rarified waves, contact flows, and connection discontinuities. 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 [1, 2]. Numerous researchers has studied the gas dynamic equation with different analysis [3, 4]. Srivastava and Saad [5] studied the theory of gas dynamic equation and extended it with different models. Various approaches have been introduced to solve the gas dynamics problems such as fractional reduced transform method [6], Elzaki transform homotopy perturbation approach [7], -homotopy analysis [8], Adomian decomposition strategy [9], variational iteration method [10, 11], fractional homotopy analysis transform approach [12], homotopy perturbation method using Laplace transform [13], Homotopy analysis transform method [14] and natural decomposition method [15].

He [1618] demonstrated the strategy HPM for the solution of nonlinear problems arising in complex models and showed that this approach has an excellent performance in obtaining the series solutions. Some scientists [19, 20] modified this study and coupled it with Laplace transform to achieve the series solution of nonlinear differential problems. Aggarwal and Kumar [21] applied Laplace–Carson to Volterra integro-differential problem of first kind. After that, Kumar and Qureshi [22] received the results of initial value problems with the Caputo derivative in the shape of series and showed the authenticity of this scheme. Thange and Gade [23] studied a few definitions of Laplace–Carson with fractional order and used the convolution theorem which was very complicated to obtain the iterations.

In this article, we study a novel scheme Laplace–Carson homotopy perturbation method (-PTM) which is constructed on the basis of Laplace–Carson and HPM. We point out that the present scheme is very connivent to use and reveals the results in the shape of a series. This approach is an independent convolution theorem that may face complications during the calculation of iterations. This article is designed as In Section 2, we present the definition of Laplace–Carson transform with basic propositions. In Section 3, we study the fundamental concept of HPM which is used to split the nonlinear elements. In Section 4, we present the numerical applications to show the ability of -PTM, and finally, we discuss the obtained results and conclusion in Sections 5 and 6 respectively.

2. Laplace and Laplace–Carson Transform

Definition 1. Consider be a function with , sois said to Laplace transform and is transform function of .

Definition 2. Aggarwal and Kumar [21] studied a theory such thatHere and are arbitrary constants and is termed as Laplace–Carson transform. Now, if is the Laplace–Carson transform of a function then is the inverse of so that,

Definition 3. If , then Laplace–Carson transform is utilized as

Properties 1. If , then it has the following differential properties [21, 23].(a),(b),(c).

3. Fundamental Concept of HPM

This segment presents the concept of HPM with the consideration of a nonlinear functional equation [24, 25]. Consider

With conditions

Here and are identified as general functional and boundary operator respectively, is source term with as a interval of the domain . We can now split such that is said to be a linear and be a nonlinear operator. Thus, we can write equation (5) as

Consider such that it is suitable for

or

Here is homotopy element and is an initial approximation of equation (5), which is appropriate for the boundary conditions. The study of HPM declares that is assumed as a minimal variable and the result of equation (5) cab be expressed in the shape of .

Consider , we get particular of equation (10) as

The nonlinear terms are obtained aswhere is defined as

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

4. Numerical Applications

In this segment, we apply the scheme of -PTM to obtain the analytical results of nonlinear gas dynamic equation. We express that this approach generates the series solution only after iterations with excellent accuracy.

4.1. Example 1

Consider the homogenous and nonlinear gas dynamic equation

With initial condition

Using the Laplace–Carson transform to equation (14), we get

Employing the definition of Laplace–Carson transform, we get

Which may be solved further as,

Applying inverse Laplace–Carson transform, we get

Utilizing HPM on equation (19), we get

On comparing, the following iterations can be obtained,

Hence the solution can be expressed as

4.2. Example 2

Consider the non-homogenous and nonlinear gas dynamic equation

With initial condition

Using the Laplace–Carson transform to equation (23), we get

Employing the definition of Laplace–Carson transform, we get

Which may be solved further as,

Applying inverse Laplace–Carson transform, we get

Utilizing HPM on equation (28), we get

On comparing, the following iterations can be obtained,

Hence the solution can be expressed as

5. Results and Discussion

In this portion, we demonstrate the graphical representation of nonlinear gas dynamic equation. Figure 1(a) represents the the approximate solution obtained by -PTM and Figure 1(b) represents the exact solution of the nonlinear gas dynamic equation. In Figure 1, we compare these graphical illustrations at and and observe that both surface solutions are in full agreement. Figure 2 represents the graphical error between the solutions obtained by -PTM and the exact solutions at . Table 1 presents the analysis of the absolute error at different times and shows that the obtained values become closer to the exact solution with the increase of time. Finally, the figures and table demonstrate that our approach has high authenticity of performance and provides fast convergence results towards the exact solution.

6. Conclusion

In this article, we have successfully applied a new scheme -PTM to determine the approximate results of gas dynamic equation. We obtained these results in the shape of series instead of discretization, linearization, or assumptions. We observe that when HPM is used with Laplace–Carson transform, we can obtain a rapid convergent series solution with less computation. We compute these iterations with the help of Mathematica Software 11.0.1. We also compare the approximate and the exact solution results and provide the absolute error to examine the efficiency of our suggested approach. 2D plot and 3D surface solutions show that we have strong agreement with the results of gas dynamic equation. Therefore, we can say that -PTM is more efficient and appropriate than other schemes. This approach is also applicable to other nonlinear problems such as fractional partial differential equations and can be expanded in a variety of scientific and engineering applications in the future.

Data Availability

This article contains all the data.

Conflicts of Interest

This article have no conflict of interest.