tum-pbs/PhiFlow

A differentiable PDE solving framework for machine learning

72
/ 100
Verified

Supports multiple discretization methods (grids, unstructured meshes, particles) and integrates seamlessly with PyTorch, JAX, TensorFlow, and NumPy through a backend-agnostic architecture. Enables end-to-end differentiable simulation by exposing automatic differentiation throughout the solver stack, allowing gradient-based optimization of both physics parameters and neural network models jointly. Implements classical numerical schemes (finite volume, SPH, FLIP) alongside modern techniques for inverse problems and physics-informed learning.

1,835 stars and 991 monthly downloads. Actively maintained with 1 commit in the last 30 days. Available on PyPI.

Maintenance 16 / 25
Adoption 17 / 25
Maturity 18 / 25
Community 21 / 25

How are scores calculated?

Stars

1,835

Forks

222

Language

Python

License

MIT

Last pushed

Mar 06, 2026

Monthly downloads

991

Commits (30d)

1

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/tum-pbs/PhiFlow"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.