基于粗网格数据驱动湍流模型的快堆热分层分析方法

Thermal Stratification Analysis Method for Fast Reactor Based on Coarse-grid Data-driven Turbulence Model

  • 摘要: 为提高反应堆热分层瞬态分析的效率和精度,本文开发了一种瞬态数据驱动粗网格湍流模型。以SUPERCAVNA装置中钠的流动为模拟对象,OpenFOAM为CFD模拟平台,采用标准k-ε模型计算生成细网格流场数据,建立训练数据库。基于机器学习平台TensorFlow引入自注意力机制与双向长短期记忆神经网络的混合架构,构建粗网格设置下湍流涡流黏度的瞬态代理模型。将模型嵌入OpenFOAM求解过程中完成数据驱动湍流模型的开发。通过模拟SUPERCAVNA装置中钠的瞬态流动,对模型进行验证与评估。结果表明:代理模型能较为准确地预测湍流涡流黏度,平均绝对百分比误差SMAPE为5.258 4%;瞬态数据驱动粗网格湍流模型可准确捕捉热分层效应;模型具备一定的泛化能力,能在训练数据集覆盖的Re范围之外复现热混合现象;瞬态数据驱动粗网格湍流模型的计算时间是精细网格CFD模拟的1/13。本文结果可为耦合CFD程序和系统程序提供参考。

     

    Abstract: Thermal stratification hinders natural circulation and affects passive heat removal. In addition, unstable thermal stratification causes low-frequency temperature oscillations, which not only reduce the stability of the neutron and thermal-hydraulic systems but may also damage the reactor vessel and internal components. Therefore, accurately studying thermal stratification is crucial for the safety analysis of liquid metal reactors. A promising approach for modeling thermal stratification is the multiscale method that couples CFD with system codes. However, this approach must address the challenges of large spatiotemporal scale differences and high computational resource consumption in CFD simulations. To improve the efficiency and accuracy of transient analysis for reactor thermal stratification, a transient data-driven coarse-grid turbulence model was developed. Taking the flow of sodium in the SUPERCAVNA facility as the computational object, the standard k-ε model was used on the CFD platform OpenFOAM to generate fine-grid flow field data. The kNN algorithm was then applied to convert the fine-grid data into coarse-grid data, creating a training database. Using the machine learning platform TensorFlow, a hybrid architecture combining a self-attention mechanism and a bidirectional long short-term memory (BiLSTM) network was introduced. The self-attention mechanism extracted dependencies between different elements in the input sequence, effectively capturing the distribution of physical quantities. BiLSTM processed time-series data through bidirectional information flow, allowing the model to utilize both past and future time-step information, thus enhancing its ability to learn complex temporal patterns. Based on this architecture, a transient surrogate model was built to predict turbulent eddy viscosity at the next time step using local flow field features from the current time step under coarse-grid settings. The surrogate model was embedded into the OpenFOAM solver to develop a data-driven turbulence model. The computational accuracy, generalization ability, and acceleration capability of the model were evaluated by simulating the transient flow of sodium in the SUPERCAVNA facility. The results show that in the machine learning model, the mean squared error (MSE) on the validation set is 3.38×10−9, the R2 is 0.990 511, and the symmetric mean absolute percentage error (SMAPE) is 5.258 4%. This indicates that the model achieves parameterized modeling from local flow field features to turbulent eddy viscosity. The transient data-driven coarse-grid turbulence model has high accuracy in capturing the thermal stratification effect. Outside the Reynolds number range covered by the training dataset, the data-driven model reproduces the thermal mixing phenomenon, showing a certain level of generalization ability. The computational time of the transient data-driven coarse-grid turbulence model is 1/13 of that of the fine-grid CFD simulation, indicating high computational efficiency.

     

/

返回文章
返回