Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

# Reduced-order Swarmalator Model (Synchronematic colloids)

Python code to reproduce the reduced-order “swarmalator” simulations used for Fig. 5 of *Self-oscillating synchronematic colloids*. The implementation uses the phase–orientation interaction functions derived in the manuscript, and integrates the coupled dynamics with periodic boundary conditions. 

## Contents
- `simulation_numba.py` — main simulation script (optionally accelerated with Numba)

## Requirements
- Python 3.9+ (3.10+ recommended)
- `numpy`
- `matplotlib`
- Optional but strongly recommended: `numba` (for faster pairwise accumulation) :contentReference[oaicite:4]{index=4} :contentReference[oaicite:5]{index=5}
- `ffmpeg` (needed to save the MP4 animation) :contentReference[oaicite:6]{index=6}

Install Python dependencies:
```bash
pip install numpy matplotlib
pip install numba   # optional but faster

quick run:
python3 simulation_numba.py --rho 0.3 --D_r 0.001 --seed 54892

About

Reduced order simulation code for self-oscillating synchronematic particles

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages