EI、Scopus 收录
中文核心期刊

基于XGBoost-SHAP的串列布置三圆柱水动力学特性参数预测

PREDICTION OF HYDRODYNAMIC CHARACTERISTICS PARAMETERS OF THREE TANDEM CIRCULAR CYLINDERS BASED ON XGBoost-SHAP

  • 摘要: 基于极限梯度提升(eXtreme Gradient Boosting, XGBoost)算法和SHAP (SHapley Additive exPlanations)分析对低雷诺数下串列三圆柱绕流的水动力学特性参数进行了机器学习研究, 采用开源计算流体力学软件OpenFOAM模拟并建立了在不同工况下各圆柱的升阻力和涡脱频率数据集. 对比决定系数、绝对误差和误差率等参数, 基于XGBoost算法建立的机器学习模型经过超参数优化后具有良好的预测性能, 在对数据集范围之外的文献参数预测中, 最大误差率为16.03%, 经过二次学习后可降低至0.71%. 利用SHAP分析分别解释模型在整体和局部的预测结果, 得到雷诺数、上游间距和下游间距分别对串列三圆柱的9个水动力特征参数累计平均贡献度, 并开展了归因分析. 此外, 捕捉到输入特征局部贡献值的异变, 结合流场结构分析发现, 当上游间距为2、下游间距从2增大为3时, 下游间距对下游圆柱的平均阻力的SHAP值由−0.22增大到0.03, 对升力均方根值的SHAP值由−0.22增大到0.04, 尾流干涉模式由拓展体变为交替再附着模式. 当上游间距为6时, 下游间距从2增大到6时, SHAP局部分析量化了双排涡结构中下游圆柱的水动力特征变化规律.

     

    Abstract: A machine learning study on the hydrodynamic characteristic parameters of a tandem three-cylinder flow at low Reynolds numbers was carried out based on the (XGBoost) eXtreme Gradient Boosting algorithm and SHAP (SHapley Additive exPlanations) analysis. The open-source computational fluid dynamics software OpenFOAM was employed to simulate and establish datasets of lift and drag forces and vortex shedding frequencies of each cylinder under various conditions. By comparing parameters such as the coefficient of determination, absolute error, and error rate, the machine learning model based on the XGBoost algorithm, after hyper-parameter optimization, exhibited excellent predictive performance. In the prediction of literature parameters outside the dataset range, the maximum error rate was 16.03%, which could be reduced to 0.71% after secondary learning. By using SHAP analysis to explain the model's prediction results both globally and locally, the cumulative average contribution degrees of Reynolds number, upstream spacing, and downstream spacing to the nine hydrodynamic characteristic parameters of the tandem three-cylinder configuration were obtained, and an attribution analysis was conducted. Additionally, the local contribution value variations of the input features were captured. Through combined analysis with the flow field structure, it was discovered that when the upstream spacing was 2 and the downstream spacing increased from 2 to 3, the SHAP value of the downstream spacing to the average drag force of the downstream cylinder increased from −0.22 to 0.03, and the SHAP value to the root mean square lift force increased from −0.22 to 0.04. It was discovered that the wake interference pattern transformed from an expanded body to an alternating reattachment pattern. When the upstream spacing was 6 and the downstream spacing increased from 2 to 6, the SHAP local analysis quantified the variation laws of the hydrodynamic characteristics of the downstream cylinder in the double-row vortex structure.

     

/

返回文章
返回