Electron Density Fluctuation from Gyrokinetic Toroidal Code


Eliot Feibush, Bei Wang, Stephane Ethier, William Tang


Project Summary

The Gyrokinetic Toroidal Code, developed at Princeton University and the Princeton Plasma Physics Laboratory, is a highly scalable particle-in-cell (PIC) code which solves the 5D Vlasov-Poisson equation. Details about the code are available.

The image shows electron density fluctuation at one time step within a torus with a circular cross section.  A divergent color map shows the positive and negative fluctuations from equilibrium.

The movie shows a sequence of time steps, starting in the linear phase, introducing "flow", and continuing to the non-linear phase.


Technology/Software Used

We developed a Python program that reads the GTC-P output, extracts the variable, and writes Visualization Toolkit data (VTK).  The VTK files are loaded into VisIt for display.  Another Python script generates the sequence of image files.  Then ffmpeg is run to combine the image files into a movie.