A gas molecule diffusing through a filled polymer must go around every impermeable platelet it meets instead of straight through it. Nielsen's tortuosity model turns that geometric fact into a permeability prediction for thin, well-aligned platelets (aspect ratio α = L/t, volume fraction φ):
τ = 1 + (α/2)·φ
P/P₀ = D_eff/D₀ = 1/τ
This simulator doesn't just plot that formula — it runs a real random walk. Each molecule takes independent Gaussian steps of variance 2D₀·dt on every axis (the definition of Fickian diffusion). When a step would land inside a platelet's disk, the step is rejected and the molecule gets a small tangential nudge along the platelet's face instead, exactly like a real obstacle deflection. The vertical mean-squared displacement of the whole population then gives a measured effective diffusivity:
D_eff = ⟨Δy²⟩ / (2Δt) (sampled every second, excluding molecules
that just respawned mid-window)
τ_measured = D₀ / D_eff
- φ — how much of the polymer volume is nanoclay platelets. Nielsen's formula is linear in φ.
- Aspect ratio L/t — thinner, wider platelets (higher α) force a longer detour per obstacle.
- Alignment — Nielsen's formula assumes platelets lie flat, perpendicular to the diffusion direction (100%). Drop alignment toward 0% (randomly tumbled, poorly exfoliated filler) and the measured barrier falls well short of the Nielsen line — orientation control during processing matters as much as loading.
- D₀ — the molecule's diffusivity in the pure, unfilled matrix; it sets the animation's step size and is the denominator of every ratio above.
Real-world relevance: this "brick-and-mortar" tortuosity mechanism is why a few weight-percent of exfoliated montmorillonite or graphene in a polymer film can cut oxygen or water-vapor permeability several-fold — the basis of nanocomposite food-packaging and barrier-coating design.