#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.

Stars
2k
License
MIT
Last commit
May 2026
Last release
Aug 2025
Language
Python
Stars, last 30 weeks+102
30 Apr 2026: 1,858 stars7 May 2026: 1,858 stars14 May 2026: 1,860 stars21 May 2026: 1,864 stars28 May 2026: 1,866 stars4 Jun 2026: 1,870 stars11 Jun 2026: 1,879 stars18 Jun 2026: 1,882 stars25 Jun 2026: 1,890 stars2 Jul 2026: 1,892 stars9 Jul 2026: 1,903 stars16 Jul 2026: 1,904 stars23 Jul 2026: 1,906 stars30 Jul 2026: 1,909 stars6 Aug 2026: 1,913 stars13 Aug 2026: 1,919 stars20 Aug 2026: 1,919 stars27 Aug 2026: 1,924 stars3 Sept 2026: 1,926 stars10 Sept 2026: 1,929 stars17 Sept 2026: 1,931 stars24 Sept 2026: 1,933 stars1 Oct 2026: 1,936 stars8 Oct 2026: 1,941 stars15 Oct 2026: 1,943 stars22 Oct 2026: 1,947 stars29 Oct 2026: 1,949 stars5 Nov 2026: 1,951 stars12 Nov 2026: 1,955 stars19 Nov 2026: 1,958 stars26 Nov 2026: 1,960 stars

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

  1. “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
Also in ML frameworks and libraries
RankProjectScore
#378transmogrifaiScala AutoML library on Apache Spark for structured data2.3k starsBSD-3-Clause24 out of 100
#379keras-tcnKeras layer implementing Temporal Convolutional Networks for sequence modeling2k starsMIT24 out of 100
#381torchquantumPyTorch library for simulating and training parameterized quantum circuits1.7k starsMIT24 out of 100
#382livelossplotLive training loss plots in Jupyter for Keras, PyTorch and others Live demo ↗ (opens in a new tab)1.3k starsMIT24 out of 100
#383paddlesegImage segmentation toolkit on PaddlePaddle, from training to deployment9.4k starsApache-2.0no commits in a year23 out of 100