Bounce-Averaged Gyrokinetic Simulations in a …sites.apam.columbia.edu/ctx/presentations/Roberts...

1
Bounce-Averaged Gyrokinetic Simulations in a Laboratory Magnetosphere T.M. Roberts , D.T. Garnier, J. Kesner, M.E. Mauel Tuesday, 28 October 2014 * Supported by U. S. DOE Grant DE-FG02-00ER54585. email: [email protected] a Outline A self-consistent, nonlinear simulation of interchange dynamics including the bounce-averaged gyro-kinetics of deeply trapped electrons[1] was previously used to understand frequency sweeping[2] and the turbulent cascades[3] ob- served in dipole-confined plasmas. Time stepping is performed in an explicit leap-frog manner and a flux-corrected transport algorithm is implemented. Through adjustment of the particle and heat sources, this code reproduces dynamics that resemble the turbulence measured experimentally, both in spectral power-law trends and in the onset of a steepened density profile. In this presentation, we discuss the physics and numerical methods of the simulations as well as plans for including the effects of a biasing electrode which can collect or inject electrons to compare to recent experiments with current-collection feedback observed to regulate interchange turbulence. 1 Dipole Confined Plasmas Laboratory dipole-confined plasmas provide a means of studying some of the fundamental physics that govern the dynamics of planetary magnetospheres. Due to the lack of magnetic shear, dipoles can undergo interchange dynam- ics, driven by the solar in magnetospheres and by steep density profiles in the lab. Magnetospheric convection is often steady, but in the laboratory we can create plasma exhibiting fully developed interchange dynamics. P Δ High Pressure Flux Tube Low Pressure Flux Tube Precession Bounce Gyro Early work on the CTX device involved the study of an interchange insta- bility resonant with the drift motion of deeply trapped electrons, known as the Hot Electron Interchange (HEI) instability [2]. A steepened density pro- file from microwave heating becomes interchange unstable and quasi-periodic bursts characterized by frequency sweeping were observed. HEIs can be suppressed through sufficient collisionality with neutrals, allow- ing for transition to a higher density, turbulent plasma characterized by large amplitude fluctuations in potential and density. A balance between plasma sources and sinks creates a stationary turbulent spectrum [3]. Dipole Magnetic Flux Coordinates Flux coordinates for an ideal dipole are a good approximation for the CTX geometry: B = ϕ ×∇ψ = χ where (ψ, χ, ϕ) is an orthogonal bias in covariant form: ψ = - M r 2 sin 2 θ ˆ r - 2M r 2 sin θ cos θ ˆ θ χ = - 2M r 3 cos θ ˆ r - M r 3 sin θ ˆ θ ϕ = - ˆ ϕ r sin θ We consider two-dimensional dynamics by taking flux-tube averages, elim- inating the parallel components. For a quantity A, the flux-tube average is given as: <A>δV -1 Z +-∞ dχA B 2 We define the flux-tube average of density as δV -1 R +-∞ dχn B 2 = hni, and the number of particles on a field line as N = hniδV 2 Equations The self-consistent evolution of interchange dynamics can be described by the motion of kinetic electrons and cold, fluid ions coupled by the bounce- averaged form of Poisson’s equation: ∂F e ∂t + ∇· (F e V e )=0 ∂n i ∂t + ∇· (n i V i )=0 2 Φ= -4πρ The electron distribution function is represented by multiple electron species at different energies, μ. Due to the sufficient separation in frequency of the gyro, bouncing and drift dynamics, we can assume that μ and J are con- served. In addition, it has been observed that the interchange dynamics are flute-like, k k 0 [2], justifying the use of flux-tube averages to reduce the problem’s dimensionality. Poisson’s Equation We derive Poisson’s equation in dipole coordinates starting with the micro- scopic version of Gauss’s Law: ∇· E = -∇ · ∇Φ=4πρ where ρ is the total charge. In covariant notation, the Laplacian is: 2 Φ= |B | 2 ∂ψ ( |∇ψ | 2 |B | 2 Φ ∂ψ )+ |B | 2 ∂χ ( |∇χ| 2 |B | 2 Φ ∂χ )+ |B | 2 ∂ϕ ( |∇ϕ| 2 |B | 2 Φ ∂ϕ ) Taking a flux-tube average (killing the ∂χ term): < 2 Φ >= Z +-∞ ∂ψ ( |∇ϕ| 2 Φ ∂ψ )+ Z +-∞ ∂ϕ ( |∇ψ | 2 Φ ∂ϕ ) =h ϕ 2 Φ ∂ϕ 2 + h ψ 2 Φ ∂ψ 2 = Z +-∞ (-4πeρ) B 2 = -4πe(N i - N e ) where h ψ and h ϕ are geometric terms given as: h ψ = Z +-∞ |∇ϕ| 2 =4M h ϕ = Z +-∞ |∇ψ | 2 =2 M ψ 2 Cold Ion Fluid Cold ions in a dipole magnetic field move under the influence of E × B and polarization drifts. The electric field in terms of potential given as: E = -∇Φ= - Φ ∂u i u i = - Φ ∂ψ ψ - Φ ∂ϕ ϕ So our expressions for the E × B and polarization drifts become: ~v E = c ~ E × ~ B B 2 = -c Φ ∂ψ ϕ |∇ϕ| 2 + c Φ ∂ϕ ψ |∇ψ | 2 ~v P = c ω ci B dE dt = -c M i eB 2 dΦ dt = -c M i eB 2 d dt h Φ ∂ψ ψ + Φ ∂ϕ ϕ i In the absence of ion sources/sinks, we transform the ion continuity equation into dipole coordinates and plug in our velocities: - ∂n i ∂t =B 2 ∂ψ h c n i B 2 Φ ∂ϕ - M i eB 2 |∇ψ | 2 d dt Φ ∂ψ i + B 2 ∂ϕ h c n i B 2 - Φ ∂ψ - M i eB 2 |∇ϕ| 2 d dt Φ ∂ϕ i taking a flux tube average, - ∂N i ∂t = ∂ψ h cN i Φ ∂ϕ - ε ψ d dt Φ ∂ψ i - ∂ϕ h cN i Φ ∂ψ + ε ϕ d dt Φ ∂ϕ i where N is the flux-tube averaged density. The density weighted, flux-tube averaged coefficients for the polarization drifts are found by assuming a sin θ distribution of density along a field line: ε ϕ = 1 δV Z +-∞ B 2 n i M i ehn i iB 2 |∇ϕ| 2 0.66 M 2 B 0 ψ 4 ω ci0 ε ψ = 1 δV Z +-∞ B 2 n i M i ehn i iB 2 |∇ψ | 2 0.77 M 2 B 0 ψ 2 ω ci0 Kinetic Electron Dynamics The motion of deeply trapped (J 0) electrons in a curl free magnetic field is given by the guiding center drift Hamiltonian [4] with Hamilton’s equations: H = μcB e - cΦ ˙ ϕ = ∂H ∂ψ = μc e ∂B ∂ψ - c Φ ∂ψ ˙ ψ = - ∂H ∂ϕ = c Φ ∂ϕ where μ = m e v 2 /2B . For time scales significantly slower than the gyration and bounce periods, μ and J are preserved quantities as an electron moves across field lines. The Vlasov equation for the electron distribution function is given as: dF e dt = ∂F e ∂t + ∂~x ∂t · ∂F e ∂~x = ∂F e ∂t + ∂ϕ ϕF e )+ ∂ψ ( ˙ ψF e )=0 = ∂F e ∂t + ∂ϕ h ( μc e ∂B ∂ψ - c Φ ∂ψ )F e i + ∂ψ h c Φ ∂ϕ F e i =0 We use a bounce-averaged distribution, F e = F e (μ, J, ψ, ϕ, t), where F e is given as the sum of a cold and hot electron population: F e = N i0 (ψ ) [1 - α(ψ )]δ (μ)δ (J )+ α(ψ )G(μ)δ (J ) , G(μ)= μ l -1 l l μ l 0 Γ(μ) e -μl/μ 0 G(μ) is the electron distribution in μ. Integration over velocity space then returns the number of electrons per unit flux, N e = R dμdJF e . The first az- imuthal term represents the hot electron drift frequency ω d μc e ∂B ∂ψ = μc e 3B ψ . Normalization We make these equations dimensionless by normalizing them with parame- ters evaluated at the profile peak (heating resonance). Starting with Poisson’s equation, if we normalize the following quantities as: ψ ψ 0 y, N i N i 0 ˆ N i eΦ μ 0 B 0 ˆ Φ, ω dh0 t ˆ t μ μ 0 ˆ μ where the x 0 quantities are defined at the profile peak. We multiply Pois- son’s equation through by 2 /M μ 0 B 0 : 2 y 2 2 ˆ Φ ∂ϕ 2 +4 2 ˆ Φ ∂y 2 = -4πe eL 0 μ 0 N i0 N i0 (N i - N e )= -.91 L 2 0 λ 2 D0 ( ˆ N i - ˆ N e ) where λ 2 D0 = μ 0 B 0 /4πe 2 hn i0 i. We normalize the ion continuity equation, dividing by ω dh0 N i0 , ˆ N i ˆ t + ∂y h ˆ N i 1 3 ˆ Φ ∂ϕ - ˆ ε y d d ˆ t ˆ Φ ∂y i - ∂ϕ h ˆ N i 1 3 ˆ Φ ∂y ε ϕ d d ˆ t ˆ Φ ∂ϕ i =0 ˆ ε ϕ = 0.66 3y 4 ω dh0 ω ci0 ˆ ε y = 0.77 3y 2 ω dh0 ω ci0 Finally, if we divide the electron equation by ω dh0 , with the same normal- ization for E × B drift: ∂F e ˆ t + ∂ϕ h ( ω dh ω dh0 - ˆ Φ ∂ψ )F e i + ∂y h ˆ Φ ∂ϕ F e i =0 where ω dh ω dh0 μy 2 . This normalization shows that the simulation is only dependent on two pa- rameters, the ratio of L 0 to λ D0 and hot electron drift frequency over the ion cyclotron frequency. 3 Numerical Techniques The simulation solves the finite-difference approximations to the coupled equations given above. The potential is advanced with a nonlinear solve of the equation for charge continuity. Due to the periodic boundary condition in the ϕ direction, employing a pseudo-spectral method effectively reduces the dimensionality of the finite difference problem to be solved. We implement a numerical stepping scheme for advancing the ion and electron populations based on a flux conserving method by Zalesak [5]. Trapezoidal Leap-Frog Method A second-order trapezoidal leap-frog algorithm for explicit time integration is implemented to advance the ion and electron populations and potential. First, the ion and electron populations are advanced a half-step in time by using the existing potential. At this half-step, a new potential and charge den- sity are calculated using the intermediate values of F e and N e , and with these we find the intermediate fluxes. With the intermediate fluxes, we advance the populations a full trapezoidal time step, then recompute the potential and charge density. These two steps are identical aside from the time-base of the terms being advanced. If we have a population, f (t), with a rate of change ˙ f = -∇ · Γ, we can describe this method as: f t-Δt/2 = 1 2 ( f t + f t-Δt ) f tt/2 = f t-Δt/2 - ΔtΔΓ t f tt = f t - ΔtΔΓ t/2 where Γ = Γ ( f (t), Φ(t), ˙ Φ(t) ) is the flux calculated at each half-step, which includes solving for the potential. In this approach, the populations are ad- vanced by fluxes which are always a half-step off in time. Nonlinear Solve for ˆ Φ ∂t To advance the potential at each half-step, we can consider the rate of change of charge density. We can find this by equating the time derivative of Poisson’s equation to the combination the ion and electron dynamic equations: 2 y 2 2 ˙ ˆ Φ ∂ϕ 2 +4 2 ˙ ˆ Φ ∂y 2 = -.91 L 2 0 λ 2 D0 ˆ ρ ˆ t = -.91 L 2 0 λ 2 D0 ( ˆ N i ˆ t - ˆ N e ˆ t ) = .91 L 2 0 λ 2 D0 ∂ϕ h ˆ ρ ˆ Φ ∂y + ˆ N i ˆ ε ϕ ˙ ˆ Φ ∂ϕ +Σˆ μy 2 F e, u i - ∂y h ˆ ρ ˆ Φ ∂ϕ - ˆ N i ˆ ε y ˙ ˆ Φ ∂y i where ˆ ρ is the difference of the normalized flux-tube averaged ion density and the electron distribution function integrated over velocity space. We note the ˙ ˆ Φ terms on both sides of our rate equation. To efficiently implement a pseudo-spectral technique, we bring the azimuthally symmetric part of the polarization terms ( ¯ N i = ˆ N i - ˜ N i ) to the LHS. We rewrite the equations with an effective dielectric: 2 y 2 ∂ϕ ˆ ϕ (y ) ˙ ˆ Φ ∂ϕ +4 ∂ψ ˆ y (y ) ˙ ˆ Φ ∂y = .91 L 2 0 λ 2 D0 ∂ϕ h ˆ ρ ˆ Φ ∂y + ˜ N i ˆ ε ϕ ˙ ˆ Φ ∂ϕ +Σˆ μy 2 F e, u i - ∂y h ˆ ρ ˆ Φ ∂ϕ - ˜ N i ˆ ε y ˙ ˆ Φ ∂y i where ˆ ϕ 1+ ¯ N i 9.99y 2 L 2 0 λ 2 D0 ω dh0 ω ci0 ˆ y 1+ ¯ N i 17.1y 2 L 2 0 λ 2 D0 ω dh0 ω ci0 The above equation is iteratively solved for the time rate of change in poten- tial at the half and full leap-frog steps. This must be done before advancing the ions as the polarization velocity depends on the rate of change in potential. Flux-Corrected Transport Algorithm The ΔΓ expression in the Leap-Frog section is an operator representing the fourth order FCT process. “High-order” fluxes improve the spatial resolution of the time step, but can cause numerical oscillations and lead to instabil- ity. To limit these oscillations, “low-order” fluxes are used as an artificial diffusion, specifically chosen to prevents numerical artifacts from high-order methods to develop. The process at each time step is: 1. Find the ion and electron velocities. 2. Find the ion and electron low and high order fluxes, F L and F H . 3. Define the anti-diffusive flux, A F H - F L 4. Limit A so as not to produce or enhance extrema in step 5. 5. Find time advanced populations with the limited A. The low order flux is given by an “upwind” differencing scheme and an ad-hoc diffusion: Γ L ϕ (l, k +1/2) = 1 2 [v ϕ (l, k + 1) + v ϕ (l, k )]F DC (l, k +1/2) - 1 8 Δϕ Δt [F 0 (l, k + 1) - F 0 (l, k )] Γ L y (l +1/2,k )= 1 2 [v y (l +1,k )+ v y (l, k )]F DC (l +1/2,k ) - 1 8 Δy Δt [F 0 (l +1,k ) - F 0 (l, k )] where F DC represents the flux from an “upwind” donor cell. The high-order flux is a fourth order finite differencing known as “ZIP” form: Γ H ϕ (l, k +1/2) = 2 3 [v ϕ (l, k )F (l, k + 1) + v ϕ (l, k + 1)F (l, k )] - 1 12 [v ϕ (l, k )F (l, k + 2) + v ϕ (l, k + 2)F (l, k ) + v ϕ (l, k - 1)F (l, k + 1) + v ϕ (l, k + 1)F (l, k - 1)] Γ H y (l +1/2,k )= 2 3 [v y (l, k )F (l +1,k )+ v y (l +1,k )F (l, k )] - 1 12 [v y (l, k )F (l +2,k )+ v y (l +2,k )F (l, k ) + v y (l - 1,k )F (l +1,k )+ v y (l +1,k )F (l - 1,k )] With these two fluxes, we define A(l, k )=Γ H - Γ L , and then limit this flux as described in [5] to prevent the formation of new extrema, or the en- hancement of existing extrema. We use a centered differencing method to represent the convection velocities of the ions and electrons. Numerical Dissipation in Potential To prevent numerical instability in advancing the potential, dissipation is added. This also acts as the physical nonresonant dissipation which limits the frequency sweeping observed in HEIs. We advance the potential in the leap-frog manner as: Φ t-Δt/2 = 1 2 ( Φ t t-Δt ) Φ tt/2 t-Δt/2 t ˙ Φ t - (-1) k Δ2k Φ t Φ tt t t ˙ Φ t+t/2 - (-1) k Δ2k Φ t+t/2 k sets the dissipation length scale, and adjustment of ν sets the nonresonant dissipation for limiting the frequency sweeping. 4 Results This simulation reproduces many of the experimentally observed phenomena in CTX. Unstable initial density profiles are set, and an initial perturbed potential is made of randomly phased sinusoidal oscillations. From these initial conditions, large amplitude waves develop. These modes are radially broad and dominantly m = 1 in structure. The evolution of the individual electron populations displays the propagation of phase-space “holes”, starting with the lower energy populations and moving inward with the resonance as the mode frequency increases. This phase-space evolution produces frequency-sweeping dynamics similar to the experiment. This is comparing by looking at the spectral content of the potential fluctuation in time. 5 Particle Conserving Source/Sink To reproduce dynamics related to driven turbulence, we require a mecha- nism to maintain the unstable profile. Grierson implemented a conservative source and sink of particles and electron energy[6]. In normalized magnetic coordinates, the particle continuity equation becomes: ˆ N ˆ t + ∂ϕ ( ˆ Nv ϕ )+ ∂y ( ˆ Nv y ) =1.8 ˆ Dh D y 2 2 ˆ N ∂ϕ 2 +3.2 ˆ D ∂y h h D ∂y (y 4 ˆ N ) i + ˆ DD s h s h s and h D are the normalized source and diffusion profiles. Conservation re- quires the number of particles in the volume to be fixed, therefore the volume integral of the above equation yields: D s = - R 1.8h D y 2 2 ˆ N ∂ϕ 2 - 3.2 ∂y h h D ∂y (y 4 ˆ N ) i d 2 x R h s d 2 x At every time step D s is calculated, and the ion and electron grids are up- dated with a source/sink grid that sums to zero. For the electrons we are also conserving energy, so the grid integrated over μ sums to zero as well. Notice that ˆ D is on all the new terms, so the effect of this source/sink can be tuned simply by varying this parameter. A value for ˆ D is found that main- tains a slightly unstable density profile and results in the onset of radially broad convective cells. Large quasi-coherent structures are observed to form and rotate azimuthally in the electron magnetic drift direction. Further study of the simulation in- cluding this source/sink is required. Current-Collection Feedback Recent experiments have shown that the application of current-collection feedback in interchange turbulent plasmas can locally amplify or suppress broadband fluctuations (NI2.00001 9:30 AM, Wednesday, Bissonet ). We are extending this simulation to include the effects of current collection. In this feedback, the potential to a capacitively coupled biasing electrode is varied in proportion to the floating potential fluctuations measured by a sensor. The current driven by this system is given as the difference between the applied bias and the local potential fluctuations, divided by the sheath resistance: I ˜ V A - ˜ V P R S ( |G|e - 1 ) ˜ V P R S If the bias to the electrode is far from the plasma potential, probe theory tells us varying the bias will only vary the number of electrons collected. We propose including a point source/sink of electrons proportional to the differ- ence in applied bias and local potential. This work is currently underway. References [1] M. E. Mauel, J. Phys IV France 7 (1997). [2] B. Levitt, Phys Plasmas, 9, 2507 (2002). [3] B. Grierson, Phys Plasmas, 16, 055902 (2009). [4] A. H. Boozer, Phys. Fluids 23(5), May 1980 [5] S. T. Zalesak, J. Comput. Phys. 31 (1979) 335. [6] B. Grierson, Columbia University Ph.D. Thesis, (2009).

