Skip to content

rahulgaur104/Miller_cookbook

Repository files navigation

Miller cookbook

Local equilibrium to GX/GS2 interface

This script creates a local Miller equilibrium for Tokamaks and generates all the relevant data needed for a gyrofluid calculation with GX or a gyrokinetic calculation with GS2 of that equilibrium.

Limitations

For the moment:

  • the code only works with Miller(up-down symmetric) equilibria
  • there is no algorithm to handle more than 2 magnetic wells. Non-trivial to add arbitrary wells. See Jessica Baumgaertel's thesis(FIGG code).
  • only kx = 0 data can be generated. Not hard to generalize.
  • there is no guarantee that the local equilibrium is MHD stable. Difficult.

Relevant papers

About

Local equilibrium to GX/GS2 interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages