Simulation of 3D Diffusion Using the Monte Carlo Method

Using a Monte Carlo method, this Demonstration simulates the diffusion process in three dimensions, which obeys the equation
.
At time , the square of points at the bottom of the box represents the initial condition. At each time step, these points will diffuse by a random walk (Monte Carlo simulation) in three dimensions , , and . Each dimension can have a different diffusion coefficient, but in this Demonstration the three diffusion coefficients are assumed equal. You can also change the range of the initial square.

THINGS TO TRY

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.