Journal of Applied Mathematics

Volume 2014 (2014), Article ID 391606, 6 pages

http://dx.doi.org/10.1155/2014/391606

## Approximate Analytic Solutions for the Two-Phase Stefan Problem Using the Adomian Decomposition Method

^{1}College of Mathematics, Taiyuan University of Technology, Taiyuan, Shanxi 030024, China^{2}College of Computer Science and Technology, Taiyuan University of Technology, Taiyuan, Shanxi 030024, China^{3}Department of Mathematics, Xin Zhou Teachers University, Xinzhou, Shanxi 034000, China

Received 22 January 2014; Accepted 3 June 2014; Published 18 June 2014

Academic Editor: Abdel-Maksoud A. Soliman

Copyright © 2014 Xiao-Ying Qin et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

An Adomian decomposition method (ADM) is applied to solve a two-phase Stefan problem that describes the pure metal solidification process. In contrast to traditional analytical methods, ADM avoids complex mathematical derivations and does not require coordinate transformation for elimination of the unknown moving boundary. Based on polynomial approximations for some known and unknown boundary functions, approximate analytic solutions for the model with undetermined coefficients are obtained using ADM. Substitution of these expressions into other equations and boundary conditions of the model generates some function identities with the undetermined coefficients. By determining these coefficients, approximate analytic solutions for the model are obtained. A concrete example of the solution shows that this method can easily be implemented in MATLAB and has a fast convergence rate. This is an efficient method for finding approximate analytic solutions for the Stefan and the inverse Stefan problems.

#### 1. Introduction

Problems in which the solution of a partial differential equation (PDE) or a system of such equations has to satisfy certain conditions on the boundary of a prescribed domain are referred to as boundary value problems. However, in many important cases, the boundary of the domain is not known in advance. As the spatial location of the unknown boundary is determined as a function of time, we call these moving-boundary problems, special case of which is the Stefan problem [1, 2]. Many problems in physics and engineering can be modeled by the Stefan problems, such as melting of ice and alloy solidification [1], fluid-solid uncatalyzed reactions in chemical engineering [3], and lithium intercalation in an iron phosphate particle during discharge of lithium iron phosphate cells [4].

A variety of analytical and numerical methods have been used to solve moving-boundary problems, including Green’s function method [5], the perturbation analysis method [6], the level set method [7], the variational iteration method [8], the finite difference method [9], and the moving mesh, finite element method [10, 11]. However, these analytical methods are often complicated and very few analytic solutions are available in closed form. Numerical methods cannot provide an analytical expression of the solution and the precision is often not high. Identification of approximate analytic solutions with higher precision for moving-boundary problems may be a good option.

Adomian decomposition method (ADM), developed by Adomian [12], has been widely applied to solve various types of equations involving algebraic, differential, partial differential, integral, and integro-differential operations [12–23]. ADM is an efficient method for solving PDEs and systems thereof with various types of boundary conditions. This method involves mathematical derivation and numerical operations. Using ADM, we can decompose the task of solving a PDE into a series of subtasks that can easily be carried out using computation software such as MATLAB. Thus, the overall solution of the PDE can be obtained.

#### 2. The Two-Phase Stefan Problem

Solidification of a pure metal can be modeled as a two-phase Stefan problem [1, 2, 18, 24], which is a system of ordinary PDEs with an unknown moving boundary. The temperature distribution in the metal liquid phase, , and the solid phase, , and the moving interface at which solidification occurs, , are unknown functions for the model. Functions and satisfy the following heat conduction equations (Figure 1): where and are thermal diffusivity in liquid and solid phases, respectively, and and correspond to the liquid- and solid-phase domains and , respectively, subject to the initial and boundary conditions where is the initial -coordinate of the moving boundary, is the coefficient of convective heat transfer, is the ambient temperature, and and are thermal conductivity. The moving boundary is determined by The two-phase Stefan problem is modeled by (1)–(7). To use (7) conveniently, we rewrite them as

#### 3. Approximate Analytic Solutions by ADM

To solve the Stefan problem, coordinate transformation is often used to eliminate the unknown boundary. Grzymkowski and colleagues used the Landau transformation to immobilize the boundaries of model (1)–(7) [18]. However, after transformation, the equations and initial boundary conditions for the model become very complicated and may lead to new difficulties in solving the model. In the present study, we avoid using coordinate transformation to solve the model and the task is instead divided into four steps. First, we substitute the Taylor polynomial of for in (5) and substitute polynomials with undetermined coefficients for the unknown , , and . Second, we find expressions for approximate analytic solutions of (1) and (2) with the unknown parameters using ADM. Third, we substitute the approximate expressions into (6) and (8) to generate a nonlinear algebraic equation system. Fourth, we solve this system of equations to determine the values of the unknown parameters and the approximate analytic solutions of the model.

