This work investigates the behavior of impurities in edge plasma of tokamaks using high-resolution numerical simulations based on Hasegawa–Wakatani equations. Specifically, it focuses on the behavior of inertial particles, which has not been extensively studied in the field of plasma physics. Our simulations utilize one-way coupling of a large number of inertial point particles, which model plasma impurities. We observe that with Stokes number (St), which characterizes the inertia of particles being much less than one, such light impurities closely track the fluid flow without pronounced clustering. For intermediate St values, distinct clustering appears, with larger Stokes values, i.e., heavy impurities even generating more substantial clusters. When St is significantly large, very heavy impurities tend to detach from the flow and maintain their trajectory, resulting in fewer observable clusters and corresponding to random motion. A core component of this work involves machine learning techniques. Applying three different neural networks—Autoencoder, U-Net, and Generative Adversarial Network (GAN)—to synthesize preferential concentration fields of impurities, we use vorticity as input and predict impurity number density fields. GAN outperforms the two others by aligning closely with direct numerical simulation data in terms of probability density functions of the particle distribution and energy spectra. This machine learning technique holds the potential to reduce computational costs by eliminating the need to track millions of particles modeling impurities in simulations.

The pursuit of a sustainable and abundant energy source has sparked greater attention toward nuclear fusion, which is the process responsible for powering celestial bodies such as stars. Nuclear fusion is distinct from nuclear fission as it involves the fusion of light atomic nuclei to create heavier ones, resulting in the release of a significant amount of energy. Fusion is highly regarded as the ultimate goal in energy production due to its capacity to generate significant power while causing minimal harm to the environment.

Fusion reactors confine and heat a plasma, consisting of ions and electrons, to enable fusion reactions at high temperatures. However, the task of confining plasma poses a considerable challenge due to the presence of multiple instabilities that can result in energy loss. Impurity accumulation in the plasma core can result in heat loss through radiation, leading to a decrease in confinement quality. Therefore, it is crucial to conduct a thorough investigation of impurity in fusion plasma.

The dynamics of magnetically confined plasma flow is influenced by drift-wave turbulence and zonal flows. The numerical high-resolution simulations for modeling the plasma flow carried out within this work are based on the Hasegawa–Wakatani model, which governs cross field transport by electrostatic drift waves in magnetically confined plasmas. A modified version of the model1 is likewise investigated to take into account zonal flows. The electric field perpendicular to magnetic field lines is particularly significant because it strongly drives cross field fluxes, impacting edge pressure profiles and stability.2,3 E × B flows strongly influence the motion of coherent structures, which can account for substantial particle losses in tokamaks.4–6 The resulting fluxes on walls can cause sputtering, erosion, and impurity injection, further degrading confinement and safe operation.5,7,8

For the particles, there has been growing interest in Lagrangian perspective in recent years.9–11 This approach involves the analysis of trajectories of numerous tracers. Numerical simulations involve solving equations to determine the trajectories of test particles within a specific velocity field, such as the E × B velocity field. The Lagrangian approach highlights the significant impact of coherent structures on transport. The combined effect of eddy trapping and zonal shear flows often leads to non-diffusive transport.12–14 In fusion plasma research, previous studies have primarily focused on passive flow tracers without considering inertial effects in the edge plasma using the Hasegawa–Wakatani model.15–17 We increase the complexity of these models and add the effect of inertia, which has not been done so far, to the best of our knowledge. Therewith, we can study the behavior of heavy and light atoms and see the impact on the impurity distribution. A crucial aspect of understanding inertial impurities is their self-organization, such as clustering and void formation, which can be quantified mathematically by deviation from Poissonian statistics.18 Their dynamics can then be analyzed using tesselation based techniques.19 

There is a growing interest in studying spatial patterns in turbulence exploring machine learning.20,21 Our study uses machine learning to estimate mesoscale inertial particle clustering in turbulence, relying on flow field data rather than individual particle information. We apply machine learning tools that have been successfully implemented in the field of hydrodynamics, see Refs. 22 and 23. Three neural networks—Autoencoder, U-Net, and Generative Adversarial Network (GAN)—are trained to predict impurity particle densities from vorticity field snapshots. The results are visually and statistically compared with actual DNS particle data. This approach reduces the cost for predicting particle density distributions.

This paper is structured as follows: Sec. II outlines the theoretical basis used for simulation, introducing the Hasegawa–Wakatani edge plasma model and the motion of inertial impurity particles. Section III details the numerical simulations and results. In Sec. IV, we explore machine learning models such as Autoencoders, U-net, and GAN to synthesize impurity concentration fields. Finally, Sec. V summarizes our findings and suggests potential directions for future investigations.

The numerical simulations are based on Hasegawa–Wakatani (HW) equations for plasma edge turbulence driven by drift-wave instability.24 Our focus is on the two-dimensional, slab geometry of the HW model, see, e.g., Ref. 10. Figure 1 depicts a representation of the flow configuration. The magnetic field lines are assumed to be constant, straight, and perpendicular to the slab. Ions are considered cold, and the effects of the temperature gradient are ignored.

FIG. 1.

Illustration of the two-dimensional slab geometry in the tokamak edge used in the Hasegawa–Wakatani system. The radial direction is represented by x, while y is the poloidal direction. There is an imposed mean plasma density gradient n 0 in the radial direction. The 2D flow is computed within a domain whose size is equivalent to 64 times the Larmor radius (ρs). This computational domain is marked with a green square. On the right, a vorticity field for the classical Hasegawa–Wakatani (cHW) is shown. Adapted from Ref. 11.

FIG. 1.

Illustration of the two-dimensional slab geometry in the tokamak edge used in the Hasegawa–Wakatani system. The radial direction is represented by x, while y is the poloidal direction. There is an imposed mean plasma density gradient n 0 in the radial direction. The 2D flow is computed within a domain whose size is equivalent to 64 times the Larmor radius (ρs). This computational domain is marked with a green square. On the right, a vorticity field for the classical Hasegawa–Wakatani (cHW) is shown. Adapted from Ref. 11.

Close modal
The HW model consists of two partial differential equations that describe the time evolution of the plasma electrostatic potential ϕ and fluctuating plasma density n,
(1)
(2)
All quantities are dimensionless and normalized as described in Refs. 11 and 25. The constant D and ν are cross field diffusion coefficient of plasma density fluctuations and kinematic viscosity, respectively. The constant κ defined as κ x ln n 0 is a measure of the density gradient. The Poisson bracket is defined as [ A , B ] = A x B y A y B x. In this system, the electrostatic potential ϕ acts as a stream-function for the E × B flow velocity, denoted by u = ϕ, where = ( y , x ). Thus, we have u x = ϕ / y and u y = ϕ / x. The vorticity is defined as ω = 2 ϕ. The turnover time of turbulent eddies, τ η, is defined as 1 / 2 Z m s, with Z m s denoting the mean square vorticity. The adiabaticity parameter c is
(3)
where η is the electron resistivity. Here, k is the effective parallel wavenumber. The parameter c controls the phase difference between the electrostatic potential and the plasma density fluctuations. The case c 1 is known as the adiabatic limit. In this limit, the Hasegawa–Wakatani model reduces to the Hasegawa–Mima equation, and the electrons in the plasma follow a Boltzmann distribution. In that case, there is no phase shift between ϕ and n. Conversely, when c 1 (the hydrodynamic limit), the system reduces to a form that is analogous to a two-dimensional Navier–Stokes equation. In this regime, the density fluctuations are passively advected by the E × B flow.10 The most physically interesting situation in fusion plasma is when c 1, known as the quasi-adiabatic regime. In this regime, there is a phase shift between ϕ and n. This phase shift permits the presence of particle transport.

In the context of the classical Hasegawa–Wakatani model (cHW), as detailed earlier, zonal flows are not observed. To specifically obtain zonal flows, a modified Hasegawa–Wakatani model (mHW) can be considered. This modification was introduced in Ref. 1, where the coupling term c ( ϕ n ) is set to zero for modes ky = 0.

Previous studies15–17 have assumed that impurity particles perfectly follow the fluid flow without deviating from the flow path. However, this assumption may not always be valid, particularly when the particles have significant mass, resulting in observable inertial effects.

1. Stokes number

To account for the inertial effects, the concept of the Stokes number (St) is introduced.26 The Stokes number is a dimensionless parameter used to quantify the inertia of particles in a fluid flow. The Stokes number is defined as
(4)
where τ p is the impurity particle's relaxation time. This is a measure of how quickly an impurity particle can respond to changes in the fluid flow. It is determined by factors like the particle's size, mass as well as the viscosity of the fluid. The turbulent eddy turnover time is τ η. This is a measure of how quickly the fluid flow is changing. A high Stokes number suggests that the particle's motion is dominated by its inertia, meaning it will continue moving in its current direction even when the fluid flow changes. Note that the Stokes number is a simplification, and real-world particle–fluid interactions may involve other complex phenomena, like particle–particle interactions, two-way coupling, finite particle-size effects, etc. Nevertheless, the Stokes number provides a valuable prediction of particle behavior in a turbulent flow.

2. Motion of inertial impurity particles

We assume that the behavior of impurities does not influence the plasma's overall dynamics. This study is focused on tracking individual particles using Lagrangian mechanics. The equations governing the motion of these particles are
(5)
(6)
The particles are denoted by j ( j = 1 , , N, where N is the total number of impurity particles in the system). Here, v imp , j is the velocity vector of the jth impurity particle, and u imp , j represents the fluid velocity vector at the location of the particle, x imp , j. The force resisting the motion of these particles is assumed to be in the form of Stokes drag, which is directly proportional to the relative velocity between the particle and the fluid. The constant of proportionality, 1 / τ p, is the inverse of particle relaxation time.27–29 In the initial phase of our study, we excluded electromagnetic forces to focus on establishing a fundamental understanding without introducing additional complexity. The effects of electromagnetic forces on the particles will be integrated incrementally in future studies.

The simulation was conducted within a domain with periodic boundary condition that spans an area of 642, and it was discretized using a resolution of 10242 grid points. The time step was 5 × 10 4, while values for diffusivity of plasma density D and kinematic viscosity ν were both set to 5 × 10 3. The value for κ was set to 1. Simulations for the flow begin with Gaussian random initial conditions and run until achieving a saturated, fully developed turbulent flow (see Ref. 10). After this phase, 1 × 106 uniformly distributed inertial impurity particles are injected.

The systems of HW equations, specifically Eqs. (1) and (2), are solved using a Fourier pseudospectral method. It is particularly well-suited for problems with periodic boundary conditions and provides excellent accuracy for smooth solutions.30 The equations governing the motion of the impurity particles, namely, Eqs. (5) and (6), are solved using a second-order Runge–Kutta (RK2) scheme. This method provides a balance between accuracy and computational efficiency. Simulating a large ensemble of particles presents a considerable computational challenge. Our solution leverages High-Performance Computing (HPC) to overcome this complexity, employing parallel computing with Message Passing Interface (MPI). For further details on the numerical method and its implementation, we refer to Ref. 10.

Figure 2 shows the vorticity field (without impurity particles) in a fully developed turbulence regime of classical Hasegawa–Wakatani model (cHW) for different c values and modified Hasegawa–Wakatani model (mHW) for c = 2. Larger vortices were exhibited in hydrodynamic cases (cHW, c = 0.01), while smaller ones were observed in quasi-adiabatic (cHW, c = 0.7) and adiabatic cases (cHW, c = 2). For the modified Hasegawa–Wakatani model, with c = 2, zonal flows are presented. To quantify the distribution of kinetic energy of the flow across different scales of the turbulent flow, we compute the Fourier energy spectra,31 
(7)
where u ̂ ( k ) = u ( x ) exp ( i 2 π k · x ) d x is the 2D Fourier transform of the flow velocity and i = 1 and k = ( k x , k y ) are the wave vector. The summation in Eq. (7) is carried out over concentric shells in wave number space. In Fig. 3, the Fourier energy spectra E(k) are shown. We observe a peak at smaller wavenumbers for the cases c = 0.01 (cHW and mHW) and c = 2 (mHW), indicating the presence of larger structures. Furthermore, the spectra display a power-law scaling, with an exponent nearing −3.5 for the case c = 0.7.
FIG. 2.

Vorticity fields without impurity particles in the fully developed turbulence regime.

FIG. 2.

Vorticity fields without impurity particles in the fully developed turbulence regime.

Close modal
FIG. 3.

Kinetic energy spectra of the flow. The slope k 3.5 is provided for reference.

FIG. 3.

Kinetic energy spectra of the flow. The slope k 3.5 is provided for reference.

Close modal

In this paper, we focus on the quasi-adiabatic regime (c = 0.7), which is the relevant case for edge plasma of tokamaks. For readers interested in zonal flow, relevant discussions can be found in  Appendix A. Figure 4 shows the visualization of vorticity fields and 104 superimposed impurity particles for various Stokes numbers in the quasi-adiabatic regime. From Fig. 4, we can observe clustering of impurity particles for the case of S t = 0.25 and St = 1, while for St = 0 and St = 50, the impurity density field homogeneously fills the entire physical domain and does not show significant spatial correlation. When the particles are very light, the response time of the particles is much smaller than the turnover time of the turbulent eddies, i.e., τ p τ η ( S t 0). Their response time is so quick that they can adjust their velocity to match any changes in the flow immediately. They behave as usual tracers like those in previous studies.15–17 When τ p τ η ( S t 1), the inertia of the impurity particles is so high that they are almost unaffected by the eddies. Particles are moving ballistically and are randomly distributed, resulting in less clustering and more dispersion. When the response time of the particles is comparable to the eddy turnover time, i.e., τ p τ η ( S t 1), particles are subject to centrifugal effect of turbulent eddies. Eddies can accelerate the particles to a degree where they are thrown out of the eddy due to their inertia. This ejection and the subsequent movement toward areas of lower vorticity result in particle clustering. The clustering of impurity particles results in inhomogeneous poloidal distributions (y direction in the domain) of the impurity density, which can modify radial collisional transport.32 

FIG. 4.

Visualization of vorticity fields in fully developed turbulence regime and superimposed impurity particles (104 impurity particles) for various Stokes numbers in the case of c = 0.7 (cHW).

FIG. 4.

Visualization of vorticity fields in fully developed turbulence regime and superimposed impurity particles (104 impurity particles) for various Stokes numbers in the case of c = 0.7 (cHW).

Close modal

To analyze and statistically interpret the distribution of impurity particles, we increase the number of particles from 104 to 106. Displaying the position of each particle in the flow is impractical due to this large quantity. Instead, we visualize the particle density. We achieve this by dividing the entire domain into 512 × 512 boxes and defining the impurity density nimp as the number of particles in each box, i.e., we compute a histogram. Figure 5 shows the impurity density field for the case of c = 0.7 considering different Stokes numbers. When St = 0, the impurity density is distributed uniformly throughout the flow. As St increases, variations in impurity density become apparent, with some areas exhibiting high density and others low. This uneven distribution indicates the formation of voids and clustering of particles. When St = 50, the impurity density returns to a more uniform distribution. The impurity density fields exhibit patterns similar to those seen in the earlier visualization involving 104 impurity particles.

FIG. 5.

Visualization of impurity density fields (106 impurity particles) for various Stokes numbers in the classical Hasegawa–Wakatani model (c = 0.7).

