Introduction

The study of the composition dependence of mass diffusion is important in the field of metals and semiconductors. There is also considerable demand for information on accurate diffusion coefficients, including interdiffusion coefficients. For a comprehensive older compilation of experimental interdiffusion studies see Ref. 1. Recently, numerous experimental studies have been conducted on binary systems, such as Pd-Pt, Cu-Pt, Ni-Pt, Co-Pt, Ni-Al, Ti-Al, dilute Cu(Sn), Ni-Nb, Mo-Si, Nb-Si, V-Si, Co-Ni, Fe-Nb, Ni-Mo, Mg-Al, Mg-Zn, U-Fe, U-Mo, Mo-Zr and Zr-Al.[225]

Usually, the experimental data for the single-phase binary interdiffusion couples are processed using the standard analytical technique, Sauer and Freise (SF) or Boltzmann-Matano (BM). There are cases when the experimental data were also processed using the Hall method (HM) technique. This latter method was designed to be applicable at the dilute ends of the composition profiles. While the SF and BM techniques usually agree with each other, the results of the HM analysis can be quite different.[2629] In the present paper, using numerically simulated interdiffusion profiles we will test the validity of these three methods at the dilute ends and along the bulk of the composition profiles.

Historically, the first analytical method for calculating the diffusion coefficients was developed by Boltzmann.[30] This method was then used by Matano[31] to analyze experimental interdiffusion composition profiles. Matano also extended Boltzmann’s[30] method by introducing the new concept of a ‘special’ plane. This plane was later named after Matano. In[31] Matano proposed that the location of the Matano plane be determined from the condition of mass conservation. Nowadays, this method is known generally as the BM method. The BM method, at first, was introduced as a graphical method to find the interdiffusion coefficient. But a graphical method has some disadvantages for calculating an accurate interdiffusion coefficient. For this reason, Sauer and Freise[32] proposed a new equation for calculating the interdiffusion coefficient which is, in fact, a elegant modification of the BM method. With this method, it is possible to find an accurate interdiffusion coefficient as a function of composition, thereby avoiding the calculation of the Matano plane location. Den Broeder[33] proposed a general simplification and improvement of the BM method for calculating interdiffusion coefficients in binary systems. Wagner[34] suggested a simplified derivation of the SF equation for calculation of the interdiffusion coefficient as a function of composition. Kailasam et al.[35] studied the BM, SF, Wagner and den Broeder methods for calculating the composition-dependent interdiffusion coefficient in binary systems. Appel[36] investigated a further development of the BM method analytically for a multiphase system. Hall[26] developed an analytical method which is, in fact, a further modification of the BM method. Hall also suggested that the resulting method, (called the HM), gives an accurate estimation of the diffusion coefficients near the high and low composition limits. It was slightly modified by Crank[37] using the Boltzmann variable divided by two. Finally, the HM was extended by Sarafianos.[38] Okino et al.[39] studied an analytical solution of the Boltzmann transformation equation with non-linear interdiffusion coefficients.

Stenlund[40] studied three methods (two methods for three-dimensional and a third one for the one-dimensional case) to calculate the interdiffusion coefficient from a composition profile without any limitations on the boundary conditions. These methods are suitable for numerical analysis only because there is no closed form solution. Zhang and Zhao[41] developed a MATLAB-based program to calculate the interdiffusion coefficients for binary diffusion couples using traditional methods i.e. BM method, SF method, the HM, and the Wagner method and a forward-simulation method. Recently, Belova et al.[42] derived a novel way of measuring interdiffusion and tracer diffusion coefficients in one experiment with an analysis based on the application of linear response theory. They showed that the SF method can be modified for the analysis of the combined tracer and interdiffusion experiment. Kass and O’Keeffe[43] studied the numerical solution of the Diffusion Equation with composition-dependent diffusion coefficients. This method is applicable to two different types of boundary condition corresponding to physical situations. Mittemeijer and Rozendaal[44] applied a step method for numerical solution of the Diffusion Equation and developed an iterative procedure when the diffusion coefficient is composition-dependent. They proposed that their iterative method takes less calculation time than other procedures. Garcia et al.[45] studied a finite difference scheme to solve the one-dimensional Diffusion Equation with special focus on the stability and convergence of the scheme. They outlined the better numerical methodology and its applicability for a metal-metal system. In addition, a finite difference method was used by Wei et al.[46] for determining the interdiffusion coefficient of an aluminide coating formed on a superalloy.

The principal aim of the present study is to investigate the applicability of the HM for the analysis of interdiffusion composition profiles in comparison with the BM and SF methods. Originally the HM was developed for application only at the dilute ends of the profile. We will extend this method for application to the whole profile. The Extended Hall method (EHM) will be compared with the original HM and with the BM and SF methods as well. In order to perform this investigation we will first generate the numerical solution of the Diffusion Equation by using an explicit finite difference method. Then we will investigate the analysis of the thus generated composition profiles by means of the BM, SF, HM and EHM techniques to find the interdiffusion coefficient and compare them with the input one. Note that for the implementation of the HM, EHM and BM method we will need to numerically determine the location of the Matano plane as accurately as possible.

In choosing this strategy of investigation we reasonably assume that if the HM does not perform well when the ‘smooth’ profiles are used (simulated using numerical methods as in the present study) then it will never perform better on the ‘less smooth’ profiles (as in the real experiments). Furthermore, the well-known high sensitivity of the interdiffusion profiles (the small differences in the profiles usually produce large differences in the corresponding interdiffusion coefficients) dictates the use of very accurately simulated profiles.

Mathematical Formulation

The governing equation of the standard interdiffusion process in a binary alloy is the one-dimensional Diffusion Equation:

$$\frac{\partial C}{\partial t} = \frac{\partial }{\partial x}\left( {D\frac{\partial C}{\partial x}} \right)$$
(1)

where C is the (composition) mole fraction of one of the diffusing atomic components, C is a function of distance, x and time, t, D is the interdiffusion coefficient. It could be a constant but, in general, it depends on composition. In writing Eq 1 we assume that in the diffusion process the molar volume does not change. The Diffusion Equation 1 is to be solved subject to the following boundary conditions for all t > 0:

$$\begin{aligned} C & = 1.0,x = - \infty ,{\text{ and}}\;C = 0.0,x = + \infty \;{\text{and}}\;{\text{initial}}\;{\text{conditions}}{:} \\ C & = 1.0,x < 0\;{\text{and}}\;C = 0.0,x \ge 0. \\ \end{aligned}$$

We should emphasise here that the analysis of this study can easily be applied to a general case when C = C −∞ at x = −∞, and C = C +∞at x = ∞.Then C should be replaced with a normalised composition as:

$$Y = \frac{{C - C^{ + \infty } }}{{C^{ - \infty } - C^{ + \infty } }}.$$
(2)

In the interdiffusion experiment the composition depth profile is measured as a function of distance. Then using one of the appropriate analytical methods, the interdiffusion coefficient is obtained. As was mentioned above there are three main methods to use: the BM, SF and HMs. The latter was designed especially to deal with the experimental uncertainties at the dilute ends of the composition profile in order to improve the accuracy of the interdiffusion coefficient. The purpose of the present analysis is to test these three methods using numerical techniques to simulate the interdiffusion composition profiles and to make conclusions about the applicability of all methods.

BM Method

With the known composition profile C(xt) the BM method can be applied to determine the composition-dependent diffusion coefficient D(C) as:

$$D(C^{*} ) = - \frac{1}{2t}\frac{{\int\limits_{0}^{{C^{*} }} {(x - x_{\text{M}} )dC} }}{{\left( \frac{dC}{dx} \right)_{{C^{*} }} }},$$
(3)

where x M is the position of the Matano plane. The location of the Matano plane is determined from the following (flux) conservation condition:

$$\int\limits_{ - \infty }^{{x_{M} }} {(1 - C(x))dx} = \int\limits_{{x_{M} }}^{ + \infty } {C(x)dx} .$$
(4)

A further development of the BM method has been proposed by Eversole et al.[47] for dilute solutions. They simply evaluated the integral term in Eq 3 by parts. Then the following expression was found:

$$D(C^{*} ) = - \frac{1}{2t}\frac{{(x^{*} - x_{\text{M}} )C^{*} + \int\limits_{{x^{*} }}^{ + \infty } {Cdx} }}{{\left( \frac{dC}{dx} \right)_{{C^{*} }} }}$$
(5)

Moreover, it is easy to show that the position of the Matano plane, x M is given exactly by the following integral relations:

