Homotopy Analysis Method Solution to Time-Fractional Diffusion with a Moving Boundary

Abstract

It is difficult to obtain exact or analytical solutions to most moving boundary problems. In this paper, we employ the use of Homotopy Analysis Method (HAM) to solve a time-fractional diffusion equation with a moving boundary. HAM is a semi-analytic technique used to solve ordinary, partial, algebraic, delay and fractional differential equations. This method uses the concept of homotopy from topology to generate a convergent series solution for nonlinear systems. The homotopy Maclaurin series is utilized to deal with nonlinearities in the system.

Share and Cite:

Onyejekwe, O. (2025) Homotopy Analysis Method Solution to Time-Fractional Diffusion with a Moving Boundary. Journal of Applied Mathematics and Physics, 13, 2090-2096. doi: 10.4236/jamp.2025.136116.

1. Introduction

The moving boundary problem is unique because it is a special nonlinear problem whose analytic solution is difficult to obtain. A few numerical and semi analytic methods such as the Homotopy Perturbation Method (HPM), Adomian Decomposition Method (ADM) and Variational Iteration Method (VIM) [1]-[5], have been used to solve some moving boundary problems. In this paper we employ the use of Homotopy Analysis Method (HAM), HAM was first developed by Dr. Shijun Liao in 1992 [6] [7]. He introduced a convergent control parameter h which guarantees convergence for both linear and nonlinear equations. The advantage of using HAM is that we have the freedom to choose the initial guess u 0 ( x,τ ) and the value of the convergence control parameter h .

This paper is organized as follows; in Section 2 a short introduction to the mathematical model of drug release and the properties of the Caputo Fractional derivative operator is given. The governing equations to the problem are presented in Section 3. In Section 4, we introduce the HAM solution to the given mathematical model. The comparisons between the approximate and exact solutions are shown in Section 5. Finally, in Section 6, we provide a summary and conclusion to the proposed problem.

2. The Mathematical Model and its Parameters

We consider the model by Liu and Xu [4]. The concentration profile of the drug at time t is shown in Figure 1, where R is the scale of the polymer matrix. Each matrix consists of two regions; the surface zone, 0<ξ<p( t ) , in which all solute is dissolved, and the core, p( t )<ξ<R , where the undissolved solute is contained. The two zones are separated by the diffusion front x=p( t ) , which moves inward as time progresses. T 0 and T s are the initial concentration and the solubility of the drug in the tissue field respectively. In this paper, we will only consider the early stages of loss before the diffusion front moves to R and assume T 0 > T s . A condition of perfect sink is assumed.

Nomenclature

The parameters used in the governing equation are defined as follows:

p( t ) —diffusion front

T 0 —initial concentration of drug distributed in matrix

T s —solubility of drug in the matrix

T( ξ,t ) —concentration of the drug in the matrix

ϱ —diffusivity of drug in the matrix (assumed to be constant)

D 0 c t α —Caputo derivative

R —scale of the polymer matrix

Figure 1. Profile of concentration of drug in the matrix at time t.

3. The Governing Equation

The governing equation and the posed conditions are as follows:

D 0 c t α T( ξ,t )=ϱ T ξξ ( ξ,T ) (1)

with the initial condition

T( ξ,0 )=0 (2)

and the following boundary conditions

T( p( 1 ),1 )= k 2 ,T( p( t ),t )= T s ,t>0 (3)

p( 1 )= k 1 (4)

The values for p( 1 ) depends on the values of α and ϱ and can be found in the paper written by X.Li and M.Yu [4].

( T 0 T s ) D 0 c t α p( t )=ϱ T ξ ( ξ,t ),ξ=p( t ),t>0 (5)

D 0 c t α is defined as the Caputo derivative

D 0 c t α f( t )= 0 t ( tτ ) nα1 Γ( nα ) f ( n ) ( τ )dτ ,α>0 (6)

for n1<α<n,nN and Γ( . ) represents the Gamma function.

