/lagrangian-microbes

🦐🐟🦈 A framework for simulating millions of interacting Lagrangian particles (or microbes!) in a turbulent ocean.

Primary LanguagePythonMIT LicenseMIT

mixing-induced-ecological-warfare

Rock-paper-scissors between Lagrangian microbes in a turbulent ocean.

https://www.youtube.com/watch?v=evxhhAHxJPc&feature=youtu.be

Initial configuration with 490,000 regularly spaced Lagrangian microbes in a small patch in the Northern Pacific. Each Lagrangian microbe is assigned a species at random (either rock, paper, or scissors). Initial configuration

A pair of Lagrangian microbes interact if they are within ~1 km of each other by playing rock-paper-scissors. The forward interaction (rock beats scissors, scissors beats paper, or paper beats rock) occurs with probability p while the backward interaction (scissors beats rock, paper beats scissors, or rock beats paper) occurs with probability 1-p.

A snapshot of the same set of Lagrangian microbes after 7,670 hours. Initial configuration