Transcript of Bounce-Averaged Gyrokinetic Simulations in a …sites.apam.columbia.edu/ctx/presentations/Roberts...

Page 1: Bounce-Averaged Gyrokinetic Simulations in a …sites.apam.columbia.edu/ctx/presentations/Roberts APS DPP...Bounce-Averaged Gyrokinetic Simulations in a Laboratory Magnetosphere T.M.

Bounce-Averaged Gyrokinetic Simulations in a Laboratory MagnetosphereT.M. Roberts†, D.T. Garnier, J. Kesner, M.E. Mauel

Tuesday, 28 October 2014∗Supported by U. S. DOE Grant DE-FG02-00ER54585.

†email: [email protected]

a

OutlineA self-consistent, nonlinear simulation of interchange dynamics including thebounce-averaged gyro-kinetics of deeply trapped electrons[1] was previouslyused to understand frequency sweeping[2] and the turbulent cascades[3] ob-served in dipole-confined plasmas. Time stepping is performed in an explicitleap-frog manner and a flux-corrected transport algorithm is implemented.Through adjustment of the particle and heat sources, this code reproducesdynamics that resemble the turbulence measured experimentally, both inspectral power-law trends and in the onset of a steepened density profile.In this presentation, we discuss the physics and numerical methods of thesimulations as well as plans for including the effects of a biasing electrodewhich can collect or inject electrons to compare to recent experiments withcurrent-collection feedback observed to regulate interchange turbulence.

1 Dipole Confined PlasmasLaboratory dipole-confined plasmas provide a means of studying some of thefundamental physics that govern the dynamics of planetary magnetospheres.Due to the lack of magnetic shear, dipoles can undergo interchange dynam-ics, driven by the solar in magnetospheres and by steep density profiles in thelab. Magnetospheric convection is often steady, but in the laboratory we cancreate plasma exhibiting fully developed interchange dynamics.

High Pressure Flux Tube

Low Pressure Flux Tube

Precession

Bounce

Gyro

Early work on the CTX device involved the study of an interchange insta-bility resonant with the drift motion of deeply trapped electrons, known asthe Hot Electron Interchange (HEI) instability [2]. A steepened density pro-file from microwave heating becomes interchange unstable and quasi-periodicbursts characterized by frequency sweeping were observed.

HEIs can be suppressed through sufficient collisionality with neutrals, allow-ing for transition to a higher density, turbulent plasma characterized by largeamplitude fluctuations in potential and density. A balance between plasmasources and sinks creates a stationary turbulent spectrum [3].

Dipole Magnetic Flux CoordinatesFlux coordinates for an ideal dipole are a good approximation for the CTXgeometry:

B = ∇ϕ×∇ψ = ∇χwhere (∇ψ,∇χ,∇ϕ) is an orthogonal bias in covariant form:

