https://github.com/antoinediez/diffusionmysteries
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: antoinediez
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 875 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 2 years ago
· Last pushed over 2 years ago
https://github.com/antoinediez/DiffusionMysteries/blob/main/
# The Wonders of Diffusion Phenomena This repository contains the code used to generate the videos shown in a public lecture given by [Hiroshi Matano](https://researchmap.jp/hmatano?lang=en) ( ) entitled *The wonders of diffusion phenomena* (in Japanese ). This lecture was given at the Institute of Statistical Mathematics () in Tokyo on 18th November 2023. Please refer to [the webpage of the event](https://www.ism.ac.jp/events/2023/meeting1118.html) for more information. A recording of the lecture can be found [here](https://www.ism.ac.jp/events/2023/meeting1118.html) (in Japanese). ## Structure of this repository Each `.ipynb` Jupyter notebook file corresponds to one of the experiments described below. These simulations are intended to explain to a general audience how diffusion naturally emerge from discrete random systems with simple rules as in the famous [Brown experiment](https://en.wikipedia.org/wiki/Brownian_motion). The Julia script `RD_solver.jl` is a basic reaction-diffusion solver written in [Julia](https://julialang.org/) which can be used to generate [Turing patterns](https://en.wikipedia.org/wiki/Turing_pattern). The technical details and precise implementation are described in the folder `scr`. ### Hard-sphere motion The (deterministic) motion of colliding hard-spheres starting from a random initial condition is a simple, yet historical system from which Brownian motion emerges (see for instance [this article](https://doi.org/10.1007/s00222-015-0593-9) for a rigorous but very advanced rigorous mathematical proof of this). The two notebooks `hardspheres.ipynb` and `hardspheres_twopopulations.ipynb` show a numerical illustration of this fact. In these simulations, a collision between two hard-spheres is assumed to conserve energy and momentum. In the second case, two systems with a small and a large total energy are shown to illustrate how it affects the behaviour of the systems. Example videos are shown below. https://github.com/antoinediez/DiffusionMysteries/assets/70896255/15e3c8e3-aa48-44f1-b892-6589db8d2378 https://github.com/antoinediez/DiffusionMysteries/assets/70896255/2f94cb2e-be87-4195-8111-1100f707c9db ### Lattice motion in 2D A simplified system consists in a random walk on a lattice: in the 2D case, a particle is allowed to move to one of the four neighbouring positions (up, down, left, right) with equal probability at some random times. After zooming out and accelerating time, the motion of the particle resembles a Brownian motion. An example video produced by the notebook `dim2.ipynb` is shown below. https://github.com/antoinediez/DiffusionMysteries/assets/70896255/cc0ff987-50d5-4845-a1d3-98bc64f7f97c ### Lattice motion in 1D In a 1D lattice system, particles can move either on the left or on the right (with equal probability). When many (independent) particles are simulated, a distinctive smoothing effect can be observed. Example videos produced by the notebook `dim1.ipynb` and `dim1_twopopulations.ipynb` are shown below. https://github.com/antoinediez/DiffusionMysteries/assets/70896255/c2c1f24e-1faa-49e4-a61b-884d0ba453ba ### Turing patterns At the continuum level, diffusion can be coupled with "chemical" reactions to form a so-called [reaction-diffusion system](https://en.wikipedia.org/wiki/Reaction%E2%80%93diffusion_system). Since the pioneering work of [Turing](https://en.wikipedia.org/wiki/Turing_pattern), it is known that diffusion can be the source of instabilities leading to patterns such as stripes and spots commonly observed in nature. An example of reaction-diffusion system is the so-called Schnakenberg system. Spots and stripes are produced when the diffusion is high enough but disappear when the diffusion vanishes, as shown in the video below produced by the script `RD_solver.jl`. https://github.com/antoinediez/DiffusionMysteries/assets/70896255/360d615c-d5dc-450f-ad1c-03b859e0af1b ## Licence The videos and the (modest) code can be freely used and modified, with proper citation, under the permissive MIT licence. **Authors:** [Antoine Diez](https://antoinediez.gitlab.io/), Hiroshi Matano
Owner
- Name: Antoine Diez
- Login: antoinediez
- Kind: user
- Company: Kyoto University
- Website: https://antoinediez.gitlab.io/
- Repositories: 4
- Profile: https://github.com/antoinediez
Researcher at the Kyoto University Institute for the Advanced Study of Human Biology (ASHBi)