2D & 3D KS Equation in JAX using Exponax

2D & 3D KS Equation in JAX using Exponax

🎙 Felix Koehler 👥 34K 📅 February 16, 2026 ⏱ 26 min 👁 2K 📄 tutorial 🧭 2026-08-16
Available in: English (current) Français

Keywords

Kuramoto-SivashinskyJAXExponaxpseudo-spectralsimulation

Summary

This tutorial video demonstrates how to simulate the Kuramoto-Sivashinsky (KS) equation in two and three dimensions using the Exponax library in JAX. The presenter, Felix Koehler, explains the mathematical formulation of the KS equation, highlighting its chaotic nature and the role of the gradient norm nonlinearity in higher dimensions. He then walks through the code, showing how to instantiate time steppers, generate initial conditions, skip transient phases, and record trajectories. The video covers both single and parallel integration of multiple trajectories, leveraging JAX’s vmap for efficient batch processing. Visualization techniques include 2D animations and 3D volume rendering using the Wave4D package. The presenter also demonstrates saving trajectories to disk and discusses performance considerations, such as using half-precision for storage. The tutorial is practical and reproducible, with code and data provided in the description.

133 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides a high-value, hands-on tutorial for simulating a complex spatiotemporal chaotic system using modern scientific computing tools. The argumentation is clear and logical, progressing from the mathematical background to practical implementation details. The presenter justifies design choices, such as the use of the gradient norm nonlinearity and the selection of domain size and resolution, based on the physics of the equation and computational constraints. The demonstration of parallel integration and performance benchmarks adds practical value for researchers and practitioners.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is high: the presenter is the author of Exponax, and the code and data are openly available. The tutorial follows standard numerical methods for the KS equation, and the presenter explains the underlying principles. The title accurately reflects the content. The video includes no external citations, but the provided GitHub repository and Hugging Face datasets serve as primary sources. The presentation is well-structured and technically sound.

165 words

Title / Content Match

The title accurately reflects the content: the video demonstrates 2D and 3D simulations of the KS equation using Exponax in JAX.

Quality & Reliability

8/10

The video provides a clear, reproducible tutorial on simulating the Kuramoto-Sivashinsky equation using Exponax and JAX. The author is the creator of Exponax, and the code and data are openly provided. The methodology is standard and well-explained, with attention to numerical details and performance considerations.

Chapters

Cited Sources

Concurring Sources

  • Exponax GitHub repository — The library used in the video, providing the pseudo-spectral solvers.
  • Wave4D GitHub repository — Volume rendering library used for 3D visualization.

Contribution & Novelties

The video provides a practical, reproducible tutorial for simulating the KS equation in 2D and 3D using Exponax and JAX, highlighting the efficiency of pseudo-spectral methods and JAX’s vectorization capabilities. It offers a clear demonstration of parallel integration and visualization techniques, making advanced scientific computing accessible.

Pour aller plus loin :

96 words

Radar Profile

The radar profile shows high scores in quantity and quality of information, with a slightly lower technical level, indicating a tutorial that is informative and reliable but may require some background knowledge. The overall reliability is high, reflecting the author's expertise and the open availability of resources.

Reliability 8/10