ISSN 1000-3665 CN 11-2202/P

    基于机器学习的流体对流换热特征预测研究

    Prediction of convective heat transfer characteristics using machine learning

    • 摘要: 流体出口温度(Tw2)和对流换热系数(h)是评价裂隙内流体对流换热特征的2个重要指标,但试验获取以上数据的成本高昂,数值模拟计算复杂耗时,难以满足大批量快速预测的需求。此外,现有公开的h公式在计算时可能出现负值或数值震荡等异常现象,缺乏稳健性。为此,文章以提出性能更加稳健的h公式,开发高效的机器学习代理模型、实现Tw2h的高精度快速预测为目的,并比较了关键控制参数的作用效果。首先通过理论推导提出新的h表达式,并与现有公式对比以验证其可靠性;随后,选用极限梯度提升算法(XGBoost)、轻量级梯度提升树(LightGBM,GBM)、随机森林(random forest,RF)、支持向量机回归(support vector regresssion,SVR)等4种不同集成策略的算法分别对Tw2h进行建模,并通过均方根误差、平均绝对误差等6项指标对模型进行评估比较;最后,通过特征重要性分析,量化不同参数对Tw2h的影响程度。结果表明:新的h公式计算稳定,不会出现负值或数值震荡等异常情况,优于现有公式;XGB算法和SVR算法分别在对Tw2h的预测上表现最优,R2均大于0.95;外围温度(To)是影响Tw2的决定性因素,而流速(u)、裂隙开度( \delta )和外围温度(To)共同主导h的变化。文章提出的h公式能够克服部分现有公式的缺陷,为对流换热计算提供可靠的工具。同时,开发的机器学习模型能够在高精度的前提下实现Tw2h的快速批量预测,显著提升了计算效率。

       

      Abstract: The outlet fluid temperature (Tw2) and convective heat transfer coefficient (h) are two critical parameters for evaluating convective heat transfer characteristics in rock fractures. Conventional experimental methods are costly, and numerical simulations are computationally intensive and time-consuming, making them unsuitable for large-scale, rapid prediction. Moreover, some existing published h-formulas may produce anomalies such as negative values or numerical oscillations during calculation, indicating a lack of robustness. Therefore, this study aims to: (1) propose a more robust h-formula, (2) develop an efficient machine learning surrogate model for high-accuracy and rapid prediction of Tw2 and h, and (3) compare the effects of key controlling parameters. To address the robustness issue of the h-formula, this study first derived a new theoretical expression for h and validated its reliability by comparing it with existing formulas. Subsequently, to construct an efficient predictive model, four ensemble learning algorithms with different integration strategies were employed to model Tw2 and h separately, and their performance was evaluated and compared using six metrics, including RMSE and MAE. Additionally, feature importance analysis was conducted to quantify the influence of different parameters on Tw2 and h. The results demonstrate that the proposed h-formula presents stable computation without anomalies such as negative values or numerical oscillations, outperforming existing formulas. In terms of predictive performance, the XGB and SVR algorithms achieve the highest accuracy for Tw2 and h, respectively, with R values exceeding 0.95. Sensitivity analysis reveals that the ambient temperature (To) is the dominant factor influencing Tw2, while flow velocity (u), fracture aperture ( \delta ), and ambient temperature (To) collectively govern the variation in h. The proposed h-formula effectively overcomes the limitations of some existing formulas, providing a reliable tool for convective heat transfer calculations. Meanwhile, the developed machine learning models enable rapid batch prediction of Tw2 and h with high accuracy, significantly improving computational efficiency. These findings offer valuable insights for both theoretical research and engineering applications in geothermal energy extraction and hydrocarbon reservoir development.

       

    /

    返回文章
    返回