Code covered by the BSD License  

Highlights from
2d diffusion simulation, GUI

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 8.6 KB File ID: #34103
image thumbnail

2d diffusion simulation, GUI

by Maxim Vedenyov

 

07 Dec 2011

points with random step each frame of time

| Watch this File

File Information
Description

http://simulations.narod.ru/
The diffusion is simulated as set of points with random step each frame of time. Looks like brownian motion.
Step of point can be estimated from diffusion equation:
dn/dt=D*(d2n/dx2+d2n/dx2)
then approximately:
1/dt=D/dx^2
dx=sqrt(D*dt)
dt - time step
D - diffusion coefficient
dx - step of point

Required Products MATLAB
MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
diffusion Maxim Vedenyov 07 Dec 2011 10:34:35
simulation Maxim Vedenyov 07 Dec 2011 10:34:35
random walk Maxim Vedenyov 07 Dec 2011 10:34:35
brownian motion Maxim Vedenyov 07 Dec 2011 10:34:35

Contact us at files@mathworks.com