Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.39 KB

README.md

File metadata and controls

57 lines (36 loc) · 2.39 KB

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