[Paper Review] End-to-end differentiable learning of turbulence models from indirect observations
This paper presents an end-to-end differentiable framework that trains deep neural networks to learn nonlinear eddy viscosity models from indirect observations—such as velocity and pressure fields—by combining a Reynolds-averaged Navier–Stokes (RANS) solver with a neural network turbulence model. Using continuous adjoint methods for RANS sensitivities and automatic differentiation for the network, the approach successfully learns true turbulence closures from synthetic data and generalizes to unseen flow geometries, even when no exact linear closure exists.
The emerging push of the differentiable programming paradigm in scientific computing is conducive to training deep learning turbulence models using indirect observations. This paper demonstrates the viability of this approach and presents an end-to-end differentiable framework for training deep neural networks to learn eddy viscosity models from indirect observations derived from the velocity and pressure fields. The framework consists of a Reynolds-averaged Navier-Stokes (RANS) solver and a neural-network-represented turbulence model, each accompanied by its derivative computations. For computing the sensitivities of the indirect observations to the Reynolds stress field, we use the continuous adjoint equations for the RANS equations, while the gradient of the neural network is obtained via its built-in automatic differentiation capability. We demonstrate the ability of this approach to learn the true underlying turbulence closure when one exists by training models using synthetic velocity data from linear and nonlinear closures. We also train a linear eddy viscosity model using synthetic velocity measurements from direct numerical simulations of the Navier-Stokes equations for which no true underlying linear closure exists. The trained deep-neural-network turbulence model showed predictive capability on similar flows.
Motivation & Objective
- To develop a differentiable framework for training data-driven turbulence models using indirect observational data, such as velocity and pressure fields, which are more accessible than direct Reynolds stress measurements.
- To overcome the challenge of training deep learning models on indirect observations by enabling gradient computation through the RANS solver using continuous adjoint equations.
- To demonstrate that deep neural networks can learn accurate eddy viscosity closures even when no true underlying linear closure exists, using synthetic data from direct numerical simulations.
- To evaluate the generalization capability of trained models on unseen flow geometries, particularly in complex flows like periodic hills with varying slopes.
Proposed method
- Embed a deep neural network as a nonlinear eddy viscosity model within a Reynolds-averaged Navier–Stokes (RANS) solver, using the integrity basis representation to parameterize the Reynolds stress anisotropy.
- Compute sensitivities of indirect observations (e.g., velocity fields) to the Reynolds stress field using the continuous adjoint equations of the RANS system.
- Use automatic differentiation to compute gradients of the neural network weights with respect to the loss function, enabling backpropagation through the entire model chain.
- Train the neural network end-to-end using a loss function based on discrepancies between predicted and observed velocity/pressure fields.
- Apply the framework to synthetic data from known turbulence models (e.g., k–ω, k–ε) and from direct numerical simulations (DNS) of periodic hill flows to validate learning capability.
- Use the trained model to predict flows under different geometries (e.g., varying hill slope) to assess generalization and extrapolation performance.
Experimental results
Research questions
- RQ1Can deep neural networks learn accurate nonlinear eddy viscosity models when trained only on indirect observations such as velocity and pressure fields?
- RQ2How effective is the proposed differentiable framework in recovering the true underlying turbulence closure when one exists, as demonstrated on synthetic data from known models?
- RQ3Can the framework learn a meaningful linear eddy viscosity model even when no true linear closure exists in the underlying flow physics, as in DNS of periodic hill flows?
- RQ4To what extent can a model trained on one flow geometry generalize to predict flows with different geometries, such as varying hill slopes in periodic hill flows?
- RQ5How does the training process balance improvements in velocity prediction versus scalar coefficient accuracy, and what are the convergence characteristics?
Key findings
- The framework successfully learned the true underlying turbulence closure from synthetic velocity data generated by linear and nonlinear RANS models, demonstrating the method's ability to recover known physics.
- For the periodic hill flow case, the trained linear eddy viscosity model achieved better velocity predictions than the standard k–ω model in regions with mild to moderate separation (α = 1.5), particularly in the upper channel.
- The model generalized to unseen geometries: for α = 0.5 (strong separation), the trained model outperformed the k–ω model in the upper channel, while the k–ω model performed better in the lower channel.
- Velocity field improvements were achieved with only a few tens of training steps, while accurate scalar coefficient recovery required 1–2 orders of magnitude more steps with diminishing returns in velocity accuracy.
- The failure to predict the correct τyz in the center channel did not significantly degrade velocity predictions, indicating robustness in the loss landscape.
- The results confirm that synthetic data is essential for evaluating whether a training framework can learn the true model, rather than merely improving predictions of quantities of interest.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.