Understanding and predicting turbulent transport in the edge and scrape-off-layer (SOL) of magnetic confinement fusion devices is crucial for developing feasible fusion power plants. In this work, we present the latest improvements to the gyrokinetic turbulence code GENE-X and validate the extended model against experimental results in the TCV tokamak (“TCV-X21”). GENE-X features a full-f electromagnetic gyrokinetic model and is specifically targeted for edge and SOL simulations in diverted geometries. GENE-X can model the effect of collisions using either a basic Bhatnagar–Gross–Krook (BGK) or more sophisticated Lenard–Bernstein/Dougherty (LBD) collision operator. We present the results of a series of GENE-X simulations using the BGK or LBD collision models, contrasting them to collisionless simulations. We validate the resulting plasma profiles, power balance, and SOL heat flux against experimental measurements. The match to the experiment significantly improves with the fidelity of the collision model chosen. We analyze the characteristics of the turbulence and find that in almost all cases in the confined region the turbulence is driven by trapped electron modes (TEM). Both the simulations without collisions and those with the BGK collision operator do not accurately describe turbulence driven by TEMs. The more sophisticated LBD collision operator presents a minimum requirement for accurate gyrokinetic edge turbulence simulations.

The development of magnetic confinement nuclear fusion reactors has several challenges to face. The reactor performance relies on the quality of plasma confinement, which is essentially linked to the turbulent transport in the device.1 Furthermore, the heat exhaust of the system through the scrape-off layer (SOL) is strongly affected by turbulence, since it determines the overall wetted area in the divertor by broadening or narrowing the SOL power falloff length.2 

Extrapolating turbulent transport to future machines, especially from the edge of the confined plasma into the SOL, poses a great challenge to current theoretical models. The required tools must fulfill certain specifications, and most importantly simulations in full X-point geometries are required. The physical model itself must be sufficient to describe gyrokinetic turbulence, and additionally, the inclusion of collisions becomes unavoidable, considering the conditions in the cold plasma edge and SOL. One tool for such applications is the GENE-X code.3 Recently, the code has been improved to account for electromagnetic4 and collisional effects.5 However, before using any tool for predictions and extrapolations, performing a code validation is essential.6 In this process, a physical and numerical model is tested for its ability to describe a given experiment.7 In this work, we perform a validation of the latest developments in the GENE-X code.

In the gyrokinetic community, there are several codes that are frequently used to simulate plasma turbulence. One may distinguish codes that are typically used in the plasma core, such as GENE,8,9 (C)GYRO,10,11 GYSELA,12, ORB5,13, GT5D,14 and GKW15 or in the SOL, GKEYLL,16,17 and PICLS.18 On the other hand, there are efforts to simulate gyrokinetic turbulence in full X-point geometry, for example, XGC19,20 and COGENT.21 

GENE-X belongs to the last category, being able to simulate turbulence from the magnetic axis to the wall of the device.

The previous work with the GENE-X code includes a validation in X-point geometry of AUG.4 The obtained results were promising; however, in Ref. 22, it was shown that in simulations with the fluid code GRILLIX,23–26 neutral gas has a significant effect in that case.

In this work, we focus on the validation case “TCV-X21,”27 a low-density experimental scenario that minimized the effect of neutral gas dynamics. We make a detailed study on the effect of collisions, since in Ref. 4 indications on the importance of the collision model were found. We have developed5 a simple Bhatnagar–Gross–Krook (BGK)28 collision model and a more advanced Fokker–Planck-type collision operator, which we call the Lenard–Bernstein/Dougherty (LBD)29,30 operator.

This work is structured as follows. In Sec. II, we describe the physical model that is used in the GENE-X code. We further discuss details about the discretization and some of the numerical techniques that enable the following simulations. In Sec. III, we discuss the detailed simulation setup and cost as well as the validation against the experiment. We compare plasma profiles, power balance, and SOL falloff length. In Sec. IV, we analyze the underlying turbulence that is observed in the simulations in more detail. We use methods from the Fourier analysis to obtain spectra and subsequently calculate spectral particle and heat fluxes. We also investigate the electron contributions in more detail by doing a trapped particle analysis. Finally, in Sec. V, we discuss the obtained results and give an outlook on future developments.

The model used in this work is based on the electromagnetic gyrokinetic model presented in Ref. 4.

The gyrokinetic31 model is formulated in the gyrocenter coordinates ( x , v | | , μ ) and describes the time evolution of the distribution of gyrocenters f α under the influence of fluctuating electromagnetic fields. The coordinates describe gyrocenter position, parallel velocity, and magnetic moment, respectively. We denote the species by α and further solve one equation for electrons and one for a single-ion species, α { e , i }. The equilibrium magnetic field is B, and the magnetic field unit vector is b. The Vlasov part reads3 
f α t + v | | B * B | | * · f α + c q α B | | * b × ( μ B + q α ϕ 1 ) · f α B * m α B | | * · ( μ B + q α ϕ 1 ) f α v | | q α m α c A 1 , | | t f α v | | = C α f α ,
(1)
where q α and m α are the charge and mass, respectively, and c is the speed of light. The guiding center (or corrected) magnetic field is B * = B + ( m α c / q α ) v | | × b + A 1 , | | × b. Its parallel component B | | * = b · B * = B + ( m α c / q α ) v | | b · × b constitutes the gyrocenter (or guiding-center) Jacobian J = B | | * m α 2. On the right-hand side, we have added a term C α f α accounting for collisions, which will be further described in Sec. II B.
Equation (1) contains two unknown quantities, the potentials ϕ 1 and A 1 , | |, where the index indicates that these quantities are fluctuations that vary in time. The system is self-consistently closed by the gyrokinetic quasi-neutrality equation and Ampère's law, respectively,4,32
· ( α m α c 2 n 0 , α B 2 ϕ 1 ) = α q α f α d V ,
(2)
Δ A 1 , | | = 4 π α q α c v | | f α d V .
(3)
The right-hand sides of these equations describe gyrocenter charges and currents, respectively, which are given by moments of f α. The velocity space element is d V = 2 π B | | * / m α d v | | d μ. The operator defined by = ( I bb ) · is the gradient perpendicular to the magnetic field, and Δ = · is the perpendicular Laplacian. The model employs a long wavelength approximation,33 simplifying gyroaverages by ϕ 1 ϕ 1. Further, in Eq. (2), we have used the initial gyrocenter density n 0 , α, which comes from a linearization of the quasi-neutrality equation.

The system of equations presented here is the same as used in Ref. 32. It differs from other full-f codes either applying a Padé approximation20 or using a nonlinear quasi-neutrality with adiabatic electrons.21 While Eqs. (1)–(3) formally constitute the system of equations in GENE-X, the implemented model uses a scheme based on Ref. 32, introducing a generalized Ohm's law. For further details on the assumptions made in the model and the electromagnetic scheme, see Ref. 4.

The collisionless model presented in Sec. II A is sufficient to develop turbulence given a suitable initial condition.4 In Ref. 4, a simple Bhatnagar–Gross–Krook (BGK)28 collision operator was used. It was found that collisions had a significant influence on the turbulent state that develops. The aim of this work is to systematically analyze the effect of collisions by using two collision operators of different fidelity alongside the collisionless model. We have developed these collision models in Ref. 5 and summarize the equations in the following paragraphs.

The right-hand side of Eq. (1) contains the collision term C α f α, where C α is called the collision operator. This collision operator is assumed to be bilinear C α f α = β C α β ( f α , f β ), such that the total collisional effect on a species α is given by the sum of the individual contributions by “colliding” species α with all other species β.

The most simple collision model is given by the Bhatnagar–Gross–Krook (BGK) operator,5,28
C α β BGK f α = ν α β ( B B | | * M α β f α ) ,
(4)
where ν α β are collision frequencies that will be given below. The BGK collision operator relaxes the distribution function toward a Maxwellian,
M α β = n α ( m α 2 π T α β ) 3 / 2 exp ( 1 2 m α ( v | | u α β ) 2 + μ B T α β ) ,
(5)
where uαβ and Tαβ are the “mixing” flow and temperature that are used to conserve momentum and energy exactly.34 In Eq. (4), we have added a term B / B | | * that is required to keep the conservation properties when all terms in the gyrocenter (or guiding-center) Jacobian are retained.5 
A more sophisticated collision operator is given by the model of Lenard–Bernstein/Dougherty (LBD),5,29,30
C α β LBD f α = ν α β B | | * { v | | [ ( v | | u α β ) B | | * f α + T α β m α B | | * f α v | | ] + μ [ 2 μ B | | * f α + 2 T α β B μ B | | * f α μ ] } .
(6)
This operator is of simplified Fokker–Planck form, containing friction and diffusion terms. These can be obtained from the classical Fokker–Planck operator by evaluating the Rosenbluth potentials35 for a Maxwellian field particle distribution f β and expanding the resulting expressions in the small velocity limit v v th , β.36 The diffusion is assumed to be isotropic, overestimating the effect of pitch-angle scattering by a factor of two. The field particle coefficients u β and T β are replaced by the mixing quantities uαβ and Tαβ. This re-introduces a non-linearity in the collision operator, since the mixing quantities depend on both the test and field particle distributions.
The mixing quantities uαβ and Tαβ can be obtained by demanding the conservation of density, moment, and energy. Using symmetry relations u α β = u β α and T α β = T β α, they are given by5,34
u α β = ν α β m α n α u α + ν β α m β n β u β ν α β m α n α + ν β α m β n β ,
(7)
T α β = T α ν α β n α + T β ν β α n β ν α β n α + ν α β n α 1 3 ν α β n α m α ( u α β 2 u α 2 ) + ν β α n β m β ( u α β 2 u β 2 ) ν α β n α + ν α β n α ,
(8)
where we have used density, mean flow, energy, and temperature defined by velocity space moments,
n α = f α d V ,
(9)
u α = 1 n α f α v | | d V ,
(10)
W α = f α ( m α v | | 2 2 + μ B ) d V ,
(11)
T α = 2 3 n α W α 1 3 m α u α 2 .
(12)
The mixing quantities are the same for the BGK and the LBD operator.5 Given Eqs. (7)–(12), the collision frequencies ν α β are the only free parameters of the collision operator. We make the special choice that the temperature relaxation rate of the Boltzmann collision operator should be approximately reproduced by our model.34 They read
ν α β BGK = 16 2 π n β m α m β ( Z α Z β e 2 ) 2 ln Λ α β 3 ( m α T β + m β T α ) 3 / 2 ,
(13)
ν α β LBD = 1 2 ν α β BGK ,
(14)
where Z α is the charge state of species α, and ln Λ α β is the Coulomb logarithm determined by version no. 4 in Ref. 37 (for details, see Ref. 5). With this choice of mixing quantities and collision frequencies, the LBD operator (6) satisfies the H-theorem.38 

The LBD operator is a simplified Fokker–Planck35-type collision operator and is commonly used in the gyrokinetic community5,36,39–42 due to its low complexity and computational cost. Only few full-f gyrokinetic codes implement the full Fokker–Planck collision operator.43,44 Advanced models exist in the literature45–49 that have an impact on plasma micro-turbulence depending on the case analyzed.47–52 However, these models commonly use a linearized collision operator, neglecting the collisional interaction between the perturbed parts of the distribution function. The model presented here, while containing simplified friction and diffusion terms, accounts for such non-linear interactions.

