[Paper Review] Neural Physics: Using AI Libraries to Develop Physics-Based Solvers for Incompressible Computational Fluid Dynamics
The paper repurposes AI libraries to build CNN-based multigrid solvers for incompressible CFD, solving advection-diffusion, Burgers, and Navier–Stokes problems.
Numerical discretisations of partial differential equations (PDEs) can be written as discrete convolutions, which, themselves, are a key tool in AI libraries and used in convolutional neural networks (CNNs). We therefore propose to implement numerical discretisations as convolutional layers of a neural network, where the weights or filters are determined analytically rather than by training. Furthermore, we demonstrate that these systems can be solved entirely by functions in AI libraries, either by using Jacobi iteration or multigrid methods, the latter realised through a U-Net architecture. Some advantages of the Neural Physics approach are that (1) the methods are platform agnostic; (2) the resulting solvers are fully differentiable, ideal for optimisation tasks; and (3) writing CFD solvers as (untrained) neural networks means that they can be seamlessly integrated with trained neural networks to form hybrid models. We demonstrate the proposed approach on a number of test cases of increasing complexity from advection-diffusion problems, the non-linear Burgers equation to the Navier-Stokes equations. We validate the approach by comparing our results with solutions obtained from traditionally written code and common benchmarks from the literature. We show that the proposed methodology can solve all these problems using repurposed AI libraries in an efficient way, without training, and presents a new avenue to explore in the development of methods to solve PDEs with implicit methods.
Motivation & Objective
- Demonstrate how open-source AI libraries can be repurposed to solve discretised PDEs for CFD problems.
- Show that CNNs can act as multigrid components to enforce incompressibility in Navier–Stokes simulations.
- Provide a framework where solver components (smoothing, restriction, prolongation) map to CNN operations for scalability on modern hardware.
- Illustrate applicability to advection–diffusion, Burgers, and incompressible flow past bluff bodies.
Proposed method
- Repurpose convolutional neural networks to emulate multigrid solvers for discretised PDEs.
- Represent smoothing and error correction steps via CNN layers, including skip connections akin to U-Net to pass residuals.
- Formulate predictor–corrector time stepping as CNN filter operations with a fixed 3x3 stencil.
- Apply a projection-based approach for Navier–Stokes coupling pressure and velocity using a CNN-enabled multigrid solver.
- Use finite element discretisation for advection terms and 27-point stencils for diffusion, with boundary handling via padding strategies.
- Demonstrate one-step and explicit time discretisations, and integrate velocity-pressure coupling within the CNN framework.
Experimental results
Research questions
- RQ1Can CNN-based multigrid cycles reproduce classical multigrid convergence for incompressible CFD problems?
- RQ2How can standard CFD discretisations (advection-diffusion, Burgers, Navier–Stokes) be encoded as CNN filters and activations without training?
- RQ3Does the CNN-based solver achieve architecture portability and computational efficiency across CPUs, GPUs, and AI processors?
- RQ4Can a projection-based Navier–Stokes solution be integrated within a CNN framework to enforce incompressibility?
Key findings
- CNN-based multigrid solvers can converge for advection–diffusion problems implemented on CNN architectures.
- The approach yields results for Burgers and incompressible flow past bluff bodies that match traditional PDE solvers within numerical error margins.
- A fixed 3x3 kernel with appropriate activations can represent discretised operators for advection and diffusion in the CNN framework.
- Layer skipping (as in U-Net) is an effective mechanism to pass residuals between multigrid levels within CNNs.
- The framework suggests a pathway to integrate neural networks with physics-informed models and subgrid-scale representations in CFD.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.