$$x_{\text{M}} = \int_{0}^{1} {xdC} = \int_{ - \infty }^{0} {(1 - C(x))dx} + \int_{0}^{ + \infty } {C(x)dx} .$$
(6)

SF Method

According to the SF method, the interdiffusion coefficient D(C) is given as:

$$D(C^{*} ) = - \frac{1}{2t}\left( \frac{dx}{dC} \right)_{{C^{*} }} \left[ {C^{*} \int\limits_{ - \infty }^{{x^{*} }} {(1 - C)dx} + (1 - C^{*} )\int\limits_{{x^{*} }}^{ + \infty } {Cdx} } \right]$$
(7)

In the derivation of the SF method the BM expression Eq 3 was combined with the expression for the Matano plane Eq 4. As a result, SF method does not require x M explicitly and therefore is more convenient from an experimental perspective.

Wagner[34] provided a simplified derivation of the SF relation (Eq 7) for the calculation of the interdiffusion coefficient. However the main significance of his paper is in developing the SF relation further to apply to the interdiffusion profiles with multiple phases. In[34] it was shown that in multiphase systems with intermediate compounds which have a narrow composition range, it is possible to calculate the values of the integral ∫DdC, extended over the composition range of the compounds. These values then serve as the integrated (or average) interdiffusion coefficients. In the present paper, we will restrict our study only to the case of a single phase in the diffusion zone.

Hall Method (HM)

The main requirement for the HM is that one of the diffusion couple sides should have a zero composition. Then in the HM, the following supplementary transform is used for the dilute tail in the composition profile:

$$C = erfc(u),$$
(8)

where (as defined at the time by Hall) \(erfc(u) \equiv \frac{1}{2}(1 + erf(u))\), u = hλ + k and \(\uplambda = \frac{{x - x_{M} }}{\sqrt t }\), and it is assumed that the dilute end/tail of the profile has a characteristic linear behaviour. Hall evaluated the derivative and integral terms in Eq 3 by using the following relations (for the derivation, see Ref. 26):

$$\frac{dC}{dx} = \frac{1}{\sqrt t }\frac{dC}{d\uplambda } = \frac{1}{\sqrt t }\frac{h}{\sqrt \uppi }\exp ( - u^{2} )$$
(9)
$$\int\limits_{0}^{{C^{*} }} {\left( {x - x_{\text{M}} } \right)dC} = \sqrt t \int\limits_{0}^{{C^{*} }} {\uplambda dC} = - \sqrt t \left( {\frac{1}{2h\sqrt \uppi }\exp ( - u^{2} ) + \frac{kC}{h}} \right)$$
(10)

Combining these relations together with Eq 3 we have the final expression for the HM:

$$D(C) = \frac{1}{{4h^{2} }} + \frac{k\sqrt \uppi }{{2h^{2} }}C\exp (u^{2} ).$$
(11)

Extended Hall Method (EHM)

The HM was originally described[26] for implementation only at that end of the composition profile where the composition is approaching zero in a linear fashion when presented on a probability plot. Here we develop this approach in such a way that the whole composition profile can be analysed. The starting point should still be chosen at the zero composition end. The new development of HM can be readily obtained when the basic integration and differentiation steps and the combination of them into the interdiffusion coefficient (Eq 9-11 above) are performed in a piece-wise fashion at every two neighbouring composition points. Then the new set of composition points C′ and corresponding sets of u′ and λ′ can be simply defined as:

$$C^{\prime}(i) = 0.5(C(i) + C(i + 1)),u^{\prime}(i) = 0.5(u(i) + u(i + 1)),\uplambda^{\prime}(i) = 0.5(\uplambda (i) + \uplambda (i + 1)),$$
(12)

and the coefficients for the piece-wise linear fits u′ = h′λ′ + k′ are:

$$h^{\prime}(i) = \frac{u(i + 1) - u(i)}{\uplambda (i + 1) - \uplambda (i)},$$
(13)

and

$$k^{\prime}(i) = \frac{\uplambda (i + 1)u(i) - \uplambda (i)u(i + 1)}{\uplambda (i + 1) - \uplambda (i)}$$
(14)

for all i points. This procedure should be performed consecutively, starting with the very first point at the chosen side of the diffusion profile. Then it is easy to show that the final iterative expression for the interdiffusion coefficient is as follows:

$$D(C^{\prime}(i)) = D(i) = - \frac{1}{2}\frac{\sqrt \uppi }{{h^{\prime}(i)}}e^{{\left\{ {u^{\prime}\left( i \right)} \right\}^{2} }} I(i + 1),$$
(15)

where

$$I(i) = I(i - 1) + II(i - 1) + III(i - 1)$$
(16)

and

$${\text{I}}(1) = - \frac{1}{{2h^{\prime}(1)\sqrt \uppi }}e^{{\left\{ { - u^{\prime}\left( 1 \right)^{2} } \right\}}} - \frac{{k^{\prime}(1)C^{\prime}(1)}}{{h^{\prime}(1)}} ,\;{\text{II}}(1) = 0, \;{\text{III}}(1) = 0,$$
(17)
$${\text{II}}(i) = \left. { - \frac{1}{{2h^{\prime}(i - 1)\sqrt \uppi }}\left[ {e^{{\{ - u(i)^{2} \} }} } \right. - e^{{\{ - u^{\prime}(i - 1)^{2} \} }} } \right] - \frac{{k^{\prime}(i - 1)}}{{h^{\prime}(i - 1)}}(C(i) - C^{\prime}(i - 1)),$$
(18)
$${\text{III}}(i) = - \frac{1}{{2h^{\prime}(i)\sqrt \uppi }}\left[ {e^{{\left\{ { - u^{\prime}(i)^{2} } \right\}}} - e^{{\left\{ { - u(i)^{2} } \right\}}} } \right] - \frac{{k^{\prime}(i)}}{{h^{\prime}(i)}}(C^{\prime}(i) - C(i))$$
(19)

for all i points. The choice of the starting point should be done in such a way that C (i) is as close to zero as possible.

Numerical Solution for Composition Profiles

In this section we solve numerically the Diffusion Equation (Eq 1), with the associated initial and boundary conditions. The explicit finite difference method is used. The present problem requires a finite difference mesh. The region along the coordinate x is divided into equally spaced m + 1 mesh points (see Fig. 1). The maximum length (dimensionless) was chosen x max = 16, with x -∞ = −8 and x +∞ = 8 and these points correspond to x → −∞ and x → −∞. The number of mesh spacings in the x direction was chosen as m = 200, hence the constant mesh size along x axis becomes Δx = 0.08, (−8 ≤ x ≤ 8) with a small enough time-step Δt = 0.0001 that was chosen in such a way that the stability condition (see further) is satisfied.

Fig. 1
figure 1

Finite difference system mesh for the binary system

Let C n denote the value of C at the end of the nth time-step. Using the explicit finite difference approximation, the following finite difference equation is obtained:

$$\frac{{C_{i}^{n + 1} - C_{i}^{n} }}{\Delta t} = D_{i}^{n} \frac{{C_{i + 1}^{n} - 2C_{i}^{n} + C_{i - 1}^{n} }}{{(\Delta x)^{2} }} + \left. {\frac{\partial D}{\partial C}} \right|_{i}^{n} \left( {\frac{{C_{i + 1}^{n} - C_{i - 1}^{n} }}{2\Delta x}} \right)^{2}$$
(20)