4. The HAM Solution to the Equations

The reduced dimensionless variables are defined as

x= ξ R ,τ= ( ϱ R 2 ) 1 α t,u= T T s ,P( τ )= p( t ) R (7)

The governing Equation (1) subjected to conditions (2)-(5) can be reduced to the dimensionless forms

D 0 c t α u( x,τ )= 2 u( x,τ ) x 2 ,0<x<P( τ ) (8)

u( 0,τ )=0 (9)

u( P( τ ),τ )=1,τ>0 (10)

u( x,τ ) x =η D 0 c t α P( τ ),x=P( τ ),τ>0 (11)

where η= T 0 T s T s .

To solve Equation (11) by homotopy analysis method (HAM), the initial guess for u( x,τ ) is chosen as

u 0 ( x,τ )= ( a 0 ) 1 x τ γ (12)

where a 0 = ( Γ( 1 α 2 ) ηΓ( 1+ α 2 ) ) 1 2 ,γ= α 2 .

The auxiliary linear operator is

[ ϕ( x,τ;q ) ]= ϕ xx ( x,τ ) (13)

with the property

[ c ]=0 (14)

where c is the integral constant, ϕ( x,τ;q ) is an unknown function.

The nonlinear operator is given as

Ν[ ϕ( x,τ;q ) ]= ϕ xx ( x,τ;q ) α ϕ( x,τ;q ) τ α (15)

By means of HAM, defined by S. Liao [8] [9], we construct a zeroth-order deformation

( 1q )[ ϕ( x,τ;q ) u 0 ( x,τ ) ]=qhΝ[ ϕ( x,τ;q ) ] (16)

where q[ 0,1 ] is the embedding parameter, h0 , is the convergence-control parameter and u 0 ( x,τ;q ) is the initial/best guess u 0 ( x,τ ) .

Expanding ϕ( x,τ;q ) in Taylor series with respect to q we obtain

ϕ( x,τ;q )= u 0 ( x,τ )+ m=1 u m ( x,τ ) q m (17)

Clearly, we see that when q=0 and q=1 respectively, Equation (17) becomes

ϕ( x,τ;0 )= u 0 ( x,τ ),ϕ( x,τ;1 )=u( x,τ ) (18)

If the auxiliary linear operator , the initial guess u 0 ( x,τ ) and the convergence-control parameter h are properly chosen so that the series described in equation (17) converges at q=1 , then u( x,τ ) will be one of the solutions of the problem we have considered.

Using the following property

u m ( x,τ )= 1 m! m x m ϕ( x,τ;q )| q=0 (18)

On Equation (16), we obtain an mth-order deformation equation

[ u m ( x,τ ) χ m u m1 ( x,τ ) ]=h V m [ u m1 ( x,τ ) ] (19)

where

