Researchers compute turbulence with artificial intelligence

For the first time, researchers at ETH Zurich have successfully automated the modeling of turbulence by combining fluid mechanics with artificial intelligence. Their project relies on fusing reinforcement learning algorithms with turbulent flow simulations on the CSCS supercomputer Piz Daint.

The modeling and simulation of turbulent flows is crucial for designing cars and heart valves, predicting the weather, and even retracing the birth of a galaxy. The Greek mathematician, physicist and engineer Archimedes occupied himself with fluid mechanics some 2,000 years ago, and to this day, the complexity of fluid flows is still not fully understood. The physicist Richard Feynman counted turbulence among the most important unsolved problems in classical physics, and it remains an active topic for engineers, scientists and mathematicians alike. Engineers have to consider the effects of turbulent flows when building an aircraft or a prosthetic heart valve. Meteorologists need to account for them when they forecast the weather, as do astrophysicists when simulating galaxies. Consequently, researchers from these communities have been modeling turbulence and performing flow simulations for more than 60 years.

Turbulent flows are characterized by flow structures spanning a broad range of spatial and temporal scale. There are two major approaches for simulating these complex flow structures: One is direct numerical simulation (DNS), and the other is large eddy simulation (LES).

Flow simulations test the limits of supercomputers

DNS solves the Navier-Stokes equations, which are central to the description of flows, with a resolution of billions and sometimes trillions of grid points. DNS is the most accurate way to calculate flow behavior, but unfortunately it is not practical for most real-world applications. In order to capture the details of these turbulent flows, they require far more grid points than can be handled by any computer in the foreseeable future.

As a result, researchers use models in their simulations so that they do not have to calculate every detail to maintain accuracy. In the LES approach, the large flow structures are resolved, and so-called turbulence closure models account for the finer flow scales and their interactions with the large scales. However, the correct choice of closure model is crucial for the accuracy of the results.

Schematic of multi-agent reinforcement learning (MARL) for modelling. The agents (marked by red cubes) execute a control policy that maximises the similarity between simulations. CSElab/ETH Zurich)

Rather art than science

“Modeling of turbulence closure models has largely followed an empirical process for the past 60 years and remains more of an art than a science,” says Petros Koumoutsakos, professor at the Laboratory for Computational Science and Engineering at ETH Zurich. Koumoutsakos, his Ph.D. student Guido Novati, and former master’s student (now Ph.D. candidate at the University of Zurich) Hugues Lascombes de Larousillhe have proposed a new strategy to automate the process: use artificial intelligence (AI) to learn the best turbulent closure models from the DNS and apply them to the LES. They published their results recently in Nature Machine Intelligence.

Specifically, the researchers developed new reinforcement learning (RL) algorithms and combined them with physical insight to model turbulence. “Twenty-five years ago, we pioneered the interfacing of AI and turbulent flows,” says Koumoutsakos. But back then, computers were not powerful enough to test many of the ideas. “More recently, we also realized that the popular neural networks are not suitable for solving such problems, because the model actively influences the flow it aims to complement,” says the ETH professor. The researchers thus had to resort to a different learning approach in which the algorithm learns to react to patterns in the turbulent flow field.

Automated modeling

The idea behind Novati’s and Koumoutsako’s novel RL algorithm is to use the grid points that resolve the flow field as AI agents. The agents learn turbulence closure models by observing thousands of flow simulations. “In order to perform such large scale simulations, it was essential to have access to the CSCS supercomputer “Piz Daint'”, stresses Koumoutsakos. After training, the agents are free to act in the simulation of flows in which they have not been trained before.

The system leanrs the turbulence model by ‘playing’ with the flow. “The machine ‘wins’ when it succeeds to match LES with DNS results, much like machines learning to play a game of chess or GO” says Koumoutsakos. “During the LES, the AI performs the actions of the unresolved scales by only observing the dynamics of the resolved large scales.” According to the researchers, the new method not only outperforms well-established modeling approaches, but can also be generalized across grid sizes and flow conditions.

The critical part of the method is a novel algorithm developed by Novati that identifies which of the previous simulations are relevant for each flow state. The so-called “Remember and Forget Experience Replay” algorithm has been shown to outperform the vast majority of existing RL algorithms on multiple benchmark problems beyond fluid mechanics, according to the researchers. The team believes that their newly developed method will not only be of importance in the construction of cars and in weather forecasting. “For most challenging problems in science and technology, we can only solve the ‘big scales’ and model the ‘fine’ ones,” says Koumoutsakos. “The newly developed methodology offers a new and powerful way to automate multiscale modeling and advance science through a judicious use of AI.”

New method brings physics to deep learning to better simulate turbulence

More information:
Guido Novati et al. Automating turbulence modelling by multi-agent reinforcement learning, Nature Machine Intelligence (2021). DOI: 10.1038/s42256-020-00272-0

Citation:
Researchers compute turbulence with artificial intelligence (2021, January 5)
retrieved 6 January 2021
from https://techxplore.com/news/2021-01-turbulence-artificial-intelligence.html

This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no
part may be reproduced without the written permission. The content is provided for information purposes only.

Access the original article
Subscribe
Don't miss the best news ! Subscribe to our free newsletter :