The coordinate system that allows GENE-X to perform simulations in diverted geometry is based on the flux-coordinate independent approach.53,54 This can be seen as a locally field-aligned coordinate system, where one (parallel) coordinate is aligned to the magnetic field and the other (perpendicular) components are flux coordinate independent (for details see Ref. 3). Studies on the role of the separatrix in turbulence simulations can be found in Refs. 24 and 55.

For the perpendicular derivatives in the Vlasov part, we use a fourth-order centered finite difference scheme and an Arakawa scheme56 for the E × B and B terms. Parallel derivatives are discretized by fourth-order centered finite differences, where the stencil is constructed via a field line map. The field equations are solved with an elliptic solver using the GMRES algorithm57 with a geometric multi-grid preconditioner. Details on the discretization of the Vlasov–Maxwell system can be found in Refs. 3 and 4. The LBD collision operator is implemented with a second-order conservative finite volume scheme that accounts for the conservation of density, momentum, and energy up to machine precision.5 

We evolve the Vlasov–Maxwell system in time using a fourth-order Runge–Kutta (RK4) scheme58 for collisionless and BGK simulations. With LBD collisions, we observed a restriction of the time step due to the Courant–Friedrichs–Lewy (CFL) condition.59 This was found to be partly due to the diffusion of the collisional system and also due to advection becoming relevant for low densities and temperatures in the edge. Previous approaches using so-called Runge–Kutta–Chebyshev (RKC) schemes60 lead to an enlarged region of stability for diffusion dominated problems only, leaving the advective part to be less stable than for the classical RK4 method. We instead use Strang Splitting,61 where we split the time step into a Vlasov step and a collisional step,
T ( Δ t ) f α = ( T C ( Δ t 2 ) T V ( Δ t ) T C ( Δ t 2 ) ) f α ,
(15)
where T ( Δ t ) represents the time evolution operator that evolves the distribution function f α by time step Δ t. The splitting into a composition of the collisional step T C and the Vlasov step T V requires two evaluations of the collisional step. In theory, the second evaluation of T C can be combined with the first evaluation of the following time step. This splitting of the full-time evolution operator into two parts is second order accurate in time. For both T C and T V, we choose the RK4 method for time integration. This effectively results in a decoupling of the CFL conditions of the collisional and the Vlasov part. The maximum time step needs to only satisfy the stricter one of the Vlasov or collisional CFL conditions. The overall gain in the performance for the LBD simulation performed in this work was approximately a factor of two.

For calculating the velocity space moments in Eqs. (2)–(3) and (9)–(12), for the collisionless and BGK system, we use Gauss–Laguerre quadrature in μ and extended62 Simpson quadrature in v | |.63 For the LBD collision operator, we use a midpoint quadrature scheme63 in both velocity space dimensions, as this is required by the constructed conservative finite volume discretization.5 

We use Dirichlet boundary conditions for our simulations. At the real space domain boundary, the distribution function of each species is set to a Maxwellian (5) with fixed temperature and density. At the velocity space boundary, the distribution is set to zero. The potentials are pinned to zero at the real space domain boundary. For the conservative finite volume discretization of the LBD collision operator, we use zero collisional flux at the velocity space domain boundaries.5 To set Dirichlet boundary conditions consistently, we add numerical diffusion in a small “buffer zone” close to the real space domain boundaries, including the vicinity of the divertor plates.64 Further, we add additional numerical diffusion (fourth-order hyperdiffusion) in real space and in v | | to stabilize high wavenumber modes that may be excited by the discretization.65 

In this work, we validate the GENE-X code with the physical model described in Sec. II. We show the results of three different simulations, varying the fidelity of the collision model, to study the influence of collisions on the gyrokinetic turbulence. The three cases use the collisionless (labeled “No Coll”), the BGK, and the LBD model.

We chose the validation case TCV-X21,27 a diverted, attached L-mode reference case for edge turbulence codes. In the original study, three codes implementing fluid turbulence models (GRILLIX,23–26, GBS,66,67 and TOKAM3X68,69) were validated.

The experimental data and the results from the original validation study are publicly available (see Ref. 27 and references therein).

The validation case TCV-X21 features several beneficial properties for numerical simulations of turbulence. First, the magnetic field is reduced, relaxing the requirements on the spatial resolution of the simulation. Second, the effect of neutrals was minimized, which is beneficial since currently GENE-X does not feature a neutral gas model. Two cases were investigated, one where the ion grad-B drift points from the O-point to the X-point (“forward” field or “favorable” configuration) and the opposite case (“reversed” field or “unfavorable” configuration). In this work, we will only consider the forward field case. The geometry of the simulation and the location of the measurements that are used in the validation are shown in Fig. 1. For further information about the experimental setup, we refer to Ref. 27.

FIG. 1.

TCV-X21 geometry. The outboard midplane (OMP) will be used for validation of plasma profiles. The experimental data at the OMP in the confined region are approximated via data from the Thomson scattering (TS) device, indicated by its line of sight (LoS). In the SOL, data from the Fast Horizontal Reciprocating Probe (FHRP) on the OMP are available.27 The magnetic field is defined such that it points out of the plane.

FIG. 1.

TCV-X21 geometry. The outboard midplane (OMP) will be used for validation of plasma profiles. The experimental data at the OMP in the confined region are approximated via data from the Thomson scattering (TS) device, indicated by its line of sight (LoS). In the SOL, data from the Fast Horizontal Reciprocating Probe (FHRP) on the OMP are available.27 The magnetic field is defined such that it points out of the plane.

Close modal

The simulations were set up with realistic mass ratio plasma species m i = 2 m p and m e 1 / 1830 m p, where m p is the proton mass. The simulation domain was chosen to start from normalized poloidal flux surface label ρ pol min = 0.74 in the core up to ρ pol max 1.1 at the wall. The reason to exclude the inner plasma core from the simulation was to save upon the required velocity space resolution. Resolving the velocity space dynamics at high core and low SOL temperatures with a global velocity space grid would significantly increase the computational cost of the simulations. As initial conditions, we set a canonical Maxwellian distribution function, with density, electron, and ion temperature given by profiles described in Ref. 4. The resulting initial profiles can be seen in Fig. 2. The maximum values for the electron temperature and the density were set within the experimental error bars. The minimum value for the electron temperature is approximately a factor of two higher, and the minimum density is approximately a factor of four higher than the experimental value. Lower values did not lead to a stable initial state (equilibrium). The ion temperature was not measured in the experiment. We set the maximum value slightly lower than the electron temperature (guided by measurements from the reversed field case). The minimum and maximum values of the initial profiles are fixed by the Dirichlet boundary condition for the entire simulation. More details on the initial state are given in  Appendix A.

FIG. 2.

Initial profiles used for the gyrokinetic turbulence simulation.

FIG. 2.

Initial profiles used for the gyrokinetic turbulence simulation.

Close modal

The grid spacing within a poloidal plane was Δ R = Δ Z 1.23 mm,70 such that each poloidal plane contains approximately 2 × 10 5 points. In the toroidal direction, we use n φ = 32 planes in the domain φ [ 0 , 2 π ). The velocity space consists of ( n v | | × n μ ) =  ( 80 × 20 ) points for the cases No Coll and BGK and ( n v | | × n μ ) =  ( 80 × 60 ) points for the case LBD. For the former cases, the magnetic moment is merely a parameter and Gauss–Laguerre quadrature can be used to evaluate velocity space moments. For the LBD collision operator, we have to calculate derivatives of the distribution function with respect to magnetic moment, and for the quadrature, the extended midpoint rule was used. Therefore, we chose a conservative factor of three times more points in the magnetic moment. The velocity space boundaries were set to [ 8 v th , α , 8 v th , α ] for the parallel velocity and [ 0 , 64 T ref / B ref ] for the magnetic moment. The reference magnetic field B ref = 0.929 T was chosen close to the on-axis field given in Ref. 27, and the reference temperature is T ref = 20 eV. The parallel velocity space is normalized with respect to the thermal velocity of each species v th , α = 2 T ref / m α. We note that the parallel velocity grid size is set based on experience with the GENE code.9 Typically, in local simulations, 36–48 points in v | | are used on a domain bound by three thermal velocities.71,72 For the global simulations performed here, a bigger domain size with more points was used.73 

The time step of the simulations was set to Δ t = 4 × 10 4 t ref for the collisionless and the BGK simulation and Δ t = 2 × 10 4 t ref for the LBD simulation. The reference time is t ref 20.7 μs, which results in approximately 8.3 ns of evolved physical time per time step in the collisionless and BGK simulation (and half of that in the simulations with LBD). The parameters for hyperdiffusion and the buffer zone were set the same as in the AUG simulation in Ref. 64. The extent of the buffer zone covers approximately 5% of the radial domain length ( ρ max ρ min ) = 0.36. This means that approximately from ρ pol [ 0.74 , 0.76 ] and ρ pol [ 1.08 , 1.1 ] the diffusion in the buffer zone will dominate the dynamics and results in these regions should not be considered physical (the same for the region in front of the divertor).

Our numerical scheme is not positivity preserving. This means that the distribution function can become negative and, as a result, also the density and temperature. This may lead to numerical problems in the collisional part, as the collision frequency Eq. (14) may become imaginary. Thus, we decided to set a minimum allowed value to density n floor = 0.25 n ref and temperature T floor = 0.25 T ref only in the collision operator, with n ref = 10 19 m−3. Both values are below the values set by the Dirichlet boundary conditions around ρ pol 1.1 in Fig. 2.

The simulations were performed until a quasi-stationary state was reached. For the simulation without collisions, approximately 700 μs were needed. Simulations with collisions saturated faster, approximately after 450 μs for BGK and LBD (see Fig. 3). This translates into approximately 8.5 × 10 4 , 5.3 × 10 4, and 1.1 × 10 5 total timesteps for No Coll, BGK, and LBD. The collisionless simulation was performed on the A3 partition of the Marconi supercomputer at Cineca, the other two cases at the Raven supercomputer at the Max–Planck Computing and Data Facility (MPCDF). In total, approximately 13 × 106 core-hours were spent, 650 real-time hours on 320 nodes (  15 or 23 k cores) over a period of several months. The wall-clock time was between 2.6 and 11.9 s per time step.

FIG. 3.

Time traces of the OMP density and ion temperature at a point close to the separatrix ( ρ pol = 0.9996). This is taken as a measure to decide whether a simulation has reached a quasi-stationary state or not.

FIG. 3.

Time traces of the OMP density and ion temperature at a point close to the separatrix ( ρ pol = 0.9996). This is taken as a measure to decide whether a simulation has reached a quasi-stationary state or not.

Close modal

