Diffusion into a gel
The inlet reagent follows the semi-infinite diffusion similarity profile:
A(x,t) / A₀ = erfc[x / (2√(Dt))]
D is effective diffusivity (mm²/s), x is distance (mm), and t is time (s). The complementary error function gives the smooth concentration front.
Where bands are placed
xₙ = x₁(1 + p)ⁿ⁻¹
x₁ = 2 erfc⁻¹(K / A₀B₀) √(D tᵢ)
The geometric spacing is an empirical pattern law, not a prediction derived from first-principles chemistry. It is used here to place candidate precipitation zones.
How each band grows
dPₙ/dt = (1 − Pₙ) max(0, Sₙ − 1) / τg
Sₙ = A(xₙ,t)B₀/K is the local ion-product ratio and τg is an illustrative growth time. The model integrates this saturating growth law with a fixed 0.5 s step using its exact per-step update.
What is simplified
This is a one-dimensional, phenomenological observatory. It does not solve the coupled reaction–diffusion equations for both ions, resolve nucleation statistics, calculate crystal morphology, or predict a material-specific solubility product. Real Liesegang systems depend on chemistry, gel structure, temperature, and preparation history. All concentrations, diffusivities, induction and growth times, and the spacing parameter are illustrative rather than a recipe or measured material constants.
The diffusion profile is the textbook semi-infinite Fickian solution. The finite tube, fixed geometric band law, and local growth response are teaching approximations. Distances are scaled to the labelled gel length.
An educational model of a general chemical phenomenon; not affiliated with any laboratory, chemical supplier, or product.