Skip to content

A finite element method implementation in Matlab to solve the Gray-Scott reaction-diffusion equation on the surface of a sphere.

License

Notifications You must be signed in to change notification settings

mbn010/Gray-Scott-reaction-diffusion-on-a-sphere

Repository files navigation

Project Title

Gray-Scott reaction diffusion on a sphere in Matlab

Description

Reaction-diffusion models are notable for producing many patterns found in nature. In this short project I put together a quick and simple surface finite element method which I've used to solve the Gray-Scott reaction-diffusion equations on the surface of a sphere given by gamma.

domain

The model itself is described in the following figure.

gray scott model

And the parameters I've selected to model are given in:

params

This code makes use of the Matlab vectorization notation and iterative solvers to produce a high performance, and colourful, output given in the animation.

animation

These animations correspond to two separate initial conditions which are available from the code.

Deployment

To demo this application, execute the .m script file in a Matlab environment.

Built With

Versioning

Version 1.0 only.

Authors

  • Michael N - Initial work - mbn010

About

A finite element method implementation in Matlab to solve the Gray-Scott reaction-diffusion equation on the surface of a sphere.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages