Review and Examination of Input Feature Preparation Methods and Machine Learning Models for Turbulence Modeling

Shirui Luo, Jiahuan Cui, Madhu Vellakal, Jian Liu, Enyi Jiang, Seid Korić, Volodymyr KindratenkoarXiv 2020 · DOI · arXiv

Abstract: Model extrapolation to unseen flow is one of the biggest challenges facing data-driven turbulence modeling, especially for models with high dimensional inputs that involve many flow features. In this study we review previous efforts on data-driven Reynolds-Averaged Naiver Stokes (RANS) turbulence modeling and model extrapolation, with main focus on the popular methods being used in the field of transfer learning. Several potential metrics to measure the dissimilarity between training flows and testing flows are examined. Different Machine Learning (ML) models are compared to understand how the capacity or complexity of the model affects its behavior in the face of dataset shift. Data preprocessing schemes which are robust to covariate shift, like normalization, transformation, and importance re-weighted likelihood, are studied to understand whether it is possible to find projections of the data that attenuate the differences in the training and test distributions while preserving predictability. Three metrics are proposed to assess the dissimilarity between training/testing dataset. To attenuate the dissimilarity, a distribution matching framework is used to align the statistics of the distributions. These modifications also allow the regression tasks to have better accuracy in forecasting under-represented extreme values of the target variable. These findings are useful for future ML based turbulence models to evaluate their model predictability and provide guidance to systematically generate diversified high-fidelity simulation database.

Introduction: The Extrapolation Challenge

In Computational Fluid Dynamics (CFD), Reynolds-Averaged Navier-Stokes (RANS) simulations are the standard for industrial applications due to their computational efficiency. However, RANS accuracy depends heavily on "closure models" used to represent Reynolds stresses. Traditional models often fail in complex flows involving separation or high curvature.

While Machine Learning (ML) has emerged as a powerful tool to "learn" these closure terms from high-fidelity data (like Large Eddy Simulations), these models frequently struggle with extrapolation. A model trained on one geometry (e.g., a flat plate) often performs poorly on another (e.g., a curved bump). This phenomenon, known as "dataset shift" or "covariate shift," is the primary focus of this research.

Methodology: A Systematic Framework

The researchers developed a comprehensive framework to bridge the gap between RANS simulations and high-fidelity predictions. The process involves two distinct phases: training on known flow configurations and testing on unseen geometries.

Workflow of the data-driven turbulence modeling framework, illustrating the training and testing phases for predicting Reynolds stresses and improving RANS solvers.

As shown in the figure above, the workflow begins with RANS ($\kappa-\omega$) simulations to extract key flow features such as velocity ($V$), turbulence kinetic energy ($\kappa$), and pressure ($p$). During training, these features are paired with "ground truth" Reynolds stresses from high-fidelity simulations. The resulting ML model is then used during the testing phase to predict Reynolds stresses for new flow conditions, which are finally integrated into an improved RANS solver to generate a more accurate flow field.

Quantifying and Mitigating Dissimilarity

A core contribution of this work is the ability to quantify how "different" a test case is from the training data before running the model. The authors propose three statistical metrics:

  1. Mahalanobis Distance: Measures the distance between dataset centroids while accounting for feature correlations.
  2. Rotation Distance: Evaluates the alignment of principal components between datasets.
  3. KDE (Kernel Density Estimation) Distance: Quantifies differences in the overall shape of probability distributions.

To mitigate the impact of these differences, the study examines several data preprocessing strategies. These include standard normalization, Power Transformations (like Box-Cox) to reduce skewness, and the Kullback-Leibler Importance Estimation Procedure (KLIEP) for re-weighting training samples to match the test distribution. Additionally, SMOTE (Synthetic Minority Over-sampling Technique) was used to ensure the model learns from rare but physically critical regions, such as flow separation bubbles.

Key Results and Insights

The study utilized the NASA "flow over the bump" validation case, testing 10 distinct training/testing pairs across five bump heights. Key findings include:

  • Predictive Dissimilarity: There is a strong correlation between the proposed dissimilarity metrics and the final prediction error. This allows for a quantitative assessment of model reliability on new data.
  • Model Performance: Neural Networks (NN) generally outperformed Random Forests (RF) and Gradient Boosting (GB) in generalizing to unseen geometries, particularly when high-dimensional nonlinear relationships were involved.
  • Error Reduction: The combination of standardization, KLIEP-based resampling, and SMOTE consistently reduced Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE) across all test cases.
  • The "Bulk Flow" Problem: Standard training often over-emphasizes simple uniform flow regions. Targeted resampling is essential to prevent the model from "over-smoothing" and missing complex physics.

Conclusion

This research demonstrates that the failure of ML-based turbulence models in extrapolation is not just a limitation of the algorithms, but a consequence of dataset shift. By quantifying this shift and using distribution matching techniques, the robustness of these models can be significantly improved. Future work will focus on incorporating physical constraints (e.g., conservation laws) directly into the ML loss functions to further enhance generalization and reduce the reliance on massive high-fidelity datasets.

Summary updated

Abstract

Model extrapolation to unseen flow is one of the biggest challenges facing data-driven turbulence modeling, especially for models with high dimensional inputs that involve many flow features. In this study we review previous efforts on data-driven Reynolds-Averaged Naiver Stokes (RANS) turbulence modeling and model extrapolation, with main focus on the popular methods being used in the field of transfer learning. Several potential metrics to measure the dissimilarity between training flows and testing flows are examined. Different Machine Learning (ML) models are compared to understand how the capacity or complexity of the model affects its behavior in the face of dataset shift. Data preprocessing schemes which are robust to covariate shift, like normalization, transformation, and importance re-weighted likelihood, are studied to understand whether it is possible to find projections of the data that attenuate the differences in the training and test distributions while preserving predictability. Three metrics are proposed to assess the dissimilarity between training/testing dataset. To attenuate the dissimilarity, a distribution matching framework is used to align the statistics of the distributions. These modifications also allow the regression tasks to have better accuracy in forecasting under-represented extreme values of the target variable. These findings are useful for future ML based turbulence models to evaluate their model predictability and provide guidance to systematically generate diversified high-fidelity simulation database.
BibTeX
@misc{luo2020review,
  author = {Shirui Luo and Jiahuan Cui and Madhu Vellakal and Jian Liu and Enyi Jiang and Seid Korić and Volodymyr Kindratenko},
  title = {{Review and Examination of Input Feature Preparation Methods and Machine Learning Models for Turbulence Modeling}},
  year = {2020},
  eprint = {2001.05485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.05485},
}
Figure