In operator form, (1) and (2) can be written as where and are linear operators defined as and . The variation of the two phase temperatures and depends largely on heat transfer at the boundaries and . Therefore, we solve and using boundary conditions (5) and (6) and regard the initial conditions (3) and (4) as reference conditions [21]. To obtain solutions satisfying (1), (2), (5), and (6), the -direction is chosen as the search direction and the inverse operators in (9) and (10) are defined as follows:

Applying the inverse operators and to both sides of (9) and (10), respectively, yields where , , , and are undetermined functions. Taking partial derivatives with respect to on both sides of (12) and using the boundary condition (5) yield Letting on both sides of (12) yields Similarly, we can obtain , , and are unknown functions. To implement the recursive operation in ADM, we assume that , , , and are smooth enough on the interval so that , , , and can be approximated by polynomials. Substituting the polynomials , , , and of degree for , , , and in turn in (12) and (13) yields Letting and on both sides of (17) yields Letting and on both sides of (18) yields Taking partial derivatives with respect to on both sides of (18) and then letting and yield Letting on both sides of (6) yields According to (20), (21), and (22) we can obtain The other coefficients of the polynomials , , and are undetermined constants. According to ADM, we can decompose the unknown functions and into infinite series forms: Substituting (24) and (25) into (17) and (18), respectively, and choosing the initial items and yield the following recursive relations: where . This leads to the following successive components:

For subsequent numerical computation, let the expressions denote the approximation to and , respectively. Substituting and in (31) for and in (6) and (8) yields There are many methods for determining the unknown numbers , , and to satisfy (32)–(37). For instance, we can choose different () and substitute these into (32), (35), (36), and (37) to generate the equations where . Then (33), (34), and (38) constitute a system of nonlinear equations in unknowns, , , , and , and equations. Solving this system, we can obtain the least-squares solutions of the system. Then substituting the known numbers , , and into (31), we can obtain the approximate analytic solutions and and the equation , which determines the moving boundary in the form of an implicit function.

#### 4. Computation Using MATLAB

To solve the two-phase Stefan problem (1)–(7), we decompose the operation into a series of suboperations including expansion of functions into the Taylor series, differentiation, integration, substitution, and solution of a system of nonlinear equations. These suboperations are easily implemented using computing software; we chose MATLAB as the tool for mathematical operations.

To show how to implement the operations in Section 3, a concrete two-phase Stefan problem [18] is solved in which the parameters , , , , , , , , , and are assumed. The functions for the initial and boundary conditions are as follows: Accordingly, the exact solutions of the model (1)–(7) are , , and .

Using (19), (20), (23), (39), (40), and (42), we obtain , , and . The choice of polynomial degree in (17) and (18) is important for solving the model. If is too small, the precision of and will not be high; if is too large, solving the nonlinear system of equations constituted by (33), (34), and (38) will be difficult. Considering these two factors, we choose . According to (12), (14), (17), and (41), we choose the sixth-order Taylor approximation to as . Computing the expansion using the MATLAB function taylor( ) yields The recursive operation in (28) and (29) contains differential and integral polynomials that can easily be obtained using the MATLAB functions diff( ) and int( ). Thus, and in (31) were determined. Taking , , , , , and in the interval and using the MATLAB functions diff( ) and subs( ), we can obtain the following algebraic system of equations: which is determined by (33), (34), and (38).

Solving (44) yields Then the expressions for and are known. These expressions are very long so we do not explicitly present them here and instead we show only plots of the absolute error functions and .

As shown in Figures 2 and 3, the accuracy of the approximate analytic solutions and is of the order of at least . This will result in the same high accuracy for the approximate solution for the moving boundary as that determined by the implicit function .

#### 5. Conclusion

When the solutions and boundary condition functions for PDEs and systems thereof are smooth enough, they can be approximated by polynomials. Therefore, only differential, integral, and substitution operations for polynomials and other simple elementary functions are required to identify expressions for the approximate analytic solutions of equations or a system of equations using ADM. To find solutions satisfying all the given equations and conditions for a Stefan problem, we need to solve a nonlinear system of equations. This is like solving a PDE using finite element and finite difference methods. However, compared to these traditional methods, the proposed approach has faster convergence and higher-order accuracy and can give approximate expressions for solutions. This is an efficient method for finding approximate analytic solutions for the Stefan problems using scientific software.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- J. Crank,
*Free and Moving Boundary Problems*, Clarendon Press, Oxford, UK, 1984. View at MathSciNet - A. M. Meirmanov,
*The Stefan Problem*, Walter de Gruyter, Berlin, Germany, 1992. View at Publisher · View at Google Scholar · View at MathSciNet - O. Levenspiel,
*Chemical Reaction Engineering*, John Wiley & Sons, New York, NY, USA, 3rd edition, 1999. - V. Srinivasan and J. Newman, “Discharge model for the lithium iron-phosphate electrode,”
*Journal of the Electrochemical Society*, vol. 151, no. 10, pp. A1517–A1529, 2004. View at Publisher · View at Google Scholar · View at Scopus - L. N. Tao, “A method for solving moving boundary problems,”
*SIAM Journal on Applied Mathematics*, vol. 46, no. 2, pp. 254–264, 1986. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - G. F. Carey and P. Murray, “Perturbation analysis of the shrinking core,”
*Chemical Engineering Science*, vol. 44, no. 4, pp. 979–983, 1989. View at Google Scholar · View at Scopus - S. Chen, B. Merriman, S. Osher, and P. Smereka, “A simple level set method for solving Stefan problems,”
*Journal of Computational Physics*, vol. 135, no. 1, pp. 8–29, 1997. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - D. Słota, “Direct and inverse one-phase Stefan problem solved by the variational iteration method,”
*Computers & Mathematics with Applications*, vol. 54, no. 7-8, pp. 1139–1146, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - F. Gibou and R. Fedkiw, “A fourth order accurate discretization for the Laplace and heat equations on arbitrary domains, with applications to the Stefan problem,”
*Journal of Computational Physics*, vol. 202, no. 2, pp. 577–601, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - R. H. Nochetto, M. Paolini, and C. Verdi, “An adaptive finite element method for two-phase Stefan problems in two space dimensions. I: stability and error estimates,”
*Mathematics of Computation*, vol. 57, no. 195, pp. 73–108, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - R. Robalo, C. A. Sereno, M. C. Coimbra, and A. E. Rodrigues, “The numerical solution for moving boundary problem using the moving finite element method,” in
*Proceedings of the European Symposium on Computer Aided Process Engineering*, Elsevier Science, 2005. - G. Adomian,
*Solving Frontier Problems of Physics: The Decomposition Method*, vol. 60 of*Fundamental Theories of Physics*, Kluwer Academic Publishers, Dodrecht, The Netherlands, 1994. View at Publisher · View at Google Scholar · View at MathSciNet - G. Adomian, “Solution of coupled nonlinear partial differential equations by decomposition,”
*Computers & Mathematics with Applications*, vol. 31, no. 6, pp. 117–120, 1996. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - L. Bougoffa, “Adomian method for a class of hyperbolic equations with an integral condition,”
*Applied Mathematics and Computation*, vol. 177, no. 2, pp. 545–552, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J.-S. Duan and R. Rach, “A new modification of the Adomian decomposition method for solving boundary value problems for higher order nonlinear differential equations,”
*Applied Mathematics and Computation*, vol. 218, no. 8, pp. 4090–4118, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J.-S. Duan and R. Rach, “New higher-order numerical one-step methods based on the Adomian and the modified decomposition methods,”
*Applied Mathematics and Computation*, vol. 218, no. 6, pp. 2810–2828, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. M. El-Sayed, “The modified decomposition method for solving nonlinear algebraic equations,”
*Applied Mathematics and Computation*, vol. 132, no. 2-3, pp. 589–597, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - R. Grzymkowski, M. Pleszczyński, and D. Słota, “The two-phase Stefan problem solved by the Adomian decomposition method,” in
*Proceedings of the 15th IASTED International Conference on Applied Simulation and Modelling*, pp. 511–516, Rhodes, Greece, June 2006. View at Scopus - R. Grzymkowski and D. Słota, “Stefan problem solved by Adomian decomposition method,”
*International Journal of Computer Mathematics*, vol. 82, no. 7, pp. 851–856, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - X. Y. Qin and Y. P. Sun, “Approximate analytic solutions for a two-dimensional mathematical model of a packed-bed electrode using the Adomian decomposition method,”
*Applied Mathematics and Computation*, vol. 215, no. 1, pp. 270–275, 2009. View at Publisher · View at Google Scholar · View at MathSciNet - X. Y. Qin and Y. P. Sun, “Approximate analytical solutions for a mathematical model of a tubular packed-bed catalytic reactor using an Adomian decomposition method,”
*Applied Mathematics and Computation*, vol. 218, no. 5, pp. 1990–1996, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - X. Y. Qin and Y. P. Sun, “Approximate analytical solutions for a shrinking core model for the discharge of a lithium iron-phosphate electrode by the Adomian decomposition method,”
*Applied Mathematics and Computation*, vol. 230, pp. 267–275, 2014. View at Publisher · View at Google Scholar - A.-M. Wazwaz,
*Partial Differential Equations and Solitary Waves Theory*, Nonlinear Physical Science, Springer, Berlin, Germany, 2009. View at Publisher · View at Google Scholar · View at MathSciNet - S. Das and Rajeev, “An approximate analytical solution of one-dimensional phase change problems in a finite domain,”
*Applied Mathematics and Computation*, vol. 217, no. 13, pp. 6040–6046, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet