The three-dimensional Variational Moments Equilibrium Code (VMEC) minimizes the energy functional

over the toroidal domain ωp. The solution is obtained in flux co-ordinates (s, θ, ζ), related to the cylindrical co-ordinates (R, φ, Z) by

The code assumes nested flux surfaces. [1] [2]

Implementations of the code

The code is being used at:

  • ORNL, Oak Ridge, TN, USA (code source)
  • IPP-Garching, Germany
  • NIFS, Japan
  • LNF, Spain

Enhancements / extensions of the code

  • DIAGNO, [3] to calculate the response of magnetic diagnostics
  • MFBE [4]
  • STELLOPT [5]

References