Professional Documents
Culture Documents
Gkeyll EM Garching - 2020.key
Gkeyll EM Garching - 2020.key
Gkeyll EM Garching - 2020.key
Comprehensive simulations
can help improve design of
future reactors. Adv. Tokamak
H~2, βN~6 ?
Comprehensive simulations
also needed to maximize
results from ITER.
Galambos, Perkins, Haney, & Mandrekas 1995 Nucl.Fus.
Opportunities
– Free standing TF
– TBR = 1.0; hth = 0.4
– fGW < 1; bN/bN,limit < 0.75
– qdiv,max < 10 MW/m2
Risks
• Vary each parameter
independentlyà “Tornado”
Chart
– Identifies most sensitive
variables Baseline
Case
– As well as risks & opportunities
20 more parameters
15 M.R. Wade / SOFE/June 2019
3
Motivation: Pedestal Temperature Has a
Big Effect on Fusion Performance
TGLF/TGYRO core
transport simulations of
ITER, strongly depends
on assumed pedestal
temperature.
Need full nonlinear gyrokinetic simulations to confidently predict boundary turbulence and optimize pedestal
temperature. (Also need nonlinear GK simulations to handle core turbulence that can be subcritical.)
⇠30 MW m 2
(solid line). The locations of the EFIT and fit separatrix are indicated are The ex
within 1 mm of one another. The uncertainty in the EFIT separatrix location
is depicted by the gray band. wher
and k
• If SOL heat-flux width is too narrow, even case of DIII-D) during which plasma conditions were con- cies w
stant. Several such intervals from the same shot were then depen
steady-state power loads can result in ensemble averaged to obtain an estimate of the standard Good
deviation.
material erosion A power law type scaling consisting of a minimum set
of ordering parameters was then sought by systematically
searching various combinations of the regression parameters.
ITER designs have assumed Parameters were eliminated by examining their exponent in
the power law and associated variance in the analysis of var-
2
q = 5 mm, empirical extrapolation of iance (ANOVA) table and rejecting those with small expo-
nents (<0.1) and associated with small relative variances
1 mm (Bpol ⇡ 1.2 T) Eich This
and/or small F-statistics. et al. (2013) reduced the num-
substantially
ber of statistically meaningful parameters. As mentioned
5 3 / 31 Gkyell Continuum electromagnetic Gyrokinetics above, the values of the exponents in A. the Hakim
power law was
• ELMs represent an even larger threat to somewhat dependent on the choice of heat flux width
Modeling edge region is very difficult
• Electromagnetic effects can be important in the edge/SOL, β me/mi > ~ 1, steep pressure
gradients can push plasma close to ideal-MHD threshold and produce stronger
turbulence
• Most present turbulence codes optimized for core, need specialized codes for edge
• Codes like XGC1 making great progress, but essential to have several independent codes
to cross-check on difficult turbulence problems
6
The Gkeyll Plasma Framework
• Flexible suite of solvers for plasma physics,
Ammar Hakim, architect & group leader.
https://github.com/ammarhakim/gkyl/
8
Full-F electromagnetic gyrokinetics
EMGK equation, fs = fs (R, vk , µ; t)
@fs @fs
+ Ṙ · rfs + v̇k = C[fs ] + Ss
@t @vk
B0⇤ + B ? b̂
Ṙ = {R, Hs } = vk + ⇥ (µrB + qs r )
Bk⇤ qs Bk⇤
qs @Ak B0⇤ + B ? qs @Ak
v̇k = {vk , Hs } = · (µrB + qs r )
ms @t ms Bk⇤ ms @t
∂A∥
Using symplectic (v∥) formulation of EMGK, so appears explicitly
∂t
9
Full-F electromagnetic gyrokinetics
Quasineutrality equation (long-wavelength):
X ms n0s X Z
r· r? = qs d3 v f s
s
B2 s
@
Can take @t to get an exact Ohm’s law:
X Z
2 @Ak @fs
r? = µ0 qs d3 v v k
@t s
@t
Writing GK eq. as
@fs @fs ? qs @Ak @fs
= + ,
@t @t ms @t @vk
? @Ak
where @f
@t
s
denotes all the terms in the gyrokinetic equation except the @t
term, can write Ohm’s law as (DG preserves integration by parts exactly.)
Z !
X µ0 q 2 @A k
X Z @fs ?
2 s 3 3
r? + d v fs = µ0 qs d v v k
s
m s @t s
@t
10
Linear benchmark: kinetic Alfvén wave
̂ βe mi
β=
2 me
ˆ
Gkeyll results match theory very well, even for case with 2 2
= 105
<latexit sha1_base64="/Z4XWlKFaG1zgoHudpMZyGlIvBo=">AAACtHicbVHLbtNAFJ2YVymvFJZsRkRILCrLDm0oi4pKbFgWibSV4sQaj6/jUeZhzVy3RJb/gq9hCz/BX/AJjJ2CCOVKI5059x6d+8gqKRxG0Y9BcOv2nbv3du7vPnj46PGT4d7TM2dqy2HKjTT2ImMOpNAwRYESLioLTGUSzrPV+y5/fgnWCaM/4bqCuWJLLQrBGXoqHYZJYRlvkpJhk2SArG2bVZpUYKvFmCa2NKlbjFt6TGkcLQ7T4SgKoz7oTRBfg9G7n6SP03RvoJPc8FqBRi6Zc7N4XOG8YRYFl9DuJrWDivEVW8LMQ80UuHnTD9bSl57JaWGsfxppz/6taJhybq0yX6kYlu7fXEf+LzersTiaN0JXNYLmG6OilhQN7bZEc2GBo1x7wLgVvlfKS+Y3hX6XWy6Z8mrqvahXGOXnzH3LSaZoZmROO+utes40B7k1d7MEowDt2rOV//djNlelwG4/v5ONBPTuFfO32ZdM5457uI/wGa9EjuXxJDwUuu0v9LaLyZ973ARn4zB+HR58PBidjDenIjvkOXlBXpGYvCEn5AM5JVPCyRfylXwj34NJkAQ8gE1pMLjWPCNbEehfQ7Dadw==</latexit>
k? ⇢s
No cancellation problem!
11
Texas Helimak is useful for code validation
• C (⌧ ) = hñ(t)ñ(t + ⌧ )i/hñ(t)2 i
• Correlation time for the simulation data
is shorter.
T.
15Bernard et al, PoP 2019
T. Bernard Gyrokinetic continuum simulations of Texas Helimak 14 / 21
Additional features could improve comparison
• Like the green region, but straightened out to vertical flux surfaces
by FIG. 5. Comparison
E. Shi (Ph.D. 2017, of the
(Present simulation steady-state
neglects parallel
magnetic shear heatstabilization
and related flux normal near to the shortened
x-point, divertor parallel
plate
PoP 2019) for three cases
length towith different magnetic-field-line pitches. The shaded area indicates 19
nce divertor plates to approximately compensate.)
¼ 2vti/Lz decreases. Therefore, the magnitude of the Cn,r pro- a normal distri
filesradial
in Fig. 6 should the density fluc
heat not fluxbe taken
weakens alone as aat measure
highofBturbu-
pol
that the backgr
lence levels.
(not just that Thefaster parallel
Cn,r profiles can belosses
compared reduces
with thenet radial
radial particletransport)
more uniform
fluxes that result from assuming Bohm diffusion, i.e., CB blob that is for
SOL has a den
which results
excess kurtosi
case. Additiona
of a fixed volum
sity increases
fluctuation leve
potential fluct
density fluctu
could be a real
the temperatu
(the lowest te
velocity grid) c
statistics in th
normalized pot
the decreasing
Figure 8 sh
and electron t
ratios near the
FIG. 6. Comparison of the radial E " B particle flux evaluated near the midplane
for three cases with different magnetic-field-line pitches. The shaded area indicates simulations, Ti/
the region in which the source is concentrated. The dashed lines are Bohm-flux range of 1–10 t
estimates for comparison. LCFS in tokama
20 E. Shi et al. (PoP 2019)
surements typically show that the ratio Ti/Te increases with the this region.
radius.49 We see this trend in Fig. 8 for Bv/Bz ¼ 0.3 and 0.2 but The flat Te at large x could also be an artifact from the elec-
SOL profiles narrow ~ 1/θ ~ 1/B
not for Bv/Bz ¼ 0.6. This reversed trend for Bv/Bz ¼ 0.6 is likely trons running into at high B
pola floor in the temperature
pol at large x.
connected to the relatively flat Te at large x. In the Bv/Bz ¼ 0.6 However, we note that the minimum electron temperature
FIG. 8. Radial profiles of the steady-state ion and electron temperatures near the midplane and ion-to-electron temperature ratios for cases with different magnetic-field-line
pitches. Although both electrons and ions are sourced at the same temperature, the sheath allows high-energy electrons to be rapidly lost from the system, resulting in lower
electron temperatures in the SOL if collisions are not rapid enough to equilibrate the two species.49,78
22
E. Shi et al. (PoP 2019)
for Bv/Bz ¼ 0.3, and 0.310
ments82 and simulations.12
with our expectation that
Bv/Bz isGkeyll predicts non-zero currents into divertor plates:
There are two kinds of sheath-model boundary conditions
decreased.
that are commonly used in fluid and gyrokinetic codes. Logical-
ofile of the autocorrela- compare with experiments?
aces of the density fluc-
on, sac tends to increase
served in measurements
.70). The autocorrelation
0.3 cases is found to vary
autocorrelation time for
er variation in the SOL,
creasing to $12 ls at the
elation times we observe
sac # 10–40 ls reported
ge and SOL but are well
typical for edge and SOL
24
Electrostatic/electromagnetic comparison
nrms
Kurtosis
<latexit sha1_base64="3vvqiyXb2DZZ1R29YOClPAxIAXQ=">AAACoXicbVHLbhMxFHWGVymvFJbdWERILKooSUspC0QlNrALiLSVMlFke+4kVv2SfaclsmbB17CFz+Ev+AQ8k4II5UqWjs+9R+c+uFMy4GDwo5PduHnr9p2tu9v37j94+Ki78/gk2MoLmAirrD/jLICSBiYoUcGZ88A0V3DKz982+dML8EFa8wlXDmaaLYwspWCYqHl3Ny89E9HMY+419TrUdcw589HU9bzbG/QHbdDrYHgFem9+kjbG852OyQsrKg0GhWIhTIcjh7PIPEqhoN7OqwCOiXO2gGmChmkIs9hOUdNniSloaX16BmnL/q2ITIew0jxVaobL8G+uIf+Xm1ZYHs2iNK5CMGJtVFaKoqXNSmghPQhUqwSY8DL1SsWSpbVgWtyGC9dJTZMXTQqr05xFajnnmnKrCtpYb9QLZgSojbnjAqwG9KvEuvRvx4yXS4nNfn4nowJM7o458HuKmSKIBPcQPuOlLHD5+rD/Qpr1hV41cfjnHtfByag/3O8ffDjoHY/WpyJbZJc8Jc/JkLwkx+QdGZMJEeQL+Uq+ke9ZL3ufjbOP69Ksc6V5QjYim/4CMHTUdA==</latexit>
n̄
25
Electrostatic/electromagnetic comparison
26
Carralero et al, 2015
27
Dance of the Field Lines
(Electromagnetic GK in SOL)
28
Modest simulation cost (even for EM!)
(wall clock)
0.41 s 0.68 s
29
Summary
30
Current/Future Work
• Generalizing the magnetic geometry to include
magnetic shear, non-constant curvature, closed
field line regions, X-point
34
Back-up slides
Conducting-sheath boundary condition
• Need to model non-neutral sheath using BCs (GK assumes quasi-neutrality, cannot
resolve sheath)
• Solve Poisson equation on z boundary to get ϕsh(x, y) ≐ ϕ(z = zsh), then use
Δϕ = ϕsh − ϕw to reflect electrons with mv∥2 /2 < | e | Δϕ
X ms n0s X Z
r? · r? (z = zsh ) = qs d3 v fs (z = zsh )
s
B2 s
x ϕ(x,y,0) ≠ 0
ϕ=0 B || z
• GK Poisson Eq. solved in 2D planes at fixed z, only needs bcs on side walls
(on x or y boundaries). Discontinuous jump between ϕ(x,y,0) just inside plasma and ϕ=0
end plates represents unresolved sheath. Determines reflected electrons:
(b) Rest of outgoing electrons 0 < v∥ < vcut are reflected back
into plasma
Ions: Assuming positive sheath potential (relative to wall), all ions are lost
38
Ampère cancellation problem
• In pk formulation, Ampère’s law:
!
X µ 0 qs Z X qs Z
r2? + Cn d3 p f Ak = C j µ 0 2
d3 p pk f
s
ms s
ms
• “Cancellation problem” arises when there are small errors in the calcula-
tion of the integrals, represented by Cn and Cj (which should be exactly
1 in the exact system)
• Recall vk formulation Ohm’s law... same problem...
!
X µ0 q 2 Z @A k
X Z @fs ?
2 s 3 3
r? + C n d v fs = Cj µ0 qs d v v k
s
ms @t s
@t
40
EM in SOL at experimental β
41
Gkeyll Code: Novel Kinetic Algorithms,
Multiple SciDACS