Gyrokinetic continuum simulation of turbulence in a straight open-field-line plasma
E. L. Shi, G. W. Hammett, T. Stoltzfus-Dueck, and A. Hakim

TL;DR
This paper presents 3D continuum gyrokinetic simulations of plasma turbulence in a straight open-field-line geometry, incorporating key scrape-off layer physics, using the Gkeyll code, with applications to LAPD device modeling.
Contribution
It introduces a full-f discontinuous-Galerkin gyrokinetic simulation approach for open-field-line plasma turbulence including sheath boundary conditions.
Findings
Successful simulation of turbulence in LAPD with sheath boundary conditions
Demonstration of cross-field turbulent transport modeling
Inclusion of parallel flows and losses in the simulation
Abstract
3D2V continuum gyrokinetic simulations of electrostatic plasma turbulence in a straight, open-field-line geometry have been performed using the full- discontinuous-Galerkin code Gkeyll. These simulations include the basic elements of a fusion-device scrape-off layer: localized sources to model plasma outflow from the core, cross-field turbulent transport, parallel flow along magnetic field lines, and parallel losses at the limiter or divertor with sheath model boundary conditions. The set of sheath boundary conditions used in the model allows currents to flow through the walls. In addition to details of the numerical approach, results from numerical simulations of turbulence in the Large Plasma Device (LAPD), a linear device featuring straight magnetic field lines, are presented.
| Coordinate | Number of Cells | Minimum | Maximum |
|---|---|---|---|
| 36 | |||
| 36 | |||
| 10 | |||
| 10 | |||
| 5 | 0 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Gyrokinetic continuum simulation of turbulence in a straight open-field-line plasma
E. L. Shi\aff1 \corresp
G. W. Hammett\aff2
T. Stoltzfus-Dueck\aff1,3
A. Hakim\aff2
\aff1Department of Astrophysical Sciences, Princeton University, Princeton, NJ 08540, USA \aff2Princeton Plasma Physics Laboratory, Princeton, NJ 08543-0451, USA \aff3Max-Planck-Princeton Center for Plasma Physics, Princeton University, Princeton, NJ 08540, USA
Abstract
3D2V continuum gyrokinetic simulations of electrostatic plasma turbulence in a straight, open-field-line geometry have been performed using the full- discontinuous-Galerkin code Gkeyll. These simulations include the basic elements of a fusion-device scrape-off layer: localized sources to model plasma outflow from the core, cross-field turbulent transport, parallel flow along magnetic field lines, and parallel losses at the limiter or divertor with sheath model boundary conditions. The set of sheath boundary conditions used in the model allows currents to flow through the walls. In addition to details of the numerical approach, results from numerical simulations of turbulence in the Large Plasma Device (LAPD), a linear device featuring straight magnetic field lines, are presented.
1 Introduction
The scrape-off layer (SOL) of a tokamak plasma is a region at the outermost edge where the plasma flows unconstrained along open magnetic field lines that intersect the material wall (Stangeby, 2000; Stoltzfus-Dueck, 2009). The SOL plasma sets the boundary conditions on the core confined plasma, so the ability to influence the plasma behaviour in this region and in the pedestal is key to improving overall reactor performance (Zweben et al., 2007; Kotschenreuther et al., 1995; Dimits et al., 2000; Kinsey et al., 2011; Shimada et al., 2007). On a basic level, plasma dynamics in the SOL involve plasma outflow from the core, cross-field turbulent transport, and parallel losses at the divertor or limiter plates (Mosetto, 2014), where plasma-surface interactions such as recycling and impurity influx can occur. The balance of these processes is believed to set the SOL width, which affects the location and strength of heat loads on plasma-facing components (Eich et al., 2013). The ability to operate future tokamaks like ITER and DEMO with high fusion gain without the significant erosion and melting of plasma-facing components is a major challenge that necessitates a thorough understanding of SOL turbulence.
One of the most common approaches to model the SOL is to solve simplified transport equations based on the Braginskii fluid equations. These codes use approximate sheath boundary conditions in the parallel direction and do not capture plasma turbulence, requiring the use of ad-hoc diffusion terms to model the turbulent transport across the magnetic field (Schneider et al., 2006; Rognlien et al., 1994). Edge turbulence codes solving 3D drift-reduced Braginskii fluid equations have also been developed (Ricci et al., 2008; Dudson et al., 2009; Scott, 1997; Xu & Cohen, 1998). While Braginskii-fluid turbulence codes are relatively fast and have led to new insights into edge turbulence, they omit kinetic effects by approximating the plasma as highly collisional, an assumption that is typically violated in the tokamak SOL. Some codes that can include the SOL (Ribeiro & Scott, 2005; Xu et al., 2013) have implemented gyrofluid models, which are more general and address these issues to some extent by incorporating finite-Larmor-radius effects and a Landau-damping model (Dorland & Hammett, 1993; Snyder et al., 1997), but they can only approximate certain nonlinear effects, such as the treatment of energetic tails, which are important for sheath physics. For these reasons, there are efforts to develop first-principles gyrokinetic codes for edge turbulence simulation (Chang et al., 2009; Dorf et al., 2016; Korpilo et al., 2016). Unlike Braginskii fluid approaches, gyrokinetic approaches use equations that are valid across a wide range of collisionality regimes, even if the collisional mean free path is not small compared to the parallel scale length or if the ion drift orbit excursions are not small compared to radial gradient length scales (Dorf et al., 2016). Gyrokinetic simulations, however, are much more computationally expensive than their fluid counterparts, so both approaches can be useful.
Continuum methods are Eulerian approaches to solve a kinetic equation (e.g. the 5D gyrokinetic equation) by discretizing the equation on a phase-space mesh. The other main class of algorithms used for plasma simulation is the particle-in-cell (PIC) method, which is essentially a Monte Carlo sampling technique that uses macroparticles to integrate along the characteristic phase-space trajectories of many gyrocentres without the need for a velocity-space grid (Krommes, 2012). Each method has advantages, disadvantages, and challenges, and it is important to explore both approaches as independent cross-checks against each other and to guide the development of future gyrokinetic edge turbulence codes. Gyrokinetic PIC codes that include a scrape-off-layer region have been developed with various capabilities and are being extended (Chang et al., 2009; Korpilo et al., 2016), while gyrokinetic continuum codes for edge simulation are less mature.
The edge region is challenging to simulate for a number of reasons, including the need to handle large-amplitude fluctuations while avoiding negative overshoots, open and closed field lines with a separatrix and X-point (which can cause difficulties with coordinates), fully electromagnetic fluctuations near the beta limit, a wide range of space and time scales, a wide range of collisionality regimes, sheath boundary conditions, plasma-wall interactions, atomic physics, and the existence of very high frequency modes (Lee, 1987; Belli & Hammett, 2005) or sheath-interaction modes that one does not want to artificially excite. Sophisticated gyrokinetic codes for the core region of tokamaks have been developed and are highly successful, but major extensions to them or new codes are required to handle the additional challenges of the edge region.
Many of the existing core gyrokinetic codes assume small amplitude fluctuations. Many of them use spectral techniques in some directions, which can have problems with Gibbs phenomena that give negative overshoots in the solution. Most algorithms used in magnetic fusion research are designed for cases where viscous or dissipative scales are fully resolved and do not use limiters, and thus can have problems with small negative oscillations. Negative densities may cause various unphysical problems in the solution (for example, a negative density in the tail of the electron distribution function can reverse the slope of the sheath current versus sheath potential relation). Some finite-difference algorithms make it easier to calculate derivatives across the separatrix with field-aligned coordinates, but may have problems with particle conservation, and small imbalances in electron and ion gyrocentre densities may drive large electric fields.
Gkeyll is a plasma simulation code that implements several fluid and kinetic models using a variety of grid-based numerical algorithms. Recently, Gkeyll has been used for fluid studies of magnetic reconnection (Wang et al., 2015; Ng et al., 2015) and kinetic and multi-fluid sheath modelling (Cagas et al., 2016). The work presented here focuses on our efforts to implement gyrokinetic continuum algorithms in Gkeyll to investigate edge and SOL turbulence. Previously, we investigated the use of gyrokinetic continuum algorithms in a 1D1V SOL with logical sheath boundary conditions (Parker et al., 1993) (using one and later two velocity dimensions) with encouraging results (Shi et al., 2015).
We are developing Gkeyll with a number of algorithmic choices to try to better handle some of the numerical challenges of the edge region. In the course of developing the code, we ran into and fixed problems related to some of the above challenges. For gyrokinetics, Gkeyll uses a full- formulation with no assumption of small amplitude fluctuations. Energy conservation is more difficult to achieve for kinetic Vlasov-type equations than for fluid equations. The gyrokinetic model in Gkeyll is implemented using a discontinuous Galerkin (DG) algorithm that conserves (in the continuous time or implicit limit) not only particles but also energy for Hamiltonian terms (Liu & Shu, 2000), even if limiters (Dumbser et al., 2008; LeVeque, 2002; Durran, 2010) are applied to the fluxes at cell boundaries. Limiters on boundary fluxes can only ensure positivity of cell averages (Zhang & Shu, 2010) and we implement other limiters with correction steps to preserve positivity everywhere within a cell. There are other possible ways to further improve the DG algorithm in the code (including exponential basis functions and sparse-grid-quadrature methods) that can be considered in the future.
In this paper, we detail our numerical approach and present results from gyrokinetic continuum simulations of electrostatic plasma turbulence in the Large Plasma Device (LAPD) at UCLA (Gekelman et al., 1991, 2016) using drift-kinetic electrons (with a reduced mass ratio) and gyrokinetic ions. The LAPD is a linear device that creates a plasma in a straight, open-field-line configuration. Despite its relatively low plasma temperature, the LAPD contains the basic elements of a SOL in a simplified (no X-point geometry, straight magnetic field lines, etc.), well-diagnosed setting, making this device a useful benchmark of edge gyrokinetic algorithms. The LAPD plasma’s relatively high collisionality also facilitates comparisons with Braginskii fluid codes, where good agreement between the two approaches is expected.
Our work is a gyrokinetic extension of fluid simulations of Rogers & Ricci (2010) and Popovich et al. (2010a), and in particular we follow much of the same simulation set up as in Rogers & Ricci (2010). To our knowledge, these are the first 5D gyrokinetic continuum simulations on open-field-lines including interactions with sheath losses, and in particular are the first 5D gyrokinetic simulations of a basic laboratory plasma experiment including a sheath model. We have also performed simulations of simple magnetized tori, in which the magnetic field lines are helical and the magnetic curvature drift is present, but we defer discussion of those results to a future publication.
2 Model
We solve the full- gyrokinetic equation written in the conservative form in the long-wavelength, zero-Larmor-radius limit (Brizard & Hahm, 2007; Sugama, 2000; Idomura et al., 2009)
[TABLE]
where is the gyrocentre distribution function for species , is the Jacobian of the gyrocentre coordinates, , , represents the effects of collisions, , and represents plasma sources (e.g. neutral ionization or core plasma outflow). The phase-space advection velocities are defined as and , where the gyrokinetic Poisson bracket operator is
[TABLE]
The gyrocentre Hamiltonian is
[TABLE]
where is the gyro-averaged potential ( in the zero-Larmor-radius limit).
The potential is solved for using the gyrokinetic Poisson equation with a linear ion polarization density
[TABLE]
where , , and is the background ion guiding centre density that we will take to be a constant in space and in time. The replacement of by on the left-hand side of (4) is analogous to the Boussinesq approximation employed in some Braginskii fluid codes. Future work could generalize this to the full and retain a second-order contribution to the Hamiltonian (3) to preserve energy conservation (Krommes, 2012, 2013; Scott & Smirnov, 2010). Since this paper focuses on simulations of a linear device, the calculations are done in a Cartesian geometry with and being used as coordinates perpendicular to the magnetic field, which lies solely in the direction. Therefore, . Note that (4) is statement of quasineutrality, where the right-hand side is the guiding-centre component of the charge density, and the left-hand side is the negative of the ion-polarization charge density, (due to the plasma response to a cross-field electric field), so this equation is equivalent to .
Electron-electron and ion-ion collisions are implemented using a Lenard-Bernstein model collision operator (Lenard & Bernstein, 1958)
[TABLE]
where standard expressions are used for collision frequency (Huba, 2013, p. 37), , and . This collision operator relaxes to a local Maxwellian, contains pitch-angle scattering, and conserves number, momentum, and energy. Note that the collision frequency is independent of velocity; the dependence of the collision frequency expected for Coulomb collisions is neglected. Future work will implement a more sophisticated collision operator, but this model operator represents many of the key features of the full operator, including velocity-space diffusion that preferentially damps small velocity-space scales.
Electron-ion collisions are implemented in a similar manner as same-species collisions using the collision operator
[TABLE]
where was used in the simulations and . The purpose of this operator is to model the collisional drag and pitch angle scattering of electrons on ions. The operator is much smaller and is therefore neglected in this work, which results in a small violation of momentum conservation.
2.1 Numerical algorithms
An energy-conserving (in the continuous-time limit) discontinuous Galerkin algorithm (Liu & Shu, 2000) is used to discretize the equations in space. Although Liu & Shu (2000) presented their algorithm for the two-dimensional incompressible Euler and Navier-Stokes equations, we recognized the general applicability of their algorithm for Hamiltonian systems. Upwind interface fluxes are used in (1) (interface flux terms appear after integrating by parts the product of (1) and a test function). This algorithm requires that the Hamiltonian be represented on a continuous subset of the basis set used to represent the distribution function. Therefore, the distribution function is represented using discontinuous () polynomials, while the electrostatic potential is represented using continuous () polynomials (equivalent to continuous finite elements). Although a single non-local solve is required for the 3D potential, the 5D gyrokinetic equation itself can be solved in a highly local manner. Second-order derivatives, which are present in the collision operator, are calculated using the recovery-based discontinuous Galerkin method (van Leer & Nomura, 2005), which has the desirable property of producing symmetric solutions. Time-stepping is performed using an explicit third-order strong-stability-preserving Runge-Kutta algorithm (Gottlieb et al., 2001).
For simplicity, we use nodal, linear basis functions to approximate the solution in each element. This leads to degrees of freedom per cell in the 5D phase-space mesh ( degrees of freedom in the 3D configuration-space mesh). With the degrees of freedom specified in a cell, the value of can be computed anywhere within the cell without additional approximation. Integration is performed using Legendre-Gauss quadrature, ensuring that the number of quadrature points used is sufficient to evaluate every required integral exactly. We use rectangular meshes with uniform cell spacing, but we note that the DG algorithms used are also applicable to non-uniform and non-rectangular meshes.
2.1.1 Positivity of the distribution function
We found it necessary to adjust the distribution function of each species at every time step so that at every node to avoid stability issues. After much investigation, the main source of negativity in the distribution function appears to be the collision operator at locations where the perpendicular temperature of the distribution function is close to the lowest perpendicular temperature that can be represented on the grid.
If one considers a velocity-space grid made of uniform cells with widths and in the parallel and perpendicular coordinates, the minimum temperatures for a realizable distribution are computed by assuming that the distribution function is non-zero at the node located at and 0 at all other nodes. Using piecewise-linear basis functions,
[TABLE]
Typical values of and for a uniformly spaced grid that contains a few can result in . A situation can occur in which the collision operator will try to relax the at a location to a value below , resulting in negative-valued regions appearing in the distribution function.
This positivity issue can altogether be avoided by choosing a velocity-space grid that has , either by increasing the resolution in relative to the resolution in , using a non-uniformly spaced grid in , using non-polynomial basis functions (Yuan & Shu, 2006) that guarantee the positivity of the distribution function, or using as a coordinate instead of . We have also developed a DG algorithm that uses exponential basis functions and conserves energy, and have carried out tests of it in 1D, but leave full implementation of it to future work. For now, we use a simpler correction procedure described in this section, which has a philosophy similar to the correction operator used by Taitano et al. (2015). The magnitude of the correction operator scales with the truncation error of the method, and so it vanishes as the grid is refined and does not affect the order of accuracy of the algorithm while making the simulation more robust on coarse grids by preserving key conservation laws.
For use in these initial simulations, we developed a relatively simple positivity-adjustment procedure to eliminate the negative-valued nodes of the distribution functions, while keeping the number density and thermal energy unchanged. First, the number density, parallel energy, perpendicular energy, and parallel momentum for each species are computed. Next, all negative-valued nodes of the distribution functions are set to zero, resulting in changes to the thermal energy and density at locations where the distribution functions have been modified. To compensate for the increased density, the distribution function is scaled uniformly in velocity space at each configuration space node to restore the original density.
The remaining task is to modify the distribution function so that no additional energy is added through the positivity-adjustment procedure. To remove parallel thermal energy added through the positivity-adjustment procedure, we use a numerical drag term of the form
[TABLE]
where is a small numerical correction drag rate that is chosen each time step to remove the extra parallel energy added. To guarantee that the numerical drag term will not cause any nodes to go negative, this operator is implemented in a finite-volume sense, adjusting the mean values:
[TABLE]
where the interface flux is chosen in an upwind sense according to the sign of and denotes the cell-averaged value of . To ensure that the parallel drag term does not modify the perpendicular energy , this operator is applied at fixed . In our tests, we found that can not be generally chosen to restore the parallel thermal energy at every position-space node, since there is a limit on how large can be while keeping in every cell. Instead, we choose to restore the cell-averaged parallel energy
[TABLE]
which results in some position-space diffusion of energy.
We employ a similar procedure to remove the unphysical perpendicular energy added through positivity:
[TABLE]
Here, the factor is chosen to restore the cell-averaged perpendicular energy. Similarly, this operation modifies the perpendicular energy without changing the parallel energy. Generally speaking, all of the parallel energy added through positivity can usually be removed through the numerical drag operator while a small amount () of perpendicular energy added through positivity remains even after applying the numerical drag operator, a consequence from the choice of a uniformly spaced grid in (energy is typically added in the distribution function tails, so a uniformly spaced energy grid will be more constrained than a quadratically spaced energy grid in removing positivity-added energy using a numerical drag operator). We observe that the cells in which some extra energy is added through the positivity-adjustment procedure are located on the boundaries in the parallel direction, so we do not expect the extra energy added to have a significant impact on the quantities of interest in the simulation.
3 Sheath boundary conditions
Debye sheaths form at the plasma-material interface, such as where open magnetic field lines intersect a divertor or limiter. The sheath width is of order the Debye length and forms on a time scale of order the plasma period, which are both very disparate scales compared to the turbulence scales of interest in gyrokinetics, so it is natural and desirable to treat the sheath through model boundary conditions to avoid the need to directly resolve it. For example, the Debye length in LAPD is ( m), which is very small compared to the gyroradius ( m) and even smaller compared to the parallel scales of the turbulence ( m). The plasma frequency is s*-1*, which is much larger compared to the ion gyrofrequency ( s*-1*), and even larger than the turbulence frequencies of interest ( s*-1* at ). Furthermore, the quasineutrality and low-frequency assumptions of gyrokinetics break down in the sheath, so gyrokinetic models cannot directly handle sheaths.
We use (4) to solve for the potential everywhere in the simulation domain. The sheath potential on each boundary in (where the field lines intersect the wall) is obtained by simply evaluating on that boundary, so at the lower boundary, . The wall is taken to be just outside the simulation domain and the wall potential is 0 for a grounded wall. Outgoing particles with are reflected (e.g. when is positive, some electrons will be reflected), while the rest of the outgoing particles leave the simulation domain. This procedure is analogous to how some fluid codes determine everywhere (including the sheath potential) from the fluid vorticity equation and then use the sheath potential to set the boundary condition on the parallel electron velocity (sometimes called a conducting-wall boundary condition) (Xu & Cohen, 1998; Rogers & Ricci, 2010; Friedman et al., 2013).
Note that our present sheath model for electrons is different than the logical sheath model (Parker et al., 1993), which determines the sheath potential each time step by requiring that the electron flux match the ion flux at each point on the wall so there is no current to the wall (this might be considered a model for an insulating wall). In the present conducting wall approach, the sheath potential is determined by other effects (the gyrokinetic Poisson equation or the related fluid vorticity equation), and then used to determine what fraction of electrons are reflected and thus the resulting currents to the wall. If one starts with an initial condition where in (4) so , then electrons will rapidly leave the plasma, causing the guiding centre charge to rise to be positive, and thus the sheath potential will quickly rise to reflect most of the electrons, and bring the sheath currents down to a much smaller level, while allowing the sheath currents to self-consistently fluctuate in interactions with the turbulence. Currents are allowed to flow in and out of the wall, with current paths closing through the wall.
In the code, this reflection procedure is applied at each node on the upper and lower surfaces in at the end of the simulation domain (adjacent to the end plates), where the reflected distribution function is set in ghost cells. Let’s consider a case in which is positive on a node in the upper boundary, so low-energy outgoing electrons with are reflected with velocity and all outgoing ions leave the simulation domain.
Since the distribution function is discretized on a phase-space grid, each cell is associated with a range of parallel velocities , where is the coordinate of the centre of cell and is the width of cell in the direction. For cells whose parallel velocity extents do not bound , the reflection procedure is straightforward: find the corresponding ghost cell with and copy the solution after reflection about the axis.
In the cells whose parallel velocity extents bound , the distribution function copied into the corresponding ghost cell needs to be both reflected about the axis and scaled by a factor so that the net outward flux has the correct value based on the reflection of outgoing particles with . Due to the numerical representation of the distribution function, which is a local polynomial expansion in each configuration space cell, it is not possible to represent a reflected distribution function that is zero for all unless happens to lie on the boundary between two cells. Therefore, the reflected distribution function in the cutoff cell is scaled by the fraction
[TABLE]
although this is just one of many choices in modifying the reflected distribution function so that the net outward flux has the correct value.
So far, we have only described the boundary condition for the electrons. The boundary condition we use for ions is the same as the one used in the logical sheath model (Parker et al., 1993) (a variant of which is used in the XGC gyrokinetic PIC code (Churchill et al., 2016)): the ions just pass out freely at whatever velocity they have been accelerated to by the potential drop from the upstream source region to the sheath entrance. (This is for a normal positive sheath. In the unusual situation that the sheath potential were to go negative, then some ions would be reflected.) The only boundary condition that the sheath model imposes on the ions is that there are no incoming ions, i.e., at the incoming lower sheath boundary we have the boundary condition that for all . While this leads to a well-posed set of boundary conditions, and appears to work well and give physically reasonable results for the simulations carried out in this paper, it might need improvements in some parameter regimes. These issues will be considered in future work.
3.1 Future considerations for sheath models
Sheaths have long been studied in plasma physics, including kinetic effects and angled magnetic fields, and there is a vast literature on them. The standard treatments look at steady-state results in 1D, in which the potential is determined by solving the Poisson equation along a field line (for the case here in which the magnetic field is perpendicular to the surface), but for gyrokinetic turbulence, we need to consider time-varying fluctuations in which the sheath region needs to couple to an upstream gyrokinetic region where the potential is determined in 2D planes perpendicular to the magnetic field by solving the gyrokinetic quasineutrality equation (4). The details of how this matching or coupling is carried out may depend on the particular numerical algorithm used and how it represents electric fields near a boundary.
There are a range of possible sheath models of different levels of complexity and accuracy that could be considered in future work. The present model does not guarantee that the Bohm sheath criterion is met, which requires that the ion outflow velocity exceed the sound speed, , for a steady-state sheath and in the sheath-entrance region. However, the present simulations start at a low density and ramp up the density to an approximate steady state over a period of a few sound transit times, and during this phase, the pressure and potential drop from the central source region to the edges is large enough to accelerate ions to supersonic velocities. (As we will see in figure 3, the potential drop from the centre of the simulation to the edge in is larger than the electron temperature near the edge.)
There could be other cases where the acceleration of ions in the upstream region is not strong enough to enforce the Bohm sheath criterion for a steady-state result. In such a case, some kind of rarefaction fan may propagate from near the sheath, accelerating ions back up to a sonic level. This situation is very similar to the Riemann problem for the expansion of a gas into a vacuum (Munz, 1994) or into a perfectly absorbing surface, which leads to a rarefaction wave that always maintains at the boundary (but also modifies the density and temperature at the outflow boundary because of the rarefaction in the expanding flow). A Riemann solver has been implemented in the two-fluid version of Gkeyll for 1D simulations that resolve the sheath (Cagas et al., 2016), and the results were compared with a fully kinetic solver. Exact and approximate Riemann solvers are often used in computational fluid dynamics to determine upwind fluxes at an interface (LeVeque, 2002; Durran, 2010). It could be useful to work out a kinetic analogue of this process, or a kinetic model based on the approximate fluid result, but those are beyond the scope of this paper.
There is ongoing research to develop improved sheath models for fluid codes. In some past fluid simulations of LAPD, the parallel ion dynamics was neglected and modelled by sink terms to maintain a desired steady-state on average (Popovich et al., 2010b; Friedman et al., 2012, 2013). Rogers and Ricci included parallel ion dynamics in their fluid simulations (Rogers & Ricci, 2010; Ricci & Rogers, 2010) and imposed the boundary condition , thus avoiding the problem of . This could be generalized in the future to allow at the boundary to handle cases where turbulent fluctuations or other effects give more upstream acceleration (Togo et al., 2016; Dudson & Leddy, 2016). Loizu et al. (2012) carried out a kinetic study to develop improved sheath model boundary conditions for fluid codes that include various effects (including the magnetic pre-sheath (Chodura, 1982) in an oblique magnetic field and the breakdown of the ion drift approximation) that have been incorporated into later versions of the GBS code.
4 Simulations of LAPD
We selected the parameters for our simulations of a LAPD-like plasma based on those used by Rogers & Ricci (2010) in a previous Braginskii-fluid-based study, with some modifications for use in a kinetic model: eV, eV, ( is the proton mass), T, and m*-3*. As done by Rogers & Ricci (2010), we have also used a reduced mass ratio of , which allows for larger time steps to be taken, but weakens the adiabatic electron response. We have also reduced the electron-electron collision frequency by a factor of 10 for these simulations, which increases the minimum stable explicit-time-step size while keeping the collisional mean free path small compared to the parallel length of the simulation box ( m for typical parameters). In the future, we plan to implement an implicit or super-time-stepping algorithm for the collision operator to be able to take much larger time steps with the physical collision frequency. The rectangular simulation box (an approximation to the cylindrical LAPD plasma) has perpendicular lengths and parallel length m, where and . The grid parameters are summarized in table 1, with 32 degrees of freedom stored in each cell. With these parameters, eV, eV, and eV. For time-stepping, the Courant number is set to 0.1.
Although we expect the quasisteady state of the system to be insensitive to the choice of initial conditions, we found that it was important to start the simulation with a non-uniform density profile to avoid exciting large transient potentials that resulted in extremely small restrictions being imposed on the time step. Because the boundary conditions force to a constant on the side walls, electrons near the domain boundaries in and are quickly lost at thermal speeds from the simulation box. We believe that this large momentary imbalance in the electron and ion densities is the source of this stability issue.
The initial density profile for both ions and electrons is chosen to be , where is a function that falls from the peak value of at to a constant value for :
[TABLE]
The initial electron temperature profile has the form eV, while the initial ion temperature profile is a uniform 1 eV. Both electrons and ions are initialized as non-drifting Maxwellians, although future runs could be initialized with a specified non-zero mean velocity as a function of the parallel coordinate computed from simplified 1D models (Shi et al., 2015) to reach a quasisteady state more quickly.
The electron and ion sources have the form
[TABLE]
where , m, cm, and is a normalized non-drifting Maxwellian distribution for species with temperature . The ion source has a uniform temperature of 1 eV, while the electron source has a temperature profile given by eV. Unlike the sources used by Rogers & Ricci (2010), the sources we use model the neutrals as being ionized at zero mean velocity. In the fluid equations of Rogers & Ricci (2010), a zero-velocity plasma source would give rise to an additional term on the right-hand side of the equation, which is kept in the more general equations of Wersal & Ricci (2015). In our simulations, electrons and ions are also sourced in the region at th the amplitude of the central source rate to avoid potential issues arising from zero-density regions. While there are no primary electrons in the region in the actual LAPD device, Carter & Maggs (2009) have discussed the possibility of ionization in this region from rotation-heated bulk electrons.
4.1 Boundary conditions and energy balance
Dirichlet boundary conditions are used on the and boundaries for the potential solve (taking the side walls to be grounded to the end plates), while no boundary condition is required in because (4) contains no derivatives. The distribution function uses zero-flux boundary conditions in , , , and , which amounts to zeroing out the interface flux evaluated on a boundary where zero-flux boundary conditions are to be applied. This ensures that particles are not lost through the domain boundaries in , , , and . It should be noted that zero-flux boundary conditions on the and boundaries are a result of the choice of a constant on the side-wall boundaries, so the ExB velocity at these boundaries is parallel to the wall. Sheath model boundary conditions, discussed in the previous section, are applied on the upper and lower boundaries in the direction.
To demonstrate how the choice of affects the energy balance in the system, we define the plasma thermal energy as
[TABLE]
where . Neglecting sources and collisions for simplicity, the kinetic equation in a straight, constant magnetic field can be written as
[TABLE]
where and .
Multiplying (18) by and integrating over phase space,
[TABLE]
where we have used the fact that the normal component of vanishes on the side walls (since is a constant on the side walls) and zero-flux boundary conditions on in . The first term on the right-hand side is the parallel heat flux out to the sheaths and the second term is the parallel acceleration by the electric field, which mediates the transfer of energy between thermal and field energies in this model (this term appears with the opposite sign in the equation for the evolution of ExB energy).
To calculate the field energy evolution, we take the time derivative of the gyrokinetic Poisson equation (4),
[TABLE]
where .
Next, we multiply (20) by and integrate over space:
[TABLE]
The integral involving on the right-hand side is zero because has no normal component on the side walls. By assuming that on the side walls, the term on the left-hand side involving is also zero and we have
[TABLE]
If the wall is biased instead of grounded, as done in a set of experiments by Carter & Maggs (2009), one must retain the first term on the left-hand side of (21) in energy-balance considerations. The second term on the right-hand side of (22) is equal and opposite to the second term on the right-hand side of (19), and so cancels when the two equations are added together. The total energy is the sum of the kinetic energy and the field energy . Substituting the definition of , this field energy can be written as , indicating that it can be interpreted as the kinetic energy associated with the ExB motion. (The factor can be generalized to the full density as described in §2, with an additional contribution to the Hamiltonian.) The first term on the right-hand side of (22) corresponds to work done on particles as they are accelerated through the sheath. The in this boundary term is the potential at the boundaries of the simulation domain, where the sheath entrances are. When at the sheath entrance, then the energy lost by electrons as they drop through the sheath is exactly offset by the energy gained by ions as they drop through the sheath. If more electrons than ions are leaving through the sheath, then the net energy lost in the unresolved sheath region contributes to an increase in the field energy.
Future studies could also investigate improvements for the side wall boundary conditions. Identifying the left-hand side of (20) as , and integrating over all space,
[TABLE]
so we see that there is an ion polarization current into the side wall when the electric field pointing into the side wall is increasing in time, which is physically reasonable. However, if the sign of the electric-field time derivative reverses, it is not possible to pull ions out of the side wall (where they are trapped by quantum effects, or return as neutrals), and a boundary layer might form near the side walls. In fusion devices, it is rare for the magnetic field to be exactly parallel to the wall, so it it could be appropriate to use a model of the Chodura magnetic pre-sheath (Chodura, 1982). Geraldini et al. (2017) also recently studied a gyrokinetic approach to the magnetic pre-sheath.
The inclusion of charge-neutral source terms and number-conserving collision operators to the above analysis does not result in additional sources of ExB energy, since they lead to the addition of terms to the right-hand side of (22) of the form
[TABLE]
4.2 Results
In this section we present results from various quantities derived from our gyrokinetic simulation. Our goal here is not to argue that our simulations are a faithful model of the LAPD plasma, but instead to demonstrate the ability to carry out gyrokinetic continuum simulations of open-field-line plasmas in a numerically stable way and to demonstrate a reasonable level of qualitative agreement by making contact with turbulence measurements from the real LAPD device and previous Braginskii fluid simulations (Ricci & Rogers, 2010; Fisher et al., 2015; Friedman et al., 2012), since we have used similar plasma parameters and geometry. Starting from the initial conditions described in §4, the electron and ion distributions evolve for a few ion sound transit times ( ms using eV) until a quasisteady state is reached, during which the total number of particles of each species remains approximately constant.
As seen in LAPD experiments (Schaffner et al., 2012, 2013), we observe a weak spontaneous rotation in the ion-diamagnetic-drift direction. Figure 2 shows snapshots in the perpendicular plane of the total electron density, electron temperature, and electrostatic potential after a few ion transit times, which are qualitatively similar to the snapshots presented from Braginskii fluid simulations of LAPD (Rogers & Ricci, 2010; Fisher et al., 2015). Figure 3 shows the same fields as in figure 2, but the plots are made in the plane to show the parallel structure.
Figure 4 shows the time-averaged radial profile of , , and computed by averaging the data in the region m m. We focus on this region since it is similar to the region in which probe measurements are taken in the LAPD, and there is little parallel variation in this region. Particle transport in the radial direction is especially evident in figure 4 from the broadening in the profile. In figure 4, the electron temperature drops off at mid-radii but is rather flat at large . To understand this, note that there is a 2.72 eV residual electron source at large (see (16)), and that the observed temperature is close to the limit of the coldest temperature that can be represented on the grid when collisions dominate and the distribution function is isotropic, so eV. Our choice of velocity-space grid is a compromise between resolving low energies and the need to go up to significantly higher energies than the temperature of the source (which has a maximum temperature of 6.7 eV) to represent the tail. This will be improved in future work using a non-uniformly spaced velocity grid or exponential basis functions, which can represent a range of electron energies much more efficiently. We do not expect the non-vanishing at large to affect the results significantly because both and the fluctuation level are small at large .
Electron density fluctuation profiles have also been measured in LAPD (Carter & Maggs, 2009; Friedman et al., 2012). We define the density fluctuation as , where is computed by averaging the electron density using a 1 s sampling interval over a period of 1 ms. The density fluctuation level is normalized to the peak amplitude of at (as done in Friedman et al., 2012) and binned by radius in to calculate the RMS density fluctuation level as a function of radius, which is shown in figure 5. Figure 5 shows the power spectral density of electron density fluctuations, which is computed by averaging the power spectra at each node in the region cm cm and m m. Similar to measurements made on LAPD, we find that the turbulence has a broadband spectra.
The coherence spectrum and cross-phase spectrum between electron density fluctuations and azimuthal electric field fluctuations have also been of interest in previous LAPD studies for their potential role in turbulent-particle-flux suppression by applied flow shear (Carter & Maggs, 2009; Schaffner et al., 2012, 2013). The cross-power spectrum is first computed at each node as:
[TABLE]
where and are the Fourier transforms of the time-series of and . The cross-power spectrum is then spatially averaged, and the cross-phase is computed as
[TABLE]
where denotes a spatial average in the region cm cm and m m. The coherence spectrum is defined as (Powers, 1974)
[TABLE]
where and are the real-valued power spectra of and , respectively. Figure 6 shows the coherence and cross-phase spectra computed from our simulation, which are similar to the spectra measured in LAPD (see Carter & Maggs, 2009, p. 7) at frequencies below 10 kHz, where the fluctuation levels are the strongest as indicated in figure 5.
The probability density function (PDF) of density fluctuations in LAPD has also been of interest. Carter (2006) focused on the intermittency of the density fluctuation PDF measured at various radial locations. As shown in figure 7, we observe similar trends in our simulations, where we have measured the PDF at three radial locations (using cm wide radial intervals) in the region m m. We find a negatively skewed PDF inside the strong-source region, a symmetric and Gaussian PDF at the location of peak fluctuation amplitude, and a positively skewed PDF in the weak-source region. The PDF in the weak-source region has a particularly strong enhancement of large-amplitude positive-density-fluctuation events.
5 Conclusions
We have presented results from the first 3D2V gyrokinetic continuum simulations of turbulence in an open-field-line plasma. The simulations were performed using a version of the Gkeyll code that employs an energy-conserving discontinuous Galerkin algorithm. We found it important to include self-species collisions in the electrons to avoid driving high-frequency instabilities in our simulations. Our gyrokinetic simulations are in good qualitative agreement with previous Braginskii fluid simulations of LAPD and with experimental data.
We use sheath model boundary conditions for electrons that are a kinetic extension of the sheath model used in past fluid simulations, which allows self-consistent currents to fluctuate in and out of the wall. In this approach, the sheath potential is determined from the gyrokinetic Poisson equation (analogous to how the vorticity equation is used in the fluid approach of Rogers & Ricci (2010)). The ion boundary conditions used at present are the same as for the logical sheath model, in which ions flow out at whatever velocity they have been accelerated to at the sheath edge. This works well for the time period of this LAPD simulation. As discussed in §3, future work is planned to consider improved models of a kinetic sheath, including the role of rarefaction dynamics near the sheath that may modify the outflowing distribution function and the effective outflow Mach number.
A number of possible modifications to the simulations could allow closer quantitative modeling of the LAPD experiment. In the real LAPD experiment, a cathode-anode discharge emits an energetic 40-60 eV electron beam that ionizes the background gas along the length of the device (Gekelman et al., 2016; Carter & Maggs, 2009), creating the bulk plasma source that we have directly modelled in our simulations. At present, we are ignoring the current from these energetic electrons and modelling the anode as a regular conducting end plate. Because the anode in the actual device is a high transparency mesh, there is finite pressure on the other side of the anode from the main plasma that can act to slow down ion outflows and thus relax the Bohm sheath criterion. Since our simulations are gyrokinetic, future work could include the non-Maxwellian high-energy electrons and a model of the ionization process instead of using explicit source terms. We have also performed simulations of turbulence suppression experiments (Schaffner et al., 2012, 2013) on LAPD using a biasable limiter to control flow shear, and these results will be presented in a future publication. Future work will also investigate the mechanism driving the turbulence observed in our simulations by analysing the energy dynamics of the system (Friedman et al., 2012, 2013).
We plan several improvements to our numerical algorithms. The time step restriction in our LAPD simulations is currently set by the electron-electron collision frequency. A Super-time-stepping method, such as the Runge-Kutta-Legendre method (Meyer et al., 2014), or implicit method could significantly alleviate this restriction. The use of non-polynomial basis functions (Yuan & Shu, 2006) for efficient velocity-space discretization is expected to reduce the computational cost of these simulations (by allowing for a coarser velocity-space grid) and to preserve the positivity of the distribution function. Future studies will also implement the full nonlinear ion polarization density in gyrokinetic Poisson equation (4), which is related to removing the Boussinesq approximation in fluid models (Dudson et al., 2015; Halpern et al., 2016).
Although the results presented here are a major milestone in our efforts towards developing a gyrokinetic continuum code to study tokamak edge turbulence, many physical effects remain to be added to the code, such as realistic tokamak magnetic geometry (including both open and closed-magnetic-field-line regions, a separatrix, and the X-point), full Landau collisions, finite-Larmor-radius effects, electromagnetic effects, and interactions with neutrals and other atomics physics.
Acknowledgements.
We thank P. Ricci for suggesting LAPD as a test problem, T. Carter and G. Rossi for useful discussions about LAPD, and N. Mandell for building the Gkeyll code on various clusters. We also thank B. Friedman, J. Loizu, P. Ricci, B. Rogers, and M. Dorf for useful discussions about various aspects of these kinds of simulations and plasma sheaths. This work was funded by the U.S. Department of Energy under Contract No. DE-AC02-09CH11466, through the Max-Planck/Princeton Center for Plasma Physics and the Princeton Plasma Physics Laboratory. Initial development used the Edison system at the National Energy Research Scientific Computing Center, a DOE Office of Science User Facility supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC02-05CH11231. G. W. H. and A. H. were supported in part by the SciDAC Center for the Study of Plasma Microturbulence. A. H. was also supported in part by the Laboratory Directed Research and Development program. Simulations reported in this paper were performed at the TIGRESS high performance computer centre at Princeton University, which is jointly supported by the Princeton Institute for Computational Science and Engineering and the Princeton University Office of Information Technology’s Research Computing department.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Belli & Hammett (2005) Belli, E. A. & Hammett, G. W. 2005 A numerical instability in an ADI algorithm for gyrokinetics. Comput. Phys. Commun. 172 (2), 119 – 132.
- 2Brizard & Hahm (2007) Brizard, A. J. & Hahm, T. S. 2007 Foundations of nonlinear gyrokinetic theory. Rev. Mod. Phys. 79 , 421–468.
- 3Cagas et al. (2016) Cagas, P., Hakim, A., Juno, J. & Srinivasan, B. 2016 Continuum kinetic and multi-fluid simulations of classical sheaths , ar Xiv: 1610.06529.
- 4Carter (2006) Carter, T. A. 2006 Intermittent turbulence and turbulent structures in a linear magnetized plasma. Phys. Plasmas 13 (1).
- 5Carter & Maggs (2009) Carter, T. A. & Maggs, J. E. 2009 Modifications of turbulence and turbulent transport associated with a bias-induced confinement transition in the large plasma device. Phys. Plasmas 16 (1).
- 6Chang et al. (2009) Chang, C. S., Ku, S., Diamond, P. H., Lin, Z., Parker, S., Hahm, T. S. & Samatova, N. 2009 Compressed ion temperature gradient turbulence in diverted tokamak edge. Phys. Plasmas 16 (5).
- 7Chodura (1982) Chodura, R. 1982 Plasma–wall transition in an oblique magnetic field. Phys. Fluids 25 (9), 1628–1633.
- 8Churchill et al. (2016) Churchill, R., Canik, J., Chang, C., Hager, R., Leonard, A., Maingi, R., Nazikian, R. & Stotler, D. 2016 Kinetic simulations of scrape-off layer physics in the DIII-D tokamak. Nucl. Mater. Energy pp. –.
