SOL-KiT—Fully implicit code for kinetic simulation of parallel electron transport in the tokamak Scrape-Off Layer

2021 
Abstract Here we present a new code for modelling electron kinetics in the tokamak Scrape-Off Layer (SOL). SOL-KiT (Scrape-Off Layer Kinetic Transport) is a full y implicit 1D code with kinetic (or fluid) electrons, fluid (or stationary) ions, and diffusive neutrals. The code is designed for fundamental exploration of non-local physics in the SOL and utilizes an arbitrary degree Legendre polynomial decomposition of the electron distribution function, treating both electron-ion and electron-atom collisions. We present a novel method for ensuring particle and energy conservation in inelastic and superelastic collisions, as well as the first full treatment of the logical boundary condition in the Legendre polynomial formalism. To our knowledge, SOL-KiT is the first fully implicit arbitrary degree harmonic kinetic code, offering a conservative and self-consistent approach to fluid-kinetic comparison with its integrated fluid electron mode. In this paper we give the model equations and their discretizations, as well as showing the results of a number of verification/benchmarking simulations. Program summary Program Title: SOL-KiT CPC Library link to program files: http://dx.doi.org/10.17632/7p44sdfnnp.1 Licensing provisions: GNU GPLv3 Programming language: Fortran 90 Nature of problem:Fluid models of parallel transport in the Scrape-Off Layer (SOL) fail to account for the fact that the electron disctribution function is often far from a Maxwellian, and kinetic effects have been linked to discrepencies between experiment and fluid modelling[1]. A kinetic treatment of electrons in the SOL requires detailed accounting of collisional processes, especially those with neutral particles, as well as a proper implementation of the logical boundary condition at the material surface[2]. Furthermore, the ability to identify differences between fluid and kinetic modelling using self-consistent comparison is desirable. Solution method: Electrons are modelled either as a fluid, or kinetically, maintaining self-consistency between models. All equations are solved using finite difference and the implicit Euler method, with fixed-point iteration. The kinetic approach is based on solving the Vlasov-Fokker–Planck-Boltzmann equation, decomposed in Legendre polynomials. Equations for the harmonics (or electron fluid equations) are solved alongside fluid equations for the ions, Ampere-Maxwell’s law for the electric field, as well as a diffusive-reactive Collisional-Radiative model for the evolution of hydrogenic atomic states. Each individual operator is built into a matrix, combined with all other operators, and the matrix equation arising from the Euler method is solved using the PETSc library, with MPI parallelization. Additional comments:This article presents the physical and numerical outline of the code, and is accompanied by html documentation, a small test suite based on benchmarking runs presented below, as well as instructions and means for compiling and executing SOL-KiT. Special focus in the article is given to the novel numerical and model aspects in the greater context of the developed software. References [1] A. Chankin, D. Coster, On the locality of parallel transport of heat carrying electrons in the SOL, J. Nucl. Mater. 463 (2015) [2] R. J. Procassini, C. K. Birdsall, B. I. Cohen, Particle simulations of collisional transport in a high recycling, diverted tokamak scrape-off layer, Nucl. Fusion 30 (11) (1990)
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    33
    References
    0
    Citations
    NaN
    KQI
    []