DRLinFluids: An open-source Python']Python platform of coupling deep reinforcement learning and OpenFOAM

被引:37
|
作者
Wang, Qiulei [1 ]
Yan, Lei [1 ]
Hu, Gang [1 ,2 ,3 ]
Li, Chao [1 ]
Xiao, Yiqing [1 ]
Xiong, Hao [4 ]
Rabault, Jean [5 ]
Noack, Bernd R. [4 ]
机构
[1] Harbin Inst Technol, Sch Civil & Environm Engn, Shenzhen 518055, Peoples R China
[2] Harbin Inst Technol, Shenzhen Key Lab Intelligent Struct Syst Civil Eng, Shenzhen 518055, Peoples R China
[3] Harbin Inst Technol, Guangdong Hong Kong Macao Joint Lab Data Driven Fl, Shenzhen 518055, Peoples R China
[4] Harbin Inst Technol, Sch Mech Engn & Automation, Shenzhen 518055, Peoples R China
[5] Norwegian Meteorol Inst, Informat Technol Dept, Oslo, Norway
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
ACTIVE FLOW-CONTROL; VALIDATION; WINGS;
D O I
10.1063/5.0103113
中图分类号
O3 [力学];
学科分类号
08 ; 0801 ;
摘要
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 by 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, a control plant. The setup of a numerical simulation plant with DRL is challenging and time-consuming. In this work, a novel Python platform, namely DRLinFluids, is developed for this purpose, with DRL for flow control and optimization problems in fluid mechanics. The simulations employ OpenFOAM as a 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 it is expected to greatly accelerate academic and industrial applications. Published under an exclusive license by AIP Publishing.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] PyMLDA: A Python']Python open-source code for Machine Learning Damage Assessment
    Coelho, Jefferson da Silva
    Machado, Marcela Rodrigues
    de Sousa, Amanda Aryda S. R.
    [J]. SOFTWARE IMPACTS, 2024, 19
  • [2] DJMol: An open-source modeling platform for computational chemistry and materials science with a Python']Python interpreter
    Prasanna, Krishnamohan G.
    Sunil, Rahul
    Gupta, Kapil
    Lee, Seung-Cheol
    [J]. JOURNAL OF COMPUTATIONAL CHEMISTRY, 2021, 42 (29) : 2116 - 2129
  • [3] Python']Python-Microscope - a new open-source Python']Python library for the control of microscopes
    Pinto, David Miguel Susano
    Phillips, Mick A.
    Hall, Nicholas
    Mateos-Langerak, Julio
    Stoychev, Danail
    Pinto, Tiago Susano
    Booth, Martin J.
    Davis, Ilan
    Dobbie, Ian M.
    [J]. JOURNAL OF CELL SCIENCE, 2021, 134 (19)
  • [4] Frouros: An open-source Python']Python library for drift detection in machine learning systems
    Sisniega, Jaime Cespedes
    Garcia, alvaro Lopez
    [J]. SOFTWAREX, 2024, 26
  • [5] OSAFT Library: An Open-Source Python']Python Library for Acoustofluidics
    Fankhauser, Jonas
    Goering, Christoph
    Dual, Juerg
    [J]. FRONTIERS IN PHYSICS, 2022, 10
  • [6] Open-source coupled aerostructural optimization using Python']Python
    Jasa, John P.
    Hwang, John T.
    Martins, Joaquim R. R. A.
    [J]. STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2018, 57 (04) : 1815 - 1827
  • [7] Padasip: An open-source Python']Python toolbox for adaptive filtering
    Cejnek, Matous
    Vrba, Jan
    [J]. JOURNAL OF COMPUTATIONAL SCIENCE, 2022, 65
  • [8] OpenSoundscape: An open-source bioacoustics analysis package for Python']Python
    Lapp, Sam
    Rhinehart, Tessa
    Freeland-Haynes, Louis
    Khilnani, Jatin
    Syunkova, Alexandra
    Kitzes, Justin
    [J]. METHODS IN ECOLOGY AND EVOLUTION, 2023, 14 (09): : 2321 - 2328
  • [9] HYSUPP: AN OPEN-SOURCE HYPERSPECTRAL UNMIXING PYTHON']PYTHON PACKAGE
    Rasti, Behnood
    Zouaoui, Alexandre
    Mairal, Julien
    Chanussot, Jocelyn
    [J]. IGARSS 2023 - 2023 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM, 2023, : 1134 - 1137
  • [10] Python']Python Materials Genomics (pymatgen): A robust, open-source python']python library for materials analysis
    Ong, Shyue Ping
    Richards, William Davidson
    Jain, Anubhav
    Hautier, Geoffroy
    Kocher, Michael
    Cholia, Shreyas
    Gunter, Dan
    Chevrier, Vincent L.
    Persson, Kristin A.
    Ceder, Gerbrand
    [J]. COMPUTATIONAL MATERIALS SCIENCE, 2013, 68 : 314 - 319