Hostname: page-component-89b8bd64d-ktprf Total loading time: 0 Render date: 2026-05-13T03:48:00.007Z Has data issue: false hasContentIssue false

A learned closure method applied to phase mixing in a turbulent gradient-driven gyrokinetic system in simple geometry

Published online by Cambridge University Press:  18 February 2022

A. Shukla
Affiliation:
Institute for Fusion Studies, University of Texas at Austin, Austin, TX 78712, USA
D.R. Hatch
Affiliation:
Institute for Fusion Studies, University of Texas at Austin, Austin, TX 78712, USA
W. Dorland
Affiliation:
Department of Physics, University of Maryland, College Park, MD 20742, USA
C. Michoski
Affiliation:
Institute for Fusion Studies, University of Texas at Austin, Austin, TX 78712, USA
Rights & Permissions [Opens in a new window]

Abstract

We present a new method for formulating closures that learn from kinetic simulation data. We apply this method to phase mixing in a simple gyrokinetic turbulent system – temperature-gradient-driven turbulence in an unsheared slab. The closure, called the learned multi-mode (LMM) closure, is constructed by, first, extracting an optimal basis from a nonlinear kinetic simulation using singular value decomposition. Subsequent nonlinear fluid simulations are projected onto this basis and the results are used to formulate the closure. We compare the closure with other closures schemes over a broad range of the relevant two-dimensional parameter space (collisionality and gradient drive). We find that the turbulent kinetic system produces phase-mixing rates much lower than the linear expectations, which the LMM closure is capable of capturing. We also compare radial heat fluxes. A Hammett–Perkins closure, generalized to include collisional effects, is quite successful throughout the parameter space, producing ${\sim }14\,\%$ root-mean-square (r.m.s.) error. The LMM closure is also very effective: when trained at three (two) points (in a 35 point parameter grid), the LMM closure produces $8\,\%$ ($12\,\%$) r.m.s. errors. The LMM procedure can be readily generalized to other closure problems.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
Copyright © The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Linear growth rates (a) and real (b) and imaginary (c) parts of $f_{4}$ normalized to $f_0$ produced by solving the eigenvalue problem given by the linearized version of (2.4) plotted against $k_y$ for temperature gradient drive ($\omega _T$) = 12, collision frequency ($\nu$) = 0.01 and $k_x, k_z = 0, 0.6$. The eigenvalue problem is solved using the linear 48-moment (kinetic) system and also using the 4-moment system closed with the HP closure, HPC closure and LMM closure. The LMM closure coefficients used to produce this figure were extracted from the kinetic simulation at parameter point ($\omega _T,\nu = 9, 0.1$). Panels (b,c) also show the time averaged value of $f_4 / f_0$ from the nonlinear kinetic simulation. Panels (d,e) show the time averaged value of $f_4/f_0$ from nonlinear kinetic simulations as well as nonlinear LMM, HP and HPC simulations.

Figure 1

Figure 2. Probability distribution functions (a) and box and whisker plots (b) showing the distribution of $\chi _{3+1/2}$, the energy transferred between the 3rd and 4th moments, in the Kinetic, LMM-closed, HPC-closed and HP-closed systems for $\omega _T = 7$ and $\nu = 0.05$ at the most unstable wavevector, $k_x = 0$, $k_y = 0.75$, $k_z = 0.4$. The LMM coefficients used to produce this plot were extracted from the kinetic simulation at $\omega _T, \nu = 6, 0.01$. Red dashed lines show the average value of each distribution, $\bar \chi _{3+1/2}$.

Figure 2

Figure 3. Ratios of the average value of $\chi _{3+1/2}^{{\rm closed}}/\chi _{3+1/2}^{{\rm Kinetic}}$ at the most unstable wavevector throughout parameter space for the HP, HPC, and LMM closures. Values below 1 indicate not enough dissipation and values above 1 indicate too much dissipation. This heatmap is set up such that fractions far from 1 in either direction are penalized the same way. For example, ratios of 0.5 and 2 will be the same colour. As shown here, the LMM closure matches kinetic dissipation levels much better than the HP and HPC closures throughout most of our parameter grid.

Figure 3

Figure 4. Time traces of the total radial heat flux ($Q$) for Kinetic (blue), HP (orange), HPC (green), truncated (red), LMM-Middle (purple), LMM-Right (brown) and LMM-Left (pink) simulations for temperature gradient drives ($\omega _T$) ranging from 5 to 15 (increasing downward by panel) and collision frequencies ($\nu$) ranging from 0.01 to 0.5 (increasing to the right by panel). The metric of performance is the final saturation level. The vertical blue lines show the cutoff point $- 70\,\%$ of the simulation time – after which each heat flux curve is averaged to get the final saturation level. Figure 8 in appendix D contains larger versions of the panels in this figure for easier inspection.

