Abstract
Fixed and moving boundary problems for the one-dimensional heat equation are considered. A unified approach to solving such problems is proposed by embedding a given initial-boundary value problem into an appropriate initial value problem on the real line with arbitrary but given functions, whose solution is known. These arbitrary functions are determined by imposing that the solution of the initial value problem satisfies the given boundary conditions. Exact analytical solutions of some moving boundary problems that have not been previously obtained are provided. Moreover, examples of fixed boundary problems over semi-infinite and bounded intervals are given, thus providing an alternative approach to the usual methods of solution.
1. Introduction
Moving boundary problems occur in numerous important areas of science and engineering [1,2,3]. Recent applications of such problems include modelling biological and tumour invasions [4,5,6,7], drug delivery [8] and melting of crystal dendrite [9]. The classical one-dimensional Stefan problem is the canonical moving boundary problem which was introduced by J. Stefan, a Slovenian physicist, in a series of four papers to model the melting of ice and to calculate the moving boundary where the phase transition from water to ice occurs; see Vuik [10] for some historical notes. Since Stefan’s seminal work, there has been extensive research on moving boundary problems in a wide variety of areas. We refer the reader to the books by Gupta [11], Hill [12] and Crank [1], as well as to the comprehensive references therein.
There are many numerical and approximate analytical methods which can be employed to solve moving boundary problems. A comparison of different numerical methods for moving boundary problems was done by Furzeland [13]. One approximate analytical method for one-dimensional Stefan problems is the so-called heat balance integral method (HBIM). This method was first introduced by Goodman [14,15], and which in turn was adapted from the Kármán–Pohlhausen integral method for the study of boundary layers. Schlichting and Gersten’s book [16] contains a translation of Kármán and Pohlhausen’s work. Other approximate analytical methods for one-dimensional Stefan problems include the refined integral method (RIM) [12,17] and the combined integral method (CIM) [18].
Exact analytical solutions for some one-dimensional Stefan problems are reviewed in [1,12], for example. These are typically similarity solutions where the moving boundary varies as the square root of time. However, in general, such solutions have remained stubbornly difficult to obtain mainly because the moving boundary makes the problem nonlinear even if the underlying system is linear. This means that the standard methods for constructing exact analytical solutions via Green’s functions or integral transforms such as those by Fourier or Laplace, amongst others, are usually not applicable to moving boundary problems. It should be noted that exact analytical solutions, while difficult to obtain, are also useful beyond the simple problem they solve since they are key to the validation of numerical or other approximate analytical methods [18,19,20].
On the other hand, the solution of an initial-boundary value problem (IBVP) for the one-dimensional heat equation with fixed boundaries can in many cases be done using (i) separation of variables when the domain is bounded or (ii) integral transforms when the domain is unbounded. However, with non-homogeneous boundary conditions (BCs), the above two methods are generally not applicable directly.
The goal of this article is to propose a unified approach to the solution of the one-dimensional heat equation with either a fixed boundary or a moving boundary. The main idea is to embed the partial differential equation (PDE) and the initial condition of the original IBVP into a new initial value problem (IVP) whose spatial domain is all of but with arbitrary unknown functions. For this new problem, the well-known formula for the IVP of a non-homogeneous heat equation in is used. Then, the BCs of the original IBVP are imposed to determine the unknown functions. It should be noted that well-posedness of the moving boundary problem is an important issue but is outside the scope of this work. Instead, here we focus on deriving the formal solution of such a problem and give several interesting applications.
This article is organised as follows. In Section 2, we explain the proposed method as outlined above. Then, in Section 3, we illustrate the method with four examples of IBVPs with fixed boundaries on semi-infinite and bounded domains. Section 4 illustrates the method with two examples of Stefan problems. A brief discussion and conclusion are given in Section 5.
2. Analytical Method
Consider the IBVP
The parameter is the diffusion coefficient and a, b, c and d are constants such that
The functions and depend on t in general while the initial distribution is a function of x.
We can embed the PDE and initial condition of (1) into the IVP
where for all and . More specifically, let
where H is the usual Heaviside function (i.e., if and if ) and are functions to be determined so as to satisfy the BCs in (1). Moreover, is an extension of in the sense that .
It is well known [21] that the formal solution of the IVP (2) can be expressed as
where G is the heat kernel (or Green’s function)
Using (3), and assuming for simplicity that depend on t but not on x, we obtain
Direct calculations yield
and
Letting
we have
and
where erfc is the complementary error function with properties
Note also that and . Thus, (5) becomes
Hence, a function u that satisfies the PDE and initial condition of the IBVP (1) is
where is a function such that . Note that have yet to be determined. This is where the third and fourth equations in (1) will be needed.
Next, we consider the BCs in (1). It is straightforward using (6) that
Differentiating (7) with respect to x gives
Substituting the expressions for and into the BCs in (1), we have
and
Equations (8) and (9) form a pair of coupled linear Volterra integral equations for the time-dependent functions , which cannot be solved analytically in general. Hence, the formal solution of the IBVP (1) is given by (7)–(9).
Remark 1.
Remark 2.
A particular case of (1) is a fixed boundary problem when and are both constants. Then, (8) and (9) simplify to
and
respectively, where
If we take the Laplace transforms of (10) and (11), and use the convolution property and the properties in (A1) (note that in the following, the formulas (A1), (A2) and (A3) can be found in Appendix A), we obtain
respectively, where and denote the Laplace transforms of and , respectively. This is a linear algebraic system for , which can be solved explicitly. However, the analytical Laplace inversion to get is not going to be straightforward in the general case. Nevertheless, in the next section, we shall illustrate how this can be done in some cases.
3. Examples: Fixed Boundary Problems
Here, we give illustrative examples of fixed boundary problems for semi-infinite and finite intervals. We remark that these examples are meant to give an alternative derivation of the solutions and, more importantly, to show how fixed and moving boundary problems can both be treated as special cases of our embedding method.
Example 1.
Consider the IBVP
Example 2.
Next, we look at the IBVP
This is an example of a fixed boundary problem with a constant flux BC. In this case, we have
and
Take for all ; hence . As in Example 1, Equation (7) implies (15) and (16). Here, and from (12). Then, (13) becomes
Hence, using (A1), we deduce that
Equation (16) can be rewritten as
However,
so that (A1) implies
Since
from (A1), we see that
Taking the inverse Laplace transform of both sides finally gives
as the solution of the IBVP (18). With a slight modification of the BC from to , we can recover the exact solution given in [22] (p. 130) for the temperature during the pre-ablation stage for one-dimensional ablation; see also Example 6 below.
Example 3.
Suppose that we have the IBVP
This is an example of a fixed boundary problem with a Newton cooling-type BC. We identify
and
Let for all . We see that . Similar to Examples 1 and 2, Equation (7) implies (15) and (16). We have that and from (12). Then, (13) simplifies to
It is clear that . Taking and in (A2), we have
Hence,
Example 4.
In the previous examples, we considered semi-infinite domains. Here, we look at a finite domain. Consider the IBVP
where we have homogeneous Dirichlet BCs. Homogeneous Neumann BCs are treated similarly. We identify
and
Let be such that and otherwise. Equation (7) gives
Equation (12) yields
with corresponding Laplace transforms
with the help of (A1). The linear algebraic system (13) for this problem is
whose solution is
The following lemma is a useful calculation; see Appendix B for the proof.
Lemma 1.
Equation (24) is equivalent to , where
It was shown by Rodrigo and Worthy [23] that the inverse Laplace transform of (25) is
Thus, from Lemma 1, we deduce that , i.e.,
and we recover the well-known solution of the IBVP (22) using separation of variables and the theory of Fourier series. Equation (26) is useful for large times since the series can be truncated to a small number of terms because of the exponentially decaying factors, whereas (23) can be useful for small times and does not require any truncation since it is not in series form.
4. Examples: Moving Boundary Problems
In this section, we investigate some moving boundary problems using the same methodology as for fixed boundary problems. Note, however, that, in these problems, the boundary function (not to be confused with the Laplace transform parameter) is to be determined together with .
Example 5.
Consider the Stefan problem
where and are given. We wish to determine and that satisfy (27) and also the interface condition
for some suitable univariate function F for instance. Following our previous notation, we have
Then, (7) yields
As is unspecified, we choose such that . The left BC (8) is
while the right BC (9) is
Moreover, from (29), we have
The interface condition is such that
Hence, (28), (30) and (31) provide the determining equations for the time-varying functions and s. Once and s have been determined, u can be calculated from (29), thus obtaining the (formal) exact analytical solution of the Stefan problem (27) and (28).
In general, Equations (28), (30) and (31) have to be solved numerically. However, we can solve these integral equations analytically for a well-known special case, as we now show. In the classical one-phase Stefan problem (27) and (28), let , , and
Suppose that , a constant. Take for all , which satisfies . Furthermore, take , where α is some constant to be determined and δ is the Dirac delta function, and . From (29), we obtain
Equation (30) simplifies to , while (28) and (31) yield
respectively. Differentiating the first equation in (33) with respect to t gives
A solution to this latter ordinary differential equation is for some positive constant β. Substituting this into the equations in (33), we see that β satisfies the relations
Thus, β must satisfy the transcendental equation
Example 6.
Consider a Stefan problem involving a single-phase, semi-infinite, subcooled material. An application arises when determining whether ice melts or water freezes when hot water is thrown over cold ice [24]. This can be formulated as a Stefan problem involving a constant heat source term in the condition at the moving boundary [25]. A related industrial process is known as ablation, where a mass is removed from an object by vapourisation or other similar erosive processes [22,26]. The dimensionless model [20] is given by
We want to find and that solve (35) and satisfy the interface condition
where r is a given positive constant. To our knowledge, the exact analytical solution to this Stefan problem is not known. We identify
and
Choose for , so that . Equation (7) yields
5. Discussion and Conclusions
In this article, we proposed a unified approach to solving IBVPs with fixed or moving boundaries. For fixed boundaries, we showed through four examples how the same method is able to handle semi-infinite and bounded intervals. By comparison, IBVPs over semi-infinite and finite intervals are usually solved using separation of variables and integral transforms, respectively. We also derived exact analytical solutions to two examples of physically motivated moving boundary problems. The solutions involved time-varying functions that satisfy exact integral equations which in principle can be evaluated numerically, if not analytically. One possible numerical implementation is to adapt the procedure proposed by Guardasoni, Rodrigo and Sanfelici [27] for solving a Volterra integral equation of the first kind to systems of such integral equations. For instance, in current work by the authors of the present article, we consider the dynamics of outgrowth in a continuum model of neurite elongation and compare the exact analytical solution obtained from the embedding approach and the numerical solution obtained by solving the associated integral equations. As mentioned previously, the exact solution is “formal” in the sense that we assume that the moving boundary problem is well-posed. For example, sufficient hypotheses on the functions , and F have to be given to ensure that (28), (30) and (31) have a unique (possibly weak) solution.
The embedding approach was introduced by Rodrigo [28] in the context of pricing American put and call options, which leads to a moving boundary problem. It was later applied to fixed boundary problems by Guardasoni, Rodrigo and Sanfelici [27], i.e., for pricing single and double barrier options. In both cases, the underlying equation is the Black–Scholes PDE. A follow-up to the current article is a unified approach to fixed and moving boundary problems for the Black–Scholes PDE. This would yield, in one go, pricing formulas for a variety of financial derivatives, not only American and barrier options. Although the Black–Scholes PDE can be transformed to the heat equation, the transformed initial condition and BCs are usually complicated. Hence, it is more convenient to embed into a final value problem of a non-homogeneous Black–Scholes PDE (instead of an IVP for a non-homogeneous heat equation) and use the Mellin transform techniques developed in [27,28,29,30,31,32].
Two-phase Stefan problems can also be handled with the embedding approach. For example, with a straightforward generalisation of the notation in Example 5, consider the moving boundary value problem where
describes the evolution of , while
describes the evolution of . Suppose that for continuity at the interface . Moreover, the interface condition has the form
for some suitable bivariate function F. For example, let and represent the temperatures for ice and water at position x and at time t, respectively. Then, is the location of the unknown boundary between the two phases. A typical choice for F is
where is the latent heat of fusion times the density divided by the coefficient of heat conduction [33]. For an arbitrary function , we can use (7)–(9) to write down expressions for and that depend on the unknown function s. These expressions for and are then substituted into (40) to obtain an integro-differential equation involving only . This would complete the specification of the (formal) exact analytical solution of the two-phase Stefan problem (38)–(40).
Our method can be adapted to other PDEs as well. For instance, suppose that we modify the PDE in (1) by including advection and reaction terms of the form
where are constants and the same initial and boundary conditions in (1) are specified. Then, with the change of variable
we obtain the heat (or diffusion) equation
Similar initial and boundary conditions for w can also be deduced from the other equations in (1), with adjustments to the functions and . The results of this article can then be used directly.
The embedding approach given here can also be applied to IBVPs for the wave equation
where c is a nonzero constant and (two) initial conditions and BCs analogous to those in (1) are given. We can embed the IBVP into an IVP for a non-homogeneous wave equation defined on but with arbitrary time-dependent functions. Then, d’Alembert’s solution together with Duhamel’s principle can be used to solve the IVP. As before, the arbitrary functions are then determined by imposing the BCs.
A multilayer diffusion problem was studied in [23] by reformulating it as a sequence of one-layer diffusion problems with arbitrary time-dependent functions. Hence, the crucial step is to solve a one-layer diffusion problem, which is of the form (1). Thus, instead of the more involved Laplace transform approach used for (1) in [23], the solution of the one-layer problem given in (7)–(9) is much easier to derive compared to that given in [23] (Equation (3.22)). In Example 4, we showed the equivalence of the two formulas in the case of homogeneous Dirichlet BCs through (25).
It was mentioned in the Introduction that there are several approximate analytical techniques for one-dimensional Stefan problems (e.g., HBIM, RIM and CIM), all of which are based on the Kármán–Pohlhausen integral method for boundary layers. The basic idea of these approximate analytical methods is to assume in Example 5 that u is some convenient function of s (e.g., is a quadratic expression in x with time-dependent coefficients that depend on ) and that it satisfies a weak form of the IVBP. It is conceivable that the above approximate analytical techniques could be combined with the embedding approach. Indeed, u in (29) already identically satisfies the PDE (and not just its weak form) and initial condition in (5) exactly for any and s. Hence, instead of “guessing” the forms of u and s as in the HBIM, RIM and CIM, we may instead attempt to “guess” the approximate functional forms of s and the auxiliary functions in (28), (30) and (31).
Finally, our embedding approach should also work for IBVPs for the higher dimensional heat (or diffusion) equation
where is some domain in with a sufficiently smooth boundary with conditions specified there. The analogous IVP to (2) is
where is an extension of (i.e., for ) and is an arbitrary function such that for and . The solution v of the above IVP is of course well known and is the higher dimensional analogue of (4). Then, f is determined in such a way that the boundary conditions for u are satisfied. Multilayer diffusion problems in higher dimensions can also be considered. The embedding approach is more straightforwardly adapted compared to the Laplace transform approach followed in [23], which was specific to a one-dimensional diffusion equation.
As can be seen in the discussion here, there are many potential extensions and applications of the embedding method proposed in this article. These are currently works in progress by the first author.
In summary, there are very limited known analytical solutions to Stefan problems and existing closed-form solutions strongly depend on prescribed initial and boundary conditions. As such, numerical simulations are mainly used for the study of moving boundary problems, both for linear and nonlinear equations [4,5,6,7,8,9,34,35,36]. However, a recent study adopted a deep neural network approach to solve Stefan problems [37]. The present article aims to provide a new method to solve one-dimensional Stefan problems for the linear heat equation analytically. This also includes the case where there are advection and reaction terms. Through our embedding method, we obtained a new exact solution to a Stefan problem involving a single-phase, semi-infinite, subcooled material. The exact solution (29) of the Stefan problem considered in Example 5 has also not been obtained previously with this generality. Exact solutions of two-phase Stefan problems can also be found with our approach. This theoretical progress for Stefan problems is a critical step to benchmark numerical results and to further our understanding of the mechanics of melting problems.
Author Contributions
Conceptualization, M.R.R.; methodology, M.R.R.; validation, M.R.R. and N.T.; formal analysis, M.R.R.; investigation, M.R.R.; resources, M.R.R. and N.T.; writing—original draft preparation, M.R.R. and N.T.; writing—review and editing, M.R.R. and N.T.; project administration, M.R.R.; funding acquisition, N.T. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Australian Research Council Discovery Project (DP) 170102705.
Acknowledgments
M.R.R. is grateful for the hospitality of the School of Mathematical and Physical Sciences, University of Newcastle during his two visits, which were supported by N.T.’s Startup Fund. N.T. is also grateful for the support of the Australian Research Council through funding of a Discovery Project (DP) 170102705.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. Useful Laplace Transform Formulas
We recall here for the convenience of the reader some useful formulas for Laplace transforms found in [38] (Appendix B). Let . Then,
References
- Crank, J. Free and Moving Boundary Problems; Clarendon: Oxford, UK, 1984. [Google Scholar]
- Crank, J.; Gupta, R.S. A moving boundary problem arising from the diffusion of oxygen in absorbing tissue. J. Inst. Math. Appl. 1972, 10, 19–33. [Google Scholar] [CrossRef]
- Sherman, B. A general one-phase Stefan problem. Q. Appl. Math. 1970, 28, 377–382. [Google Scholar] [CrossRef]
- El-Hachem, M.; McCue, S.W.; Jin, W.; Du, Y.; Simpson, M.J. Revisiting the Fisher-Kolmogorov-Petrovsky-Piskunov equation to interpret the spreading-extinction dichotomy. Proc. R. Soc. A 2019, 475, 20190378. [Google Scholar] [CrossRef]
- El-Hachem, M.; McCue, S.W.; Simpson, M.J. A sharp-front moving boundary model for malignant invasion. Phys. D Nonlinear Phenom. 2020, 412, 132639. [Google Scholar] [CrossRef]
- El-Hachem, M.; McCue, S.W.; Simpson, M.J. Invading and receding sharp–fronted travelling waves. arXiv 2021, arXiv:2008.00662. [Google Scholar]
- McCue, S.W.; El-Hachem, M.; Simpson, M.J. Exact sharp-fronted travelling wave solutions of the Fisher-KPP equation. Appl. Math. Lett. 2021, 114, 106918. [Google Scholar] [CrossRef]
- Saudi, M.H.; Mahali, S.M.; Harun, F.N. The analytical solution for drug delivery system with non-homogeneous moving boundary condition. AIP Conf. 2017, 1870, 040069. [Google Scholar]
- Morrow, L.C.; King, J.R.; Moroney, T.J.; McCue, S.W. Moving boundary problems for quasi-steady conduction limited melting. SIAM J. Appl. Math. 2019, 79, 2107–2131. [Google Scholar] [CrossRef]
- Vuik, C. Some historical notes about the Stefan problem. Nieuw Arch. Voor Wiskd. Ser. 1993, 11, 157–167. [Google Scholar]
- Gupta, S.C. The Classical Stefan Problem: Basic Concepts, Modelling and Analysis; Elsevier: Amsterdam, The Netherlands, 2003. [Google Scholar]
- Hill, J.M. One-Dimensional Stefan Problems: An Introduction; Wiley: New York, NY, USA, 1987. [Google Scholar]
- Furzeland, R.M. A comparative study of numerical methods for moving boundary problems. IMA J. Appl. Math. 1980, 26, 411–429. [Google Scholar] [CrossRef]
- Goodman, T.R. The heat balance integral and its application to problems involving a change of phase. Trans. ASME 1958, 80, 335–342. [Google Scholar]
- Goodman, T.R. Application of integral methods to transient nonlinear heat transfer. Adv. Heat Transf. 1964, 1, 51–122. [Google Scholar]
- Schlichting, H.; Gersten, K. Boundary Layer Theory; Springer: Berlin, Germany, 2000. [Google Scholar]
- Sadoun, N.; Si-Ahmed, E.K.; Colinet, P. On the refined integral method for the one-phase Stefan problem with time-dependent boundary conditions. Appl. Math. Model. 2006, 30, 531–544. [Google Scholar] [CrossRef]
- Mitchell, S.L.; Myers, T.G. Application of the combined integral method to Stefan problems. Appl. Math. Model. 2011, 35, 4281–4294. [Google Scholar]
- Mitchell, S.L.; Myers, T.G. Application of standard and refined heat balance integral methods to one-dimensional Stefan problems. SIAM Rev. 2010, 52, 57–86. [Google Scholar] [CrossRef]
- Mitchell, S.L.; Myers, T.G. Application of heat balance integral methods to one-dimensional phase change problems. Int. J. Differ. Equ. 2012, 2012, 187902. [Google Scholar] [CrossRef]
- John, F. Partial Differential Equations, 4th ed.; Springer: New York, NY, USA, 1982. [Google Scholar]
- Mitchell, S.L. Applying the combined integral method to one-dimensional ablation. J. Thermophys. Heat Transf. 2012, 22, 508–514. [Google Scholar] [CrossRef]
- Rodrigo, M.R.; Worthy, A.L. Solution of multilayer diffusion problems via the Laplace transform. J. Math. Anal. Appl. 2016, 444, 475–502. [Google Scholar] [CrossRef]
- Huppert, H.E. Phase changes following the initiation of a hot turbulent flow over a cold solid surface. J. Fluid Mech. 1989, 198, 293–319. [Google Scholar] [CrossRef]
- King, J.R.; Riley, D.S. Asymptotic solutions to the Stefan problem with a constant heat source at the moving boundary. Proc. R. Soc. A 2000, 456, 1163–1174. [Google Scholar] [CrossRef]
- Mitchell, S.L.; Myers, T.G. Heat balance integral method for one-dimensional finite ablation. SIAM Rev. 2008, 52, 57–86. [Google Scholar] [CrossRef]
- Guardasoni, C.; Rodrigo, M.R.; Sanfelici, S. A Mellin transform approach to barrier option pricing. IMA J. Manag. Math. 2020, 31, 49–67. [Google Scholar] [CrossRef]
- Rodrigo, M.R. Approximate ordinary differential equations for the optimal exercise boundaries of American put and call options. Eur. J. Appl. Math. 2014, 25, 27–43. [Google Scholar] [CrossRef]
- Li, T.R.; Rodrigo, M.R. Alternative results for option pricing and implied volatility in jump-diffusion models using Mellin transforms. Eur. J. Appl. Math. 2017, 28, 789–826. [Google Scholar] [CrossRef]
- Rodrigo, M.R.; Mamon, R.S. An application of Mellin transform techniques to a Black–Scholes equation problem. Anal. Appl. 2007, 5, 1–16. [Google Scholar] [CrossRef]
- Rodrigo, M.R.; Goard, J. Pricing of general European options on discrete dividend-paying assets with jump-diffusion dynamics. Appl. Math. Model. 2018, 64, 47–54. [Google Scholar] [CrossRef]
- Rodrigo, M.R. Pricing of barrier options on underlying assets with jump-diffusion dynamics: A Mellin transform approach. Mathematics 2020, 8, 1271. [Google Scholar] [CrossRef]
- Zwillinger, D. Handbook of Differential Equations; Academic Press: New York, NY, USA, 1989. [Google Scholar]
- Caldwell, J.; Kwan, Y.Y. Numerical methods for one-dimensional Stefan problems. Commun. Numer. Methods Eng. 2004, 20, 535–545. [Google Scholar] [CrossRef]
- Javierre, E.; Vuik, C.; Vermolen, F.J.; van der Zwaag, S. A comparison of numerical models for one-dimensional Stefan problems. J. Comput. Appl. Math. 2006, 192, 445–459. [Google Scholar] [CrossRef]
- Lee, T.E.; Baines, M.J.; Langdon, S. A finite difference moving mesh method based on conservation for moving boundary problems. J. Comput. Appl. Math. 2015, 288, 1–17. [Google Scholar] [CrossRef]
- Wang, S.; Perdikaris, P. Deep learning of free boundary and Stefan problems. J. Comput. Phys. 2021, 428, 109914. [Google Scholar] [CrossRef]
- Spiegel, M.R. Schaum’s Outline of Theory and Problems of Laplace Transforms; McGraw-Hill: New York, NY, USA, 1965. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).