Simulation of 3D Diffusion Using the Monte Carlo Method

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.


Contributed by: Quang-Dao Trinh (March 2011)
Open content licensed under CC BY-NC-SA



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.