FIG. 5.

Visualization of impurity density fields (106 impurity particles) for various Stokes numbers in the classical Hasegawa–Wakatani model (c = 0.7).

Close modal

To analyze the impurity density distribution at different scales, we compute the Fourier energy spectra similar to Eq. (7), replacing the flow velocity u by the impurity density distribution nimp. The spectral characteristics of impurity density field are shown in Fig. 6 in terms of the Fourier energy spectra. The variance of the impurity density is equivalent to the cumulative sum of the corresponding spectral energy. This is visually represented as the area under the energy spectra curve. As observed, the variance initially increases with the Stokes number up to St = 1, indicating stronger fluctuations. From St = 1 to St = 50, there is a decrease, suggesting less fluctuations. For St = 0, representing tracer particles without inertia as in previous studies, the impurity particles are distributed randomly. Random spatial distribution of particles follows a Poisson probability density function (PDF) with mean and variance equal to the mean density n imp , see, e.g., Ref. 31. The slope of the spectra for St = 0 in 2D is 1, as prescribed by the equidistribution of variance among all wavenumbers. The spectrum for St = 50 is observed to collapse on those of St = 0 at small scales (high wavenumbers), thus resembling the same characteristics as for randomly distributed particles.

FIG. 6.

Energy spectra of impurity density for St = 0, 0.25, 1, and 50 in the case of c = 0.7(cHW). The slope k is provided for reference.

FIG. 6.

Energy spectra of impurity density for St = 0, 0.25, 1, and 50 in the case of c = 0.7(cHW). The slope k is provided for reference.

Close modal

Simulating flow without impurity particles to obtain the vorticity field is not computationally expensive, but including and tracking 1 × 106 impurity particles increases costs. Since a specific statistically stationary distribution of impurity density is linked to a specific vorticity field, we propose creating a neural network that can directly predict the distribution of impurity density based on the vorticity field. This network uses as input the vorticity field (easily obtained from DNS) and produces as output the corresponding impurity density field for a specific Stokes number. With this neural network, we can run DNS to get the vorticity field, use it as input for the network, and efficiently predict the impurity density distribution for a specific Stokes number. This approach eliminates the need for costly simulations involving a million particles.

We will evaluate and compare three different neural network architectures that have previously been utilized in particle-laden hydrodynamic turbulence studies:22,23 the Autoencoder, U-Net, and Generative Adversarial Network (GAN). To determine the most effective neural network architecture for accurately predicting the impurity density fields, a thorough analysis of the statistical attributes of the impurity density fields generated by these neural networks is carried out. In the following, we will consider the cHW model for the quasi-adiabatic case (c = 0.7).

The models used in this study are based on those utilized in Refs. 22 and 23. Figure 7 displays the architectures tailored from the standard structure, which we have implemented using TensorFlow.

  • Autoencoder: Autoencoder33 is the basic model in our study, comprising of an encoder that compresses the data, and a decoder that reconstructs the output from this compressed version.

  • U-Net: U-Net34 is essentially an Autoencoder but with added skip connections. These connections facilitate non-sequential connections between layers, which helps in the preservation of information at different scales throughout the network.

  • GAN: GAN (Generative Adversarial Network) consists of two neural networks,35 a Generator and a Discriminator, trained simultaneously through adversarial processes. The Generator attempts to produce synthetic data, while the Discriminator tries to distinguish between real and synthetic data. We use U-Net as the generator.36 More details can be found in Refs. 22 and 23.

FIG. 7.

The neural network architectures are illustrated as Autoencoder in purple; U-Net in purple and red; GAN in purple, red, and green.

FIG. 7.

The neural network architectures are illustrated as Autoencoder in purple; U-Net in purple and red; GAN in purple, red, and green.

Close modal

In this study, we use the data of one long simulation in the statistically stationary regime. This simulation has a temporal span equivalent to 220 eddy turnover times. Within this simulation, we have captured 400 snapshots of the vorticity field. For each snapshot of the vorticity field, there are five corresponding impurity density fields ( S t = 0.01 , 0.05 , 0.25 , 1 , and 5). The neural network is then trained to learn the relation between the vorticity field and the corresponding impurity density field. 70% of the dataset is for training the model and 30% for evaluating its performance. Vorticity data are normalized between −1 and 1. Impurity density data are normalized between 0 and 1 to enable the use of binary cross-entropy.

The Adam optimizer37 was used to train the neural networks. Training on a single sample from the training set is termed a “step.” The Autoencoder and U-net models were trained for 28 000 training steps. The GAN model required more steps for convergence and was trained for 56 000 steps. The Python codes were run on an NVIDIA graphics card Tesla V100 32GB.

Figure 8 shows the vorticity field and corresponding impurity density field ( S t = 1) obtained from DNS for the case of c = 0.7 (cHW). Figure 9 illustrates impurity density field (St = 1) predicted from Autoencoder, Unet, and GAN for c = 0.7 (cHW) using vorticity field as input. When comparing DNS impurity density fields with those predicted by the Autoencoder and U-Net, we find that both DNS and predicted fields exhibit similar structures, but the clustering in the predicted fields is slightly fuzzy. The GAN model successfully predicts void areas and filament-like structures to some degree of success, but it sometimes struggles with predicting the details of regions with impurities.