∇ψ =−M

r2sin2 θr − 2M

r2sin θ cos θθ

∇χ =− 2M

r3cos θr −M

r3sin θθ

∇ϕ =− ϕ

r sin θWe consider two-dimensional dynamics by taking flux-tube averages, elim-

inating the parallel components. For a quantity A, the flux-tube average isgiven as:

< A >≡ δV −1∫ +∞

−∞

dχA

B2

We define the flux-tube average of density as δV −1∫ +∞−∞

dχnB2 = 〈n〉, and

the number of particles on a field line as N = 〈n〉δV

2 EquationsThe self-consistent evolution of interchange dynamics can be described bythe motion of kinetic electrons and cold, fluid ions coupled by the bounce-averaged form of Poisson’s equation:

∂Fe∂t

+∇ · (FeVe) = 0∂ni∂t

+∇ · (niVi) = 0 ∇2Φ = −4πρ

The electron distribution function is represented by multiple electron speciesat different energies, µ. Due to the sufficient separation in frequency of thegyro, bouncing and drift dynamics, we can assume that µ and J are con-served. In addition, it has been observed that the interchange dynamics areflute-like, k‖ ≈ 0 [2], justifying the use of flux-tube averages to reduce theproblem’s dimensionality.

Poisson’s EquationWe derive Poisson’s equation in dipole coordinates starting with the micro-scopic version of Gauss’s Law:

