TL;DR
JAX-LaB is a high-performance, differentiable lattice Boltzmann library built on JAX, enabling accurate multiphase fluid simulations in geosciences and engineering with scalable hardware support.
Contribution
It introduces a novel, differentiable, GPU-accelerated lattice Boltzmann library with advanced multiphase modeling and contact angle control, integrated into the JAX framework.
Findings
Accurately models high density ratios (>10^7) with low spurious currents.
Demonstrates efficient multi-GPU scaling on distributed systems.
Validates performance through benchmarks and real-world geoscience applications.
Abstract
We introduce JAX-LaB, a differentiable, Python-based Lattice Boltzmann simulation library designed for modeling multiphase and multiphysics fluid dynamics problems in hydrologic, geologic, and engineered porous media settings. The library is designed as an extension to XLB, and it is built on the JAX framework. The library delivers a performant, hardware-agnostic implementation that seamlessly integrates with machine learning libraries and scales efficiently across CPUs, multi-GPU setups, and distributed environments. Multiphase interactions are modeled using the Shan-Chen pseudopotential method, coupled with an equation of state (EOS) to reproduce densities consistent with Maxwell's construction, enabling accurate simulation of flows with density ratios while maintaining low spurious currents. Fluid wetting is achieved using the "improved" virtual density scheme, which enables…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
