Fick's Law of Diffusion: Brownian Motion Visualized

simulator beginner ~8 min
Loading simulation...
x_rms ≈ 44.7 μm/s^½ — typical molecular diffusion rate

With D = 1×10⁻⁹ m²/s at 300K, the RMS displacement after 1 second is about 44.7 μm. To diffuse 1mm takes about 500 seconds. This square-root scaling means diffusion is efficient at small scales but painfully slow at large ones.

Formula

J = -D(dC/dx) (Fick's first law)
x_rms = √(2Dt) (RMS displacement)
D = kT/(6πμr) (Einstein-Stokes relation)

Diffusion: The Random Walk of Molecules

Drop a drop of ink into still water and watch it slowly spread. No stirring, no currents — just the relentless random bombardment of water molecules pushing ink particles in random directions. This is diffusion: the net movement of particles from regions of high concentration to low concentration, driven entirely by thermal energy. Adolf Fick formalized this in 1855, but it was Einstein's 1905 paper on Brownian motion that revealed diffusion's deep connection to the atomic nature of matter.

Fick's Laws and the Square-Root Scaling

Fick's first law states that particle flux is proportional to the concentration gradient: J = -D(dC/dx). The negative sign means particles flow from high to low concentration. The diffusion coefficient D captures how fast a substance diffuses through a medium. A profound consequence: the RMS displacement grows as √(2Dt), not linearly with time. This means diffusion is remarkably fast over micrometer distances (microseconds) but agonizingly slow over centimeters (hours to days).

Watching Brownian Motion

This simulation starts with all particles concentrated on the left half. Each particle undergoes a random walk — small random displacements at each time step, with step size controlled by the diffusion coefficient and temperature. Watch the sharp concentration boundary blur and spread rightward. The density map shows the evolving concentration gradient. Enable the semi-permeable membrane to see selective diffusion — the basis of osmosis, kidney filtration, and reverse osmosis water purification.

Diffusion in Nature and Technology

Diffusion is ubiquitous: oxygen diffuses from lung alveoli into blood (crossing ~1μm in milliseconds), neurotransmitters diffuse across synaptic clefts (~20nm in microseconds), drug molecules diffuse through tissue to reach their targets. In semiconductor manufacturing, diffusion of dopant atoms into silicon creates the p-n junctions that make transistors work. Understanding diffusion scaling explains why cells must be small — beyond about 100μm, diffusion alone cannot supply oxygen fast enough to sustain metabolism.

FAQ

What is Fick's law of diffusion?

Fick's first law states that the flux of particles is proportional to the negative concentration gradient: J = -D(dC/dx). Fick's second law gives the time evolution: dC/dt = D(d²C/dx²). Together they describe how substances spread from high to low concentration.

Why does diffusion follow a square-root-of-time law?

Because diffusion is a random walk process. Each molecule moves randomly, and the net displacement after N steps of a random walk scales as √N. Since N is proportional to time, displacement scales as √t, not t.

What is Brownian motion?

Brownian motion is the random movement of particles suspended in a fluid, caused by collisions with surrounding molecules. Einstein's 1905 analysis of Brownian motion provided the first concrete evidence for the existence of atoms.

How does temperature affect diffusion?

Higher temperature increases molecular kinetic energy and the diffusion coefficient. The Einstein-Stokes relation D = kT/(6πμr) shows D is directly proportional to temperature and inversely proportional to viscosity and particle size.

Sources

Embed

<iframe src="https://homo-deus.com/lab/fluid-dynamics/diffusion-process/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub