Radhika Achikanath Chirakkara, Christoph Federrath, Amit Seta
{"title":"AHKASH: a new Hybrid particle-in-cell code for simulations of astrophysical collisionless plasma.","authors":"Radhika Achikanath Chirakkara, Christoph Federrath, Amit Seta","doi":"10.1093/mnras/stae2188","DOIUrl":null,"url":null,"abstract":"<p><p>We introduce Astrophysical Hybrid-Kinetic simulations with the flash code ([Formula: see text]) - a new Hybrid particle-in-cell (PIC) code developed within the framework of the multiphysics code flash. The new code uses a second-order accurate Boris integrator and a predictor-predictor-corrector algorithm for advancing the Hybrid-kinetic equations, using the constraint transport method to ensure that magnetic fields are divergence-free. The code supports various interpolation schemes between the particles and grid cells, with post-interpolation smoothing to reduce finite particle noise. We further implement a [Formula: see text] method to study instabilities in weakly collisional plasmas. The new code is tested on standard physical problems such as the motion of charged particles in uniform and spatially varying magnetic fields, the propagation of Alfvén and whistler waves, and Landau damping of ion acoustic waves. We test different interpolation kernels and demonstrate the necessity of performing post-interpolation smoothing. We couple the turbgen turbulence driving module to the new Hybrid PIC code, allowing us to test the code on the highly complex physical problem of the turbulent dynamo. To investigate steady-state turbulence with a fixed sonic Mach number, it is important to maintain isothermal plasma conditions. Therefore, we introduce a novel cooling method for Hybrid PIC codes and provide tests and calibrations of this method to keep the plasma isothermal. We describe and test the 'hybrid precision' method, which significantly reduces (by a factor [Formula: see text]) the computational cost, without compromising the accuracy of the numerical solutions. Finally, we test the parallel scalability of the new code, showing excellent scaling up to 10,000 cores.</p>","PeriodicalId":18930,"journal":{"name":"Monthly Notices of the Royal Astronomical Society","volume":"534 4","pages":"3761-3782"},"PeriodicalIF":4.7000,"publicationDate":"2024-09-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11498030/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Monthly Notices of the Royal Astronomical Society","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1093/mnras/stae2188","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/11/1 0:00:00","PubModel":"eCollection","JCR":"Q1","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0
Abstract
We introduce Astrophysical Hybrid-Kinetic simulations with the flash code ([Formula: see text]) - a new Hybrid particle-in-cell (PIC) code developed within the framework of the multiphysics code flash. The new code uses a second-order accurate Boris integrator and a predictor-predictor-corrector algorithm for advancing the Hybrid-kinetic equations, using the constraint transport method to ensure that magnetic fields are divergence-free. The code supports various interpolation schemes between the particles and grid cells, with post-interpolation smoothing to reduce finite particle noise. We further implement a [Formula: see text] method to study instabilities in weakly collisional plasmas. The new code is tested on standard physical problems such as the motion of charged particles in uniform and spatially varying magnetic fields, the propagation of Alfvén and whistler waves, and Landau damping of ion acoustic waves. We test different interpolation kernels and demonstrate the necessity of performing post-interpolation smoothing. We couple the turbgen turbulence driving module to the new Hybrid PIC code, allowing us to test the code on the highly complex physical problem of the turbulent dynamo. To investigate steady-state turbulence with a fixed sonic Mach number, it is important to maintain isothermal plasma conditions. Therefore, we introduce a novel cooling method for Hybrid PIC codes and provide tests and calibrations of this method to keep the plasma isothermal. We describe and test the 'hybrid precision' method, which significantly reduces (by a factor [Formula: see text]) the computational cost, without compromising the accuracy of the numerical solutions. Finally, we test the parallel scalability of the new code, showing excellent scaling up to 10,000 cores.
期刊介绍:
Monthly Notices of the Royal Astronomical Society is one of the world''s leading primary research journals in astronomy and astrophysics, as well as one of the longest established. It publishes the results of original research in positional and dynamical astronomy, astrophysics, radio astronomy, cosmology, space research and the design of astronomical instruments.