2d diffusion simulation, GUI
Version 1.0.0.0 (8.6 KB) by
Maxim Vedenyov
points with random step each frame of time
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 LinuxTags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |