Skip to content

Varato/TuringPattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gray Scott Model

Run

Run the simulation in Tkinter gui by:

python gui.py

Reaction

$$U + 2V \rightarrow 3V$$

Rate equations

$$\frac{\partial{u}}{\partial{t}} = D_u \nabla^2 u - uv^2 + F (1-u)$$ $$\frac{\partial{v}}{\partial{t}} = D_v \nabla^2 v + uv^2 - (F + k) v$$

where $u(x, y, t)$ and $v(x, y, t)$ are concentrations of the reactants $U$ and $V$.

In the simulation, discrete laplacian operator is used for diffusion, and $dx$ is set to $1$. Time step $dt$ is important for numerical stability when integrating the PDEs, and it must be set to balance efficiency and numerical stability. A theory for this is Courant-Friedrichs-Lewy.

Patterns

Maze

Solitons

Mitosis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published