EI、Scopus 收录
中文核心期刊

基于PINN的二维剪切流圆柱绕流场重构

Reconstruction of flow field around two-dimensional shear flow cylinder based on PINN

  • 摘要: 随着机器学习方法的发展,基于数据驱动的流场预测成为研究热点。相比于传统神经网络对大量训练数据的依赖以及可解释性较差等问题,物理信息神经网络(PINN)通过将物理约束直接嵌入神经网络损失函数,仅需少量训练数据即可实现流场预测。本文探究了基于PINN的低雷诺数条件下剪切流圆柱绕流场重构方法。基于开源CFD软件OpenFOAM生成的数值模拟数据构建训练集,构建引入剪切流边界条件的圆柱绕流PINN模型,利用流场采样点的速度和压强信息对PINN模型进行训练,以预测不同区域内的流速和压强分布。通过将PINN预测结果与数值模拟数据进行对比,评估了PINN在重构复杂流场中的表现。同时,研究了神经网络层数、网络节点数、监测点位置等参数变化对预测结果的影响,分析了参数调整对流场预测精度的优化作用。研究结果表明,PINN不仅能有效重构剪切流绕流场的流速和压强分布,其预测精度也与数值模拟结果较为吻合,验证了PINN在剪切流圆柱绕流场重构中的实用性和准确性。对比分析表明,监测点位置对预测结果的影响较为显著,合理选取监测点位置可使PINN预测精度提升1~2个数量级。

     

    Abstract: With the advancement of machine learning, data-driven flow field prediction has become a research hotspot. Compared with conventional neural networks, which rely on large amounts of training data and have poor interpretability, physics-informed neural network (PINN) embed physical constraints directly into the loss function, enabling flow field prediction with only a small amount of training data. This study explores the reconstruction of shear flow around a circular cylinder under low Reynolds number conditions using a PINN-based approach. Numerical simulation data generated by the open-source CFD software OpenFOAM were used to construct the training dataset. The PINN model for circular cylinder flow with shear flow boundary conditions was developed, and velocity and pressure information from sampling points in the flow field were utilized to train the model to predict velocity and pressure distributions in different regions. By comparing the predictions of the PINN model with the numerical results, the performance of PINN in reconstructing complex flow fields was evaluated. Additionally, the effects of neural network parameters, such as the number of layers, nodes per layer, and monitoring point locations, on prediction accuracy were investigated, and the optimization mechanisms of these parameters were analyzed. The results indicate that PINN can effectively reconstruct the velocity and pressure distributions in shear flow fields around a cylinder, with prediction accuracy closely matching that of numerical simulations. This validates the accuracy of PINN in reconstructing shear flow around a circular cylinder. Comparative analysis further reveals that the location of monitoring points has a significant impact on prediction results, and selecting monitoring points appropriately can improve PINN prediction accuracy by 1 to 2 orders of magnitude.

     

/

返回文章
返回