A multiblock compressible Navier-Stokes solver in the Legion environment

ORAL

Abstract

In this work we present the development of a parallel, multiblock flow solver using the Legion/Regent task-based programming framework. This work builds upon the Hypersonics Task-based Research (HTR) solver (Di Renzo et al., Comp. Phys. Comm. 2020), which is a highly scalable, compressible multi-species reacting Navier-Stokes solver designed for simulations of hypersonic turbulence and turbulent combustion. The novelty of this development lies in the treatment of general multi-block computational domains as a single logical instance (data layout in memory) composed by the union of grid blocks representing a complex computational domain. Our implementation leverages the capability of the Legion framework to manage complex index-spaces by automatically performing memory allocations and data synchronisation. This paradigm relieves the programmer and the user of the solver from manually setting up communication patterns among blocks and domain decomposition for multiprocessor computations. The correctness and scalability tests on both CPUs and GPUs are performed and demonstrated for canonical flow problems.

*This work is supported by the Department of Energy, National Nuclear Security Administration under Award Number DE-NA0003968.

Presenters

  • Alboreno Voci

    • Stanford University

Authors

  • Alboreno Voci

    • Stanford University
  • Mario Di Renzo

    • CERFACS
    • Cerfacs
    • Centre Européen de Recherche et de Formation Avancée en Calcul Scientifique (CERFACS), France
    • Centre Européen de Recherche et de Formation Avancée en Calcul Scientifique, France
  • Kazuki Maeda

    • Stanford University
    • Center for Turbulence Research, Stanford University, USA
  • Thiago Teixeira

    • Stanford University
    • Department of Computer Science, Stanford University, USA
  • Gianluca Iaccarino

    • Stanford University
    • Department of Mechanical Engineering, Stanford University
    • Mechanical Engineering Department, Stanford University, USA