Abstract
In this paper, heat and heat-like equations with classical and non local boundary conditions are presented and a homotopy perturbation method (HPM) is utilized for solving the problems. The obtained results as compared with previous works are highly accurate. Also HPM provides continuous solutions in contrast to traditional methods, like finite difference method, which only provides discrete approximations. It is found that this method is a powerful mathematical tool and can be applied to a large class of linear and non linear problems in different fields of science and technology.
Access provided by Autonomous University of Puebla. Download chapter PDF
Similar content being viewed by others
Keywords
- Diffusion equation
- Exact solution
- Heat-like equation
- Homotopy perturbation method
- Initial boundary value problems
- Non local boundary conditions
- Partial differential equations
1 Introduction
Recently, new analytical methods have gained the interest of researchers for finding approximate solutions to partial differential equations. This interest was driven by the needs from applications both in industry and sciences. Theory and numerical methods for solving initial boundary value problems were investigated by many researchers see for instance [1–9] and the reference therein. In the last decade, there has been a growing interest in the new analytical techniques for linear and non linear initial boundary value problems. The widely applied techniques are perturbation methods. He [10] has proposed a new perturbation technique coupled with the homotopy technique, which is called the homotopy perturbation method (HPM) for solving non linear problems. In contrast to the traditional perturbation methods, a homotopy is constructed with an embedding parameter \( p \in [0,1] \), which is considered as a small parameter. Homotopy perturbation method has gained reputation as being a powerful tool for solving linear or non linear partial differential equations. He [11], applied HPM to solve initial boundary value problems which is governed by the non linear ordinary (partial) differential equations, the method has been shown to effectively, easily and accurately solve a large class of linear and non linear problems with components converging rapidly to exact solutions. Thus the main goal of this work is to apply the homotopy perturbation method (HPM) for solving heat and heat-like equations subject to different type of boundary conditions. The obtained results are more accurate than those obtained recently by Damrongsak et al. [12]. In this paper we consider a one-dimensional heat equation, one-dimensional and three-dimensional heat-like equations. The implementation of the method has shown reliable results in that few terms are needed to obtain either exact solution or to find an approximate solution of a reasonable degree of accuracy in real physical models. Numerical examples are presented to illustrate the efficiency of the homotopy perturbation method, the obtained results are all in good agreement with exact ones.
2 The Linear Heat Equation with Dirichlet and Neumann Conditions
2.1 Problem Definition
We consider the diffusion equation given by
subject to the Initial condition:
and the boundary conditions:
where the diffusion coefficient α is positive, \( u(x,t) \) represents the the temperature at point \( (x,t) \) and \( f\left( {x,t} \right),\;g_{0} \left( t \right),\;g_{1} \left( t \right),\;g_{2} \left( t \right),\;g_{3} (t) \) are sufficiently smooth known functions.
2.2 Analysis of Homotopy Perturbation Method
To illustrate the basic ideas, let \( X,\;and\;Y \) be two topological spaces. If \( f\;and\;g \) are continuous maps of the spaces \( X\;into\;Y, \) it is said that \( f \) is homotopic to \( g \), if there is continuous map \( F:X \times [0,1] \to Y \) such that \( F\left( {x,0} \right) = f\left( x \right)\;and\;F\left( {x,1} \right) = g\left( x \right)\;for\;each\;x\epsilon X \), then the map is called homotopy between \( f\;and\;g \). We consider the following nonlinear partial differential equation:
subject to the boundary conditions
where \( A \) is a general differential operator, \( f \) is a known analytic function, Γ is the boundary of Ω and \( \partial /\partial \eta \) denotes directional derivative in outward normal direction to Ω. The operator \( A \), generally divided into two parts, \( L \) and \( N, \) where \( L \) is linear while \( N \) is nonlinear. Using \( A = L + N, \) Eq. (7) can be rewritten as follows:
by the homotopy technique, we construct a homotopy defined as
which satisfies:
Or
Where \( p \) is an embedding parameter, \( u_{0} \) is an initial approximation of Eq. (7), which satisfies the boundary conditions. It follows from Eq. (12) that:
The changing process of \( p \) from 0 to 1 monotonically is a trivial problem. \( H\left( {v,0} \right) = L\left( v \right) - L\left( {u_{0} } \right) = 0 \) is continuously transformed to the original problem
In topology, this process is known as continuous deformation.
\( L\left( v \right) - L(u_{0} ) \) and \( A\left( v \right) - f(r) \) are called homotopic. We use the embedding parameter \( p \) as a small parameter, and assume that the solution of Eq. (12) can be written as power series of p:
Setting \( p = 1 \) we obtain the approximate solution of Eq. (7) as:
The series of Eq. (17) is convergent for most of the cases. But the rate of the convergence depends on the linear operator \( N(v) \). He [13] has suggested that:
-
1.
The second derivative of \( N(v) \) with respect to \( v \) should be small because the parameter may be relatively large i.e. \( p = 1. \)
-
2.
The norm of \( L^{ - 1} (\partial N/\partial v) \) must be smaller than one so that the series converges.
2.3 Solution Procedure
The solution is considered in the form below:
Setting \( p = 1 \), we obtain the approximate solution of Eq. (1) as follows:
Substituting Eq. (18) into Eq. (12) and comparing the coefficient of like powers of \( p \), we have
Hence the approximate or exact solution of problem (1) is obtained as:
3 The One Dimensional Heat-Like Equation
3.1 Problem Definition
We consider the problem in two cases one-dimensional heat-like equation given by:
subject to the initial condition
and the boundary conditions
3.2 Solution Procedure
Writing the approximate solution in the series form as the following:
Substituting Eq. (26) into Eq. (22) and equating the coefficients of the same powers of \( p \) we get the system of equations as follows:
and so on, we obtain the approximate solution in a series form as below:
4 Three-Dimensional Heat-Like Equation
4.1 Problem Definition
Consider the three-dimensional heat-like equation as
subject to the initial and boundary conditions
4.2 Solution Procedure
We just consider three-dimensional equation which includes two other cases. Substituting Eq. (18) into Eq. (28) and equating the terms with identical powers of \( p \), we have
So we can calculate the terms of \( \mathop \sum \nolimits_{k = 0}^{\infty } v_{k} \), term by term and the series solution thus entirely determined. However, in many cases the exact solution in a closed form may be obtained. For numerical purposes, we can use the approximation
where
It is worth to mention that the errors are getting smaller with the growing number of terms in the sum (33).
5 Numerical Examples
5.1 Example 1: One Dimensional Homogeneous Heat Equation
We consider the one-dimensional diffusion equation:
with the Initial condition:
and the boundary conditions
To solve (34) with initial condition (35), according to the homotopy perturbation technique, we construct the following homotopy:
Substituting of Eq. (16) into Eq. (37) and then equating the terms with like powers of \( p \), we get the following
and so on, we can calculate \( v_{n} \) as follows:
Finally, we obtain the approximate solution as follows:
And this leads to the following solution
Substituting Eq. (39) into Eq. (34), we conclude that the approximate solution coincides with the exact one.
5.2 Example 2
Consider the diffusion problem:
subject to the Initial condition
and the boundary conditions:
solving the Eq. (40) with the initial condition (41), yields:
The next components \( v_{k} ,\;k \ge 3 \) are calculated as the following:
Combining all the terms in the above gives
The series solution is:
5.3 Example 3: One Dimensional Non Homogeneous Heat Equation
Consider the non homogeneous diffusion equation:
with the initial condition
and the boundary conditions
according to HPM algorithm, we have
where \( f = \left( {\pi^{2} - 1} \right) \text{e}^{ - t} + 4x - 2 \)
by equating the terms with the identical powers of \( p \), yields
continuing like-wise we get:
and so on we then have
From this result we deduce that the series solution converges to the exact one:
5.4 Example 4
Once again, consider the non-homogeneous heat equation with non-homogeneous Neumann boundary conditions:
and the initial condition
The theoretical solution is:
now, applying the homotopy perturbation method we get:
Continuing in this way, we obtain
or
and this leads to the following solution
this solution coincides with the exact one.
5.5 Example 5: One Dimensional Non Homogeneous Heat-Like Equation
Consider the problem
subject to the initial condition
and the boundary conditions
After substitution of Eq. (18) into Eq. (55) and identifying the terms of the same powers of \( p \), we obtain the system of equations:
Hence the series solution is given by:
or
and in a closed form:
5.6 Example 6: Three Dimensional Non Homogeneous Heat-Like Equation
Let us consider the problem
with the following initial condition:
and the boundary conditions
According to Eqs. (18) and (59) the following terms are calculated successively:
Hence, the approximate solution is given by:
Or
The solution in the closed form is given as
This result is in good agreement with the exact one (Tables 1, 2 and 3).
6 Conclusion
The main concern of this work has been to construct an approximate solution to heat and heat-like equations with different types of boundary conditions using homotopy perturbation method (HPM). Our approach differs from existing traditional methods like, finite differences, finite elements, spectral method, … etc., in that we find the solution in a closed form without, linearization, discretization, transformation or restrictive assumptions. The problems solved using (HPM) gave satisfactory results in comparison to those recently obtained other researchers (Figs. 1, 2 and 3).
References
A. Cheniguel, Numerical method for the heat equation with Dirichlet and Neumann boundary conditions, in Proceedings of the International Multi-Conference and Computer Scientists 2014, vol I, 12–14 Mar 2014, (IMECS, Hong Kong, 2014), pp. 535–539
A. Cheniguel, Numerical method for solving wave equation with non local boundary conditions. Lect. Notes Eng. Comput. Sci. 2203(1), 1190–1193 (2013)
A. Cheniguel, M. Reghioua, On the numerical solution of three-dimensional diffusion equation with an integral condition, in Proceedings of the World Congress on Engineering and Computer Science 2013, vol II, 21–23 Oct 2013 (WCECS, San Francisco, 2013), pp. 1017–1021
A. Cheniguel, Numerical method for solving heat equation with derivative boundary conditions. Lect. Notes Eng. Comput. Sci. 2194(1), 983–985 (2011)
A. Cheniguel, A. Ayadi, Solving non homogeneous heat equation by the adomian decomposition method. Int. J. Numer. Methods Appl. 4(2), 89–97 (2010)
A. Cheniguel, A. Ayadi, Numerical method for non local problem. Sci. Technol. A-N30, 15–18 (2009)
S. Momani, Analytical approximate solution for fractional heat-like and wave-like equations with variable coefficients using the decomposition method. Appl. Math. Comput. 165(2), 459–472 (2005)
G. Ekolin, Finite difference methods for a non local boundary value problem for the heat equation. BIT 31, 245–261 (1991)
G. Adomian, A review of the decomposition method in applied mathematics. J. Math. Anal. Appl. 135, 501–544 (1988)
J.H. He, A coupling method of homotopy technique for non linear problems. Int. J. Non Linear Mech. 35, 37–43 (2000)
J.H. He, Homotopy perturbation method for solving boundary value problems. Phys. Lett. A 350, 87–88 (2006)
Damrongsak et al, Deferred correction technique to construct high-order schemes for the heat equation with Dirichlet and Neumann boundary conditions. Eng. Lett. 21(2), 61–67 (2013)
J.H. He, Homotopy perturbation technique. Comput. Methods Appl. Mech. Eng. 178(3/4), 257–262 (1999)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer Science+Business Media Dordrecht
About this chapter
Cite this chapter
Cheniguel, A. (2015). Analytic Method for Solving Heat and Heat-Like Equations with Classical and Non Local Boundary Conditions. In: Yang, GC., Ao, SI., Huang, X., Castillo, O. (eds) Transactions on Engineering Technologies. Springer, Dordrecht. https://doi.org/10.1007/978-94-017-9588-3_7
Download citation
DOI: https://doi.org/10.1007/978-94-017-9588-3_7
Published:
Publisher Name: Springer, Dordrecht
Print ISBN: 978-94-017-9587-6
Online ISBN: 978-94-017-9588-3
eBook Packages: EngineeringEngineering (R0)