1dDiffusion

 

1D Diffusion Simulation

Watch a population of particles spread from the origin and compare the measured mean squared displacement with theory

Diffusion coefficient
D = 1.0
Particles
N = 100
Time 0
Measured MSD 0.0
Theory 2Dt 0.0

Position distribution

The distribution broadens as diffusion proceeds