rd-spiral: An open-source Python library for learning 2D reaction-diffusion dynamics through pseudo-spectral method
Sandy H. S. Herho, Iwan P. Anwar, Rusmawan Suwarman

TL;DR
rd-spiral is an open-source Python library that efficiently simulates 2D reaction-diffusion systems using pseudo-spectral methods, combining high accuracy with educational clarity.
Contribution
It introduces a novel Python framework that integrates FFT-based discretization with adaptive time integration for simulating complex reaction-diffusion dynamics.
Findings
Revealed non-Gaussian statistics in stable states.
Quantified coupling reductions during turbulence.
Handled high stiffness ratios with automated features.
Abstract
We introduce rd-spiral, an open-source Python library for simulating 2D reaction-diffusion systems using pseudo-spectral methods. The framework combines FFT-based spatial discretization with adaptive Dormand-Prince time integration, achieving exponential convergence while maintaining pedagogical clarity. We analyze three dynamical regimes: stable spirals, spatiotemporal chaos, and pattern decay, revealing extreme non-Gaussian statistics (kurtosis ) in stable states. Information-theoretic metrics show reduction in activator-inhibitor coupling during turbulence versus in stable regimes. The solver handles stiffness ratios with features including automated equilibrium classification and checkpointing. Effect sizes (--) distinguish regimes, with asymmetric field sensitivities to perturbations. By balancing computational rigor with educational…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNMR spectroscopy and applications
