Skip to content

Simulate and visualize reaction-diffusion models and Turing patterns

License

Notifications You must be signed in to change notification settings

jluebeck/ReactionDiffusionSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactionDiffusionSimulator

Simulates Reaction Diffusion models This tool simulates a number of reaction-diffusion systems and produces Turing patterns. Optionally, the images may be saved sequentially and can output images to string together in an animation.

Requirements

Python with numpy and matplotlib packages installed.

Examples

Example usage 1:

python ReactionDiffusion.py -o my_simulation --moviemode -n 10000

This will output files with the prefix "OutputPrefix" into a directory of the same name, and as the moviemode flag is set, it will store 250 images for animation. User will be prompted for model type

Example usage 2:

python ReactionDiffusion.py -o my_simulation2 -m GM -n 5000

Instead uses the Gierer-Meinhardt activator-inhibitor model (-gm).

Supported models

Currently supports the following reaction-diffusion systems (output results of ReactionDiffusion.py shown below).

Gray-Scott

"Complex Patterns in a Simple System", John Pearson, Science 1993

Solitons

Coral

Maze

Waves

Flicker

Worms

FitzHugh-Nagumo

"FitzHugh–Nagumo model", Wikipedia

Gierer-Meinhardt

"Gierer-Meinhardt model", Scholarpedia

About

Simulate and visualize reaction-diffusion models and Turing patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages