DRLinFluids -- An open-source python platform of coupling Deep Reinforcement Learning and OpenFOAM
arXiv:2205.12699 · doi:10.1063/5.0103113
Abstract
We propose an open-source python platform for applications of Deep Reinforcement Learning (DRL) in fluid mechanics. DRL has been widely used in optimizing decision-making in nonlinear and high-dimensional problems. Here, an agent maximizes a cumulative reward with learning a feedback policy by acting in an environment. In control theory terms, the cumulative reward would correspond to the cost function, the agent to the actuator, the environment to the measured signals and the learned policy to the feedback law. Thus, DRL assumes an interactive environment or, equivalently, control plant. The setup of a numerical simulation plant with DRL is challenging and time-consuming. In this work, a novel python platform, named DRLinFluids is developed for this purpose, with DRL for flow control and optimization problems in fluid mechanics. The simulations employ OpenFOAM as popular, flexible Navier-Stokes solver in industry and academia, and Tensorforce or Tianshou as widely used versatile DRL packages. The reliability and efficiency of DRLinFluids are demonstrated for two wake stabilization benchmark problems. DRLinFluids significantly reduces the application effort of DRL in fluid mechanics and is expected to greatly accelerates academic and industrial applications.
References in corpus (6)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- A Brief Survey of Deep Reinforcement Learning
- Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm
- Robust active flow control over a range of Reynolds numbers using an artificial neural network trained through deep reinforcement learning
- Dopamine: A Research Framework for Deep Reinforcement Learning
- Machine learning flow control with few sensor feedback and measurement noise
Cited by in corpus (4)
- Recent advances in applying deep reinforcement learning for flow control: perspectives and future directions
- Dynamic Feature-based Deep Reinforcement Learning for Flow Control of Circular Cylinder with Sparse Surface Pressure Sensing
- Effective control of two-dimensional Rayleigh--Bénard convection: invariant multi-agent reinforcement learning is all you need
- How to Control Hydrodynamic Force on Fluidic Pinball via Deep Reinforcement Learning