A Meta-Model to Predict the Drag Coefficient of a Particle Translating in Viscoelastic Fluids: A Machine Learning Approach




Faroughi, Salah
Roriz, Ana
Fernandes, Celio

Journal Title

Journal ISSN

Volume Title


Multidisciplinary Digital Publishing Institute


This study presents a framework based on Machine Learning (ML) models to predict the drag coefficient of a spherical particle translating in viscoelastic fluids. For the purpose of training and testing the ML models, two datasets were generated using direct numerical simulations (DNSs) for the viscoelastic unbounded flow of Oldroyd-B (OB-set containing 12,120 data points) and Giesekus (GI-set containing 4950 data points) fluids past a spherical particle. The kinematic input features were selected to be Reynolds number, 0<Re≤50, Weissenberg number, 0≤Wi≤10, polymeric retardation ratio, 0<ζ<1, and shear thinning mobility parameter, 0<α<1. The ML models, specifically Random Forest (RF), Deep Neural Network (DNN) and Extreme Gradient Boosting (XGBoost), were all trained, validated, and tested, and their best architecture was obtained using a 10-Fold cross-validation method. All the ML models presented remarkable accuracy on these datasets; however the XGBoost model resulted in the highest R2 and the lowest root mean square error (RMSE) and mean absolute percentage error (MAPE) measures. Additionally, a blind dataset was generated using DNSs, where the input feature coverage was outside the scope of the training set or interpolated within the training sets. The ML models were tested against this blind dataset, to further assess their generalization capability. The DNN model achieved the highest R2 and the lowest RMSE and MAPE measures when inferred on this blind dataset. Finally, we developed a meta-model using stacking technique to ensemble RF, XGBoost and DNN models and output a prediction based on the individual learner’s predictions and a DNN meta-regressor. The meta-model consistently outperformed the individual models on all datasets.



machine learning, deep learning, stacked learning, viscoelastic flows, oldroyd-B fluid, giesekus fluid, sphere drag coefficient, Ingram School of Engineering


Faroughi, S. A., Roriz, A. I., & Fernandes, C. (2022). A meta-model to predict the drag coefficient of a particle translating in viscoelastic fluids: A machine learning approach. Polymers, 14(03), 430.


Rights Holder

Rights License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Rights URI