基于循环神经网络的棒束通道流动参数实时计算方法研究

Research on Real Time Calculation Method of Flow Parameters in Rod Bundle Channels Base on Recurrent Neural Network

  • 摘要: 针对深度学习求解物理场方程时存在的算法不可解释性,训练模型时所需数据量大、训练时间长,且不能随意修改模型边界条件等问题,本文设计了一个可用于实时计算棒束通道内流速分布的循环神经网络(recurrent neural network,RNN)。该算法以RNN作为基本结构,利用多松弛时间-格子玻尔兹曼方法(multiple relaxation time-lattice Boltzmann method,MRT-LBM)构造RNN的计算单元,利用浸入法和特征线法确定神经元的结构和数量,并利用顶盖驱动流模型、5×5棒束通道仿真计算和PIV测量结果验证算法的有效性。计算结果表明,RNN在计算上述两个模型的无量纲化流速分布时,与MRT-LBM和商业CFD软件相比,残差约为0.1,残差较模型入口处的流速小1个数量级。RNN在计算棒束通道截面的无量纲化流速时,消耗的计算时间约为0.005~0.03 s,仅为MRT-LBM的1/6~1/3,且计算结果基本与PIV的测量结果相符合。同时RNN所有的计算过程都有物理方程对应,因此RNN可以在保证计算精度的前提下极大提升计算速度,且具有可解释性。RNN可为反应堆数字孪生系统提供实时模拟流动参数的计算方法,进一步提升数字孪生系统对现实环境的模拟能力。

     

    Abstract: When solving physical field equations in deep learning, there are problems such as the lack of interpretability of the algorithm, the large amount of data required to train the models of the algorithm, the long training time, and the inability to modify model boundary conditions arbitrarily. To solve the above problems, the recurrent neural network (RNN) that can be used for real-time calculation of flow velocity distribution in rod bundle channels was designed in this paper. This algorithm used the RNN as its basic structure. The computational unit of the RNN was constructed using the multiple relaxation time-lattice Boltzmann method (MRT-LBM). The structure and quantity of neurons were determined using the immersion method and the method of characteristic. Then the three-dimensional model of rod bundle channels into 40 401 planes was decomposed, each plane containing 10 000 nodes. Based on the above structures, 40 401 models of RNN were established, each model including 10 000 neurons, and the velocity distribution on each two-dimensional section was calculated. Finally, the three-dimensional velocity distribution was reconstructed based on the position of the section. Due to the use of the immersion method, the method of characteristic, and the reconstruction of three-dimensional flow velocity using two-dimensional flow velocity, support vector regression (SVR) was introduced to correct the three-dimensional flow distribution. By combining the RNN and MRT-LBM, the weights and biases of RNN can be determined by the equations of MRT-LBM, and the algorithm does not require the dataset to train the models of RNN. All calculation steps of the RNN correspond to the equations of MRT-LBM, making the algorithm interpretable. Meanwhile, the MRT-LBM can utilize the parallel computing structure of RNN to further accelerate computation. The algorithm’s effectiveness was validated using the lid-driven cavity flow, the rod bundle channels, and the measurement results of PIV. The calculation results indicate that the RNN has a residual of approximately 0.1 compared to the MRT-LBM and the commercial CFD software when calculating the dimensionless velocity distribution of the two models mentioned above. The residual is one order of magnitude smaller than the flow velocity at the inlet of the model. When calculating the dimensionless flow velocity of sections in the rod bundle channels using the RNN, the calculation time consumed is about 0.005 to 0.03 seconds, which is only 1/6 to 1/3 of MRT-LBM, and the calculation results are basically consistent with the measurement results of PIV. All the computation processes of the RNN correspond to physical equations, so the RNN can greatly improve computation speed while ensuring computational accuracy, and the RNN has interpretability. The RNN can provide real-time simulation methods of flow parameters for reactor digital twin systems, further enhancing the simulation capability of digital twin systems for real-world environments.

     

/

返回文章
返回