2d diffusion simulation, GUI

points with random step each frame of time
1.7K Downloads
Updated 7 Dec 2011

View License

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

Cite As

Maxim Vedenyov (2024). 2d diffusion simulation, GUI (https://www.mathworks.com/matlabcentral/fileexchange/34103-2d-diffusion-simulation-gui), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0