Presets
Playback
Apparatus
Model checks
The science
What is modelled
Ions are random walkers on a grid with a drift toward the electrode. When a walker touches the deposit it sticks, so the tips, which are reached first, grow fastest and the deposit branches: diffusion-limited aggregation. The panel beside it uses real electrochemistry: the limiting current set by the diffusion layer, Faraday's law for the mass and Sand's time at which the surface runs out of ions.
Equations
- Limiting current
iL = z F D c / δ, withD(T)from an Arrhenius law. - Faraday
m = M Q / (z F). - Sand time
τ = π D (z F c / 2J)². - Random walk
〈r²〉 = 4 D tin 2D; DLA massM ∝ Rd, d near 1.7.
Checks run in the page
- Mean squared displacement of unbiased walkers.
- Faraday mass from summed current.
- Finite-difference diffusion layer against the Sand time.
- Fractal dimension of a seeded unbiased aggregate.
Honest simplifications
The lattice has no electric field solver, the voltage only sets a drift and the current-voltage law is a smooth saturating curve, not a Butler-Volmer fit. Lattice time is not mapped to seconds. It is an illustration of why diffusion limits cause dendrites, not a battery-safety model.
What to try
- Press High voltage, dilute and compare the thin branches with the compact deposit of Low voltage, calm.
- Raise stirring and see the diffusion layer and the limiting current change.
- Watch the Sand time fall as the current density rises.