This tutorial describes the analytical solutions underlying the Spherical Diffusion applet. The model solves three scenarios of radial diffusion involving a sphere, all governed by the same radial diffusion equation (Section 5) but with different boundary and initial conditions.
For a guide to the applet controls and interface see the User Interface Tutorial.
All three models use the analytical solutions of Crank (1975) for radial diffusion in a sphere. They differ in the initial and boundary conditions:
- Model 1 — Diffusion into an initially empty sphere held at a constant outside concentration (uptake).
- Model 2 — Diffusion out of a uniformly contaminated sphere into an infinite bath (release).
- Model 3 — Two-phase process: the sphere is first loaded for time $t_0$ using diffusion coefficient $D_2$, creating a non-uniform profile; then mass diffuses out with coefficient $D_1$.
Each model plots (i) the concentration profile $C(r,t)$ at up to five snapshot times, and (ii) the fractional approach to equilibrium $f(t) = M_t / M_\infty$.
At time zero the sphere is empty ($C_1 = 0$). The concentration outside the sphere is held constant at $C_0$ for all $t > 0$. Mass diffuses inward.
Concentration Profile
Fractional Uptake
Figure 1. Concentration profiles — diffusion into sphere (Model 1).
Figure 2. Fractional approach to equilibrium (Models 1 & 2).
At time zero the sphere is uniformly loaded at concentration $C_0$. The outside concentration is zero for all $t > 0$ (infinite bath). Mass diffuses outward.
Concentration Profile
Fractional Release
The sphere is first loaded for time $t_0$ using diffusion coefficient $D_2$ (from an outside bath at concentration $C_0$), creating a non-uniform initial concentration profile. Then the outside concentration is set to zero and mass diffuses out with coefficient $D_1$ for additional time $t$.
Step 1 — Loaded Profile after Uptake
After loading for time $t_0$ with $D_2$ (using Model 1 equations), the initial condition for release is:
Step 2 — Fourier Coefficients for Release
The loaded profile is decomposed into a Fourier sine series. Using the orthogonality of $\sin(n\pi r/a)$ on $[0,a]$, the Fourier coefficients are:
Step 3 — Release Profile and Fractional Fill
The concentration profile during release is:
And the fraction of sphere filled (mass remaining / maximum possible mass):
All three models are governed by the radial diffusion equation in spherical coordinates:
Symmetry at the sphere center requires:
| Symbol | Definition |
|---|---|
| $C$ | Concentration inside the sphere |
| $C_0$ | Boundary concentration (outside sphere or initial inside, depending on model) |
| $C_1$ | Initial concentration inside sphere (= 0 for Models 1 & 2) |
| $a$ | Sphere radius |
| $r$ | Radial distance from center (0 ≤ r ≤ a) |
| $t$ | Time |
| $D$ | Diffusion coefficient (Models 1 & 2) |
| $D_1$ | Diffusion coefficient for release phase (Model 3) |
| $D_2$ | Diffusion coefficient for uptake/loading phase (Model 3) |
| $t_0$ | Loading time (Model 3) |
| $M_t$ | Mass in sphere at time $t$ |
| $M_\infty$ | Equilibrium mass (fully loaded) |
| $f$ | Fractional approach to equilibrium (uptake) or fractional release |
| $B_n$ | Fourier sine series coefficients for Model 3 release (Eq. 6) |
- Crank, J. (1975). The Mathematics of Diffusion, 2nd ed. Oxford University Press, Oxford.