GRILLIX: a 3D turbulence code based on the flux-coordinate independent approach

The GRILLIX code is presented with which plasma turbulence/transport in various geometries can be simulated in 3D. The distinguishing feature of the code is that it is based on the flux-coordinate independent approach (FCI) [1, 2]. Cylindrical or Cartesian grids are used on which perpendicular operators are discretised via standard finite difference methods and parallel operators via a field line tracing and interpolation procedure (field line map). This offers a very high flexibility with respect to geometry, especially a separatrix with X-point(s) or a magnetic axis can be treated easily in contrast to approaches which are based on field aligned coordinates and suffer from coordinate singularities. Aiming finally for simulation of edge and scrape-off layer turbulence, an isothermal electrostatic drift-reduced Braginskii model [3] has been implemented in GRILLIX. We present the numerical approach, which is based on a toroidally staggered formulation of the FCI, we show verification of the code with the method of manufactured solutions (MMS) and show a benchmark based on a TORPEX blob experiment, previously performed by several edge/SOL codes [4]. Examples for slab, circular, limiter and diverted geometry are presented. Finally, the results show that the FCI approach in general and GRILLIX in particular are viable approaches in order to tackle simulation of edge/SOL turbulence in diverted geometry.

[1]  M. Ottaviani,et al.  The flux-coordinate independent approach applied to X-point geometries , 2014 .

[2]  A. Arakawa Computational design for long-term numerical integration of the equations of fluid motion: two-dimen , 1997 .

[3]  Julien Langou,et al.  Algorithm 842: A set of GMRES routines for real and complex arithmetics on high performance computers , 2005, TOMS.

[4]  M. Shashkov Conservative Finite-Difference Methods on General Grids , 1996 .

[5]  E. Hairer,et al.  Solving Ordinary Differential Equations II , 2010 .

[6]  A. Stegmeir GRILLIX: A 3D turbulence code for magnetic fusion devices based on a field line map , 2015 .

[7]  P. C. Stangeby,et al.  Plasma boundary phenomena in tokamaks , 1990 .

[8]  P. J. Mc Carthy,et al.  Analytical solutions to the Grad–Shafranov equation for tokamak equilibrium with dissimilar source functions , 1999 .

[9]  J. Pouwelse,et al.  ConTrib: Universal and Decentralized Accounting in Shared-Resource Systems , 2020, DICG@Middleware.

[10]  Markus Held,et al.  Three discontinuous Galerkin schemes for the anisotropic heat conduction equation on non-aligned grids , 2015, Comput. Phys. Commun..

[11]  William H. Press,et al.  Numerical recipes , 1990 .

[12]  Guido Ciraolo,et al.  The TOKAM3X code for edge turbulence fluid simulations of tokamak plasmas in versatile magnetic geometries , 2016, J. Comput. Phys..

[13]  M. Ottaviani,et al.  A flux-coordinate independent field-aligned approach to plasma turbulence simulations , 2013, Comput. Phys. Commun..

[14]  V. Naulin,et al.  Three dimensional simulations of plasma filaments in the scrape off layer: A comparison with models of reduced dimensionality , 2014, 1410.2137.

[15]  Bruce D. Scott,et al.  An implicit simulation of drift-wave turbulence in a sheared magnetic field , 1988 .

[16]  Giovanni Russo,et al.  Finite-difference ghost-point multigrid methods on Cartesian grids for elliptic problems in arbitrary domains , 2013, J. Comput. Phys..

[17]  R. Chodura,et al.  Plasma–wall transition in an oblique magnetic field , 1982 .

[18]  A. Wootton,et al.  Fluctuations and anomalous transport in tokamaks , 1990 .

[19]  Federico David Halpern,et al.  Simulation of plasma turbulence in scrape-off layer conditions: the GBS code, simulation results and code validation , 2012 .

[21]  Markus Held,et al.  Advances in the flux-coordinate independent approach , 2017, Comput. Phys. Commun..

[22]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[23]  F. Halpern,et al.  Effect of the limiter position on the scrape-off layer width, radial electric field and intrinsic flows , 2014 .

[24]  F. Halpern,et al.  Intrinsic toroidal rotation in the scrape-off layer of tokamaks , 2014 .

[25]  Philippe Ghendrih,et al.  The Plasma Boundary of Magnetic Fusion Devices , 2001 .

[26]  Ben Dudson,et al.  Hermes: global plasma edge fluid turbulence simulations , 2016, 1609.03360.

[27]  J. Madsen,et al.  Verification of BOUT++ by the method of manufactured solutions , 2016, 1602.06747.

[28]  J. Adamek,et al.  Evidence for a poloidally localized enhancement of radial transport in the scrape-off layer of the Tore Supra tokamak , 2007 .

[29]  D. P. Coster,et al.  Numerical Methods for 3D Tokamak Simulations Using a Flux-Surface Independent Grid , 2014 .

[30]  Daniela Farina,et al.  Effect of the magnetic field geometry on the flute-like perturbations near the divertor X point , 1993 .

[31]  Patrick Knupp,et al.  Code Verification by the Method of Manufactured Solutions , 2000 .

[32]  S. I. Braginskii Transport Processes in a Plasma , 1965 .

[33]  Wolfgang Hackbusch,et al.  Multi-grid methods and applications , 1985, Springer series in computational mathematics.

[34]  Brendan Shanahan,et al.  Dirichlet boundary conditions for arbitrary-shaped boundaries in stellarator-like magnetic fields for the Flux-Coordinate Independent method , 2016, Comput. Phys. Commun..

[35]  M. Ottaviani,et al.  A Singularity-Free Coordinate System for X-point Geometries , 2014, 1406.3489.

[36]  Federico David Halpern,et al.  Boundary conditions for plasma fluid models at the magnetic presheath entrance , 2012 .

[37]  S. Orszag,et al.  High-order splitting methods for the incompressible Navier-Stokes equations , 1991 .

[38]  B. Scott Low Frequency Fluid Drift Turbulence in Magnetised Plasmas , 2000 .

[39]  E. Hairer,et al.  Solving Ordinary Differential Equations I , 1987 .

[40]  M. Shashkov,et al.  Support-operator finite-difference algorithms for general elliptic problems , 1995 .

[41]  Karl Lackner,et al.  The field line map approach for simulations of magnetically confined plasmas , 2015, Comput. Phys. Commun..

[42]  F. Halpern,et al.  Verification methodology for plasma simulations and application to a scrape-off layer turbulence code , 2014 .

[43]  J. Madsen,et al.  Blob dynamics in the TORPEX experiment: a multi-code validation , 2016 .

[44]  James F. Drake,et al.  Nonlinear reduced Braginskii equations with ion thermal dynamics in toroidal plasma , 1997 .

[45]  Fabio Riva,et al.  The GBS code for tokamak scrape-off layer simulations , 2016, J. Comput. Phys..

[46]  M. Ottaviani,et al.  An alternative approach to field-aligned coordinates for plasma turbulence simulations , 2010, 1002.0748.

[47]  J. Rasmussen,et al.  Numerical modeling of the transition from low to high confinement in magnetically confined plasma , 2015 .

[48]  A. Diallo,et al.  Plasma turbulence, suprathermal ion dynamics and code validation on the basic plasma physics device TORPEX , 2015 .