Miguel Camacho , Rafael R. Boix , Diego J. Cruz-Zabala , Joaquín Galdón-Quiroga , Juan M. Ayllón-Guerola , Eleonora Viezzer
{"title":"凸截面环面体积电流产生磁场的有效计算及其在托卡马克磁约束研究中的应用","authors":"Miguel Camacho , Rafael R. Boix , Diego J. Cruz-Zabala , Joaquín Galdón-Quiroga , Juan M. Ayllón-Guerola , Eleonora Viezzer","doi":"10.1016/j.cpc.2025.109642","DOIUrl":null,"url":null,"abstract":"<div><div>In this paper we present an efficient approach for the numerical computation of the static vector potential and the poloidal magnetic field of a toroidal volumetric current with arbitrary convex cross section. The standard integral expressions for both the vector potential and the magnetic field include singularities that have a deleterious effect in the computation of these integrals. In order to handle these singularities, we first introduce a change of variables to polar coordinates with origin at the observation point that makes it possible to remove the singularities of the integrands thanks to the Jacobian factor. Then, two different numerical integration methods are applied to the resulting integrals: Ma-Rokhlin-Wandzura quadrature rules and the double exponential quadrature rule. Both methods efficiently handle the singularities in the derivative of the integrand for the integrals of the vector potential and the magnetic field, and the advantages and disadvantages of each method are discussed. The results obtained for the vector potential and magnetic field are validated by comparing with closed-form results existing for the vector potential and magnetic field of a circular loop and an infinite cylinder, and good agreement is found. Then, the magnetic field code is used to model the plasma toroidal current in a tokamak nuclear fusion reactor, and it is shown that the combined magnetic field of the plasma current and that of the poloidal and toroidal coils leads to magnetic confinement of the charged particles existing in the plasma.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109642"},"PeriodicalIF":7.2000,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient computation of the magnetic field created by a toroidal volumetric current of convex cross section with application to the study of the magnetic confinement in tokamaks\",\"authors\":\"Miguel Camacho , Rafael R. Boix , Diego J. Cruz-Zabala , Joaquín Galdón-Quiroga , Juan M. Ayllón-Guerola , Eleonora Viezzer\",\"doi\":\"10.1016/j.cpc.2025.109642\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>In this paper we present an efficient approach for the numerical computation of the static vector potential and the poloidal magnetic field of a toroidal volumetric current with arbitrary convex cross section. The standard integral expressions for both the vector potential and the magnetic field include singularities that have a deleterious effect in the computation of these integrals. In order to handle these singularities, we first introduce a change of variables to polar coordinates with origin at the observation point that makes it possible to remove the singularities of the integrands thanks to the Jacobian factor. Then, two different numerical integration methods are applied to the resulting integrals: Ma-Rokhlin-Wandzura quadrature rules and the double exponential quadrature rule. Both methods efficiently handle the singularities in the derivative of the integrand for the integrals of the vector potential and the magnetic field, and the advantages and disadvantages of each method are discussed. The results obtained for the vector potential and magnetic field are validated by comparing with closed-form results existing for the vector potential and magnetic field of a circular loop and an infinite cylinder, and good agreement is found. Then, the magnetic field code is used to model the plasma toroidal current in a tokamak nuclear fusion reactor, and it is shown that the combined magnetic field of the plasma current and that of the poloidal and toroidal coils leads to magnetic confinement of the charged particles existing in the plasma.</div></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":\"313 \",\"pages\":\"Article 109642\"},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2025-04-30\",\"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/S0010465525001444\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525001444","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
Efficient computation of the magnetic field created by a toroidal volumetric current of convex cross section with application to the study of the magnetic confinement in tokamaks
In this paper we present an efficient approach for the numerical computation of the static vector potential and the poloidal magnetic field of a toroidal volumetric current with arbitrary convex cross section. The standard integral expressions for both the vector potential and the magnetic field include singularities that have a deleterious effect in the computation of these integrals. In order to handle these singularities, we first introduce a change of variables to polar coordinates with origin at the observation point that makes it possible to remove the singularities of the integrands thanks to the Jacobian factor. Then, two different numerical integration methods are applied to the resulting integrals: Ma-Rokhlin-Wandzura quadrature rules and the double exponential quadrature rule. Both methods efficiently handle the singularities in the derivative of the integrand for the integrals of the vector potential and the magnetic field, and the advantages and disadvantages of each method are discussed. The results obtained for the vector potential and magnetic field are validated by comparing with closed-form results existing for the vector potential and magnetic field of a circular loop and an infinite cylinder, and good agreement is found. Then, the magnetic field code is used to model the plasma toroidal current in a tokamak nuclear fusion reactor, and it is shown that the combined magnetic field of the plasma current and that of the poloidal and toroidal coils leads to magnetic confinement of the charged particles existing in the plasma.
期刊介绍:
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.