{"title":"Development of novel collision detection algorithms for the estimation of fast ion losses in tokamak fusion device","authors":"Taeuk Moon , Tongnyeol Rhee , Jae-Min Kwon , Eisung Yoon","doi":"10.1016/j.cpc.2024.109490","DOIUrl":null,"url":null,"abstract":"<div><div>In the quest for a virtual nuclear fusion reactor that can rapidly respond to user demands, we present a study focusing on the development of a fast ion particle collision module and realistic wall modeling using three-dimensional CAD models. The integration of a neutral beam injection code, NuBDeC Rhee et al. (2019) <span><span>[6]</span></span> within the Virtual KSTAR platform Kwon et al. (2022) <span><span>[5]</span></span> requires efficient detection of the fast ion particle collision events and accurate evaluation of the collision positions on the reactor wall. To achieve this, we investigate six different collision detection algorithms based on the well-known broad and narrow phase framework of collision detection, each utilizing distinct combinations of algorithms based on winding number contour, tri-oval contour, octree, and uniform grid. Furthermore, we explore the utilization of CAD models to create realistic wall surfaces in close resemblance to actual reactor conditions, employing the capabilities of the Unity game engine for mesh-based modeling. Performance tests are conducted, and the total simulation times of the constituent routines are analyzed in comparison. Through this research, in particular, we aim to enhance the reliability and real-time performance of heat load estimation on the plasma-facing components by the neutral beam injection-oriented fast ion losses. The developed fast ion particle collision module and the utilization of realistic wall modeling contribute to improving the authenticity and accuracy of the simulation results.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"309 ","pages":"Article 109490"},"PeriodicalIF":3.4000,"publicationDate":"2024-12-31","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/S0010465524004132","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
In the quest for a virtual nuclear fusion reactor that can rapidly respond to user demands, we present a study focusing on the development of a fast ion particle collision module and realistic wall modeling using three-dimensional CAD models. The integration of a neutral beam injection code, NuBDeC Rhee et al. (2019) [6] within the Virtual KSTAR platform Kwon et al. (2022) [5] requires efficient detection of the fast ion particle collision events and accurate evaluation of the collision positions on the reactor wall. To achieve this, we investigate six different collision detection algorithms based on the well-known broad and narrow phase framework of collision detection, each utilizing distinct combinations of algorithms based on winding number contour, tri-oval contour, octree, and uniform grid. Furthermore, we explore the utilization of CAD models to create realistic wall surfaces in close resemblance to actual reactor conditions, employing the capabilities of the Unity game engine for mesh-based modeling. Performance tests are conducted, and the total simulation times of the constituent routines are analyzed in comparison. Through this research, in particular, we aim to enhance the reliability and real-time performance of heat load estimation on the plasma-facing components by the neutral beam injection-oriented fast ion losses. The developed fast ion particle collision module and the utilization of realistic wall modeling contribute to improving the authenticity and accuracy of the simulation results.
为了寻求能够快速响应用户需求的虚拟核聚变反应堆,我们提出了一项研究,重点是开发快速离子粒子碰撞模块和使用三维CAD模型的逼真壁建模。将中性束注入代码NuBDeC Rhee et al.(2019)[6]集成到虚拟KSTAR平台Kwon et al.(2022)[5]中,需要有效检测快速离子粒子碰撞事件并准确评估反应堆壁上的碰撞位置。为了实现这一目标,我们研究了基于众所周知的宽相位和窄相位碰撞检测框架的六种不同的碰撞检测算法,每种算法都利用基于圈数轮廓、三椭圆轮廓、八叉树和均匀网格的不同算法组合。此外,我们探索利用CAD模型来创建与实际反应堆条件非常相似的逼真墙壁表面,采用Unity游戏引擎的基于网格的建模功能。进行了性能测试,对比分析了各组成例程的总仿真次数。通过这项研究,我们的目标是通过中性束注入导向的快速离子损失来提高面向等离子体组件热负荷估计的可靠性和实时性。开发了离子粒子快速碰撞模块,采用了逼真的壁面建模,提高了仿真结果的真实性和准确性。
期刊介绍:
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.