HydroGym: A Reinforcement Learning Platform for Fluid Dynamics
Abstract
The modeling and control of fluid flows remain a significant challenge with tremendous potential to advance fields including transportation, energy, and medicine. Effective fluid flow control can lead to drag reduction, enhanced mixing, and noise reduction, among other applications. While reinforcement learning (RL) has shown great success in complex domains, such as robotics and protein folding, its application to flow control is hindered by the lack of standardized platforms and the computational demands of fluid simulations. To address these challenges, we introduce HydroGym, a solver-independent RL platform for flow control research. HydroGym integrates sophisticated flow control benchmarks, a scalable runtime, and state-of-the-art RL algorithms. Our platform includes four validated non-differentiable fluid flow environments and one differentiable environment, all evaluated with a variety of modern RL algorithms. HydroGym’s scalable design allows computations to run seamlessly from laptops to high-performance computing resources, providing a standardized interface for implementing new flow environments. HydroGym aims to bridge the gap in flow control research, providing a robust platform to support both non-differentiable and differentiable RL techniques, fostering advancements in scientific machine learning.
Cite
Text
Lagemann et al. "HydroGym: A Reinforcement Learning Platform for Fluid Dynamics." Proceedings of the 7th Annual Learning for Dynamics \& Control Conference, 2025.Markdown
[Lagemann et al. "HydroGym: A Reinforcement Learning Platform for Fluid Dynamics." Proceedings of the 7th Annual Learning for Dynamics \& Control Conference, 2025.](https://mlanthology.org/l4dc/2025/lagemann2025l4dc-hydrogym/)BibTeX
@inproceedings{lagemann2025l4dc-hydrogym,
title = {{HydroGym: A Reinforcement Learning Platform for Fluid Dynamics}},
author = {Lagemann, Christian and Paehler, Ludger and Callaham, Jared and Mokbel, Sajeda and Ahnert, Samuel and Lagemann, Kai and Lagemann, Esther and Adams, Nikolaus and Brunton, Steven},
booktitle = {Proceedings of the 7th Annual Learning for Dynamics \& Control Conference},
year = {2025},
pages = {497-512},
volume = {283},
url = {https://mlanthology.org/l4dc/2025/lagemann2025l4dc-hydrogym/}
}