∇ · E = −∇ · ∇Φ = 4πρ

where ρ is the total charge. In covariant notation, the Laplacian is:

∇2Φ = |B|2 ∂∂ψ

(|∇ψ|2

|B|2∂Φ

∂ψ) + |B|2 ∂

∂χ(|∇χ|2

|B|2∂Φ

∂χ) + |B|2 ∂

∂ϕ(|∇ϕ|2

|B|2∂Φ

∂ϕ)

Taking a flux-tube average (killing the ∂∂χ term):

< ∇2Φ >=

∫ +∞

−∞

∂ψ(dχ

|∇ϕ|2∂Φ

∂ψ) +

∫ +∞

−∞

∂ϕ(dχ

|∇ψ|2∂Φ

∂ϕ)

=hϕ∂2Φ

∂ϕ2+ hψ

∂2Φ

∂ψ2=

∫ +∞

−∞(−4πeρ)

B2= −4πe(Ni −Ne)

where hψ and hϕ are geometric terms given as:

hψ =

∫ +∞

−∞

|∇ϕ|2= 4M hϕ =

∫ +∞

−∞

|∇ψ|2= 2

M

ψ2

Cold Ion FluidCold ions in a dipole magnetic field move under the influence of E × B andpolarization drifts. The electric field in terms of potential given as:

E = −∇Φ = −∂Φ

∂ui∇ui = −∂Φ

∂ψ∇ψ − ∂Φ

∂ϕ∇ϕ

So our expressions for the E ×B and polarization drifts become:

~vE = c~E × ~B

B2= −c∂Φ

∂ψ

∇ϕ|∇ϕ|2

+ c∂Φ

∂ϕ

∇ψ|∇ψ|2

~vP =c

ωciB

dE

dt= −c Mi

eB2

d∇Φ

dt= −c Mi

eB2

d

dt

[∂Φ

∂ψ∇ψ +

∂Φ

∂ϕ∇ϕ]

In the absence of ion sources/sinks, we transform the ion continuity equationinto dipole coordinates and plug in our velocities:

−∂ni∂t

=B2 ∂

∂ψ

[cniB2

(∂Φ

∂ϕ− Mi

eB2|∇ψ|2 d

dt

∂Φ

∂ψ

)]+ B2 ∂

∂ϕ

[cniB2

(− ∂Φ

∂ψ− Mi

eB2|∇ϕ|2 d

dt

∂Φ

∂ϕ

)]taking a flux tube average,

−∂Ni∂t

=∂

∂ψ

[cNi

(∂Φ

∂ϕ− εψ

d

dt

∂Φ

∂ψ

)]− ∂

∂ϕ

[cNi

(∂Φ

∂ψ+ εϕ

d

dt

∂Φ

∂ϕ

)]where N is the flux-tube averaged density. The density weighted, flux-tube

averaged coefficients for the polarization drifts are found by assuming a sin θdistribution of density along a field line:

εϕ =1

δV

∫ +∞

−∞

B2

niMi

e〈ni〉B2|∇ϕ|2 ≈ 0.66

M2B0

ψ4ωci0

εψ =1

δV

∫ +∞

−∞

B2

niMi

e〈ni〉B2|∇ψ|2 ≈ 0.77

M2B0

ψ2ωci0

Kinetic Electron DynamicsThe motion of deeply trapped (J ≈ 0) electrons in a curl free magnetic field isgiven by the guiding center drift Hamiltonian [4] with Hamilton’s equations:

H =µcB

e− cΦ ϕ =

∂H

∂ψ=µc

e

∂B

∂ψ− c∂Φ

∂ψψ = −∂H

∂ϕ= c

∂Φ

∂ϕ

where µ = mev2/2B.

For time scales significantly slower than the gyration and bounce periods,µ and J are preserved quantities as an electron moves across field lines. TheVlasov equation for the electron distribution function is given as:

dFedt

=∂Fe∂t

+∂~x

∂t· ∂Fe∂~x

=∂Fe∂t

+∂

∂ϕ(ϕFe) +

∂ψ(ψFe) = 0

=∂Fe∂t

+∂

∂ϕ

[(µc

e

∂B

∂ψ− c∂Φ

∂ψ)Fe

]+

∂ψ

[c∂Φ

∂ϕFe

]= 0

We use a bounce-averaged distribution, Fe = Fe(µ, J, ψ, ϕ, t), where Fe isgiven as the sum of a cold and hot electron population:

Fe = Ni0(ψ)(

[1− α(ψ)]δ(µ)δ(J) + α(ψ)G(µ)δ(J)), G(µ) =

µl−1ll

µl0Γ(µ)e−µl/µ0

G(µ) is the electron distribution in µ. Integration over velocity space thenreturns the number of electrons per unit flux, Ne =

∫dµdJFe. The first az-

imuthal term represents the hot electron drift frequency ωd ≡µce∂B∂ψ = µc

e3Bψ .

NormalizationWe make these equations dimensionless by normalizing them with parame-ters evaluated at the profile peak (heating resonance). Starting with Poisson’sequation, if we normalize the following quantities as:

ψ

ψ0≡ y,

NiNi0≡ Ni

µ0B0≡ Φ, ωdh0t ≡ t

µ

µ0≡ µ

where the x0 quantities are defined at the profile peak. We multiply Pois-son’s equation through by eψ2/Mµ0B0:

2

y2

∂2Φ

∂ϕ2+ 4

∂2Φ

∂y2= −4πe

eL0

µ0

Ni0Ni0

(Ni −Ne) = −.91L2

0

λ2D0

(Ni − Ne)

where λ2D0 = µ0B0/4πe2〈ni0〉.

We normalize the ion continuity equation, dividing by ωdh0Ni0,

∂Ni∂t

+∂

∂y

[Ni

(1

3

∂Φ

∂ϕ− εy

d

dt

∂Φ

∂y

)]− ∂

∂ϕ

[Ni

(1

3

∂Φ

∂y+ εϕ

d

dt

∂Φ

∂ϕ

)]= 0

εϕ =0.66

3y4

ωdh0

ωci0εy =

0.77

3y2

ωdh0