χ m ={ 0,m1 1,m>1

and

V m [ u m1 ( x,τ ) ]= 2 u m1 ( x,τ ) x 2 α u m1 ( x,τ ) τ α (20)

We have

u m ( x,τ )= χ m u m1 ( x,τ )+h 1 V m [ u m1 ( x,τ ) ]+ c 1 (21)

and the integration constant c 1 is determined by the boundary condition given in Equation (10).

Looking at Equation (21), the values for u m ( x,τ ) for m=1,2,3, can be obtained and the series solution obtained.

The approximate analytic solution is gained by truncating the following series

u( x,τ )= i=0 m u i ( x,τ ) (22)

Equation (22) contains the convergence-control parameter h , which determines the convergence region and convergence rate of the homotopy-series solution.

In this paper, the convergence-control parameter h is obtained by setting u ( P( 1 ),1 ) exact =u ( P( 1 ),1 ) HAM unlike other papers [8] [9] where h is determined by the minimum of residual square of the original governing equation. The approximation for the diffusion front u ( P( τ ),τ ) HAM =1 .

5. Comparison and Analysis of Results

The exact solutions for u( x,τ ) and P( τ ) [2] [3] respectively are given as follows

u( x,τ )=H n=0 ( x τ α/2 ) 2n+1 ( 2n+1 )!Γ( 1 2n+1 2 α ) (23)

where the values for H are calculated from the following equation

H= ( Γ( 1 α 2 ) ηΓ( 1+ α 2 ) ) 1 2 ( Γ( 1 α 2 ) ) (24)

P( τ )= p ¯ τ α/2 (25)

In which p ¯ and H satisfy the following

H n=0 ( p ¯ ) 2n+1 ( 2n+1 )!Γ( 1 2n+1 2 α ) =1 (26)

and

H n=0 ( p ¯ ) 2n ( 2n )!Γ( 1 2n+1 2 α ) = p ¯ η( Γ( 1+ α 2 ) Γ( 1 α 2 ) ) (27)

To evaluate the accuracy of HAM, the Error Analysis is shown for both u( x,τ ) and P( τ ) respectively. It can be observed that u( x,τ ) and P( τ ) are most accurate when α=0.75 . The values of both Table 1, and Table 2 are not affected by the values of x and τ . When looking at Table 2, we see that for any value of α the Relative Error (RE) decreases as η increases.

Table 1. Error analysis for u( x,τ ) for x0,τ0 and η>0 where h=5× 10 5 .

α

Relative Error (RE)

0.5

0.0514

0.75

0.0295

1

0.0839

Table 2. Error analysis for P( τ ) for τ0 where h=5× 10 5 .

η

 α=0.5

Relative Error (RE)

α=0.75

Relative Error (RE)

α=1.0

Relative Error (RE)

0.5

0.1000

0.1080

0.2490

1

0.0640

0.0505

0.1403

3

0.0243

0.0156

0.0519

5

0.0150

0.0089

0.0319

7

0.0110

0.0064

0.0230

9

0.0085

0.0049

0.0179

5. Conclusion

We have shown that when the initial value for u 0 ( x,τ ) is well chosen, Homotopy Analysis Method (HAM) can be used to accurately predict drug distribution u( x,τ ) for different values of α and η . Computational efficiency and a strong rate of convergence can be observed.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Zheng, M., Liu, F., Liu, Q., Burrage, K. and Simpson, M.J. (2017) Numerical Solution of the Time Fractional Reaction-Diffusion Equation with a Moving Boundary. Journal of Computational Physics, 338, 493-510.[CrossRef
[2] Das, S. and Rajeev (2010) Solution of Fractional Diffusion Equation with a Moving Boundary Condition by Variational Iteration Method and Adomian Decomposition Method. Zeitschrift für Naturforschung, 65, 793-799.
[3] Gao, X.L., Jiang, X.Y. and Chen, S.Z. (2015) The Numerical Method for the Moving Boundary Problem with Space-Fractional Derivative in Drug Release Devises. Applied Mathematical Modelling, 39, 2385-2391.
[4] Li, X.C., Xu, M.Y. and Jiang, X.Y. (2009) Homotopy Perturbation Method of Time-Fractional Diffusion Equation with a Moving Boundary Condition. Applied Mathematics and Computation, 208, 434-439.
[5] Li, X., Wang, S. and Zhao, M. (2013) Two Methods to Solve a Fractional Single Phase Moving Boundary Problem. Central European Journal of Physics, 11, 1387-1391.
[6] Liao, S. (2012) Homotopy Analysis Method in Nonlinear Equations. Springer.
[7] Liao, S. (2014) Advances in the Homotopy Analysis Method. World Scientific.
[8] Kumar, A. and Rajeev (2020) A Moving Boundary Problem with Space-Fractional Diffusion Logistic Population Model and Density-Dependent Dispersal Rate. Applied Mathematical Modelling, 88, 951-965.[CrossRef
[9] Chmielowska, A. and Słota, D. (2022) Fractional Stefan Problem Solving by the Alternating Phase Truncation Method. Symmetry, 14, Article No. 2287.[CrossRef

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.