After reaching the quasi-stationary state (see Fig. 3), we took measurements of the plasma density and the electron and ion temperature along the outboard midplane (OMP). This was done by defining a “lineout” from the core to the wall, along which the values of the 2D moments in Eqs. (9)–(11) were interpolated. The temperatures were evaluated using Eq. (12) before interpolation. The profiles were averaged toroidally and temporally over the last 100 μs in the simulations. The standard deviation was used to characterize the magnitude of turbulent fluctuations. The results are shown in Figs. 4–7.

FIG. 4.

Validation of the outboard midplane density profiles. The experimental profile is combined from the Thomson data in the confined region and the FHRP in the SOL (black lines with error bars).27 The measured GENE-X results are given by the colors for the three different cases (collisionless, BGK, and LBD collision operator). These were toroidally and temporally (100 μs) averaged, and the shaded area shows the standard deviation. For comparison, the result from the GRILLIX simulation27 is given.

FIG. 4.

Validation of the outboard midplane density profiles. The experimental profile is combined from the Thomson data in the confined region and the FHRP in the SOL (black lines with error bars).27 The measured GENE-X results are given by the colors for the three different cases (collisionless, BGK, and LBD collision operator). These were toroidally and temporally (100 μs) averaged, and the shaded area shows the standard deviation. For comparison, the result from the GRILLIX simulation27 is given.

Close modal
FIG. 5.

The same as Fig. 4 but for the electron temperature.

FIG. 5.

The same as Fig. 4 but for the electron temperature.

Close modal
FIG. 6.

Decomposition of the final electron temperature profile of the collisionless simulation into parallel and perpendicular components.

FIG. 6.

Decomposition of the final electron temperature profile of the collisionless simulation into parallel and perpendicular components.

Close modal
FIG. 7.

The same as Figs. 4 and 5 but for the ion temperature. There is no experimental reference available.

FIG. 7.

The same as Figs. 4 and 5 but for the ion temperature. There is no experimental reference available.

Close modal

The GENE-X density profile shows a good match with the experiment in the confined region and a stronger deviation in the SOL. One can see in Fig. 4 that the minimum density value of around 0.4 × 10 19 m−3 is too high compared to the realistic value from the experiment. As we discussed in Sec. II C, this is due to the Dirichlet boundary condition that prevents further particle outflow when the minimum has been reached. As a result, the density cannot become smaller than the minimum and the experimental value cannot be reached. Thus, we cannot make quantitative conclusions in the SOL. In the confined region however, and perhaps the near-SOL, we see an appreciable match with the experiment. The difference between the density profiles obtained with the different collision models is quite small, although one sees a general trend toward lower densities with collisions.

We can compare the profiles obtained by GENE-X with the ones obtained by the GRILLIX code. In the SOL, GRILLIX performs very well, matching the experimental profile within the error bars. In the confined region, however, the results differ significantly. This difference is due to the assumption of high collisionality in Braginskii74 fluid codes, which is not valid in the confined region. As we will show in Sec. IV, the turbulence is most likely driven by trapped electron modes, which are not present in the model in GRILLIX. This shows the need for higher fidelity models, such as GENE-X (or advanced gyrofluid models) to describe turbulence in the inner confined region. In the outer edge and SOL, the fluid approach is closer to validity. Since GRILLIX also employs more advanced boundary conditions, the experiment can be described better than with GENE-X in the region near the divertor targets.

In the electron temperature profile given in Fig. 5, we observe substantial differences between the collision models. Without collisions, the SOL temperature of the electrons is significantly too high. This is consistent with previous findings in simulations of AUG.4 Decomposing the temperature into the contributions from the perpendicular T , α = ( 1 / n α ) f α μ B d V and parallel energy T | | , α = 3 T α 2 T , α, we observe that the major source of energy in the SOL comes from the perpendicular part (Fig. 6). Further, we analyze the contribution of trapped electrons (see Sec. IV D) and find that the majority of perpendicular energy in the SOL is carried by trapped electrons (especially at the low field side). These are trapped in a local magnetic well, located between the X-point and the top of the device. With this information, the reason for the high electron temperature in the collisionless simulation becomes clear. Without collisions, there is no physical mechanism present in the simulation that may lead to an energy exchange between trapped and passing electrons. Thus, trapped electrons keep all their energy. With collisions, trapped electrons can give their excess energy to passing electrons, which in turn transport the energy to the divertor plates. This effectively cools the trapped electrons, and as a result, the total electron temperature is reduced. We observe that the simulation with the highest fidelity collision operator produces the closest match with the experiment.

The ion temperatures are compared in Fig. 7. Since there is no experimental value available, there is no validation that can be done. Comparing the overall effect of collisions, we see that collisions cool down the ions, although the effect is weaker than that for the electrons.

In the second part of the validation, we focus on the heat fluxes in the simulation. The parallel heat fluxes are given by the moments,
q | | , α = f α v | | ( m α v | | 2 2 + μ B ) d V .
(16)
This is the total heat that is carried along the magnetic field line, and the two terms in Eq. (16) describe the parallel transport of parallel and perpendicular energy, respectively. Further, we calculate the radial E × B heat flux,64 
q E , α c B { ϕ 1 × b } r W α .
(17)
In the confined region, the radial E × B heat flux is of most importance, since it includes the transport of heat due to turbulence. In the SOL, the dynamics are different. The parallel transport to the divertor becomes critical, particularly for heat.
To estimate the total power balance in the simulation, we first calculate the total power crossing the separatrix. This is done by using a closed flux-surface close to the separatrix, measuring the radial E × B heat flux and integrating it over the flux surface,
Q r sep = 2 π α sep q E , α ( l ) φ , t R ( l ) d l ,
(18)
where · φ , t is a toroidal and temporal average, and l is the arc length along the poloidal flux surface. The average in time is required due to the fluctuations of the radial E × B heat flux. We chose a time interval of 100 μs for the average.
The second part of the power balance is the power that leaves the device. Since the dominant mechanism in the SOL is parallel transport, we expect the majority of the power to leave the simulation domain through the divertor plates. Therefore, we use this as an estimation, neglecting contributions that leave the device through the wall. The divertor is approximated by a plane slightly away to reduce the effect of the boundary conditions. This plane is generated by tracing the points on the divertor back by one toroidal plane.4 The magnetic field lines hit the divertor plates through a shallow incidence angle αI (around 2.5°) that must be taken into account in the calculation. The total heat flux hitting a divertor plate is, then, calculated as
Q | | div = 2 π α div q | | , α ( l ) φ , t R ( l ) sin ( α I ( l ) ) d l .
(19)

The results for the measurements of the power balance are summarized in Table I. In Ref. 27, an estimation for the total separatrix power as well as a measurement on the right divertor is available. We observe that there is a significant deviation of the power crossing the separatrix between the simulations with the different collision models. The highest fidelity simulation with the LBD collision operator can reproduce the experimental result within 10%. This simulation also has the closest balance between power crossing the separatrix and power deposited onto the divertor plates. In the experiment, the power flux to the right divertor is lower than that in the simulations. This is most likely due to neutral gas that contributes to the power balance via radiation. For both simulations with collisions, the total power flux to the divertor is larger than the E × B flux through the separatrix. Contributions from, e.g., diamagnetic cross field heat fluxes have not been considered here.

TABLE I.

Results for the total heat flux crossing the separatrix ( sep) and the total heat flux hitting the divertor plates ( div) (averaged over 100 μs). The experimental values (TCV) are taken from Ref. 27, where the total heat flux on the right divertor was evaluated by integrating the parallel heat flux profile over the divertor length. There is no experimental measurement for the second (left) divertor plate available.

TCV No Coll BGK LBD
Q r sep (kW)  120  393.8  51.7  132.3 
Q | | div (kW)  ⋯  134.4  92.5  145.0 
Q | | right div (kW)  38.1  102.2  54.3  78.7 
Q | | left div (kW)  ⋯  32.2  38.5  66.3 
TCV No Coll BGK LBD
Q r sep (kW)  120  393.8  51.7  132.3 
Q | | div (kW)  ⋯  134.4  92.5  145.0 
Q | | right div (kW)  38.1  102.2  54.3  78.7 
Q | | left div (kW)  ⋯  32.2  38.5  66.3 

The case without collisions has a significant power deficit on the divertor plates, compared to the power crossing the separatrix. This is linked to the previous observation of trapped hot electrons in the SOL. Since they cannot leave the device toward the divertor, their dynamics are dominated by radial transport. This ultimately leads to the trapped electrons drifting radially outward until they hit the wall. The remaining amount of power is expected to flow through the main chamber wall. The ratio between the power on the divertor plates and the power crossing the separatrix is approximately 1:2.

The final quantity we consider for the validation is the SOL falloff length λq.2,75,76 We mentioned before that most results in the SOL are not trustworthy due to the boundary conditions applied in front of the divertor. Nonetheless, we can compare λq, as it is expected to be determined by transport above the X-point in attached conditions.2,76 The heat that is deposited on the divertor plates peaks close to the point where the separatrix hits the divertor, followed by a falloff in the heat flux profile. Empirically, the divertor heat-flux width is described by the Eich fit function,2,
q div ( r ) = q 0 2 exp ( ( S 2 λ q ) 2 r r 0 λ q ) × erfc ( S 2 λ q r r 0 S ) + q BG ,
(20)
where q0 is the peak heat flux, S is the power spreading factor, r0 is a radial shift,27 and q BG is a constant background contribution to the heat flux profile.2 In the form used above, r describes the distance of an OMP-mapped point from the separatrix. This removes the dependence of the heat flux profile from the flux expansion in the open field line region. The OMP-mapped distance is constructed by tracing the field lines terminating at the divertor plate back until they hit the OMP. The parameter of interest to us is the SOL falloff length λq, as it determines the overall area where the heat flux is deposited. To obtain this value, we measure the parallel heat flux in front of the divertor, interpolate it onto the OMP-mapped distance, and perform a fit of the Eich function given by Eq. (20) (see Ref. 27 for details on the fit). Figure 8 shows the profile of the deposited heat flux on the right divertor and the corresponding Eich fit that is performed.
FIG. 8.

Heat flux profile of the right divertor on the outboard midplane mapped distance from the separatrix for the LBD simulation. In gray, the contributions from electrons and ions are shown. The Eich fit is performed on the total heat flux profile. The magnetic field line incidence angle has been taken into account.

FIG. 8.

Heat flux profile of the right divertor on the outboard midplane mapped distance from the separatrix for the LBD simulation. In gray, the contributions from electrons and ions are shown. The Eich fit is performed on the total heat flux profile. The magnetic field line incidence angle has been taken into account.

Close modal

The results of estimating the SOL falloff length are summarized in Table II. We have included the previous results from the original TCV-X21 reference27 for comparison. We observe that λq is about a factor of four, too narrow for the collisionless case. Collisions seem to broaden λq, consistent with previous simulations performed in AUG.4 The SOL falloff lengths in the collisional simulations are close to the experiment, especially the BGK simulation. A significant improvement of λq for the higher fidelity LBD collision operator was not observed.

TABLE II.

Results for the fitted SOL falloff length on the right divertor. The first block (upper sub-table) is taken from Ref. 27. The second block (lower sub-table) shows the GENE-X results.

TCV GRILLIX GBS TOKAM3X
λq (mm)  5.5  1.1  11.6  0.1 
    GENE-X 
    No Coll  BGK  LBD 
λq (mm)    1.34  4.68  3.75 
TCV GRILLIX GBS TOKAM3X
λq (mm)  5.5  1.1  11.6  0.1 
    GENE-X 
    No Coll  BGK  LBD 
λq (mm)    1.34  4.68  3.75 
In this section, we will consider details of the underlying turbulence in the three simulated cases. The relative fluctuation amplitude of the density compared to the temporal averaged value can be defined as
δ n = n n t n t .
(21)

Figure 9 shows these amplitudes for the three simulated cases. We observe that in the confined region, the fluctuation amplitudes are similar for the collisionless and the LBD simulation, whereas the BGK case seems to suppress fluctuations. In the SOL, fluctuations are similar between both collisional cases.

FIG. 9.

Relative density fluctuations at a single poloidal plane calculated using Eq. (21). The temporal average has been applied over 100 μs. The colorbar has been limited for better comparison between the three cases. Fluctuations may reach up to 27% for the collisionless case, 13% for BGK, and 21% for LBD. The dynamics of the total and fluctuating density for the highest fidelity LBD simulation can be viewed in the supplementary material.

FIG. 9.

Relative density fluctuations at a single poloidal plane calculated using Eq. (21). The temporal average has been applied over 100 μs. The colorbar has been limited for better comparison between the three cases. Fluctuations may reach up to 27% for the collisionless case, 13% for BGK, and 21% for LBD. The dynamics of the total and fluctuating density for the highest fidelity LBD simulation can be viewed in the supplementary material.

Close modal

Some other characteristic figures of merit are the normalized gradients R y / L T , α and R y / L n , α, and their ratio η α = L n , α / L T , α. Here, L T , α = 1 / ln ( T α ) and L n , α = 1 / ln ( n α ) are the gradient lengths, and R y is the flux surface line averaged major radius. Further, the collisionality77 is of interest, ν * = ( ν e / ϵ ) / ω b, where ϵ r / R y is the inverse aspect ratio, ν e = 4 2 π e 4 ln ( Λ ee ) n e / ( 3 m e T e 3 / 2 ) is the electron collision rate,78 and ω b = ϵ v th , e / ( q R y ) is the electron bounce time.77 The elementary charge is denoted by e. We approximate ϵ via r r eff = L / ( 2 π ) as an effective radius, where L is the total flux surface arc length. The safety factor q is calculated by constructing a flux coordinate system similar to the one in Ref. 79.

Figure 10 shows these figures of merit as profiles along the outboard midplane in the confined region. We observe that generally the normalized gradients are of similar order of magnitude and similar functional form. One exception is the collisionless case, where L T , e is almost flat. There is a general trend that the normalized gradients are smallest for the collisionless case and largest for the BGK case. The ratio between the density and ion temperature gradient is η i 1.1 in the whole confined region, which suggests that ion temperature gradient driven modes (ITG) are stabilized.80 

FIG. 10.

Radial profiles of characteristic figures of merit along the outboard midplane in the confined region at the final time for each simulation. On the left column, the normalized gradients for the temperatures R y / L T , α and for density R y / L n , e are shown. On the right, we plot the ratios η α = L n , α / L T , α and the collisionality ν *.

FIG. 10.

Radial profiles of characteristic figures of merit along the outboard midplane in the confined region at the final time for each simulation. On the left column, the normalized gradients for the temperatures R y / L T , α and for density R y / L n , e are shown. On the right, we plot the ratios η α = L n , α / L T , α and the collisionality ν *.

Close modal

We observe that both the normalized electron temperature and the density gradients are high. This indicates that turbulence driven by trapped electron modes (TEM)81 could be relevant in the confined region.71,82 Toward the outer edge, TEMs would be stabilized due to collisional de-trapping81,83 (see collisionality in Fig. 10). In the BGK simulation, the collisionality is ν * > 1 in almost the whole confined region. If the dominant micro-instability is indeed the TEM, this would explain the significant reduction in the fluctuation amplitudes, seen in Fig. 9.

In Secs. IV A–IV D, we apply a turbulence characterization diagnostic. This enables a quantitative analysis of the nonlinear gyrokinetic simulations to characterize the nature of turbulence and check the hypothesis of TEM dominated turbulence. We will restrict the analysis to the confined region. Qualitative observations made in the SOL are discussed in  Appendix C.

We perform a Fourier analysis along flux surfaces in the closed field line region. The flux surface length is represented by a binormal coordinate y = r θ s,84 where r = L / ( 2 π ) is an effective radius defined via the total flux surface poloidal arc length L. The underlying field-aligned symmetry flux coordinate system is described by ( ψ , θ s , φ ), where ψ ρ pol r is the radial component, φ is the geometric toroidal angle, and θs is a poloidal symmetry angle chosen such that the magnetic field lines are straight in this coordinate system.79 We define the formal Fourier representation,
g ( y ) = 1 2 π g ̂ ( k y ) e i k y y d k y ,
(22)
g ̂ ( k y ) = g ( y ) e i k y y d y .
(23)
Here, g ̂ ( k y ) is the Fourier amplitude of a single poloidal mode m. This can be used for any quantity g(y) that is defined along a flux surface. The corresponding poloidal wave number is k y = m / r, with mode number m. We will give the spectra in units of k y ρ s, where ρ s = c T e y m i / ( e B y ) is the local sound Larmor radius. This is defined formally only, since in reality there cannot be infinitely many Fourier modes in the system and the domain of the integral over y is only over the closed flux surface. In practice, we will use only Eq. (23) to obtain the Fourier modes of certain quantities. The numerical algorithm used is the fast Fourier transform, based on Ref. 63.

Figure 11 shows the poloidal variation of the electrostatic potential on different flux surfaces. We observe that the fluctuations are spatially located at the low field side (ballooning structure). The potential fluctuations lie on top of a background contribution that changes across the flux surfaces, creating a radial electric field. Further, consistent with Fig. 9, the fluctuation amplitudes in the BGK simulation are significantly reduced. It seems that only the large-scale contributions are dominant in that case. This effect is more dominant at radial locations closer to the core. At the outermost flux surface considered, some smaller-scale fluctuations are present.

FIG. 11.

Poloidal variation of the electrostatic potential for the final time at a single φ for three different flux surfaces. The top axis of each plot shows the individual geometric angle on each flux surface. The coordinates are constructed such that the geometric angle θ equals zero at Z = 0 and is counted counterclockwise. Thus, the outboard midplane is located close to θ = 0, and the high field side is located approximately at θ = π.

FIG. 11.

Poloidal variation of the electrostatic potential for the final time at a single φ for three different flux surfaces. The top axis of each plot shows the individual geometric angle on each flux surface. The coordinates are constructed such that the geometric angle θ equals zero at Z = 0 and is counted counterclockwise. Thus, the outboard midplane is located close to θ = 0, and the high field side is located approximately at θ = π.

Close modal

We perform the Fourier analysis given by Eq. (23) on the electrostatic potential and plot the square amplitude in a k y ρ s spectrum (Fig. 12). To get better statistics, we show the φ and time averaged amplitudes. Generally, the spectra show a broadband turbulence character with no real distinguishable peaks. The region of interest is approximately 0.1 < k y ρ s < 1, as here the transport tends to peak.85 Since GENE-X adopts the long-wavelength approximation,33 smaller scales should not be considered in the physical analysis. Further, on the non-averaged spectra, we observed a clear linear decay in the double logarithmic spectra, with a slope of approximately four. This is an expected effect of the fourth-order hyperdiffusion that is applied, since this naturally suppresses short wavelength modes. The decay starts around k y ρ s 1; thus, smaller scales are heavily affected by hyperdiffusion. For the BGK simulation, the spectra confirm the observations made in Fig. 9. The square amplitude in the region of interest is suppressed by up to approximately two orders of magnitude.

FIG. 12.

Flux surface Fourier spectra of the electrostatic potential at three different radial locations, averaged over ( φ , t ). The top axis shows the poloidal mode number m for the LBD simulation as a reference. The temporal average has been applied over 100 μs.

FIG. 12.

Flux surface Fourier spectra of the electrostatic potential at three different radial locations, averaged over ( φ , t ). The top axis shows the poloidal mode number m for the LBD simulation as a reference. The temporal average has been applied over 100 μs.

Close modal

In the remainder of this section, the analysis will be very detailed; thus, we restrict it to the highest fidelity case, the LBD simulation. Differences seen in the other cases are discussed in  Appendix B.

In this section, we further analyze the underlying micro-instabilities driving the turbulence by determining the propagation direction of the Fourier modes. In Eq. (23), g(y) is a real signal given on the flux surface lineout. As an effect, the complex Fourier spectrum will have the corresponding complex conjugate values on the negative real part domain.86 Applying a second Fourier transform from the time to the frequency domain, we will retrieve additional information about the poloidal propagation of the mode along the flux surface lineout. We define
h ( y , t ) = 1 ( 2 π ) 2 H ̂ ( k y , ω ) e i ( k y y ω t ) d k y d ω ,
(24)
H ̂ ( k y , ω ) = h ( y , t ) e i ( k y y ω t ) d y d t .
(25)

Given these definitions, ω will be a signed frequency, and the sign of ω will determine the propagation direction of the mode. The definition of our symmetry angle θs is counterclockwise. The direction of the diamagnetic drift v D , α = q α b × ( n α T α ) depends on the species and is clockwise for ions and counterclockwise for electrons in our magnetic geometry. Given the definition of the Fourier transform in Eqs. (24) and (25), ω > 0 means that a Fourier mode is propagating toward the electron diamagnetic direction and vice versa for ions.

The signals h(y, t) must satisfy certain requirements to be used, especially in the temporal Fourier transform. They must be periodic in time, contain no residual growth, and are further Doppler shifted to a frame co-moving with the poloidal rotation by the background radial electric field. The last point is important to make actual statements about the direction of propagation. Given these requirements, h(y, t) cannot simply be the same as g(y, t) used in Eqs. (22) and (23). First, we apply the flux surface Fourier transform (22) and remove residual growth for each Fourier mode. This is done by fitting the function f ( k y , t ) = A ( k y ) exp ( γ ( k y ) t ) + B ( k y ) for each ky, using non-linear least squares utilizing the Levenberg–Marquardt algorithm.87 Here, the real growth rate γ and A and B are fitting parameters. Then, g ̂ ( k y , t ) = g ̂ ( k y , t ) f ( k y , t ). Second, we apply a Kaiser window,88, h ̂ ( k y , t ) = K ( g ̂ ( k y , t ) , β ) with β = 8. This forces the signal g ̂ ( k y , t ) close to the domain boundaries t min and t max to zero, effectively making the signal periodic. Third, we remove the rotation by the background radial electric field by applying a Doppler shift,89 
h ̂ ( k y , t ) = h ̂ ( k y , t ) e i v E k y t ,
(26)
v E = c B { ϕ 1 × b } y t , φ , y ,
(27)
where the averaged poloidal E × B velocity vE approximates the background rotation. The frequency shift corresponds to ω D = v E k y. The exponent in Eq. (26) must have an opposing sign to the time component in Eq. (24) to effectively remove the contribution of the background rotation. Finally, we apply the second Fourier transform in time H ̂ ( k y , ω ) = h ̂ ( k y , t ) exp ( i ω t ) d t.