ωci0

Finally, if we divide the electron equation by ωdh0, with the same normal-ization for E ×B drift:

∂Fe

∂t+

∂ϕ

[(ωdhωdh0

− ∂Φ

∂ψ)Fe

]+∂

∂y

[∂Φ

∂ϕFe

]= 0

where ωdhωdh0

= µy2.This normalization shows that the simulation is only dependent on two pa-

rameters, the ratio of L0 to λD0 and hot electron drift frequency over the ioncyclotron frequency.

3 Numerical TechniquesThe simulation solves the finite-difference approximations to the coupledequations given above. The potential is advanced with a nonlinear solve ofthe equation for charge continuity. Due to the periodic boundary condition inthe ϕ direction, employing a pseudo-spectral method effectively reduces thedimensionality of the finite difference problem to be solved. We implementa numerical stepping scheme for advancing the ion and electron populationsbased on a flux conserving method by Zalesak [5].

Trapezoidal Leap-Frog MethodA second-order trapezoidal leap-frog algorithm for explicit time integrationis implemented to advance the ion and electron populations and potential.First, the ion and electron populations are advanced a half-step in time byusing the existing potential. At this half-step, a new potential and charge den-sity are calculated using the intermediate values of Fe and Ne, and with thesewe find the intermediate fluxes. With the intermediate fluxes, we advance thepopulations a full trapezoidal time step, then recompute the potential andcharge density. These two steps are identical aside from the time-base of theterms being advanced. If we have a population, f (t), with a rate of changef = −∇ · Γ, we can describe this method as:

ft−∆t/2 =1

2

(ft + ft−∆t

)ft+∆t/2 = ft−∆t/2 −∆t∆Γt

ft+∆t = ft −∆t∆Γt/2

where Γ = Γ(f (t),Φ(t), Φ(t)

)is the flux calculated at each half-step, which

includes solving for the potential. In this approach, the populations are ad-vanced by fluxes which are always a half-step off in time.

Nonlinear Solve for ∂Φ∂t

To advance the potential at each half-step, we can consider the rate of changeof charge density. We can find this by equating the time derivative of Poisson’sequation to the combination the ion and electron dynamic equations:

2

y2

∂2 ˙Φ

∂ϕ2+ 4

∂2 ˙Φ

∂y2= −.91

L20

λ2D0

∂ρ

∂t= −.91

L20

λ2D0

(∂Ni∂t− ∂Ne

∂t)

= .91L2

0

λ2D0

( ∂∂ϕ

[ρ∂Φ

∂y+ Niεϕ

∂˙Φ

∂ϕ+ Σµy2Fe, u

]− ∂

∂y

[ρ∂Φ

∂ϕ− Niεy

∂˙Φ

∂y

])where ρ is the difference of the normalized flux-tube averaged ion density

and the electron distribution function integrated over velocity space.

We note the˙Φ terms on both sides of our rate equation. To efficiently

implement a pseudo-spectral technique, we bring the azimuthally symmetricpart of the polarization terms (Ni = Ni − Ni) to the LHS. We rewrite theequations with an effective dielectric:

2

y2

∂ϕεϕ(y)

∂˙Φ

∂ϕ+4

∂ψεy(y)

∂˙Φ

∂y

= .91L2

0

λ2D0

( ∂∂ϕ

[ρ∂Φ

∂y+ Niεϕ

∂˙Φ

∂ϕ+ Σµy2Fe, u

]− ∂

∂y

[ρ∂Φ

∂ϕ− Niεy

∂˙Φ

∂y

])where

εϕ ≈ 1 +Ni

9.99y2

L20

λ2D0

ωdh0

ωci0εy ≈ 1 +

Ni17.1y2

L20

λ2D0

ωdh0

ωci0

The above equation is iteratively solved for the time rate of change in poten-tial at the half and full leap-frog steps. This must be done before advancingthe ions as the polarization velocity depends on the rate of change in potential.

Flux-Corrected Transport AlgorithmThe ∆Γ expression in the Leap-Frog section is an operator representing thefourth order FCT process. “High-order” fluxes improve the spatial resolutionof the time step, but can cause numerical oscillations and lead to instabil-ity. To limit these oscillations, “low-order” fluxes are used as an artificialdiffusion, specifically chosen to prevents numerical artifacts from high-ordermethods to develop. The process at each time step is:

1. Find the ion and electron velocities.

2. Find the ion and electron low and high order fluxes, FL and FH .

3. Define the anti-diffusive flux, A ≡ FH − FL

4. Limit A so as not to produce or enhance extrema in step 5.

5. Find time advanced populations with the limited A.

The low order flux is given by an “upwind” differencing scheme and anad-hoc diffusion:

ΓLϕ(l, k + 1/2) =1

2[vϕ(l, k + 1) + vϕ(l, k)]FDC(l, k + 1/2)

−1

8

∆ϕ

∆t[F 0(l, k + 1)− F 0(l, k)]

ΓLy (l + 1/2, k) =1

2[vy(l + 1, k) + vy(l, k)]FDC(l + 1/2, k)

−1

8

∆y

