Skip to main content
QUICK REVIEW

[Paper Review] Towards Exascale CFD Simulations Using the Discontinuous Galerkin Solver FLEXI

Marcel Blind, Gao Min|arXiv (Cornell University)|Jun 22, 2023
Model Reduction and Neural NetworksPhysics and Astronomy3 citations
TL;DR

This paper presents key advancements in the FLEXI discontinuous Galerkin solver to enable exascale computational fluid dynamics (CFD) simulations, including exascale scaling up to 500,000 cores, a compressible wall model for high-Reynolds-number flows, a finite-volume-based shock capturing method, and a TensorFlow-Fortran binding (TFFB) for deploying machine learning models. These components collectively enable high-fidelity large eddy simulations of shock buffet on a 3D wing at transonic conditions.

ABSTRACT

Modern high-order discretizations bear considerable potential for the exascale era due to their high fidelity and the high, local computational load that allows for computational efficiency in massively parallel simulations. To this end, the discontinuous Galerkin (DG) framework FLEXI was selected to demonstrate exascale readiness within the Center of Excellence for Exascale CFD (CEEC) by simulating shock buffet on a three-dimensional wing segment at transsonic flight conditions. This paper summarizes the recent progress made to enable the simulation of this challenging exascale problem. For this, it is first demonstrated that FLEXI scales excellently to over 500 000 CPU cores on HAWK at the HLRS. To tackle the considerable resolution requirements near the wall, a novel wall model is proposed that takes compressibility effects into account and yields decent results for the simulation of a NACA 64A-110 airfoil. To address the shocks in the domain, a finite-volume-based shock capturing method was implemented in FLEXI, which is validated here using the simulation of a linear compressor cascade at supersonic flow conditions, where the method is demonstrated to yield efficient, robust and accurate results. Lastly, we present the TensorFlow-Fortran-Binding (TFFB) as an easy-to-use library to deploy trained machine learning models in Fortran solvers such as FLEXI.

Motivation & Objective

  • To demonstrate exascale readiness of the FLEXI discontinuous Galerkin solver for large-scale CFD simulations.
  • To address the extreme resolution demands near walls in high-Reynolds-number flows using a novel compressible wall model.
  • To implement and validate a robust shock capturing method for resolving discontinuities in transonic and supersonic flows.
  • To enable efficient integration of machine learning models into high-performance Fortran solvers via a new HPC-compatible interface.
  • To support the lighthouse case of shock buffet simulation on a 3D wing at realistic flight conditions within the CEEC initiative.

Proposed method

  • FLEXI was scaled to 500,000 CPU cores on the HAWK supercomputer using Cartesian meshes with periodic boundaries and polynomial degree N=7, demonstrating strong scaling up to 4096 nodes.
  • A compressible wall model was developed to reduce near-wall resolution requirements, validated using flow over a NACA 64A-110 airfoil against wall-resolved simulations.
  • A finite-volume-based shock capturing method was implemented via blending between DG and FV schemes, validated on a supersonic linear compressor cascade.
  • The TensorFlow-Fortran-Binding (TFFB) library was created to enable low-latency deployment of trained ML models in Fortran solvers like FLEXI, supporting scaling to 10,000+ cores.
  • The shock capturing method uses a provably stable blending approach from hennemann2021provably, ensuring robustness and accuracy in shock regions.
  • Performance was evaluated across varying load per core, with ML inference overhead measured at 20% in low-load scenarios and 2% in high-load scenarios.

Experimental results

Research questions

  • RQ1Can the FLEXI discontinuous Galerkin solver scale efficiently to 500,000 CPU cores on modern HPC systems?
  • RQ2How accurately can a compressible wall model reproduce near-wall flow physics at high Reynolds numbers without resolving the viscous sublayer?
  • RQ3Can a finite-volume-based shock capturing method be efficiently and robustly integrated into a high-order DG framework to resolve shocks in transonic and supersonic flows?
  • RQ4To what extent can a TensorFlow-Fortran binding (TFFB) enable scalable deployment of machine learning models in large-scale HPC CFD simulations?
  • RQ5What are the performance implications of integrating ML inference into an explicit time-marching CFD solver at scale?

Key findings

  • FLEXI achieved excellent strong scaling up to 500,000 CPU cores on the HAWK system, with simulations reaching over 34 billion degrees of freedom.
  • The proposed compressible wall model showed good agreement with wall-resolved simulations on a NACA 64A-110 airfoil, maintaining accuracy while reducing computational cost.
  • The shock capturing method successfully resolved shocks in a supersonic linear compressor cascade with minimal computational overhead and high robustness.
  • The TFFB library enabled scalable deployment of ML models in FLEXI, achieving good scaling performance across 10,000+ compute cores, with only 2% overhead in high-load scenarios.
  • The ML inference overhead was 20% in low-load scenarios due to cache inefficiency from additional data loading, but remained manageable and scalable.
  • The integration of ML models via TFFB is technically feasible and scalable, though future improvements in model pruning and memory footprint are needed for optimal performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.