1 of 9

Why GPEC uses OMFIT

by

N.C. Logan

Princeton Plasma Physics Laboratory

Prepared for

OMFIT and GPEC users

Last updated,

October, 2019

N.C. Logan / OMFIT GPEC Tutorial

2 of 9

Outline

  • Workflow Integration
    • Get inputs from EFIT & OMFITprofiles, provide inputs for FOCUS coil design
  • Ability to run on any cluster from any cluster
    • live, slurm or torque
  • Ready-made summary / diagnostic plots and post-processing
    • Find optimal phasing for EFC / NTV,
    • Synthetic diagnostic, etc.)
  • Ease of OMFIT interface with data
    • Parsing / browsing of outputs
    • Opening remote projects to help troubleshoot for others, etc.
  • Global installation via GDT

2

N.C. Logan / OMFIT GPEC Tutorial

3 of 9

Workflow Integration: Gathering requisite inputs

  • Seamless integration with kineticEFITtime
  • Collects 2D equilibria and 1D kinetic profiles
  • Translates between kinetic EFIT (Dataset/ pfile) formats and GPEC ascii table format

3

N.C. Logan / OMFIT GPEC Tutorial

4 of 9

Workflow integration: Transfering results to other codes

  • Translates GPEC NTV torque outputs to TRANSP anomalous torque U-files
  • Translates GPEC geometry & resonant-coupling modes to targets for FOCUS 3D coil design

4

1

2

N.C. Logan / OMFIT GPEC Tutorial

5 of 9

Ready-made summary plots quickly convey the main results & validity of a code run

  • Starting point for communications between users and experts/developers
  • Users do not have to reinvent the wheel for common plots

5

N.C. Logan / OMFIT GPEC Tutorial

6 of 9

Ready-made summary plots quickly convey the main results & validity of a code run

  • Starting point for communications between users and experts/developers
  • Users do not have to reinvent the wheel for common plots

6

N.C. Logan / OMFIT GPEC Tutorial

7 of 9

OMFIT parses netcdf, binary, and ascii outputs for easy browsing & plotting

  • Users do not have to constantly reinvent the wheel parsing files or keeping track of changes in naming/formatting conventions

7

N.C. Logan / OMFIT GPEC Tutorial

8 of 9

Thorough documentation & consistent tools enables new users making immediate scientific progress

  • New users have a guide for what to look for to check numerical validity & physical meaning of results
  • Accelerates both the ability to produce results and physical understanding

8

N.C. Logan / OMFIT GPEC Tutorial

9 of 9

Global distribution keeps local releases up to date

  • On the developer side, OMFIT helps provide consistent experience across institutions
  • Chronically checks git status at all supported locations worldwide
  • If required, pulls updates from github and re-compiles local code
  • Enables users to run locally with confidence that they are using the latest and greatest version of the code

9

N.C. Logan / OMFIT GPEC Tutorial