We apply this procedure on the electrostatic potential and show the square amplitude of Φ ̂ ( k y , ω ) in Fig. 13. The spectrum shows that the turbulence has a broadband character. A majority of the modes, and especially the highest amplitude ones, are located in the region that propagates in the electron diamagnetic direction. At the scales under consideration, this is another hint on the hypothesis of TEM driven turbulence. For a reference comparison, we show the linear frequency of the TEM,90, ω = ω D ( 1 + x trap x trap R y / L n , e ) / 2 with ω D = c T e y k y / ( e B 0 R y ) and x trap = F trap / ( 1 F trap ). We approximated the trapped fraction by F trap 1 min y ( B ) / max y ( B ) (see Sec. IV D). A comparison with the reference shows that the linear frequency agrees well with the simulation at ρ pol = 0.92 (Fig. 13). The overall dispersion is similar to the linear one for small k y ρ s. For larger values, there seems to be a small deviation from the linear estimation. These observations are consistent with previous investigations of non-linear saturation of TEMs.91 

FIG. 13.

Combined temporal, flux surface Fourier spectra for the electrostatic potential in the LBD simulation. The temporal length of the signal was 100 μs, and one single toroidal angle φ was analyzed. On the right axis, we additionally show the frequency ω in units of R y / c s, where c s = ( T e y / m i ) 1 / 2 is the sound speed. The dotted line shows a linear estimation of the frequency of the TEM. The solid line shows the mean value over the ω dimension. This is calculated by the frequency where the normalized cumulative sum over the omega dimension reaches 1/2.

FIG. 13.

Combined temporal, flux surface Fourier spectra for the electrostatic potential in the LBD simulation. The temporal length of the signal was 100 μs, and one single toroidal angle φ was analyzed. On the right axis, we additionally show the frequency ω in units of R y / c s, where c s = ( T e y / m i ) 1 / 2 is the sound speed. The dotted line shows a linear estimation of the frequency of the TEM. The solid line shows the mean value over the ω dimension. This is calculated by the frequency where the normalized cumulative sum over the omega dimension reaches 1/2.

Close modal
So far, we have considered spectra of the electrostatic potential only. One of the ultimate goals is to predict turbulent transport. Thus, we now consider particle and heat fluxes and the spectral structure of these quantities. The total integral particle flux across a flux surface is given by86,92
Γ α = 0 2 π 0 2 π R δ n α B δ ϕ 1 θ s d φ d θ s ,
(28)
R y 2 π 0 2 π Γ ̂ α ( k y ) d k y d φ ,
(29)
where δ denotes the fluctuating part of n α or ϕ 1. The integrand is92,
Γ ̂ α ( k y ) = Re ( i k y n ̂ α ( k y ) ϕ ̂ 1 * ( k y ) B y 1 ) ,
(30)
= k y | n ̂ α ( k y ) | | ϕ ̂ 1 ( k y ) | sin ( α ( n ̂ α , ϕ ̂ 1 ) ) B y 1 .
(31)
The function α ( n ̂ α , ϕ ̂ 1 ) = Im ( log ( n ̂ α * ϕ ̂ 1 ) ) returns the phase shift between two Fourier modes n ̂ α ( k y ) and ϕ ̂ 1 ( k y ).86 The condition that the total integrated particle flux must be a real quantity is imposed by taking the real part in Eq. (30). The second form in Eq. (31) follows from the fact that both n α and ϕ 1 are decomposed as Fourier modes of form (23). The particle flux has a maximum for phase shifts of π / 2 and is zero for any integer multiple of π.
Similar, for the total integral heat flux across a flux surface,
Q α = 3 2 0 2 π 0 2 π R B δ n α δ T α δ ϕ 1 θ s d φ d θ s ,
(32)
R y 2 π 0 2 π Q ̂ α ( k y ) d k y d φ .
(33)
The spectral heat flux is decomposed into two parts,
Q ̂ α ( k y ) 3 k y 2 B y Re ( i T α y n ̂ ( k y ) ϕ ̂ 1 * ( k y ) +  i n α y T ̂ α ( k y ) ϕ ̂ 1 * ( k y ) ) ,
(34)
typically called the convective and conductive part.92 The former is proportional to the particle flux, whereas the latter depends on the phase shift between T ̂ α and ϕ ̂ 1.

We plot the spectral particle and total heat flux in Fig. 14. We observe fine scaled peaks on top of a broadband structure, peaking at around k y ρ s 0.7. Both particle and heat flux are localized in the range of 0.2 < k y ρ s < 1.8. The particle flux is nearly identical for electrons and ions due to quasi-neutrality. For the heat flux, the electron contribution dominates by a factor of >2 in almost the entire region where Q ̂ 0. Such an electron contribution in the heat flux supports the hypothesis of TEM dominated turbulence. Further, by varying the total time span for the temporal average, we find that the more statistics are collected, the clearer the underlying broadband structure in the fluxes becomes compared to the spikes. For a better resolved flux spectrum, it would be favorable to run the simulations longer in the saturated state to collect more statistical data.

FIG. 14.

Total ( φ , t )-averaged spectral heat and particle flux for electrons and ions in the LBD simulation. The quantities are multiplied by ky so that the area under the respecting curves in the logarithmic plot is a measure for the poloidally integrated flux [due to d k y = k y d ( log k y )]. The temporal average has been applied over 100 μs.

FIG. 14.

Total ( φ , t )-averaged spectral heat and particle flux for electrons and ions in the LBD simulation. The quantities are multiplied by ky so that the area under the respecting curves in the logarithmic plot is a measure for the poloidally integrated flux [due to d k y = k y d ( log k y )]. The temporal average has been applied over 100 μs.

Close modal

We also made a simple verification of our heat flux diagnostics for the LBD simulation at the ρ pol = 0.92 flux surface. We evaluated Eq. (33) given the spectral flux in Fig. 14. The result is a total heat flux of Q tot 131.2 kW. In a steady state, the total heat flux across each flux surface should be the same. We can compare this value against the heat flux crossing the separatrix in Table I. Both values agree, with an error of less than 1%.93 

Given the relation between the spectral fluxes and the phase shifts [Eq. (31) and the analogous one for the heat flux], we can analyze the phase shifts as given in Fig. 15. In these plots, only the phases in the regions of actual transport happening (see Fig. 14 for that) are relevant. A phase shift of zero means no transport, and π / 2 means maximum transport. Phase shifts for the ion density and temperature show an almost adiabatic ion response α 0. For the electrons, we observe a different behavior. The density phase shift is close to zero, whereas for the temperature α ( T ̂ , ϕ ̂ 1 ) α ( T ̂ , ϕ ̂ 1 ), the phase shift is between π / 4 and π / 2 in the region where heat fluxes are localized ( 0.2 < k y ρ s < 1.8). An interpretation using results from the linear theory94 and non-linear simulations of TEM turbulence71,95 suggests that TEMs drive the turbulence observed.

FIG. 15.

Phase shift distribution between the Fourier modes of the electrostatic potential and the density as well as parallel, perpendicular, and total temperatures (rows) for ions and electrons (columns), in the LBD simulation. A time span of 100 μs has been chosen for the histogram count. The black line shows a rolling average of the last three mean values along the α axis (calculated the same way as in Fig. 13).

FIG. 15.

Phase shift distribution between the Fourier modes of the electrostatic potential and the density as well as parallel, perpendicular, and total temperatures (rows) for ions and electrons (columns), in the LBD simulation. A time span of 100 μs has been chosen for the histogram count. The black line shows a rolling average of the last three mean values along the α axis (calculated the same way as in Fig. 13).

Close modal

Relating the phase shifts to the fluxes, we observe a correlation between the spectral regions of non-zero α ( n ̂ , ϕ ̂ 1 ) for ions and electrons, and the particle flux observed in Fig. 14. Even for small phase shifts, a significant particle flux can occur since the particle flux (31) depends not only on phase shifts but also on fluctuation amplitudes. The same holds for the convective part of the heat flux. The conductive heat flux is dominated by electrons, consistent with the larger electron temperature phase shifts observed in Fig. 15. This is the reason for the overall dominance of the electron heat flux in Fig. 14.

In a gyrokinetic code, it is possible to analyze contributions that arise only from a certain part of the distribution of a particle species. A decomposition of spectral particle and heat fluxes with respect to trapped or passing particles is of major interest, since we saw substantial indications for TEM driven turbulence.

We define the criterion for particles to be trapped on the low field side as77 
trapped if : v > v trap = | v | | | / max y ( B ) B 1 ,
(35)
where the function max y yields the maximum along the poloidal flux surface lineout. Given this criterion, we can define f α trap = f α ( x , v | | , v > v trap ) and f α pass = f α f α trap as the distribution function of trapped and passing particles, respectively. We can further calculate densities and energies of trapped and passing particles via Eqs. (9) and (11). However, the temperatures (12) are ill-defined for trapped particles, as the poloidal trapped particle density is zero beyond the reflecting point defined by max y ( B ). We resolve this issue by defining T , α trap / pass = T , α ( n α , W α trap / pass ) with respect to the total particle density n α (the same for parallel temperature). In principle, the concept of “temperature” is not well defined for such distribution functions where parts of the velocity space are cut off. In this case, one may think of it as a measure of energy.

In Fig. 16, we have plotted the electron density along a flux surface, decomposed into contributions from trapped and passing electrons. As expected, we see the largest population of trapped electrons close to the outboard midplane and zero density beyond the reflection point at the high field side. At the low field side, the density of trapped and passing electrons is comparable. To verify our diagnostics, we have calculated the trapped fraction and show it against an analytical estimation in Fig. 16. The analytically calculated trapped fraction is given by F trap a = 1 2 I ( ζ trap ) / I ( π ), where I ( ζ ) = 0 d v 0 ζ d ζ v 2 sin ( ζ ) f ( v , ζ ) is the density evaluated via integration in pitch angle space ( v , ζ ).96 The factor 2 is because there are two loss cones, and the fraction of the two integrals is in fact the density of passing particles. The parameter ζ trap = arctan ( v trap / v | | ) is the angle of the loss cone, defined by Eq. (35). Assuming that the distribution function is isotropic in velocity space, f ( v , ζ ) f ( v ), the integrals can be evaluated analytically, and the result is F trap a = cos ( ζ trap ) = 1 B / B max. The last step used the identity97  cos ( arctan ( x ) ) = 1 / 1 + x 2. The comparison in Fig. 16 shows a good agreement between the analytical estimate and the calculated trapped fraction.

FIG. 16.

Decomposition of the final electron density, parallel temperature, and perpendicular temperature into contributions from passing and trapped electrons for the LBD simulation. The top right plot shows the trapped fraction F trap = n trap / n tot calculated in the simulation vs reference values from the analytical theory assuming a velocity space isotropic distribution function.

FIG. 16.

Decomposition of the final electron density, parallel temperature, and perpendicular temperature into contributions from passing and trapped electrons for the LBD simulation. The top right plot shows the trapped fraction F trap = n trap / n tot calculated in the simulation vs reference values from the analytical theory assuming a velocity space isotropic distribution function.

Close modal

In the second row of Fig. 16, we show the parallel and perpendicular electron temperatures, decomposed into contributions of trapped and passing electrons. The parallel temperature is mostly held by passing electrons. The perpendicular temperature has a strong poloidal variation. At the high field side, passing electrons contain the majority of perpendicular temperature, due to the lack of trapped electrons in these regions. At the low field side, the major contribution to perpendicular energy is held by the trapped electrons. The same result can be found in the collisionless case, where it contributes to the explanation of the too hot electron temperature profile in Sec. III. The perpendicular electron temperature and especially the contribution of trapped electrons show a clear ballooning structure, which is expected for TEM driven turbulence. To definitely confirm the TEM drive, we show the decomposed spectral heat fluxes in Fig. 17 as well as the phase shifts in Fig. 18. The majority of particle and heat flux is driven by trapped electrons. For the transport relevant region 0.1 k y ρ s 1, passing electrons show a near adiabatic response. Trapped electrons have temperature phase shifts close to π / 4 and density phase shifts between zero and π / 4, both consistent with the dominating contribution to particle and heat flux. This confirms that trapped electrons are mainly driving the turbulence, and we conclude that the underlying instability is a TEM.

FIG. 17.

The same as Fig. 14 but for electrons only. Fluxes are decomposed into contributions from trapped and passing electrons. Only the final time is considered in this plot.

FIG. 17.

The same as Fig. 14 but for electrons only. Fluxes are decomposed into contributions from trapped and passing electrons. Only the final time is considered in this plot.

Close modal
FIG. 18.

The same as Fig. 15 but for electrons only. Phase shifts are decomposed into contributions from trapped and passing electrons. Only the final time is considered in this plot.

FIG. 18.

The same as Fig. 15 but for electrons only. Phase shifts are decomposed into contributions from trapped and passing electrons. Only the final time is considered in this plot.

Close modal

In this work, we have presented a validation of the collisional gyrokinetic turbulence code GENE-X3 in the diverted X-point geometry of the experimental case TCV-X21.27 Three simulations were performed, one collisionless and two collisional cases, with the BGK and LBD models, respectively.

We showed that, using the highest fidelity collision operator (LBD), the current model implemented in GENE-X is able to reproduce key observables in the experiment. This includes the profiles of density and electron temperature in the confined region, as well as the total power balance and the SOL falloff length. Neglecting collisions entirely results in a significantly too high electron temperature and a highly inconsistent power balance. Using the BGK collision operator, turbulence is suppressed substantially, leading to deviations in the inner electron temperature at ρ pol 0.8 and less transport than that in the experiment. In contrast, the LBD operator gives a good match with experimental profiles, power crossing the separatrix and divertor power loads. Combining the individual results, we conclude that the current collisional (LBD) model in GENE-X is well suited to simulate gyrokinetic turbulence in the edge region of the plasma. These results show not only the collisionality as such, but also the form of the collision operator matter.

The SOL falloff length is observed to be broadened by collisions. The exact physics of the collision model does not seem to have a conclusive effect on λq, given the observations made here. Both the collisional cooling of the electrons and the collisional broadening of the SOL falloff length are robust effects, also observed in previous simulations in AUG.4 Analyzing the turbulence characteristics in the confined region, we found that TEMs are the main driver of the turbulence.

The validation suggests that the dominant shortcoming of the current model is not the simplified collision operator. In the SOL, the current simulation suffers from a high density due to the initial and boundary conditions.

Close to the divertor, the current boundary conditions lack a proper physical description of the effects of the plasma sheath. Further, a neutral gas model is required to consider other cases where neutrals have a considerably stronger effect.22,92 Even if not considered in the validation, in the inner confined region and especially in the core (not simulated here), a relaxation of the long-wavelength assumptions is necessary. This means a consideration of gyroaverages and higher-order finite Larmor radius (FLR) effects. Parts of these issues are already actively being worked on, extending the applicability of the code in the future.

Based on the observations in this work, we consider the LBD collision operator as satisfactory for cases such as those considered here. However, this statement must be re-addressed once the model fidelity in the SOL has been improved. Moreover, in vastly different conditions, such as burning plasmas, the details of the collision operator may matter. Due to these reasons, the full non-linear Fokker–Planck–Landau collision operator (the same one as in Ref. 44) has been recently implemented in GENE-X. This collision operator is not yet available for full simulations (such as considered here), and a performance optimization is performed to reduce the substantial computational costs to make such simulations possible.

In any case, the agreement achieved in the current validation study is promising. Further extensions of the collisional gyrokinetic model by, e.g., neutral gas and sheath physics, as well as improvements of computational performance, will make GENE-X simulations of edge and SOL turbulence even more realistic and truly predictive for future fusion devices.

See the supplementary material for a video included online. The temporal evolution of the total and fluctuating density for the simulation with the LBD collision operator is shown. Fluctuations were calculated based on the 10 μs time averaged density.

The authors thank T. Görler, F. Wilms, L. Leppin, D. Told, S. Makarov, T. Hayward-Schneider, and members of the TSVV4 project for useful discussions.

This work has been carried out within the framework of the EUROfusion Consortium, funded by the European Union via the Euratom Research and Training Programme (Grant Agreement No. 101052200—EUROfusion). Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.

The authors have no conflicts to disclose.

Philipp Ulbl: Conceptualization (equal); Formal analysis (lead); Investigation (lead); Methodology (equal); Software (lead); Validation (lead); Visualization (lead); Writing – original draft (lead); Writing – review & editing (equal). Thomas Body: Conceptualization (supporting); Formal analysis (supporting); Methodology (equal); Software (supporting); Validation (supporting); Writing – review & editing (equal). Wladimir Zholobenko: Methodology (equal); Validation (supporting); Writing – review & editing (equal). Andreas Stegmeir: Methodology (supporting); Software (supporting); Writing – review & editing (equal). Jan Pfennig: Methodology (supporting); Software (supporting). Frank Jenko: Methodology (supporting); Supervision (equal); Writing – review & editing (equal).

The data that support the findings of this study are openly available in Zenodo at https://doi.org/10.5281/zenodo.7894731 (Ref. 98).

The initial profiles given by Fig. 2 were constructed such that the initial state of the simulation is macroscopically stable and turbulence can develop. If the initial condition is far away from an equilibrium state, the simulation will first evolve large poloidal shear flows that will suppress the onset of turbulence.99,100 Only after the equilibrium has been reached, turbulence can develop.101 As an initial distribution function, we chose to use a canonical Maxwellian,14,101 where the plasma profiles are set to be dependent on the constants of motion only (for details see Ref. 4). The canonical Maxwellian does satisfy the gyrokinetic Vlasov equation as well as the quasi-neutrality equation in the case of electrostatic field equations with adiabatic electrons (as used in Refs. 14, 100, and 101). In our cases, due to kinetic electrons and electromagnetic fluctuations, the use of a canonical Maxwellian will generally result in an initial condition that is not quasi-neutral. Thus, we apply corrections to the initial electron distribution f e , 0 = f e , cano ( n i , cano / n e , cano ) such that quasi-neutrality is restored.

The base profiles are given by analytical expressions in Ref. 4. Essentially, they are constant outside a region ( ρ min , ρ max ) and given by a sine function inside this region. The maximum and minimum values are given by P min and P max. These values are { ρ min , ρ max , P min , P max } = { 0.86 , 0.94 , 0.4 n ref , 2.0 n ref } for the density profile, { 0.76 , 0.98 , 1.2 T ref , 10.5 T ref } for electron temperature, and { 0.8 , 0.98 , 1.0 T ref , 9.5 T ref } for ion temperature. The reference values are given by n ref = 10 19 m−3 and T ref = 20 eV. These values are all different, because they result from a trial-and-error procedure, achieving a stable initial state. The given base profiles were then used in the canonical Maxwellian as described above. The final result is seen in Fig. 2.

Most of the turbulence characterization in Sec. IV was shown for the simulation with the LBD collision operator. We have also analyzed the other cases, and we want to briefly highlight the commonalities and differences.

In the bulk of the confined region 0.85 ρ pol 0.99, the results are qualitatively similar between all simulations. Quantitatively, the observed amplitudes of the spectral particle and heat fluxes differ. As already indicated by Fig. 12, the turbulence is weaker for the BGK case and stronger for the No Coll case. However, in all cases we observe that TEMs are most likely the driver of the turbulence. Particle fluxes are nearly identical for electrons and ions in all simulations and all radial locations considered.

In the inner region of the simulation domain at ρ pol 0.79, we find clear qualitative differences in the BGK case. This was already expected by the deviation of the overall form of the spectrum in Fig. 12. We observe two different “branches” of modes in the temporal Fourier spectra. The first is located close to k y ρ s 0.1 and ω 0, with no clear propagation direction. The second is located close to k y ρ s 0.6 and frequencies close to the linear TEM, with propagation in the electron direction. Generally, there is no clear evidence that the turbulence is dominated by TEM in that radial location. The collisionality in the BGK case is very high, especially in the inner confined region (Fig. 10). This could suggest that the TEM is weakened and or stabilized by collisions in the confined region in this case.81 However, the original reason why the temperature profile evolved such that the collisionality is higher is still an open question. Systematic investigations about the overall effect of BGK collisions on turbulence would be interesting.

We also compared the trapped fraction for the collisionless and the collisional cases. For the collisionless simulation, deviations between the analytical estimate and the simulation become slightly larger than that in Fig. 16. Further, the trapped-passing boundary in velocity space is more distinct in the collisionless case. Both observations are consistent with the absence of collisions, which would otherwise contribute to the isotropization of the distribution function in velocity space.

In this work, we have not analyzed the characteristics of the turbulence in the SOL. The reason is that the validation in Sec. III has shown that the results in the SOL are not the most trustworthy. Further, dynamics in the SOL are most likely dominated by the flat density profile, i.e., the lack of a density gradient (see Fig. 4). However, we believe that there are interesting statements that can be made about the turbulence in SOL. For this case, we have repeated the turbulence characterization for two flux surfaces, one at ρ pol = 0.99 and the other one at ρ pol = 1.01. Both flux surfaces are very close to each other in real space, with the separatrix in between.

Technically, adjustments to the flux surface Fourier transform given in Eq. (23) have to be made in the SOL. We define the normalized flux surface arc length to be the relevant coordinate in the Fourier transform, y : = l / L. Since the field lines do not close on themselves in this region, we apply the same window function discussed in Sec. IV B, with β = 14. Note that the different coordinates used to create the Fourier spectra in the SOL allow comparing the results to the confined region only to some extent.