Figure 4

Figure 5. Per cent error in saturated heat flux for each closure (HP, HPC, Truncation, LMM-Middle, LMM-Right, LMM-Left, LMM-Optimal) as compared against the kinetic simulation throughout parameter space. The circles on the 4th, 5th and 6th figures indicate which simulations from which the LMM coefficients were extracted. Per cent errors are calculated as $(Q^{{\rm Closed}} - Q^{{\rm Kinetic}})/Q^{{\rm Kinetic}} \times 100$ where $Q^{{\rm closed}}$ is calculated by averaging the last 30 % of the time trace of the heat flux from the closed simulation and $Q^{{\rm Kinetic}}$ is calculated by averaging the last 30 % of the time trace of the heat flux from the kinetic simulation. The r.m.s. error for each closure is also shown above each plot. The 7th plot, LMM-Optimal (3 Points), displays error of the LMM closure trained at the nearest parameter point using three training points. The 8th plot, LMM-Optimal (2 Points), displays the error of the LMM closure trained at the nearest parameter point using only the left and right training points.

Figure 5

Figure 6. Time traces of the total radial heat flux ($Q$) from 4 simulations. The blue time trace shows heat flux from the simulation at $\omega _T=15,\nu = 0.5$. At $t\approxeq 1000$, we restarted this simulation from a checkpoint keeping $\nu =0.5$ (orange) and also restarted it from a checkpoint changing the collisionality to $\nu =0.2$ (red). The green line shows the heat flux from a simulation kept at parameters $\omega _T = 15,\nu =0.2$ the entire time. The green and red lines saturate at different levels of $Q$ indicating that there is more than one stable state for the parameters $\omega _T=15,\nu =0.2$ and that which of these states the system falls into depends on the history of the system.

Figure 6

Figure 7. Real and imaginary parts of the exact response function and the approximate response functions for the $N,q=4,2$ and $N,q=5,2$ HP closures.

Figure 7

Table 1. This table shows which training simulation, equivalently which set of LMM-closure coefficients, was used to produce the LMM-optimal (3 point) error plot in figures 5 and 9. At each grid point in parameter space, the set of coefficient from the training simulation that lies closest to that grid point is used. for example, at $\omega _t, \nu = 5, 0.05$, the LMM-Left closure with coefficients extracted from the $\omega _t, \nu = 6,0.01$ kinetic simulation is used and at $\omega _t, \nu = 15,0.5$, the LMM-Right closure with coefficients extracted from the $\omega _t, \nu = 12,0.5$ kinetic simulation is used.

Figure 8

Table 2. This table shows which training simulation, equivalently which set of LMM-closure coefficients, was used to produce the LMM-Optimal (2 Point) error plot in figures 5 and 9. At each grid point in parameter space, the set of coefficient from the training simulation that lies closest to that grid point is used. For example, at $\omega _T, \nu = 5, 0.05$, the LMM-Left closure with coefficients extracted from the $\omega _T, \nu = 6,0.01$ kinetic simulation is used and at $\omega _T, \nu = 15,0.5$, the LMM-Right closure with coefficients extracted from the $\omega _T, \nu = 12,0.5$ kinetic simulation is used.

Figure 9

Figure 8. A version of figure 4 with enlarged panels broken into parts (a) through (d) for easier viewing. This version also includes collisionless ($\nu =0$) simulations. Time traces of the total radial heat flux ($Q$) for Kinetic (blue), HP (orange), HPC (green), truncated (red), LMM-Middle (purple), LMM-Right (brown) and LMM-Left (pink) simulations for temperature gradient drives ($\omega _T$) ranging from 5 to 15 (increasing downward by panel) and collision frequencies ($\nu$) ranging from 0 to 0.5. The vertical blue lines show the cutoff point – 70 % of the simulation time – after which each heat flux curve is averaged to get the final saturation level.

Figure 10

Figure 9. Per cent error in saturated heat flux for each closure (HP, HPC, Truncation, LMM-Middle, LMM-Right, LMM-Left, LMM-Optimal (3 Point), LMM-Optimal (2 Point)) as compared against the kinetic simulation for temperature gradient drives ($\omega _T$) ranging from 5 to 15 (increasing downward) and collision frequency $\nu = 0$. Per cent errors are calculated as $(Q^{{\rm Closed}} - Q^{{\rm Kinetic}})/Q^{{\rm Kinetic}} \times 100$ where $Q^{{\rm closed}}$ is calculated by averaging the last 30 % of the time trace of the heat flux from the closed simulation and $Q^{{\rm Kinetic}}$ is calculated by averaging the last 30 % of the time trace of the heat flux from the kinetic simulation. Average errors are calculated by averaging the absolute value of the errors.