JAX-FLUIDS: A fully-differentiable high-order computational fluid dynamics solver for compressible two-phase flows
Not on the map. Why?
Abstract (arXiv)
Physical systems are governed by partial differential equations (PDEs). The Navier-Stokes equations describe fluid flows and are representative of nonlinear physical systems with complex spatio-temporal interactions. Fluid flows are omnipresent in nature and engineering applications, and their accurate simulation is essential for providing insights into these processes. While PDEs are typically solved with numerical methods, the recent success of machine learning (ML) has shown that ML methods can provide novel avenues of finding solutions to PDEs. ML is becoming more and more present in computational fluid dynamics (CFD). However, up to this date, there does not exist a general-purpose ML-CFD package which provides 1) powerful state-of-the-art numerical methods, 2) seamless hybridization of ML with CFD, and 3) automatic differentiation (AD) capabilities. AD in particular is essential to ML-CFD research as it provides gradient information and enables optimization of preexisting and novel CFD models. In this work, we propose JAX-FLUIDS: a comprehensive fully-differentiable CFD Python solver for compressible two-phase flows. JAX-FLUIDS allows the simulation of complex fluid dynamics with phenomena like three-dimensional turbulence, compressibility effects, and two-phase flows. Written entirely in JAX, it is straightforward to include existing ML models into the proposed framework. Furthermore, JAX-FLUIDS enables end-to-end optimization. I.e., ML models can be optimized with gradients that are backpropagated through the entire CFD algorithm, and therefore contain not only information of the underlying PDE but also of the applied numerical methods. We believe that a Python package like JAX-FLUIDS is crucial to facilitate research at the intersection of ML and CFD and may pave the way for an era of differentiable fluid dynamics.
Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Builds on 12 of its 98 references that are in the map. First posted on arXiv 25 Mar 2022.
Builds on
12 of 98 references.
References · 12
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2021Machine learning accelerated computational fluid dynamicscited by 471
- 2019Machine Learning for Fluid Mechanicscited by 385
- 2020Solver-in-the-Loop: Learning from Differentiable Physics to Interact with Iterative PDE-Solverscited by 205
- 2019DPM: A deep learning PDE augmentation method (with application to large-eddy simulation)cited by 41
- 2018Deep Neural Networks for Data-Driven Turbulence Modelscited by 35
- 2020ChemNODE: A Neural Ordinary Differential Equations Approach for Chemical Kinetics Solverscited by 26
- 2020Enhancement of shock-capturing methods via machine learningcited by 16
- 2021Inferring incompressible two-phase flow fields from the interface motion using physics-informed neural networkscited by 9
- 2021Consistent and symmetry preserving data-driven interface reconstruction for the level-set methodcited by 5
Built on by
Citing papers per year: 2022: 4; 2023: 8; 2024: 6; 2025: 10; 2026: 8.
36 papers.
Sort:
By area:
- 2022PDEBENCH: An Extensive Benchmark for Scientific Machine Learningcited by 413
- 2023FluidLab: A Differentiable Environment for Benchmarking Complex Fluid Manipulationcited by 40
- 2023LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suitecited by 27
- 2022Differentiable Programming for Earth System Modelingcited by 22
- 2023XLB: A differentiable massively parallel lattice Boltzmann library in Pythoncited by 11
- 2022JAX-DIPS: Neural bootstrapping of finite discretization methods and application to elliptic problems with discontinuitiescited by 7
- 2024JAX-Fluids 2.0: Towards HPC for Differentiable CFD of Compressible Two-phase Flowscited by 7
- 2023A Comparison of Mesh-Free Differentiable Programming and Data-Driven Strategies for Optimal Control under PDE Constraintscited by 6
- 2025PICT -- A Differentiable, GPU-Accelerated Multi-Block PISO Solver for Simulation-Coupled Learning Tasks in Fluid Dynamicscited by 6
- 2024What You See is Not What You Get: Neural Partial Differential Equations and The Illusion of Learningcited by 5
- 2023Neural-Integrated Meshfree (NIM) Method: A differentiable programming-based hybrid solver for computational mechanicscited by 4
- 2024Neural Physics: Using AI Libraries to Develop Physics-Based Solvers for Incompressible Computational Fluid Dynamicscited by 4
24 more
- 2024JAX-SPH: A Differentiable Smoothed Particle Hydrodynamics Frameworkcited by 4
- 2025Scientific Machine Learning of Flow Resistance Using Universal Shallow Water Equations with Differentiable Programmingcited by 3
- 2025Physics-Informed DeepONet Coupled with FEM for Convective Transport in Porous Media with Sharp Gaussian Sourcescited by 3
- 2026Deep Learning of Solver-Aware Turbulence Closures from Nudged LES Dynamicscited by 3
- 2024Differentiable Neural-Integrated Meshfree Method for Forward and Inverse Modeling of Finite Strain Hyperelasticitycited by 2
- 2025Differentiable Inverse Modeling with Physics-Constrained Latent Diffusion for Heterogeneous Subsurface Parameter Fieldscited by 2
- 2026Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Modelcited by 2
- 2022Neuro-symbolic partial differential equation solvercited by 1
- 2023Differentiable Turbulence: Closure as a partial differential equation constrained optimizationcited by 1
- 2025Solving Euler equations with Multiple Discontinuities via Separation-Transfer Physics-Informed Neural Networkscited by 1
- 2025Learning Particle Dynamics Subject to Rigid Body Manipulations Using Graph Neural Networkscited by 1
- 2026ADDA: a Modular Framework for Representing, Simulating and Assimilating Dynamics with End-to-end Differentiabilitycited by 1
- 2023A differentiable programming framework for spin modelscited by 0
- 2023SBMLtoODEjax: Efficient Simulation and Optimization of Biological Network Models in JAXcited by 0
- 2024Rational-WENO: A lightweight, physically-consistent three-point weighted essentially non-oscillatory schemecited by 0
- 2025Learning second-order TVD flux limiters using differentiable solverscited by 0
- 2025Neural network-based Godunov corrections for approximate Riemann solvers using bi-fidelity learningcited by 0
- 2025Parameter estimation for land-surface models using Neural Physicscited by 0
- 2025Revealing Low-Dimensional Structure in 2D Richtmyer-Meshkov Instabilities via Parametric Reduced-Order Modelingcited by 0
- 2026Quantum Neural Physics: Solving Partial Differential Equations on Quantum Simulators using Quantum Convolutional Neural Networkscited by 0
- 2026Ultra-fast Traffic Nowcasting and Control via Differentiable Agent-based Simulationcited by 0
- 2026A fully GPU-based workflow for building physics emulators of hypersonic flowscited by 0
- 2026Mosaic: A Benchmark Suite for Differentiable Physics Solverscited by 0
- 2026A Physics-Informed Neural Network Framework for Elastodynamic Wave Propagation in Bimaterial Systemscited by 0
- 2026ADDA: a Modular Framework for Representing, Simulating and Assimilating Dynamics with End-to-end Differentiability24 Aug 2026
- 2026A Physics-Informed Neural Network Framework for Elastodynamic Wave Propagation in Bimaterial Systems7 Jul 2026
- 2026Mosaic: A Benchmark Suite for Differentiable Physics Solvers26 Jun 2026
- 2026A fully GPU-based workflow for building physics emulators of hypersonic flows11 Jun 2026
- 2026Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Model4 Jun 2026
- 2026Deep Learning of Solver-Aware Turbulence Closures from Nudged LES Dynamics26 Apr 2026
- 2026Ultra-fast Traffic Nowcasting and Control via Differentiable Agent-based Simulation26 Mar 2026
- 2026Quantum Neural Physics: Solving Partial Differential Equations on Quantum Simulators using Quantum Convolutional Neural Networks25 Mar 2026
- 2025Differentiable Inverse Modeling with Physics-Constrained Latent Diffusion for Heterogeneous Subsurface Parameter Fields27 Dec 2025
- 2025Revealing Low-Dimensional Structure in 2D Richtmyer-Meshkov Instabilities via Parametric Reduced-Order Modeling17 Oct 2025
- 2025Learning Particle Dynamics Subject to Rigid Body Manipulations Using Graph Neural Networks3 Sep 2025
- 2025Physics-Informed DeepONet Coupled with FEM for Convective Transport in Porous Media with Sharp Gaussian Sources27 Aug 2025
24 more
- 2025Solving Euler equations with Multiple Discontinuities via Separation-Transfer Physics-Informed Neural Networks26 May 2025
- 2025PICT -- A Differentiable, GPU-Accelerated Multi-Block PISO Solver for Simulation-Coupled Learning Tasks in Fluid Dynamics22 May 2025
- 2025Parameter estimation for land-surface models using Neural Physics5 May 2025
- 2025Neural network-based Godunov corrections for approximate Riemann solvers using bi-fidelity learning17 Mar 2025
- 2025Learning second-order TVD flux limiters using differentiable solvers11 Mar 2025
- 2025Scientific Machine Learning of Flow Resistance Using Universal Shallow Water Equations with Differentiable Programming18 Feb 2025
- 2024What You See is Not What You Get: Neural Partial Differential Equations and The Illusion of Learning22 Nov 2024
- 2024Rational-WENO: A lightweight, physically-consistent three-point weighted essentially non-oscillatory scheme13 Sep 2024
- 2024Differentiable Neural-Integrated Meshfree Method for Forward and Inverse Modeling of Finite Strain Hyperelasticity15 Jul 2024
- 2024JAX-SPH: A Differentiable Smoothed Particle Hydrodynamics Framework7 Mar 2024
- 2024Neural Physics: Using AI Libraries to Develop Physics-Based Solvers for Incompressible Computational Fluid Dynamics27 Feb 2024
- 2024JAX-Fluids 2.0: Towards HPC for Differentiable CFD of Compressible Two-phase Flows7 Feb 2024
- 2023XLB: A differentiable massively parallel lattice Boltzmann library in Python27 Nov 2023
- 2023Neural-Integrated Meshfree (NIM) Method: A differentiable programming-based hybrid solver for computational mechanics21 Nov 2023
- 2023A Comparison of Mesh-Free Differentiable Programming and Data-Driven Strategies for Optimal Control under PDE Constraints2 Oct 2023
- 2023LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suite28 Sep 2023
- 2023SBMLtoODEjax: Efficient Simulation and Optimization of Biological Network Models in JAX17 Jul 2023
- 2023Differentiable Turbulence: Closure as a partial differential equation constrained optimization7 Jul 2023
- 2023A differentiable programming framework for spin models4 Apr 2023
- 2023FluidLab: A Differentiable Environment for Benchmarking Complex Fluid Manipulation4 Mar 2023
- 2022Neuro-symbolic partial differential equation solver25 Oct 2022
- 2022JAX-DIPS: Neural bootstrapping of finite discretization methods and application to elliptic problems with discontinuities25 Oct 2022
- 2022PDEBENCH: An Extensive Benchmark for Scientific Machine Learning13 Oct 2022
- 2022Differentiable Programming for Earth System Modeling29 Aug 2022
- 2022PDEBENCH: An Extensive Benchmark for Scientific Machine Learningcited by 413
- 2023FluidLab: A Differentiable Environment for Benchmarking Complex Fluid Manipulationcited by 40
- 2023LagrangeBench: A Lagrangian Fluid Mechanics Benchmarking Suitecited by 27
- 2022Differentiable Programming for Earth System Modelingcited by 22
- 2023XLB: A differentiable massively parallel lattice Boltzmann library in Pythoncited by 11
- 2022JAX-DIPS: Neural bootstrapping of finite discretization methods and application to elliptic problems with discontinuitiescited by 7
- 2024JAX-Fluids 2.0: Towards HPC for Differentiable CFD of Compressible Two-phase Flowscited by 7
- 2023A Comparison of Mesh-Free Differentiable Programming and Data-Driven Strategies for Optimal Control under PDE Constraintscited by 6
- 2025PICT -- A Differentiable, GPU-Accelerated Multi-Block PISO Solver for Simulation-Coupled Learning Tasks in Fluid Dynamicscited by 6
- 2024What You See is Not What You Get: Neural Partial Differential Equations and The Illusion of Learningcited by 5
- 2023Neural-Integrated Meshfree (NIM) Method: A differentiable programming-based hybrid solver for computational mechanicscited by 4
- 2024Neural Physics: Using AI Libraries to Develop Physics-Based Solvers for Incompressible Computational Fluid Dynamicscited by 4
12 most cited of 35 All 35 (JSON)
- 2026ADDA: a Modular Framework for Representing, Simulating and Assimilating Dynamics with End-to-end Differentiability24 Aug 2026
- 2026A Physics-Informed Neural Network Framework for Elastodynamic Wave Propagation in Bimaterial Systems7 Jul 2026
- 2026Mosaic: A Benchmark Suite for Differentiable Physics Solvers26 Jun 2026
- 2026A fully GPU-based workflow for building physics emulators of hypersonic flows11 Jun 2026
- 2026Systematic LLM Translation of Legacy Scientific Code to Differentiable Frameworks: Application to a Land Surface Model4 Jun 2026
- 2026Deep Learning of Solver-Aware Turbulence Closures from Nudged LES Dynamics26 Apr 2026
- 2026Ultra-fast Traffic Nowcasting and Control via Differentiable Agent-based Simulation26 Mar 2026
- 2026Quantum Neural Physics: Solving Partial Differential Equations on Quantum Simulators using Quantum Convolutional Neural Networks25 Mar 2026
- 2025Revealing Low-Dimensional Structure in 2D Richtmyer-Meshkov Instabilities via Parametric Reduced-Order Modeling17 Oct 2025
- 2025Learning Particle Dynamics Subject to Rigid Body Manipulations Using Graph Neural Networks3 Sep 2025
- 2025Physics-Informed DeepONet Coupled with FEM for Convective Transport in Porous Media with Sharp Gaussian Sources27 Aug 2025
- 2025Solving Euler equations with Multiple Discontinuities via Separation-Transfer Physics-Informed Neural Networks26 May 2025
12 newest of 35 All 35 (JSON)