Comparing the amplitudes of the particle and heat fluxes, there is a reduction of approximately two orders of magnitude in turbulent transport when crossing the separatrix. This matches the idea that parallel dynamics dominate the SOL. The scales of turbulent fluctuations become much larger, and there are no significant amplitudes above k y ρ s > 0.5. The characteristics of the turbulence change qualitatively in the SOL. We observe ions to become more important, consistent with the observation that ηi increases in the outer edge and SOL, eventually exceeding η i > 2. This may de-stabilize ITG modes.80 However, due to the high collisionality also, resistive drift waves or ballooning modes could be important (e.g., see Ref. 102). The dominating effect of TEMs, observed in the confined region, is stabilized in the SOL in both collisional simulations. The collisionless simulation does not show a transition away from TEM dominated turbulence. This is supported by the missing de-trapping mechanism without collisions.

1.
E. J.
Doyle
,
W. A.
Houlberg
,
Y.
Kamada
,
V.
Mukhovatov
,
T. H.
Osborne
,
A.
Polevoi
,
G.
Bateman
,
J. W.
Connor
,
J. G.
Cordey
, and
T.
Fujita
,
Nucl. Fusion
47
,
S18
(
2007
).
2.
T.
Eich
,
A. W.
Leonard
,
R.
Pitts
,
W.
Fundamenski
,
R. J.
Goldston
,
T. K.
Gray
,
A.
Herrmann
,
A.
Kirk
,
A.
Kallenbach
,
O.
Kardaun
,
A. S.
Kukushkin
,
B.
LaBombard
,
R.
Maingi
,
M. A.
Makowski
,
A.
Scarabosio
,
B.
Sieglin
,
J.
Terry
,
A.
Thornton
,
ASDEX Upgrade Team
, and
J. E. Contributors
,
Nucl. Fusion
53
,
093031
(
2013
).
3.
D.
Michels
,
A.
Stegmeir
,
P.
Ulbl
,
D.
Jarema
, and
F.
Jenko
,
Comput. Phys. Commun.
264
,
107986
(
2021
).
4.
D.
Michels
,
P.
Ulbl
,
W.
Zholobenko
,
T.
Body
,
A.
Stegmeir
,
T.
Eich
,
M.
Griener
,
G. D.
Conway
,
F.
Jenko
, and
ASDEX Upgrade Team
,
Phys. Plasma
29
,
032307
(
2022
).
5.
P.
Ulbl
,
D.
Michels
, and
F.
Jenko
,
Contrib. Plasma Phys.
62
,
e202100180
(
2022
).
6.
P. W.
Terry
,
M.
Greenwald
,
J.-N.
Leboeuf
,
G. R.
McKee
,
D. R.
Mikkelsen
,
W. M.
Nevins
,
D. E.
Newman
,
D. P.
Stotler
,
Task Group on Verification and Validation
,
U. S. Burning Plasma Organization
, and
U. S. Transport Task Force
,
Phys. Plasmas
15
,
062503
(
2008
).
7.
M.
Greenwald
,
Phys. Plasmas
17
,
058101
(
2010
).
8.
F.
Jenko
,
W.
Dorland
,
M.
Kotschenreuther
, and
B.
Rogers
,
Phys. Plasmas
7
,
1904
(
2000
).
9.
T.
Görler
,
X.
Lapillonne
,
S.
Brunner
,
T.
Dannert
,
F.
Jenko
,
F.
Merz
, and
D.
Told
,
J. Comput. Phys.
230
,
7053
(
2011
).
10.
J.
Candy
and
R. E.
Waltz
,
Phys. Rev. Lett.
91
,
045001
(
2003
).
11.
J.
Candy
,
E.
Belli
, and
R.
Bravenec
,
J. Comput. Phys.
324
,
73
(
2016
).
12.
V.
Grandgirard
,
J.
Abiteboul
,
J.
Bigot
,
T.
Cartier-Michaud
,
N.
Crouseilles
,
G.
Dif-Pradalier
,
C.
Ehrlacher
,
D.
Esteve
,
X.
Garbet
,
P.
Ghendrih
,
G.
Latu
,
M.
Mehrenberger
,
C.
Norscini
,
C.
Passeron
,
F.
Rozar
,
Y.
Sarazin
,
E.
Sonnendrücker
,
A.
Strugarek
, and
D.
Zarzoso
,
Comput. Phys. Commun.
207
,
35
(
2017
).
13.
S.
Jolliet
,
A.
Bottino
,
P.
Angelino
,
R.
Hatzky
,
T. M.
Tran
,
B. F.
Mcmillan
,
O.
Sauter
,
K.
Appert
,
Y.
Idomura
, and
L.
Villard
,
Comput. Phys. Commun.
177
,
409
(
2007
).
14.
Y.
Idomura
,
M.
Ida
,
T.
Kano
,
N.
Aiba
, and
S.
Tokuda
,
Comput. Phys. Commun.
179
,
391
403
(
2008
).
15.
A. G.
Peeters
,
Y.
Camenen
,
F. J.
Casson
,
W. A.
Hornsby
,
A. P.
Snodin
,
D.
Strintzi
, and
G.
Szepesi
,
Comput. Phys. Commun.
180
,
2650
(
2009
).
16.
E. L.
Shi
,
G. W.
Hammett
,
T.
Stoltzfus-Dueck
, and
A.
Hakim
,
J. Plasma Phys.
83
,
905830304
(
2017
).
17.
A.
Hakim
,
M.
Francisquez
,
J.
Juno
, and
G. W.
Hammett
,
J. Plasma Phys.
86
,
905860403
(
2020
).
18.
M.
Boesl
,
A.
Bergmann
,
A.
Bottino
,
D.
Coster
,
E.
Lanti
,
N.
Ohana
, and
F.
Jenko
,
Phys. Plasmas
26
,
122302
(
2019
).
19.
S.
Ku
,
C. S.
Chang
, and
P. H.
Diamond
,
Nucl. Fusion
49
,
115021
(
2009
).
20.
R.
Hager
,
S.
Ku
,
A. Y.
Sharma
,
C. S.
Chang
,
R. M.
Churchill
, and
A.
Scheinberg
,
Phys. Plasmas
29
,
112308
(
2022
).
21.
M.
Dorf
and
M.
Dorr
,
Phys. Plasmas
28
,
032508
(
2021
).
22.
W.
Zholobenko
,
A.
Stegmeir
,
M.
Griener
,
G. D.
Conway
,
T.
Body
,
D.
Coster
,
F.
Jenko
, and
ASDEX Upgrade Team
,
Nucl. Fusion
61
,
116015
(
2021
).
23.
A.
Stegmeir
,
D.
Coster
,
A.
Ross
,
O.
Maj
,
K.
Lackner
, and
E.
Poli
,
Plasma Phys. Controlled Fusion
60
,
035005
(
2018
).
24.
A.
Stegmeir
,
A.
Ross
,
T.
Body
,
M.
Francisquez
,
W.
Zholobenko
,
D.
Coster
,
O.
Maj
,
P.
Manz
,
F.
Jenko
,
B. N.
Rogers
, and
K. S.
Kang
,
Phys. Plasmas
26
,
052517
(
2019
).
25.
W.
Zholobenko
,
A.
Stegmeir
,
T.
Body
,
A.
Ross
,
P.
Manz
,
O.
Maj
,
D.
Coster
,
F.
Jenko
,
M.
Francisquez
,
B.
Zhu
, and
B.
Rogers
,
Contrib. Plasma Phys.
60
,
e201900131
(
2020
).
26.
W.
Zholobenko
,
T.
Body
,
P.
Manz
,
A.
Stegmeir
,
B.
Zhu
,
M.
Griener
,
G. D.
Conway
,
D.
Coster
,
F.
Jenko
, and
ASDEX Upgrade Team
,
Plasma Phys. Controlled Fusion
63
,
034001
(
2021
).
27.
D. S.
Oliveira
,
T.
Body
et al.,
Nucl. Fusion
62
,
096001
(
2022
).
28.
P. L.
Bhatnagar
,
E. P.
Gross
, and
M.
Krook
,
Phys. Rev.
94
,
511
(
1954
).
29.
A.
Lenard
and
I. B.
Bernstein
,
Phys. Rev.
112
,
1456
(
1958
).
30.
J. P.
Dougherty
,
Phys. Fluids
7
,
1788
(
1964
).
31.
A. J.
Brizard
and
T. S.
Hahm
,
Rev. Mod. Phys.
79
,
421
(
2007
).
32.
N. R.
Mandell
,
A.
Hakim
,
G. W.
Hammett
, and
M.
Francisquez
,
J. Plasma Phys.
86
,
905860109
(
2020
).
33.
N.
Miyato
,
B. D.
Scott
, and
M.
Yagi
,
Plasma Phys. Controlled Fusion
55
,
074011
(
2013
).
34.
J. R.
Haack
,
C. D.
Hauck
, and
M. S.
Murillo
,
J. Stat. Phys.
168
,
826
(
2017
).
35.
M. N.
Rosenbluth
,
W. M.
Macdonald
, and
D. L.
Judd
,
Phys. Rev.
107
,
1
(
1957
).
36.
M.
Francisquez
,
T. N.
Bernard
,
N. R.
Mandell
,
G. W.
Hammett
, and
A.
Hakim
,
Nucl. Fusion
60
,
096021
(
2020
).
37.
D. O.
Gericke
,
M. S.
Murillo
, and
M.
Schlanges
,
Phys. Rev. E
65
,
036418
(
2001
).
38.
M.
Francisquez
,
J.
Juno
,
A.
Hakim
,
G. W.
Hammett
, and
D. R.
Ernst
,
J. Plasma Phys.
88
,
905880303
(
2022
).
39.
T.-H.
Watanabe
and
H.
Sugama
,
Nucl. Fusion
46
,
24
(
2005
).
40.
X.
Garbet
,
G.
Dif-Pradalier
,
C.
Nguyen
,
Y.
Sarazin
,
V.
Grandgirard
, and
P.
Ghendrih
,
Phys. Plasmas
16
,
062503
(
2009
).
41.
J.
Angus
, “
On anomalous plasma transport in the edge of magnetic confinement devices
,” Ph.D. thesis (
University of California
,
San Diego, CA
,
2012
).
42.
M.
Boesl
,
A.
Bergmann
,
A.
Bottino
,
S.
Brunner
,
D.
Coster
, and
F.
Jenko
,
Contrib. Plasma Phys.
60
,
e201900117
(
2020
).
43.
M. A.
Dorf
,
R. H.
Cohen
,
M.
Dorr
,
J.
Hittinger
, and
T. D.
Rognlien
,
Contrib. Plasma Phys.
54
,
517
(
2014
).
44.
R.
Hager
,
E. S.
Yoon
,
S.
Ku
,
E. F.
D'Azevedo
,
P. H.
Worley
, and
C. S.
Chang
,
J. Comput. Phys.
315
,
644
(
2016
).
45.
H.
Sugama
,
T.-H.
Watanabe
, and
M.
Nunami
,
Phys. Plasmas
16
,
112503
(
2009
).
46.
H.
Sugama
,
T.-H.
Watanabe
, and
M.
Nunami
,
Phys. Plasmas
22
,
082306
(
2015
).
47.
P.
Donnel
,
X.
Garbet
,
Y.
Sarazin
,
V.
Grandgirard
,
Y.
Asahi
,
N.
Bouzat
,
E.
Caschera
,
G.
Dif-Pradalier
,
C.
Ehrlacher
,
P.
Ghendrih
,
C.
Gillot
,
G.
Latu
, and
C.
Passeron
,
Comput. Phys. Commun.
234
,
1
13
(
2019
).
48.
Q.
Pan
,
D. R.
Ernst
, and
P.
Crandall
,
Phys. Plasmas
27
,
042307
(
2020
).
49.
B. J.
Frei
,
J.
Ball
,
A. C. D.
Hoffmann
,
R.
Jorge
,
P.
Ricci
, and
L.
Stenger
,
J. Plasma Phys.
87
,
905870501
(
2021
).
50.
E. A.
Belli
and
J.
Candy
,
Plasma Phys. Controlled Fusion
59
,
045005
(
2017
).
51.
P.
Crandall
,
D.
Jarema
,
H.
Doerk
,
Q.
Pan
,
G.
Merlo
,
T.
Görler
,
A. B.
Navarro
,
D.
Told
,
M.
Maurer
, and
F.
Jenko
,
Comput. Phys. Commun.
255
,
107360
(
2020
).
52.
B. J.
Frei
,
A. C. D.
Hoffmann
, and
P.
Ricci
,
J. Plasma Phys.
88
,
905880304
(
2022
).
53.
F.
Hariri
and
M.
Ottaviani
,
Comput. Phys. Commun.
184
,
2419
(
2013
).
54.
A.
Stegmeir
,
D.
Coster
,
O.
Maj
,
K.
Hallatschek
, and
K.
Lackner
,
Comput. Phys. Commun.
198
,
139
(
2016
).
55.
P.
Manz
,
A.
Stegmeir
,
B.
Schmid
,
T. T.
Ribeiro
,
G.
Birkenmeier
,
N.
Fedorczak
,
S.
Garland
,
K.
Hallatschek
,
M.
Ramisch
, and
B. D.
Scott
,
Phys. Plasmas
25
,
072508
(
2018
).
56.
A.
Arakawa
,
J. Comput. Phys.
1
,
119
(
1966
).
57.
Y.
Saad
and
M. H.
Schultz
,
SIAM J. Sci. Stat. Comput.
7
,
856
(
1986
).
58.
E.
Hairer
,
S. P.
Norsett
, and
G.
Wanner
,
Solving Ordinary Differential Equations I
,
2nd ed.
(
Springer-Verlag
,
Berlin Heidelberg
,
1993
).
59.
R.
Courant
,
K.
Friedrichs
, and
H.
Lewy
,
Math. Ann.
100
,
32
(
1928
).
60.
H.
Doerk
and
F.
Jenko
,
Comput. Phys. Commun.
185
,
1938
(
2014
).
61.
G.
Strang
,
SIAM J. Numer. Anal.
5
,
506
(
1968
).
62.
The actually used quadrature in v | | is an average of the standard extended Simpson's rule with Simpson's 3/8 rule. See Ref. 63 on how to construct these.
63.
W. H.
Press
,
S. A.
Teukolsky
,
W. T.
Vetterling
, and
B. P.
Flannery
,
Numerical Recipes in FORTRAN
,
2nd ed.
(
Cambridge University Press
,
1992
).
64.
D.
Michels
, “
Development of a high-performance gyrokinetic turbulence code for the edge and scrape-off layer of magnetic confinement fusion devices
,” Ph.D. thesis (
Technische Universität München
,
2022
).
65.
M. J.
Pueschel
,
T.
Dannert
, and
F.
Jenko
,
Comput. Phys. Commun.
181
,
1428
(
2010
).
66.
P.
Ricci
,
F. D.
Halpern
,
S.
Jolliet
,
J.
Loizu
,
A.
Mosetto
,
A.
Fasoli
,
I.
Furno
, and
C.
Theiler
,
Plasma Phys. Controlled Fusion
54
,
124047
(
2012
).
67.
F. D.
Halpern
,
P.
Ricci
,
S.
Jolliet
,
J.
Loizu
,
J.
Morales
,
A.
Mosetto
,
F.
Musil
,
F.
Riva
,
T. M.
Tran
, and
C.
Wersal
,
J. Comput. Phys.
315
,
388
(
2016
).
68.
P.
Tamain
,
H.
Bufferand
,
G.
Ciraolo
,
C.
Colin
,
D.
Galassi
,
P.
Ghendrih
,
F.
Schwander
, and
E.
Serre
,
J. Comput. Phys.
321
,
606
(
2016
).
69.
F.
Nespoli
,
P.
Tamain
,
N.
Fedorczak
,
G.
Ciraolo
,
D.
Galassi
,
R.
Tatali
,
E.
Serre
,
Y.
Marandet
,
H.
Bufferand
, and
P.
Ghendrih
,
Nucl. Fusion
59
,
096006
(
2019
).
70.
This is approximately 1.15 local ion Larmor radii ρ i = 2 T i m i c / ( e B ) at the separatrix, assuming T i 25 eV, B 0.929 T and e is the elementary charge.
71.
T.
Dannert
and
F.
Jenko
,
Phys. Plasmas
12
,
072309
(
2005
).
72.
T.
Görler
,
A. E.
White
,
D.
Told
,
F.
Jenko
,
C.
Holland
, and
T. L.
Rhodes
,
Phys. Plasmas
21
,
122307
(
2014
).
73.
Since our normalization is based on the temperature close to the separatrix, the resolution in the confined region will be better than in the SOL.
74.
S. I.
Braginskii
,
Rev. Plasma Phys.
1
,
205
311
(
1965
).
75.
X. Q.
Xu
,
N. M.
Li
,
Z. Y.
Li
,
B.
Chen
,
T. Y.
Xia
,
T. F.
Tang
,
B.
Zhu
, and
V. S.
Chan
,
Nucl. Fusion
59
,
126039
(
2019
).
76.
C. S.
Chang
,
S.
Ku
,
A.
Loarte
,
V.
Parail
,
F.
Köchl
,
M.
Romanelli
,
R.
Maingi
,
J.-W.
Ahn
,
T.
Gray
,
J.
Hughes
,
B.
LaBombard
,
T.
Leonard
,
M.
Makowski
, and
J.
Terry
,
Nucl. Fusion
57
,
116023
(
2017
).
77.
P.
Helander
and
D. J.
Sigmar
,
Collisional Transport in Magnetized Plasmas
(
Cambridge University Press
,
2004
).
78.
F. L.
Hinton
and
R. D.
Hazeltine
,
Rev. Mod. Phys.
48
,
239
(
1976
).
79.
T. T.
Ribeiro
and
B. D.
Scott
,
IEEE Trans. Plasma Sci.
38
,
2159
(
2010
).
80.
A.
Zeiler
,
Tokamak Edge Turbulence, Habilitation
(
Universität Ulm
,
1999
).
81.
B. B.
Kadomtsev
and
O. P.
Pogutse
,
Nucl. Fusion
11
,
67
(
1971
).
82.
J.
Lang
,
Y.
Chen
, and
S. E.
Parker
,
Phys. Plasmas
14
,
082315
(
2007
).
83.
F.
Ryter
,
C.
Angioni
,
A. G.
Peeters
,
F.
Leuterer
,
H.-U.
Fahrbach
,
W.
Suttrop
, and
A. U.
Team
,
Phys. Rev. Lett.
95
,
085001
(
2005
).
84.
Note that this is not the same binormal coordinate as in the GENE code given in Ref. 9. There, a different field aligned coordinate is chosen.
85.
B.
Scott
,
New J. Phys.
7
,
92
(
2005
).
86.
B.
Scott
,
Turbulence and Instabilities in Magnetised Plasmas
(
IOP Publishing Ltd.
,
2021
), Vol.
1
.
87.
C. T.
Kelley
,
Iterative Methods for Optimization
(
Society for Industrial and Applied Mathematics
,
1999
).
88.
J. F.
Kaiser
,
Digital Filters
(
John Wiley and Sons
,
New York
,
1966
), pp.
218
285
.
89.
G. D.
Conway
,
J.
Schirmer
,
S.
Klenge
,
W.
Suttrop
,
E.
Holzhauer
, and
ASDEX Upgrade Team
,
Plasma Phys. Controlled Fusion
46
,
951
(
2004
).
90.
T.
Dannert
, “
Gyrokinetische Simulation von Plasmaturbulenz mit gefangenen Teilchen und elektromagnetischen Effekten
,” Ph.D. thesis (
Technische Universität München
,
2004
).
91.
F.
Merz
and
F.
Jenko
,
Phys. Rev. Lett.
100
,
035005
(
2008
).
92.
W.
Zholobenko
,
J.
Pfennig
,
A.
Stegmeir
,
T.
Body
,
P.
Ulbl
,
F.
Jenko
, and
ASDEX Upgrade Team
,
Nucl. Mater. Energy
34
,
101351
(
2023
).
93.
Note that Eq. (17) contains the lab frame energy and is thus strictly speaking a power flux. However, the difference due to the mean bulk velocity was small in this case.
94.
P.
Manz
,
J. E.
Boom
,
E.
Wolfrum
,
G.
Birkenmeier
,
I. G. J.
Classen
,
N. C.
Luhmann
, Jr.
,
U.
Stroth
, and
ASDEX Upgrade Team
,
Plasma Phys. Controlled Fusion
56
,
035010
(
2014
).
95.
D.
Told
,
F.
Jenko
,
T.
Görler
,
F. J.
Casson
,
E.
Fable
, and
ASDEX Upgrade
Team
,
Phys. Plasmas
20
,
122312
(
2013
).
96.
B.
Scott
,
Turbulence and Instabilities in Magnetised Plasmas
(
IOP Publishing Ltd.
,
2021
), Vol.
2
.
97.
M.
Abramowitz
and
I. A.
Stegun
,
Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables
,
9th ed.
(
Dover Publications
,
New York
,
1972
).
98.
P.
Ulbl
,
T.
Body
,
W.
Zholobenko
,
A.
Stegmeir
,
J.
Pfennig
, and
F.
Jenko
(
2023
). “TCV-X21-GENEX: Influence of collisions on the validation of global gyrokinetic simulations,”
Zenodo
.
99.
G.
Dif-Pradalier
,
V.
Grandgirard
,
Y.
Sarazin
,
X.
Garbet
, and
P.
Ghendrih
,
Commun. Nonlinear Sci.
13
,
65
(
2008
).
100.
P.
Angelino
,
A.
Bottino
,
R.
Hatzky
,
S.
Jolliet
,
O.
Sauter
,
T. M.
Tran
, and
L.
Villard
,
Phys. Plasmas
13
,
052304
(
2006
).
101.
G.
Dif-Pradalier
,
V.
Grandgirard
,
Y.
Sarazin
,
X.
Garbet
,
P.
Ghendrih
, and
P.
Angelino
,
Phys. Plasmas
15
,
042315
(
2008
).
102.
A.
Mosetto
,
F. D.
Halpern
,
S.
Jolliet
,
J.
Loizu
, and
P.
Ricci
,
Phys. Plasmas
22
,
012308
(
2015
).

Supplementary Material