Skip to content

This is a simple Java app that simulates the Gray-Scott reaction diffusion equations.

License

Notifications You must be signed in to change notification settings

zenzicubic/ReactionDiffusionSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactionDiffusionSimulation

This is a simple Java app that simulates the Gray-Scott reaction diffusion equations.

About

Reaction-diffusion equations are simple mathematical models of how chemicals react. Many exist, but all of them have a few things in common:

  • They're parabolic partial differential equations.
  • They display complex and lifelike behavior.
  • They form wiggly patterns when plotted.

This program plots the Gray-Scott equations, a pair of two partial differential equations:

These equations express the reactions

where f is the rate that chemical A is added to the mix, k is the reaction rate of chemical B becoming chemical C, rA is the rate of chemical A's diffusion, and rB is the rate of chemical B's diffusion.

This Java program solves these equations using Euler integration. A JAR file is supplied in the "bin" folder. You will need to install Java on your computer for this to work. Some examples are located in the "examples" folder.

About

This is a simple Java app that simulates the Gray-Scott reaction diffusion equations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages