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 [1223]. 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.