#380380th of 433 in ML frameworks and librariesFor science, health and research, science
phiflow
Differentiable PDE and fluid simulation toolkit for PyTorch, Jax and TensorFlow
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts phiflow on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.phiflow is on your watch list. Its new releases and problems show there.
- Stars
- 2k
- License
- MIT
- Last commit
- May 2026
- Last release
- Aug 2025
- Language
- Python
1,858 on 30 Apr 20261,960 on 26 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Φ-Flow is a Python library for physics simulation that runs on NumPy, PyTorch, Jax or TensorFlow, so simulations can be differentiated and combined with neural networks. It includes grid, mesh and particle examples (fluids, SPH, FLIP, heat, Burgers), a sparse linear solver, and an optional Dash web UI for live visualization. It builds on the PhiML tensor library with named dimensions.
Who it is for: Researchers building differentiable simulations or physics-based deep learning
Strengths
- Same simulation code runs on NumPy, PyTorch, Jax or TensorFlow, in 2D or 3D
- End-to-end differentiable physics for training networks through solvers
- Covers grids, FVM meshes and particles, with many runnable example notebooks
- High-level linear solver generates sparse matrices automatically
Weaknesses
- Built-in physics focuses on fluids; other PDE domains need user code
- GPU use needs a separate ML framework; custom CUDA ops need manual compilation
- Requires learning PhiML named and typed dimensions before code reads naturally
- Whitepaper still listed as upcoming; citation points to older papers
What it needs
- GPU optional
- Needs NumPy, PyTorch, Jax, TensorFlow, Dash, PhiML
What changed
- 3.3.0 ↗ (opens in a new tab)Breaking
“Accessing non-existent dims on geometry or Field now raises an error immediately”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #378 | transmogrifaiScala AutoML library on Apache Spark for structured data | 24 out of 100 |
| #379 | keras-tcnKeras layer implementing Temporal Convolutional Networks for sequence modeling | 24 out of 100 |
| #381 | torchquantumPyTorch library for simulating and training parameterized quantum circuits | 24 out of 100 |
| #382 | livelossplotLive training loss plots in Jupyter for Keras, PyTorch and others | 24 out of 100 |
| #383 | paddlesegImage segmentation toolkit on PaddlePaddle, from training to deployment | 23 out of 100 |