SmartFlow: A CFD-solver-agnostic deep reinforcement learning framework for computational fluid dynamics on HPC platforms
Maochao Xiao, Yuning Wang, Felix Rodach, Bernat Font, Marius Kurz, Pol Su\'arez, Di Zhou, Francisco Alc\'antara-\'Avila, Ting Zhu, Junle Liu, Ricard Montal\`a, Jiawei Chen, Jean Rabault, Oriol Lehmkuhl, Andrea Beck, Johan Larsson, Ricardo Vinuesa, Sergio Pirozzoli

TL;DR
SmartFlow is a flexible, solver-agnostic deep reinforcement learning framework designed for high-performance computing platforms, enabling advanced fluid dynamics research through seamless integration with various CFD solvers and multi-agent algorithms.
Contribution
It introduces a novel, solver-agnostic DRL framework that integrates with HPC CFD solvers using low-latency communication, facilitating complex fluid dynamics applications.
Findings
Demonstrated drag reduction in cylinder flow using single-agent control.
Showcased multi-agent wake control with GPU-accelerated spectral-element code.
Enabled wall-model learning for large-eddy simulation with finite-difference solver.
Abstract
Deep reinforcement learning (DRL) is emerging as a powerful tool for fluid-dynamics research, encompassing active flow control, autonomous navigation, turbulence modeling and discovery of novel numerical schemes. We introduce SmartFlow, a CFD-solver-agnostic framework for both single- and multi-agent DRL algorithms that can easily integrate with MPI-parallel CPU and GPU-accelerated solvers. Built on Relexi and SmartSOD2D, SmartFlow uses the SmartSim infrastructure library and our newly developed SmartRedis-MPI library to enable asynchronous, low-latency, in-memory communication between CFD solvers and Python-based DRL algorithms. SmartFlow leverages PyTorch's Stable-Baselines3 for training, which provides a modular, Gym-like environment API. We demonstrate its versatility via three case studies: single-agent synthetic-jet control for drag reduction in a cylinder flow simulated by the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Lattice Boltzmann Simulation Studies · Advanced Numerical Methods in Computational Mathematics
