ExplorerMathematicsMathematics
Research PaperResearchia:202604.21030

A differentiable software suite for accelerated simulation of turbulent flows

Syver Døving Agdestein

Abstract

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 mode...

Submitted: April 21, 2026Subjects: Mathematics; Mathematics

Description / Details

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 permit double-precision direct numerical simulations at resolutions up to 8403840^3 on a single GPU. The software design, numerical methods, hardware performance, and integration of neural network closure models are described, and results for turbulent channel flow are validated against reference data.


Source: arXiv:2604.18536v1 - http://arxiv.org/abs/2604.18536v1 PDF: https://arxiv.org/pdf/2604.18536v1 Original Link: http://arxiv.org/abs/2604.18536v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Apr 21, 2026
Topic:
Mathematics
Area:
Mathematics
Comments:
0
Bookmark
A differentiable software suite for accelerated simulation of turbulent flows | Researchia