Chanyoung Lee, Juhyung Kim, Gahyung Jo, Jae-Min Kwon, J.G. Bak, Jeongwon Lee
{"title":"Scalable modeling of 3D eddy current problem for magnetic fusion devices","authors":"Chanyoung Lee, Juhyung Kim, Gahyung Jo, Jae-Min Kwon, J.G. Bak, Jeongwon Lee","doi":"10.1016/j.cpc.2025.109864","DOIUrl":null,"url":null,"abstract":"<div><div>A novel three-dimensional time-domain eddy current solver, ERRAHI (Eddy cuRRent Analysis on Hierarchical Inductance), is presented. The solver is built upon a vector potential formulation derived from the electric field integral equation (EFIE), with degrees of freedom systematically identified using a spanning tree technique. Topological holes in the domain give rise to additional degrees of freedom associated with global cycles, and these global cycles are efficiently identified and optimized using a robust algorithm.</div><div>Designed for high-performance computing (HPC) environments, ERRAHI integrates the fast multipole method (FMM) with hierarchical matrix compression. In particular, matrix compression is performed via a randomized embedding scheme with FMM, which efficiently constructs low-rank blocks without assembling or storing the full matrix. This approach achieves empirical scaling of <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>N</mi></mrow><mrow><mn>1.5</mn></mrow></msup><mo>)</mo></math></span> and asymptotic scaling of <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>N</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></math></span> for total computation time. Leveraging FMM-based hierarchical compression and solving the resulting system with the generalized minimal residual method (GMRES), the code enables scalable analysis of complex tokamak CAD geometries.</div><div>To enhance locality and compressibility of the system matrix, global cycles are decomposed into local basis functions subject to additional constraints. This decomposition, combined with global cycle optimization, significantly improves the compressibility and structural coherence of the system matrix while maintaining accuracy. The solver has been validated against the TEAM7 benchmark, showing excellent agreement. Furthermore, large-scale simulations of the full KSTAR conductor model successfully reproduce the Rogowski coil and magnetic probe measurements from KSTAR vacuum experiments, demonstrating both the validity and applicability of the method in realistic tokamak scenarios.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"317 ","pages":"Article 109864"},"PeriodicalIF":3.4000,"publicationDate":"2025-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525003662","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
A novel three-dimensional time-domain eddy current solver, ERRAHI (Eddy cuRRent Analysis on Hierarchical Inductance), is presented. The solver is built upon a vector potential formulation derived from the electric field integral equation (EFIE), with degrees of freedom systematically identified using a spanning tree technique. Topological holes in the domain give rise to additional degrees of freedom associated with global cycles, and these global cycles are efficiently identified and optimized using a robust algorithm.
Designed for high-performance computing (HPC) environments, ERRAHI integrates the fast multipole method (FMM) with hierarchical matrix compression. In particular, matrix compression is performed via a randomized embedding scheme with FMM, which efficiently constructs low-rank blocks without assembling or storing the full matrix. This approach achieves empirical scaling of and asymptotic scaling of for total computation time. Leveraging FMM-based hierarchical compression and solving the resulting system with the generalized minimal residual method (GMRES), the code enables scalable analysis of complex tokamak CAD geometries.
To enhance locality and compressibility of the system matrix, global cycles are decomposed into local basis functions subject to additional constraints. This decomposition, combined with global cycle optimization, significantly improves the compressibility and structural coherence of the system matrix while maintaining accuracy. The solver has been validated against the TEAM7 benchmark, showing excellent agreement. Furthermore, large-scale simulations of the full KSTAR conductor model successfully reproduce the Rogowski coil and magnetic probe measurements from KSTAR vacuum experiments, demonstrating both the validity and applicability of the method in realistic tokamak scenarios.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.