{"id":"arxiv/2604.18536","url":"https://arxiv.org/abs/2604.18536","tags":["math.NA","physics.flu-dyn"],"score":0,"title":"A differentiable software suite for accelerated simulation of turbulent flows","domain":"math.NA","source":"arxiv","authors":["Syver Døving Agdestein","Benjamin Sanderse"],"reviews":0,"subject":"math.NA","summary":"We present IncompressibleNavierStokes.jl, an open-source Julia package for solving the incompressible Navier--Stokes equations on staggered Cartesian grids. The package features matrix-free, hardware-agnostic kernels that are compiled from a single source for multi-threaded CPU or GPU execution, and hand-written adjoint kernels for all discrete operators, enabling efficient reverse-mode automatic differentiation through the entire solver. This differentiability allows neural network closure models to be trained a-posteriori while embedded in a large-eddy simulation. Memory optimizations…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-04-20","reactions":{}}