FIG. 8.

Vorticity field (left) and corresponding impurity density field (right) ( S t = 1) obtained from DNS for the case of c = 0.7, cHW.

FIG. 8.

Vorticity field (left) and corresponding impurity density field (right) ( S t = 1) obtained from DNS for the case of c = 0.7, cHW.

Close modal
FIG. 9.

From left to right: For the case of c = 0.7 (cHW), impurity density field (St = 1) predicted from Autoencoder, U-Net, and GAN.

FIG. 9.

From left to right: For the case of c = 0.7 (cHW), impurity density field (St = 1) predicted from Autoencoder, U-Net, and GAN.

Close modal

To better understand the performance of our models, we analyze the results using the probability density functions (PDFs) and energy spectra of the impurity number density. Figure 10 shows the PDFs of DNS data and predicted data using three different architectures for St = 1. From Fig. 10, we observe that the GAN model excels in predicting the density distribution, as its predictions closely align with DNS. In contrast, U-Net and Autoencoder exhibit shortcomings, particularly in predicting higher densities. The deviations in the PDFs of U-Net and the Autoencoder suggest that these models may struggle to accurately replicate the intricate characteristics present in high-density regions.

FIG. 10.

PDFs of impurity density of DNS data and predicted data using three different architectures for St = 1.

FIG. 10.

PDFs of impurity density of DNS data and predicted data using three different architectures for St = 1.

Close modal

Figure 11 shows the energy spectra of DNS data and predicted data using three different architectures for St = 1. In Fig. 11, we observe that the GAN's energy spectra are nearly identical to that of the DNS data. This demonstrates the remarkable accuracy of the GAN model in predicting the energy spectra of the impurity density. On the contrary, both U-Net and the Autoencoder exhibit a significant drop at high wave numbers, which correspond to fine structures in the data. This indicates that U-Net and the Autoencoder are unable to accurately capture these fine-scale structures and may struggle to represent the intricate details present in the impurity density.

FIG. 11.

Energy spectra of impurity density of DNS data and predicted data using three different architectures for St = 1.

FIG. 11.

Energy spectra of impurity density of DNS data and predicted data using three different architectures for St = 1.

Close modal

Overall, the analysis of the PDFs and energy spectra reaffirms that GAN outperforms the other two for St = 1. Thus, we utilize GAN in the following to investigate more Stokes numbers values. From the PDF of impurity density as shown in Fig. 12, we can see that for S t = 0.25, GAN predicts lower impurity density when compared with DNS. For small St ( S t = 0.01 , 0.05), GAN predicts more particles than DNS. When dealing with a large Stokes number (St = 5), the PDF is similar to the DNS results. In the case of St = 1, the GAN predictions align perfectly with DNS. For energy spectra, as shown in Fig. 13, it is noticeable that the GAN predictions align very well with the DNS. In the GAN predicted energy spectra, notable spikes were identified at frequencies corresponding to the edges and corners of the domain. This could be because the initial encoding of domain periodicity was inadequate. To correct this, adjustments in the code are needed for true periodic convolution. Unfortunately, as of the time of this writing, TensorFlow does not yet provide native support for periodic padding.

FIG. 12.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St.

FIG. 12.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St.

Close modal
FIG. 13.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St.

FIG. 13.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St.

Close modal

In our study, we train the AI model specifically for c = 0.7, which is a typical value for edge plasma. This model predicts impurity density fields for S t = 0.01 , 0.05 , 0.25 , 1, and 5 using the vorticity field at c = 0.7 as input. The model's validity is specific to c = 0.7 and the aforementioned Stokes numbers. Its extrapolability is shown and discussed in  Appendix B.

Now, we know that GAN is the optimal model. Next, we can conduct simulations to generate more vorticity fields without particles, a process which is computationally efficient. We then input these vorticity fields into GAN to predict the impurity density fields. Subsequently, we can perform detailed analyses of transport characteristics and clustering, using methods like multiresolution analysis and Voronoi tessellation. There are several possible ways to enhance the model. One method is to adjust architectural features like the number of layers, filter sizes, and channel counts. Another effective approach is to integrate physical constraints into the model, ensuring that predictions align with established physical laws, such as mass or energy conservation, for more accurate and plausible results.

This study focuses on inertial impurity within fusion plasmas, which is different from previous literature where the focus has typically been on “passive tracers” following the flow. We used high-resolution numerical simulations based on Hasegawa–Wakatani equations with impurity particles having different inertia. We studied the quasi-adiabatic regime (c = 0.7), typical for Tokamak edge plasma. Our findings show that the inertia of particles, quantified by the Stokes number St, plays a vital role in their behavior. At lower St values, impurities move along the flow streamlines. As St increases, impurities tend to cluster at low-vorticity regions. At very high St values, impurities show random movement due to substantial inertia, resulting in much less clustering.

As simulating 1 × 106 or more impurity particles is a computationally intensive task, we utilized machine learning techniques to create a surrogate model. Three neural networks—Autoencoder, U-Net, and GAN—were developed to synthesize impurity densities, using vorticity fields as input. All models produced visually comparable results to simulations, with varying degrees of success. The GAN closely matches DNS values in terms of probability density functions and energy spectra of density. This confirms GAN's effectiveness in modeling both the general distribution and finer structures. Based on the results, future work will involve: improving GAN by adjusting the architectures or involving physical constraints directly into the model; running simulations for more vorticity fields, and then using the GAN to predict impurity fields for analyzing clustering and transport properties; including electromagnetic interactions for more accurate impurity particle models.

Z.L., T.M.O., and K.S. acknowledge the financial support from I2M and the French Federation for Magnetic Fusion Studies (FR-FCM) and the Eurofusion consortium, funded by the Euratom Research and Training Programme under Grant Agreement No. 633053. The views and opinions expressed herein do not necessarily reflect those of the European Commission. Z.L., T.M.O., B.K., P.K., and K.S. acknowledge partial funding from the Agence Nationale de la Recherche (ANR), project CM2E, Grant No. ANR-20-CE46-0010-01. Centre de Calcul Intensif d'Aix-Marseille is acknowledged for providing access to its high-performance computing resources.

The authors have no conflicts to disclose.

Z. Lin: Writing – original draft (equal); Writing – review & editing (equal). T. Maurel–Oujia: Writing – original draft (equal); Writing – review & editing (equal). B. Kadoch: Writing – original draft (equal); Writing – review & editing (equal). P. Krah: Writing – original draft (equal); Writing – review & editing (equal). N. Saura: Writing – original draft (equal); Writing – review & editing (equal). S. Benkadda: Writing – original draft (equal); Writing – review & editing (equal). K. Schneider: Writing – original draft (equal); Writing – review & editing (equal).

The data that support the findings of this study are available from the corresponding author upon reasonable request.

In the modified Hasegawa–Wakatani model at c = 2 with 104 impurity particles as shown in Fig. 14, the zonal flow is very strong, and the vorticity values are weaker compared to cHW. The particles appear to be distributed evenly across the fluid, and in proximity to the zonal flow, it seems that clustering is not evident. To gain deeper insights, we examined the impurity density fields obtained from 1 × 106 impurity particles. As depicted in Fig. 15, there is some preferential concentration of impurities in the shear layer region for St = 0.25, 1, and 5. The impurity particles are ejected by the zonal flow, and for St = 1, the effect seems to be the strongest. For St = 0 and 50, the impurity particles are randomly distributed.

FIG. 14.

Visualization of vorticity fields in fully developed turbulence regime and 104 superimposed impurity particles for various Stokes numbers in the modified Hasegawa–Wakatani model (c = 2).

FIG. 14.

Visualization of vorticity fields in fully developed turbulence regime and 104 superimposed impurity particles for various Stokes numbers in the modified Hasegawa–Wakatani model (c = 2).

Close modal
FIG. 15.

Visualization of impurity density fields (106 impurity particles) for various Stokes numbers in the modified Hasegawa–Wakatani model (c = 2).

FIG. 15.

Visualization of impurity density fields (106 impurity particles) for various Stokes numbers in the modified Hasegawa–Wakatani model (c = 2).

Close modal

In the following, we test the extrapolability of the GAN model for different c-values. The model has been trained using the data with c = 0.7. As input data, we then use vorticity fields for c-values different from 0.7 and assess the impurity densities obtained with the GAN model. The results are shown from Figs. 16–19. In the hydrodynamic regime (c = 0.01), we observe that GAN predicts the PDF and energy spectra of impurity density very well at S t = 1. At other Stokes numbers, discrepancies arise between GAN predictions and DNS results in terms of PDFs and energy spectra. In the adiabatic regime (c = 2), the PDFs and energy spectra of impurity density predicted by GAN tend to have larger values than the DNS results. Note that the results are good from the statistical point of view, but the obtained impurity density fields differ visually from the DNS results.

FIG. 16.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the hydrodynamic regime (c = 0.01).

FIG. 16.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the hydrodynamic regime (c = 0.01).

Close modal
FIG. 17.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the hydrodynamic regime (c = 0.01).

FIG. 17.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the hydrodynamic regime (c = 0.01).

Close modal
FIG. 18.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the adiabatic regime (c = 2).

FIG. 18.

PDFs of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the adiabatic regime (c = 2).

Close modal
FIG. 19.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the adiabatic regime (c = 2).

FIG. 19.

Energy spectra of impurity density of DNS data (solid lines) and predicted data using GAN (dashed lines) for different St in the adiabatic regime (c = 2).