with the boundary conditions, C n−∞  = 1 and C n+∞  = 0. (Note that these conditions were used only for monitoring, not assigning, the C values at the ends of the calculation region. In other words, at each time step we monitor that the initial values 1 and 0 were not changed at the boundary points i = 1, 2 and i = m, m + 1. If they were changed (from 1 and 0 respectively) then the calculations would have to be stopped with the appropriate warning message and the numerical interval would have to be extended. Descriptions of this procedure can be found in standard handbooks on finite difference methods.[48,49] In our simulations for a chosen maximum time t these conditions were always satisfied.

As usual, in Eq 20 the subscript i denotes the grid points along the x coordinate and the superscript n denotes a step in time, t = nΔt where n = 0,1,2, … with Δt = 0.0001. The composition C at all interior mesh points is computed by successive applications of the above finite difference equations. The stability condition and convergence criterion for the finite difference solution is given by (e.g.[45,46]) \(\frac{{\hbox{max} (D_{i}^{n} )\Delta t}}{{(\Delta x)^{2} }} \le \frac{1}{2}\). For all cases that were considered in the present paper this parameter was < 0.02.

In this paper, we studied the following four test cases:

  • Case-1 (constant interdiffusion coefficient): D = D 0.

  • Case-2 (linear composition dependence): D = (0.5 + 0.5C)D 0.

  • Case-3 (quadratic composition dependence): D = (1 − 2C(1 − C))D 0.

  • Case-4 (quadratic composition dependence): D = (2C(1 − C) + 0.5)D 0.

D 0 is a constant with units of diffusion coefficient. In Fig. 2 we show the profiles generated for all studied cases as functions of \({=}(x - x_{\text{M}} )/\sqrt t\). Total computational diffusion time is 0.4 in arbitrary time units that are consistent with chosen units of diffusion coefficient and the x-axis. If, as a practical example, D 0 = 0.1 µm2/s and the unit distance in the x-direction is equal to 100 µm then the total diffusion time will be 4 × 104 s = 11.1 h and in Fig. 2 the unit of λ is equal to 0.316 µm/s1/2.

Fig. 2
figure 2

Composition profiles for the different cases (1-4). Total computational diffusion time t = 0.40

Mass Conservation

The Law of Mass Conservation states that mixtures can be made or separated, but the total amount of mass must be constant for all times. It is easy to show that for the considered diffusion processes in the binary systems the total amount of mass is proportional to the integral \(M(t) = \int_{ - 8}^{ 8} {C(t)dx} .\) The mass conservation tests for all the composition profiles and all times returned near constant values that remain within the O(Δx 2) error term and this is in agreement with the specified error/tolerance for the chosen finite difference scheme. Therefore we can safely conclude that all our simulated systems obey the Mass Conservation law.

Results and Discussion

To obtain the finite difference solutions, the computations have been carried out for t = 0.4 (arbitrary units). Then we calculated the interdiffusion coefficient making use of the BM, SF, and original HM for all of the above test cases. In application of the BM and SF methods, the integration terms were calculated by the Trapezoidal Rule and the derivative was calculated using the central difference scheme, both of the second order of accuracy. The newly developed EHM was applied to the Cases 2-4. For Case 1 there was obviously no need for the use of the EHM. The original HM was applied to Case 1 from each dilute end up to the middle point and, as a result, covered the whole composition range. For Cases 2-4 the original HM technique was only applied at the dilute ends. For implementation of the BM and both HM and EHM methods we calculated the Matano plane numerically and obtained the following values: Case 1: x M = −0.0400; Case 2: x M = −0.0467; Case 3: x M = −0.0400; Case 4: x M = −0.0400. Graphical representations of the resulting interdiffusion coefficients for Cases 1-4 are given in Fig. 3(a)-(d) respectively. (It was found that the accuracy of x M has a profound effect on the resulting diffusion coefficient.) In each figure we presented the overall results to cover a 0-100% composition range together with two inserts to cover the first and the last 3% of composition with magnifications of up to factor of 10. In the inserts we have used lines with symbols for the results of the SF, HM and for the original input D function whereas for the overall results we used the same type of lines but without symbols to avoid cluttering the figures.

Fig. 3
figure 3figure 3

Interdiffusion coefficient as a function of composition as input (marked Actual) and as-calculated using numerically generated composition profiles and the Boltzman-Matano (marked as BM) method, The Sauer and Freiser (marked as SF) and the Hall methods (marked as HM). Results for case 1 are presented in (a); for case 2—in (b); for case 3—in (c); for case 4—in (d)

We would like to point out that a similar strategy was used in[35,50] where the authors used the closed form solutions for generation of the discretized composition profiles followed by application of the inverse analysis using SF and BM methods. The closed form solution exists only for the constant interdiffusion coefficient and some transcendental functions.[35,50] In our study we choose to investigate three basic functional dependencies: constant, linear and quadratic.

In Fig. 3(a) we plot the actual (input) interdiffusion coefficient and results of application of BM, SF and original HM techniques to the profiles generated for the constant interdiffusion coefficient, according to the Case-1 study. In this case, it was possible to apply the original HM to the whole composition profile. It can be seen that both the BM method and SF methods give the same results for this case (see inserts and the overall coverage). But the (original) HM gives better results than the other two methods at the initial and final 3% of the composition range. For the remaining part of the composition range all three methods give comparable results.

Here we would like to point out that results of this case, namely application SF and BM methods, can be directly compared with the results of application of these inverse methods in[35,50] to the same constant interdiffusion case. It is clear that the accuracy is higher in our application and this can be linked directly to the accuracy of the chosen numerical integration and differentiation as parts of the implementation of the SF and BM methods.

In Fig. 3(b) we plot the actual (input) interdiffusion coefficient and results of application of the considered techniques to the profiles generated for the interdiffusion coefficient that is linearly dependent on composition, according to the Case-2 study. The original HM was applied only at the ends of the profile. It can be seen that in this case the BM and SF methods give better results than the EHM at the ends of the composition range (see inserts). And the EHM gives better results than the original HM. This makes the original HM technique the worst for this case. For the remaining internal part of the composition range all three methods again give comparable results.

In Fig. 3(c) we plot the actual (input) interdiffusion coefficient together with the results of application of the considered techniques to the profiles generated for the interdiffusion coefficient that is a concave quadratic function of composition, according to the Case-3 study. It can be seen that for this case, at the ends of the composition range (see insets) again the BM and SF methods give the same results that are comparable with the results of the EHM technique. The original HM again gives the worst agreement with the input interdiffusion coefficient. For the remaining internal part of the composition range all three methods again give comparable results.

In Fig. 3(d) we plot the actual (input) interdiffusion coefficient together with the results of application of the considered techniques to the profiles generated for the interdiffusion coefficient that is a convex quadratic function of composition, according to the Case-4 study. In this case, the same behaviour of the SF and BM results as for Case 3 can be observed. But at the ends of the composition range the EHM technique gives a much poorer result for this test. And again application of the original HM at the ends of the composition range gives the worst agreement with the input interdiffusion coefficient. As for the other cases for the remaining internal part of the composition range all three methods again give comparable results.

It is obvious that apart from the case of a constant interdiffusion coefficient (Fig. 3a)) the EHM and especially the HM do not in fact do well at the dilute ends of the composition profile where C ≈ 0.0 or C ≈ 1.0. This result contradicts the original claim[26] that HM should give a superior accuracy at these limits. It seems that the reason for this effect is that together with magnification of the composition profile the probability plot magnifies the errors (of the applied computational techniques for differentiation and integration in Eq 9, 10) at the composition profile ends as well. Even application of the EHM does not bring the accuracy of the resulting interdiffusion coefficient to the level of SF/BM accuracy. Therefore, we must make the unavoidable conclusion that the improvements of the interdiffusion coefficients found in, for example,[26] and in[27] for the Cu-Ni system are not in fact real improvements and the standard SF/BM analysis gives the correct results.

