GPEC

Contacts: Nikolas Logan, Sterling Smith

Short Description

Generalized Perturbed Equilibrium Code: MHD stability, plasma response, and torque from 3D fields

Keywords

DCON, RDCON, STRIDE, PENTRC, MHD, Stability, plasma response, resonant coupling, NTV torque

Long Description

This module interfaces with a suite of non-axisymmetric stability and perturbed equilibrium codes including DCON/RDCON/STRIDE (stability), GPEC (driven plasma response), and PENTRC (NTV torque). The primary purpose of this package is to calculate the non-axisymmetric force balance in tokamak plasmas, and this module provides a streamlined interface for collecting the necessary inputs, performing calculations, and visualizing the outputs.

It provides a streamlined interface for the critical input parameters, with logical linking to supporting/dependent parameters. The GUI provides a streamlined interface with the OMFIT kinetic EFIT and profiles modules to gather the requisite 2D equilibrium input. It also provides a simple GUI for setting the coil currents based on mode number amplitude and phase or directly from experiments (although this feature is not supported on all machines). Run submission is as easy as pressing a button, and there is a built in utility for running parameter scans in addition to time series scans (which are intrinsic).

Finally, standard visualization provide a quick and informative overview of the results as well as in depth analysis options. These options include post-processing for coil amplitude and phasing optimization based on resonant coupling or NTV profile metrics. They also include 3D visualizations of the perturbed equilibrium quantities and quick investigation of the fundamental plasma property eigenmodes and eigenvectors.

Typical workflows

This module is used to:

  • Set inputs for the many namelists used to control the fortran executables

  • Interface with OMFIT or external EFIT and profile sources

  • Apply spatio temporal, functional coil currents

  • Run the package fortran executables (in SLURM or not), scanning time and optionally additional parameters

  • Visualize the output with pre-packaged plotting and post-processing

Supported devices

  • DIII-D, NSTX, NSTX-U, KSTAR, EAST, MAST, JET, ITER, RFX-Mod, COMPASS, JTEXT

Relevant publications

  • J.-K. Park, A.H. Boozer, and A.H. Glasser, Physics of Plasmas 14, 52110 (2007).

  • J.-K. Park, A.H. Boozer, J.E. Menard, A.M. Garofalo, M.J. Schaffer, R.J. Hawryluk, S.M. Kaye, S.P. Gerhardt, S.A. Sabbagh, and NSTX Team, Physics of Plasmas 16, 56115 (2009).

  • J.-K. Park, Physics of Plasmas 18, 110702 (2011).

  • N.C. Logan, J.-K. Park, K. Kim, Z. Wang, and J.W. Berkery, Physics of Plasmas 20, 122507 (2013).

External resources

Official webpage

Note that the DCON code was developed by Allen Glasser at Los Alamos National Laboratory, while STRIDE, GPEC and PENTRC were developed and are maintained by the GPEC team at the Princeton Plasma Physics Laboratory.

Contributors

List of contributors sorted by number of lines authored:

9188 Nikolas Logan
1247 Fusion Bot
 565 Francisco Farinha
 147 Brian Victor
  63 SM Yang
  42 Orso Meneghini
  19 Brendan Lyons
   9 d-burg
   8 Lang Cui
   7 Sterling Smith
   4 Qiming Hu
   3 Will DeShazer
   3 Richard FitzPatrick
   2 Theresa Wilks
   1 David Eldon

Users

List of usernames sorted by number of module imports: francisco, markovic, huqiming, syang, logannc, nlogan, roelofsm, ulbl_p, peter, cuil, rfitzp, xingz, lammersj, aaron, kripner, jpark, seidl, clementm, czhu, parkjk, meneghini, ert, logan, kyungjin, smithsp, knolkerm, mcclenaghanj, munarettos, eldond, pandyam, thomek, tmarkovi, ypark, epaul, izacardo, jianx, leem, markovict, barrj, bgriers, bgrierson, caoxiang, eggertw, fila, fridrich, grierson, kripnerl, logan35, lyonsbc, mortonl, mroelofs, nazikian, nelsonand, peterka, qhu, sweeneyrm, victorb, yuguanying