Kaiyu Zhang, Wladimir Zholobenko, Andreas Stegmeir, Konrad Eder, Frank Jenko
{"title":"一个动态高通滤波器的磁波动在全f场对准湍流代码","authors":"Kaiyu Zhang, Wladimir Zholobenko, Andreas Stegmeir, Konrad Eder, Frank Jenko","doi":"10.1016/j.cpc.2025.109670","DOIUrl":null,"url":null,"abstract":"<div><div>Plasma turbulence in the edge of magnetic confinement devices is customarily treated as full-<em>f</em> due to large fluctuations. For computational efficiency, field-aligned coordinates are employed, separating the magnetic field into equilibrium <span><math><msub><mrow><mi>B</mi></mrow><mrow><mn>0</mn></mrow></msub></math></span> and delta-<em>f</em> perturbations which are handled by the magnetic flutter operators. Evolving the full-<em>f</em> pressure with delta-<em>f</em> magnetic perturbations can cause inconsistency since the latter contain background components such as the Shafranov shift, which are actually parts of the equilibrium magnetic field. Such background components (<span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span>) contained in the magnetic perturbations undermine the field-aligned numerics when treated as flutter: errors arise if <span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub><mo>/</mo><msub><mrow><mi>B</mi></mrow><mrow><mn>0</mn></mrow></msub><mo>≪</mo><msub><mrow><mi>l</mi></mrow><mrow><mo>⊥</mo></mrow></msub><mo>/</mo><msub><mrow><mi>h</mi></mrow><mrow><mo>∥</mo></mrow></msub></math></span> is not satisfied, with the perpendicular turbulence scale <span><math><msub><mrow><mi>l</mi></mrow><mrow><mo>⊥</mo></mrow></msub></math></span> and the parallel grid distance <span><math><msub><mrow><mi>h</mi></mrow><mrow><mo>∥</mo></mrow></msub></math></span>. We find that the commonly used removal of <span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span> by subtracting the toroidal average of magnetic perturbations intervenes in the Alfvén dynamics, causing spurious <span><math><mi>E</mi><mo>×</mo><mi>B</mi></math></span> transport. Instead, we propose an improved method to dynamically filter out the evolving background from the turbulent magnetic fluctuations in the time domain, which is then applicable also for stellarators. The filter is verified in both low and high confinement tokamak conditions, confirming its capability to preserve the turbulence fidelity (provided sufficient filter width).</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"314 ","pages":"Article 109670"},"PeriodicalIF":7.2000,"publicationDate":"2025-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A dynamical high-pass filter for magnetic fluctuations in full-f field-aligned turbulence codes\",\"authors\":\"Kaiyu Zhang, Wladimir Zholobenko, Andreas Stegmeir, Konrad Eder, Frank Jenko\",\"doi\":\"10.1016/j.cpc.2025.109670\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Plasma turbulence in the edge of magnetic confinement devices is customarily treated as full-<em>f</em> due to large fluctuations. For computational efficiency, field-aligned coordinates are employed, separating the magnetic field into equilibrium <span><math><msub><mrow><mi>B</mi></mrow><mrow><mn>0</mn></mrow></msub></math></span> and delta-<em>f</em> perturbations which are handled by the magnetic flutter operators. Evolving the full-<em>f</em> pressure with delta-<em>f</em> magnetic perturbations can cause inconsistency since the latter contain background components such as the Shafranov shift, which are actually parts of the equilibrium magnetic field. Such background components (<span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span>) contained in the magnetic perturbations undermine the field-aligned numerics when treated as flutter: errors arise if <span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub><mo>/</mo><msub><mrow><mi>B</mi></mrow><mrow><mn>0</mn></mrow></msub><mo>≪</mo><msub><mrow><mi>l</mi></mrow><mrow><mo>⊥</mo></mrow></msub><mo>/</mo><msub><mrow><mi>h</mi></mrow><mrow><mo>∥</mo></mrow></msub></math></span> is not satisfied, with the perpendicular turbulence scale <span><math><msub><mrow><mi>l</mi></mrow><mrow><mo>⊥</mo></mrow></msub></math></span> and the parallel grid distance <span><math><msub><mrow><mi>h</mi></mrow><mrow><mo>∥</mo></mrow></msub></math></span>. We find that the commonly used removal of <span><math><msub><mrow><mi>B</mi></mrow><mrow><mi>s</mi></mrow></msub></math></span> by subtracting the toroidal average of magnetic perturbations intervenes in the Alfvén dynamics, causing spurious <span><math><mi>E</mi><mo>×</mo><mi>B</mi></math></span> transport. Instead, we propose an improved method to dynamically filter out the evolving background from the turbulent magnetic fluctuations in the time domain, which is then applicable also for stellarators. The filter is verified in both low and high confinement tokamak conditions, confirming its capability to preserve the turbulence fidelity (provided sufficient filter width).</div></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":\"314 \",\"pages\":\"Article 109670\"},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2025-05-15\",\"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/S0010465525001729\",\"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/S0010465525001729","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
A dynamical high-pass filter for magnetic fluctuations in full-f field-aligned turbulence codes
Plasma turbulence in the edge of magnetic confinement devices is customarily treated as full-f due to large fluctuations. For computational efficiency, field-aligned coordinates are employed, separating the magnetic field into equilibrium and delta-f perturbations which are handled by the magnetic flutter operators. Evolving the full-f pressure with delta-f magnetic perturbations can cause inconsistency since the latter contain background components such as the Shafranov shift, which are actually parts of the equilibrium magnetic field. Such background components () contained in the magnetic perturbations undermine the field-aligned numerics when treated as flutter: errors arise if is not satisfied, with the perpendicular turbulence scale and the parallel grid distance . We find that the commonly used removal of by subtracting the toroidal average of magnetic perturbations intervenes in the Alfvén dynamics, causing spurious transport. Instead, we propose an improved method to dynamically filter out the evolving background from the turbulent magnetic fluctuations in the time domain, which is then applicable also for stellarators. The filter is verified in both low and high confinement tokamak conditions, confirming its capability to preserve the turbulence fidelity (provided sufficient filter width).
期刊介绍:
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.