Optimizing the spectral element CFD solver on Sunway TaihuLight for nuclear reactor simulation

IF 1.9 3区 工程技术 Q1 NUCLEAR SCIENCE & TECHNOLOGY
Lingyu Dong, Zhifeng Zhou, Genshen Chu, Dandan Chen, Hongzhen Zhang, Yang Li
{"title":"Optimizing the spectral element CFD solver on Sunway TaihuLight for nuclear reactor simulation","authors":"Lingyu Dong,&nbsp;Zhifeng Zhou,&nbsp;Genshen Chu,&nbsp;Dandan Chen,&nbsp;Hongzhen Zhang,&nbsp;Yang Li","doi":"10.1016/j.nucengdes.2025.114071","DOIUrl":null,"url":null,"abstract":"<div><div>High-fidelity computational fluid dynamics (CFD) plays a crucial role in analyzing thermal–hydraulic phenomena in advanced nuclear reactors. This study presents an optimization of the spectral element method (SEM)-based CFD solver Phiflow-Solver on Sunway TaihuLight supercomputer to accelerate nuclear reactor simulations. The SEM solver relies on small, dense matrix multiplications and the Poisson operator, which are computationally challenging on heterogeneous architectures. To address these challenges, we propose two optimization strategies: (1) Porting matrix operations to the SW26010 processor’s Computing Processing Elements (CPEs) using DMA-enhanced data transfer and SIMD vectorization, achieving a 51.9% performance improvement at 64 CGs for a polynomial order of 24; (2) Enabling collaborative Management Processing Element (MPE)-CPE parallelism to compute multiple spectral elements simultaneously, achieving a 65.5% performance gain under identical conditions. By integrating these strategies, we achieve an overall 70.6% performance enhancement. Validation with a 7-pin wire-wrapped fuel assembly confirms that the heterogeneous optimizations maintain the solver’s accuracy. Furthermore, as the mesh size scales from 42 million to 1.3 billion grid points, the weak scalability remains above 90%, demonstrating the solver’s improved capability for high-resolution nuclear fuel assembly simulations.</div></div>","PeriodicalId":19170,"journal":{"name":"Nuclear Engineering and Design","volume":"439 ","pages":"Article 114071"},"PeriodicalIF":1.9000,"publicationDate":"2025-05-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nuclear Engineering and Design","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0029549325002481","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"NUCLEAR SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

High-fidelity computational fluid dynamics (CFD) plays a crucial role in analyzing thermal–hydraulic phenomena in advanced nuclear reactors. This study presents an optimization of the spectral element method (SEM)-based CFD solver Phiflow-Solver on Sunway TaihuLight supercomputer to accelerate nuclear reactor simulations. The SEM solver relies on small, dense matrix multiplications and the Poisson operator, which are computationally challenging on heterogeneous architectures. To address these challenges, we propose two optimization strategies: (1) Porting matrix operations to the SW26010 processor’s Computing Processing Elements (CPEs) using DMA-enhanced data transfer and SIMD vectorization, achieving a 51.9% performance improvement at 64 CGs for a polynomial order of 24; (2) Enabling collaborative Management Processing Element (MPE)-CPE parallelism to compute multiple spectral elements simultaneously, achieving a 65.5% performance gain under identical conditions. By integrating these strategies, we achieve an overall 70.6% performance enhancement. Validation with a 7-pin wire-wrapped fuel assembly confirms that the heterogeneous optimizations maintain the solver’s accuracy. Furthermore, as the mesh size scales from 42 million to 1.3 billion grid points, the weak scalability remains above 90%, demonstrating the solver’s improved capability for high-resolution nuclear fuel assembly simulations.
用于核反应堆模拟的神威太湖之光谱元CFD求解器优化
高保真计算流体力学(CFD)在分析先进核反应堆的热水力现象中起着至关重要的作用。本文在神威太湖之光超级计算机上对基于谱元法(SEM)的CFD求解器Phiflow-Solver进行了优化,以加速核反应堆模拟。SEM求解器依赖于小而密集的矩阵乘法和泊松算子,这在异构体系结构上具有计算挑战性。为了解决这些挑战,我们提出了两种优化策略:(1)使用dma增强的数据传输和SIMD矢量化将矩阵运算移植到SW26010处理器的计算处理元件(cpe)上,在64个cpe上实现了51.9%的性能提升,多项式阶为24;(2)实现协同管理处理元素(MPE)-CPE并行,同时计算多个光谱元素,在相同条件下实现65.5%的性能提升。通过整合这些策略,我们实现了70.6%的总体性能提升。用7针线包燃料组件进行验证,证实异质优化保持了求解器的准确性。此外,当网格大小从4200万个网格点扩展到13亿个网格点时,弱可扩展性保持在90%以上,表明求解器在高分辨率核燃料组件模拟中的能力得到了提高。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Nuclear Engineering and Design
Nuclear Engineering and Design 工程技术-核科学技术
CiteScore
3.40
自引率
11.80%
发文量
377
审稿时长
5 months
期刊介绍: Nuclear Engineering and Design covers the wide range of disciplines involved in the engineering, design, safety and construction of nuclear fission reactors. The Editors welcome papers both on applied and innovative aspects and developments in nuclear science and technology. Fundamentals of Reactor Design include: • Thermal-Hydraulics and Core Physics • Safety Analysis, Risk Assessment (PSA) • Structural and Mechanical Engineering • Materials Science • Fuel Behavior and Design • Structural Plant Design • Engineering of Reactor Components • Experiments Aspects beyond fundamentals of Reactor Design covered: • Accident Mitigation Measures • Reactor Control Systems • Licensing Issues • Safeguard Engineering • Economy of Plants • Reprocessing / Waste Disposal • Applications of Nuclear Energy • Maintenance • Decommissioning Papers on new reactor ideas and developments (Generation IV reactors) such as inherently safe modular HTRs, High Performance LWRs/HWRs and LMFBs/GFR will be considered; Actinide Burners, Accelerator Driven Systems, Energy Amplifiers and other special designs of power and research reactors and their applications are also encouraged.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信