On the other hand, from the analysis of the Fig. 3(a) it is clear that the SF and BM methods do not do well at the first and the last 10% of composition range for the Case 1 of the constant interdiffusion coefficient. In fact, the HM (and EHM) give much better results there. Therefore we can make the following suggestion for the improved analysis of experimentally obtained interdiffusion composition profiles. We suggest that the EHM is applied (separately from the left side to the center and from the right side to the center) together with the SF/BM techniques. If at the first 5-10% the EHM gives a clear constant interdiffusion coefficient this must be accepted as the correct one; otherwise the results of the SF/BM techniques should be treated as the correct ones. A similar strategy should be applied for the last 5-10% of the composition range.

Conclusions

In this research, the explicit finite difference numerical solution of the Diffusion Equation for binary alloy systems with composition-dependent interdiffusion coefficients has been used to generate interdiffusion composition profiles for several test cases. Three methods, BM, SF and Hall (original (HM) and a newly developed extended (EHM)) methods, were used to obtain the interdiffusion coefficient as a function of composition for those test cases. With the Matano plane calculated numerically, it was found that the results of the BM method and SF method were generally the best compared with the results of the HM and EHM especially at the dilute ends of the profile where the HM was originally[26] designed to improve the accuracy. Only for a constant interdiffusion coefficient did the HM (EHM was not needed for this case) give the best agreement with the required interdiffusion coefficient. Apart from the case of a constant interdiffusion coefficient, results of the EHM method were usually in a better agreement with the input data than the original HM. Therefore it was concluded that for the determination of the interdiffusion coefficient at or near to the low and high composition levels the HM should only be used with considerable care.