∆t[F 0(l + 1, k)− F 0(l, k)]

where FDC represents the flux from an “upwind” donor cell. The high-orderflux is a fourth order finite differencing known as “ZIP” form:

ΓHϕ (l, k + 1/2) =2

3[vϕ(l, k)F (l, k + 1) + vϕ(l, k + 1)F (l, k)]

− 1

12[vϕ(l, k)F (l, k + 2) + vϕ(l, k + 2)F (l, k)

+ vϕ(l, k − 1)F (l, k + 1) + vϕ(l, k + 1)F (l, k − 1)]

ΓHy (l + 1/2, k) =2

3[vy(l, k)F (l + 1, k) + vy(l + 1, k)F (l, k)]

− 1

12[vy(l, k)F (l + 2, k) + vy(l + 2, k)F (l, k)

+ vy(l − 1, k)F (l + 1, k) + vy(l + 1, k)F (l − 1, k)]

With these two fluxes, we define A(l, k) = ΓH − ΓL, and then limit thisflux as described in [5] to prevent the formation of new extrema, or the en-hancement of existing extrema. We use a centered differencing method torepresent the convection velocities of the ions and electrons.

Numerical Dissipation in PotentialTo prevent numerical instability in advancing the potential, dissipation isadded. This also acts as the physical nonresonant dissipation which limitsthe frequency sweeping observed in HEIs. We advance the potential in theleap-frog manner as:

Φt−∆t/2 =1

2

(Φt + Φt−∆t

)Φt+∆t/2 = Φt−∆t/2 + ∆tΦt − (−1)k∆tν∇2kΦt

Φt+∆t = Φt + ∆t ˙Φt+t/2 − (−1)k∆tν∇2kΦt+t/2

k sets the dissipation length scale, and adjustment of ν sets the nonresonantdissipation for limiting the frequency sweeping.

4 ResultsThis simulation reproduces many of the experimentally observed phenomenain CTX. Unstable initial density profiles are set, and an initial perturbedpotential is made of randomly phased sinusoidal oscillations.

From these initial conditions, large amplitude waves develop. These modesare radially broad and dominantly m = 1 in structure. The evolution ofthe individual electron populations displays the propagation of phase-space“holes”, starting with the lower energy populations and moving inward withthe resonance as the mode frequency increases.

This phase-space evolution produces frequency-sweeping dynamics similarto the experiment. This is comparing by looking at the spectral content ofthe potential fluctuation in time.

5 Particle ConservingSource/Sink

To reproduce dynamics related to driven turbulence, we require a mecha-nism to maintain the unstable profile. Grierson implemented a conservativesource and sink of particles and electron energy[6]. In normalized magneticcoordinates, the particle continuity equation becomes:

∂N

∂t+

∂ϕ(Nvϕ) +

∂y(Nvy)

= 1.8DhDy2∂

2N

∂ϕ2+ 3.2D

∂y

[hD

∂y(y4N)

]+ DDshs

hs and hD are the normalized source and diffusion profiles. Conservation re-quires the number of particles in the volume to be fixed, therefore the volumeintegral of the above equation yields:

Ds =−∫

1.8hDy2∂2N∂ϕ2 − 3.2 ∂∂y

[hD

∂∂y(y4N)

]d2x∫

hsd2x

At every time step Ds is calculated, and the ion and electron grids are up-dated with a source/sink grid that sums to zero. For the electrons we arealso conserving energy, so the grid integrated over µ sums to zero as well.

Notice that D is on all the new terms, so the effect of this source/sink can betuned simply by varying this parameter. A value for D is found that main-tains a slightly unstable density profile and results in the onset of radiallybroad convective cells.

Large quasi-coherent structures are observed to form and rotate azimuthallyin the electron magnetic drift direction. Further study of the simulation in-cluding this source/sink is required.

Current-Collection FeedbackRecent experiments have shown that the application of current-collectionfeedback in interchange turbulent plasmas can locally amplify or suppressbroadband fluctuations (NI2.00001 9:30 AM, Wednesday, Bissonet). Weare extending this simulation to include the effects of current collection.

In this feedback, the potential to a capacitively coupled biasing electrodeis varied in proportion to the floating potential fluctuations measured by asensor. The current driven by this system is given as the difference betweenthe applied bias and the local potential fluctuations, divided by the sheathresistance:

I ≡ VA − VPRS

≈(|G|eiθ − 1

)VP

RS

If the bias to the electrode is far from the plasma potential, probe theorytells us varying the bias will only vary the number of electrons collected. Wepropose including a point source/sink of electrons proportional to the differ-ence in applied bias and local potential. This work is currently underway.

References[1] M. E. Mauel, J. Phys IV France 7 (1997).

[2] B. Levitt, Phys Plasmas, 9, 2507 (2002).

[3] B. Grierson, Phys Plasmas, 16, 055902 (2009).

[4] A. H. Boozer, Phys. Fluids 23(5), May 1980

[5] S. T. Zalesak, J. Comput. Phys. 31 (1979) 335.

[6] B. Grierson, Columbia University Ph.D. Thesis, (2009).