Abstract: The predictive capabilities of turbulent flow simulations, critical for aerodynamic design and weather prediction, hinge on the choice of turbulence models. The abundance of data from experiments and simulations and the advent of machine learning have provided a boost to turbulence modeling efforts. However, simulations of turbulent flows remain hindered by the inability of heuristics and supervised learning to model the near-wall dynamics. We address this challenge by introducing scientific multi-agent reinforcement learning (SciMARL) for the discovery of wall models for large-eddy simulations (LES). In SciMARL, discretization points act also as cooperating agents that learn to supply the LES closure model. The agents self-learn using limited data and generalize to extreme Reynolds numbers and previously unseen geometries. The present simulations reduce by several orders of magnitude the computational cost over fully-resolved simulations while reproducing key flow quantities. We believe that SciMARL creates unprecedented capabilities for the simulation of turbulent flows.
Introduction
Simulating turbulent flows—such as air moving over an aircraft wing—represents a massive computational challenge. While Direct Numerical Simulation (DNS) resolves every eddy, it is prohibitively expensive for engineering scales. Large-Eddy Simulation (LES) offers a middle ground by modeling smaller eddies, but near-wall dynamics remain a bottleneck. Traditional wall-modeled LES (WMLES) relies on empirical formulas that often fail in complex geometries. Supervised machine learning approaches, while promising, require astronomical amounts of DNS data and can be unstable during live simulations.
This paper introduces SciMARL (Scientific Multi-Agent Reinforcement Learning), a framework where self-learning agents distributed along the simulation grid learn to predict wall-shear stress in real-time, overcoming the limitations of both manual tuning and data-heavy supervised learning.
The SciMARL Framework
In SciMARL, discretization points on the wall are treated as cooperating agents. Each agent observes the local flow state—such as velocity and distance from the wall—and takes an action by adjusting the wall-shear stress.
Unlike supervised models that attempt to mimic a static dataset, SciMARL agents learn "in-situ" during the simulation. They are rewarded for improving the prediction of mean wall-shear stress over time. This allows them to naturally compensate for numerical errors inherent in the simulation environment, making the model significantly more robust.
Physics-Informed Modeling
The researchers developed two primary model variants:
- Velocity-Based (VWM): Agents utilize raw velocity and its gradient as the state.
- Log-Law-Based (LLWM): Agents utilize "instantaneous log-law coefficients." This physics-aware state allows the model to generalize across different grid sizes and flow speeds.
By leveraging the V-RACER off-policy actor-critic algorithm, the agents efficiently handle continuous action spaces to provide precise closure models for the LES.
Results and Generalization
SciMARL demonstrates remarkable generalization capabilities. While trained on moderate friction Reynolds numbers ($Re_\tau \approx 2000$ to $8000$), the LLWM variant accurately predicted flow quantities at extreme scales up to $Re_\tau = 10^6$.
Key performance metrics include:
- Data Efficiency: Training required only $O(10^3)$ CPU-hours and less than 1GB of storage, compared to the $O(10^7)$ CPU-hours and 100TB+ of data typically required for supervised approaches.
- Computational Speed: Once trained, the neural network evaluation is an order of magnitude faster than solving the differential equations used in standard equilibrium wall models (EQWM).
- Robustness: The model successfully recovered correct skin friction coefficients for spatially evolving boundary layers, a scenario entirely unseen during the training phase.
Conclusion
SciMARL represents a shift toward autonomous, physics-aware discovery of turbulence models. By allowing agents to learn within the simulation environment, the framework captures realistic physical correlations that traditional models miss. Future work will focus on extending SciMARL to more complex phenomena, including surface roughness, compressible supersonic flows, and stratified atmospheric conditions, potentially creating a universal policy for wall-bounded turbulence.
Summary updated