Pith. sign in

REVIEW 2 cited by

WaterLily.jl: A differentiable and backend-agnostic Julia solver for incompressible viscous flow around dynamic bodies

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2407.16032 v3 pith:CEEUIYPA submitted 2024-07-22 physics.flu-dyn physics.comp-ph

WaterLily.jl: A differentiable and backend-agnostic Julia solver for incompressible viscous flow around dynamic bodies

classification physics.flu-dyn physics.comp-ph
keywords computationalflowsolverbackend-agnosticdifferentiableexecutiongridincompressible
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

Integrating computational fluid dynamics (CFD) solvers into optimization and machine-learning frameworks is hampered by the rigidity of classic computational languages and the slow performance of more flexible high-level languages. In this work, we introduce WaterLily.jl: an open-source incompressible viscous flow solver written in the Julia language. An immersed boundary method is used to enforce the effect of solid boundaries on flow past complex geometries with arbitrary motions. The small code base is multidimensional, multiplatform and backend-agnostic, ie. it supports serial and multithreaded CPU execution, and GPUs of different vendors. Additionally, the pure-Julia implementation allows the solver to be fully differentiable using automatic differentiation. The computational cost per time step and grid point remains constant with increasing grid size on CPU backends, and we measure up to two orders of magnitude speed-up on a supercomputer GPU compared to serial CPU execution. This leads to comparable performance with low-level CFD solvers written in C and Fortran on research-scale problems, opening up exciting possible future applications on the cutting edge of machine-learning research.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. JAX-FVM: A differentiable, entropy-stable finite volume solver on unstructured meshes for compressible flows

    math.NA 2026-07 conditional novelty 6.0

    JAX-FVM is a differentiable, entropy-stable finite volume solver for 2D compressible Euler/Navier-Stokes equations on unstructured meshes, built in JAX.

  2. GPU Performance of an Entropy-Stable Discontinuous Galerkin Euler Solver with Non-Conservative Terms

    math.NA 2026-05 unverdicted novelty 4.0

    GPU port of entropy-stable DG Euler solver with non-conservative buoyancy terms reaches nearly 70% of 64-bit peak on A100 volume kernels, delivers 10x speedup and 13x better energy efficiency versus CPU, and preserves...