Runes2P Runes2P

Runes2P

The name stands for RUNaway Electron Solver in 2 momentum (P) dimensions: the electron distribution is resolved in the magnitude of the momentum and in its pitch.

Runes2P — Module
Runes2P

A relativistic electron kinetic solver for runaway electrons in the style of DREAM: the Fokker-Planck equation of the electrons on momentum grids per radius, coupled to the fluid quantities of a cylindrical plasma and solved implicitly.

source

Runes2P solves the relativistic Fokker-Planck equation of the electrons of a cylindrical plasma together with the fluid quantities that couple to it. The unknowns are laid out by an UnknownLayout: distribution functions on a KineticGrid, whose momentum grid may differ between radii, radial profiles and scalars. Each unknown has an Equation built from EquationTerms. The equations form an EquationSystem, $M \, \mathrm{d}u/\mathrm{d}t = \mathrm{rhs}(u, t)$. integrate advances it with backward Euler steps, or BDF2 steps with StepController, each solved by Newton's method (NewtonSolver), and write_output writes the result.

Citing and acknowledgements

These are requests, not conditions of the licence.

  • Parts of Runes2P are ported from DREAM and compared with it. Please cite the DREAM paper: M. Hoppe, O. Embréus and T. Fülöp, Computer Physics Communications 268, 108098 (2021), doi:10.1016/j.cpc.2021.108098.
  • For hydrogen and its isotopes, neon and argon, the :chianti form of ionization_cross_section uses the fit parameters of the CHIANTI atomic database, version 11.0.2. CHIANTI is a collaborative project involving George Mason University, the University of Michigan (USA), the University of Cambridge (UK) and NASA Goddard Space Flight Center (USA). Work that uses these data should cite:
  • The ADF11 rate coefficients that read_adas reads are taken from OPEN-ADAS (https://open.adas.ac.uk) under its terms and conditions. For H, D and T, every rate coefficient except charge exchange comes from the high-density files of DREAM's repository instead. No ADAS data file is distributed with Runes2P. ADAS: H. P. Summers, The ADAS User Manual, version 2.6 (2004), https://www.adas.ac.uk.
  • The ionization energies of IONIZATION_ENERGIES are those of the NIST Atomic Spectra Database (Kramida, Ralchenko, Reader and the NIST ASD Team, doi:10.18434/T4W30F), through DREAM's table.
  • NIST ESTAR is the reference of the radiative stopping power that the docstring of CollisionSettings names. ESTAR: M. J. Berger, J. S. Coursey, M. A. Zucker and J. Chang, NIST Standard Reference Database 124 (2017), doi:10.18434/T4NC7P.
  • The DREAM reference data of the tests come from DREAM's public examples and from synthetic cases, generated with DREAM release v26.5 and DREAM's public branch boltzmann-eqterm. A further set holds GSL 2.8's bicubic interpolation as DREAM uses it, on a synthetic table (see Reference data).

The licences of the code and data that Runes2P builds on are in the file THIRD_PARTY_NOTICES.md of the repository.

Installation

Runes2P is added from its repository, as described on the page Getting started.

Four parts are package extensions, enabled by loading their packages next to Runes2P (see Extensions):

  • HDF5: the output files and checkpoints (write_output, read_output),
  • SciMLBase: the SciML form of an equation system (ode_function),
  • Interpolations: interpolators of Interpolations.jl as radial profiles,
  • Pardiso: the linear solver MKLPardiso, Intel MKL PARDISO.

Questions and bug reports go to the issue tracker of the repository, https://github.com/osrep/Runes2P.jl/issues.

Map of the pages