Close modal
1.
A. V.
Pushkarev
,
W. J. T.
Bos
, and
S. V.
Nazarenko
, “
Zonal flow generation and its feedback on turbulence production in drift wave turbulence
,”
Phys. Plasmas
20
,
042304
(
2013
).
2.
H.
Wang
,
H.
Guo
,
G.
Xu
,
A.
Leonard
,
X.
Wu
,
M.
Groth
,
A.
Jaervinen
,
J.
Watkins
,
T.
Osborne
,
D.
Thomas
,
D.
Eldon
,
P.
Stangeby
,
F.
Turco
,
J.
Xu
,
L.
Wang
,
Y.
Wang
, and
J.
Liu
, “
First evidence of local E × B drift in the divertor influencing the structure and stability of confined plasma near the edge of fusion devices
,”
Phys. Rev. Lett.
124
,
195002
(
2020
).
3.
Y.
Zhang
,
Z. B.
Guo
, and
P. H.
Diamond
, “
Curvature of radial electric field aggravates edge magnetohydrodynamics mode in toroidally confined plasmas
,”
Phys. Rev. Lett.
125
,
255003
(
2020
).
4.
D.
Carralero
,
M.
Siccinio
,
M.
Komm
,
S.
Artene
,
F.
D'Isa
,
J.
Adamek
,
L.
Aho-Mantila
,
G.
Birkenmeier
,
M.
Brix
,
G.
Fuchert
,
M.
Groth
,
T.
Lunt
,
P.
Manz
,
J.
Madsen
,
S.
Marsen
,
H.
Müller
,
U.
Stroth
,
H.
Sun
,
N.
Vianello
,
M.
Wischmeier
,
E.
Wolfrum
,
ASDEX Upgrade Team
,
COMPASS Team
,
JET Contributors
, and
The EUROfusion MST Team
, “
Recent progress towards a quantitative description of filamentary SOL transport
,”
Nucl. Fusion
57
,
056044
(
2017
).
5.
D.
D'Ippolito
,
J.
Myra
, and
S.
Zweben
, “
Convective transport by intermittent blob-filaments: Comparison of theory and experiment
,”
Phys. Plasmas
18
,
060501
(
2011
).
6.
R.
Kube
,
O. E.
Garcia
,
A.
Theodorsen
,
D.
Brunner
,
A. Q.
Kuang
,
B.
LaBombard
, and
J. L.
Terry
, “
Intermittent electron density and temperature fluctuations and associated fluxes in the Alcator C-Mod scrape-off layer
,”
Plasma Phys. Controlled Fusion
60
,
065002
(
2018
).
7.
A. Q.
Kuang
,
N. M.
Cao
,
A. J.
Creely
,
C. A.
Dennett
,
J.
Hecla
,
B.
LaBombard
,
R. A.
Tinguely
,
E. A.
Tolman
,
H.
Hoffman
,
M.
Major
,
J. R.
Ruiz
,
D.
Brunner
,
P.
Grover
,
C.
Laughman
,
B. N.
Sorbom
, and
D. G.
Whyte
, “
Conceptual design study for heat exhaust management in the ARC fusion pilot plant
,”
Fusion Eng. Des.
137
,
221
242
(
2018
).
8.
A. Q.
Kuang
,
S.
Ballinger
,
D.
Brunner
,
J.
Canik
,
A. J.
Creely
,
T.
Gray
,
M.
Greenwald
,
J. W.
Hughes
,
J.
Irby
,
B.
LaBombard
et al, “
Divertor heat flux challenge and mitigation in SPARC
,”
J. Plasma Phys.
86
,
865860505
(
2020
).
9.
T.
Gheorghiu
,
F.
Militello
, and
J. J.
Rasmussen
, “
On the transport of tracer particles in two-dimensional plasma edge turbulence
,”
Phys. Plasmas
31
,
013901
(
2024
).
10.
B.
Kadoch
,
D.
del Castillo-Negrete
,
W. J. T.
Bos
, and
K.
Schneider
, “
Lagrangian conditional statistics and flow topology in edge plasma turbulence
,”
Phys. Plasmas
29
,
102301
(
2022
).
11.
W. J. T.
Bos
,
B.
Kadoch
,
S.
Neffaa
, and
K.
Schneider
, “
Lagrangian dynamics of drift-wave turbulence
,”
Physica D
239
,
1269
1277
(
2010
).
12.
S. I.
Krasheninnikov
,
D. A.
D'Ippolito
, and
J. R.
Myra
, “
Recent theoretical progress in understanding coherent structures in edge and SOL turbulence
,”
J. Plasma Phys.
74
,
679
717
(
2008
).
13.
D.
del Castillo-Negrete
,
B. A.
Carreras
, and
V. E.
Lynch
, “
Fractional diffusion in plasma turbulence
,”
Phys. Plasmas
11
,
3854
3864
(
2004
).
14.
B. P.
van Milligen
,
R.
Sanchez
, and
B. A.
Carreras
, “
Probabilistic finite-size transport models for fusion: Anomalous transport and scaling laws
,”
Phys. Plasmas
11
,
2272
2285
(
2004
).
15.
S.
Futatani
,
S.
Benkadda
,
Y.
Nakamura
, and
K.
Kondo
, “
Multiscaling dynamics of impurity transport in drift-wave turbulence
,”
Phys. Rev. Lett.
100
,
025005
(
2008
).
16.
S.
Futatani
,
S.
Benkadda
, and
D.
del Castillo-Negrete
, “
Spatiotemporal multiscaling analysis of impurity transport in plasma turbulence using proper orthogonal decomposition
,”
Phys. Plasmas
16
,
042506
(
2009
).
17.
S.
Futatani
,
S.
Benkadda
,
Y.
Nakamura
,
K.
Kondo
, and
S.
Hamaguchi
, “
Anomalous scaling of impurity transport in drift wave turbulence
,”
Contrib. Plasma Phys.
48
,
111
115
(
2008
).
18.
T.
Oujia
,
K.
Matsuda
, and
K.
Schneider
, “
Divergence and convergence of inertial particles in high Reynolds-number turbulence
,”
J. Fluid Mech.
905
,
A14
(
2020
).
19.
T.
Maurel-Oujia
,
K.
Matsuda
, and
K.
Schneider
, “
Computing differential operators of the particle velocity in moving particle clouds using tessellations
,”
J. Comput. Phys.
498
,
112658
(
2024
).
20.
R. T.
Ishikawa
,
M.
Nakata
,
Y.
Katsukawa
,
Y.
Masada
, and
T. L.
Riethmüller
, “
Multi-scale deep learning for estimating horizontal velocity fields on the solar surface
,”
Astron. Astrophys.
658
,
A142
(
2022
).
21.
Y.
Jajima
,
M.
Sasaki
,
R. T.
Ishikawa
,
M.
Nakata
,
T.
Kobayashi
,
Y.
Kawachi
, and
H.
Arakawa
, “
Estimation of 2D profile dynamics of electrostatic potential fluctuations using multi-scale deep learning
,”
Plasma Phys. Controlled Fusion
65
,
125003
(
2023
).
22.
T.
Oujia
,
S. S.
Jain
,
K.
Matsuda
,
K.
Schneider
,
J.
West
, and
K.
Maeda
, “
Neural networks for synthesizing preferential concentration of particles in isotropic turbulence
,” in
Center for Turbulence Research, Proceedings of the Summer Program
(
Stanford University
,
2022
), pp.
153
162
.
23.
T.
Maurel-Oujia
,
S. S.
Jain
,
K.
Matsuda
,
K.
Schneider
,
J.
West
, and
K.
Maeda
, “
Neural network models for preferential concentration of particles in two-dimensional turbulence
,” (
2023
).
24.
A.
Hasegawa
and
M.
Wakatani
, “
Plasma edge turbulence
,”
Phys. Rev. Lett.
50
,
682
686
(
1983
).
25.
S.
Futatani
,
W. J. T.
Bos
,
D.
del Castillo-Negrete
,
K.
Schneider
,
S.
Benkadda
, and
M.
Farge
, “
Coherent vorticity extraction in resistive drift-wave turbulence: Comparison of orthogonal wavelets versus proper orthogonal decomposition
,”
C. R. Phys.
12
,
123
131
(
2011
).
26.
M. R.
Maxey
, “
The gravitational settling of aerosol particles in homogeneous turbulence and random flow fields
,”
J. Fluid Mech.
174
,
441
465
(
1987
).
27.
R.
Onishi
,
Y.
Baba
, and
K.
Takahashi
, “
Large-scale forcing with less communication in finite-difference simulations of stationary isotropic turbulence
,”
J. Comput. Phys.
230
,
4088
4099
(
2011
).
28.
M.
Obligado
,
T.
Teitelbaum
,
A.
Cartellier
,
P.
Mininni
, and
M.
Bourgoin
, “
Preferential concentration of heavy particles in turbulence
,”
J. Turbul.
15
,
293
310
(
2014
).
29.
K.
Matsuda
and
R.
Onishi
, “
Turbulent enhancement of radar reflectivity factor for polydisperse cloud droplets
,”
Atmos. Chem. Phys.
19
,
1785
(
2019
).
30.
C.
Canuto
,
M. Y.
Hussaini
,
A.
Quarteroni
, and
T. A.
Zang
,
Spectral Methods: Fundamentals in Single Domains
(
Springer Science & Business Media
,
2007
).
31.
M.
Bassenne
,
J.
Urzay
,
K.
Schneider
, and
P.
Moin
, “
Extraction of coherent clusters and grid adaptation in particle-laden turbulence using wavelet filters
,”
Phys. Rev. Fluids
2
,
054301
(
2017
).
32.
C.
Angioni
, “
Impurity transport in tokamak plasmas, theory, modelling and comparison with experiments
,”
Plasma Phys. Controlled Fusion
63
,
073001
(
2021
).
33.
D. E.
Rumelhart
,
G. E.
Hinton
, and
R. J.
Williams
, “
Learning representations by back-propagating errors
,”
Nature
323
,
533
536
(
1986
).
34.
O.
Ronneberger
,
P.
Fischer
, and
T.
Brox
, “
U-net: Convolutional networks for biomedical image segmentation
,” in
International Conference on Medical Image Computing and Computer-Assisted Intervention
(Springer,
2015
), pp.
234
241
.
35.
I.
Goodfellow
,
J.
Pouget-Abadie
,
M.
Mirza
,
B.
Xu
,
D.
Warde-Farley
,
S.
Ozair
,
A.
Courville
, and
Y.
Bengio
, “
Generative adversarial networks
,”
Commun. ACM
63
,
139
144
(
2020
).
36.
P.
Isola
,
J.-Y.
Zhu
,
T.
Zhou
, and
A. A.
Efros
, “
Image-to-image translation with conditional adversarial networks
,” in
Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition
(IEEE,
2017
), pp.
1125
1134
.
37.
D. P.
Kingma
and
J.
Ba
, “
Adam: A method for stochastic optimization
,” arXiv:1412.6980 (
2014
).