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, Zhifeng Zhou, Genshen Chu, Dandan Chen, Hongzhen Zhang, 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.
期刊介绍:
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.