ML4PhySim : Machine Learning for Physical Simulations Challenge (The airfoil design)

Mouadh Yagoubi, Milad Leyli-Abadi, David Danan, Jean-Patrick Brunet, Jocelyn Ahmed Mazari, Florent Bonnet, Asma Farjallah, Marc Schoenauer, Patrick GallinariarXiv 2024 · DOI

Introduction

In modern engineering, Computational Fluid Dynamics (CFD) is a cornerstone of design in the aerospace and automotive sectors. However, the computational cost of solving the Navier-Stokes equations—the governing physics of fluid flow—remains a significant barrier. High-fidelity simulations often require thousands of CPU hours, severely limiting the speed of iterative design cycles.

Machine Learning (ML) surrogate models have emerged as a promising solution to accelerate these simulations. Yet, their adoption in industrial settings is hindered by three primary challenges: physical inconsistency (violating laws like mass conservation), poor generalization to out-of-distribution (OOD) geometries, and a lack of standardized benchmarking to compare ML architectures against traditional numerical solvers. The ML4PhySim Challenge addresses these gaps by providing a rigorous framework for evaluating ML-based airfoil design simulations.

The LIPS Framework and Methodology

The competition is built upon the Learning Industrial Physical Simulations (LIPS) framework. LIPS provides a modular platform to evaluate "augmented" physical simulations across four critical dimensions: data management, benchmark configuration, the augmented simulator (the ML model itself), and a comprehensive multi-criteria evaluation suite.

The LIPS framework architecture for evaluating augmented physical simulations.

A key technical pillar of the challenge is the integration of NVIDIA Modulus, which facilitates the development of Physics-ML models. These models aim to combine data-driven learning with the underlying partial differential equations (PDEs) to ensure causality and physical realism. Furthermore, the challenge emphasizes reproducibility; participants submit untrained model architectures that are retrained and validated on independent servers to prevent overfitting to specific pre-trained weights.

Dataset: AirfRANS

The challenge utilizes the AirfRANS dataset, focusing on 2D steady-state incompressible flow around various airfoil geometries. The data is partitioned to test specific model capabilities:

  • Training Set: 103 "scarce" samples, representing the data limitations often found in real-world industrial applications.
  • Test Set: 200 standard samples from the full AirfRANS task.
  • OOD Test Set: 496 samples designed to evaluate generalization across varying Reynolds numbers (ranging from $3 \times 10^6$ to $5 \times 10^6$) and mesh configurations.

Evaluation Criteria: Beyond Accuracy

A central contribution of this work is the "Global Score," a weighted metric that moves beyond simple Mean Squared Error (MSE). The scoring system evaluates models on:

  1. ML-related Performance (40%): Balancing raw accuracy with inference speedup.
  2. OOD Generalization (30%): Performance on unseen geometries and flow conditions.
  3. Physics Compliance (30%): Accuracy in predicting derived physical quantities, such as drag ($C_D$) and lift ($C_L$) coefficients.

The scoring formula rewards inference speedup relative to the classical OpenFOAM solver, though rewards are capped at a $10,000\times$ speedup to ensure that accuracy is not entirely sacrificed for velocity.

Key Results and Baselines

The paper establishes a baseline comparison between a standard Fully-Connected (FC) Neural Network and the traditional OpenFOAM solver.

Baseline comparison between a Fully-Connected (FC) network and the OpenFOAM solver across multiple criteria.

As shown in the results, OpenFOAM achieves a high score of 82.5% due to its perfect physical compliance, though it serves as the reference for speed (speedup of 1). In contrast, the FC Network achieves a massive 750x speedup but suffers significantly in accuracy and physical consistency, resulting in a global score of only 32.85%. This stark contrast underscores the necessity of the ML4PhySim challenge: simple ML architectures are currently insufficient for industrial-grade physical simulations.

Conclusion and Future Directions

While the ML4PhySim challenge provides a robust starting point, it is currently limited to 2D steady-state simulations. Future iterations aim to tackle 3D geometries and transient (time-varying) flows, which introduce higher dimensionality and temporal stability challenges. The ultimate goal is to bridge the gap between the speed of ML and the reliability of traditional CFD solvers, enabling a new era of rapid, physically-consistent industrial design.

Summary updated

BibTeX
@misc{yagoubi2024ml,
  author = {Mouadh Yagoubi and Milad Leyli-Abadi and David Danan and Jean-Patrick Brunet and Jocelyn Ahmed Mazari and Florent Bonnet and Asma Farjallah and Marc Schoenauer and Patrick Gallinari},
  title = {{ML4PhySim : Machine Learning for Physical Simulations Challenge (The airfoil design)}},
  year = {2024},
  eprint = {2403.01623},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.01623},
}
Figure