Jump to: navigation, search

EFIT Snap Files and Extensions

EFIT reads input variables from efit_snap.dat for snap mode (3) and input mode (5) or efit_snap.dat_ext for snap_ext mode (7) where ext is an extension name. EFIT looks for a snap file first in the local area where EFIT is running. If it is not available, EFIT will use the one in /link/efit area if on UNIX or EFIT: area if on VAX/VMS. Users may define their own snap files - note that the underscore ( _ ) between .dat and ext is not optional. Here is a partial list of snap files available in /link/efit area.

  • efit_snap.dat
  • def - defaulted SNAP file, no edge gradients. For L-mode discharges, break-down error field analysis. Polynomial representation. No edge current.
  • j - finite edge gradients included in the current representation.
  • jt - Edge gradients constrained to vanish weakly. For H-mode discharges. Polynomial representation. Edge current is constrainted to vanish weakly.
  • scrape - force-free scrape-off layer and vessel currents included in the fitting.
  • mses - For L- and H- mode discharges with MSE. Spline representation. Finite edge current allowed.
  • mse2_j1 - MSE plus constrainted edge J.
  • mses_er - MSE with ER correction for shots later than 91000.


Note that if EFIT is run from the command line, and the input mode (5) is being used to generate K file, the only way to have EFIT use a different snap file than the /link/efit/efit_snap.dat is to copy the desired snap file to efit_snap.dat in the local area. If EFIT is started from the run_efit window, this step has been made transparent to the user.



efit_snap.dat

$efitin
 scrape=0.04      nextra=2           itek=5
 qvfit=0.0        fwtbp=1.           kffcur=2         kppcur=2
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 pcurbd=1.0       fcurbd=1.0         n1coil=2
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.
 fwtcur=  1.    nccoil=1



efit_snap.dat_def

$efitin
 scrape=0.04      nextra=2           itek=5           icprof=1
 qvfit=0.0        fwtbp=1.           kffcur=2         kppcur=2
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 pcurbd=1.0       fcurbd=1.0         n1coil=2
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=  1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1.
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtcur=  1.      nccoil=1



efit_snap.dat_j

$efitin
 scrape=0.04      nextra=2           itek=4           icprof=2
 qvfit=0.0        fwtbp=0.           kffcur=2         kppcur=2
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 pcurbd=0.0       fcurbd=0.0         n1coil=2
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.
 fwtcur=  1.



efit_snap.dat_jt

$efitin
 scrape=0.04      nextra=2           itek=5           icprof=3
 qvfit=0.0        fwtbp=0.           kffcur=3         kppcur=2
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 n1coil=2
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.
 fwtcur=  1.     nccoil=1
 ERROR = 1.E-3,  ERRMIN = 1.0E-3, MXITER=25
 FCURBD = 0.0, PCURBD = 0.0,
 KCALPA = 1,  KCGAMA = 1,
 CALPA(1,1) = 0.1  0.1  0.1     XALPA(1) = 0.0
 CGAMA(1,1) = 0.1  0.1  0.1     XGAMA(1) = 0.0,



efit_snap.dat_scrape

$efitin
 mxiter=25        itek=4
 scrape=0.04      nextra=0           kframe=2
 qvfit=0.0        fwtbp=0.           kffcur=2         kppcur=1
 fwtqa=0.00       icutfp=2
 iavem=0          iavev=0            pcurbd=1.        fcurbd=1.
 ifitvs=1         alphafp=0.0        vsdamp=0.25      kskipvs=1
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.
 fwtcur=  9.
 fwtfc =  18*1.



efit_snap.dat_mses

$efitin
 scrape=0.04      nextra=2           itek=5
 qvfit=0.0        fwtbp=0.           kffcur=4         kppcur=3
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 n1coil=2         keqdsk=1
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.   fwtgam=35*1.
 fwtcur=  1.
 error=1.e-3      errmin=1.e-3     mxiter=25
 fcurbd=0.0       pcurbd=0.0       relax=0.5
 kppfnc=6         kfffnc=6
 kffknt=3         ffknt=0.,   0.3,    1.0
 kppknt=2         ppknt=0., 1.0
 pptens=8         fftens=5



efit_snap.dat_mse2_j1

$efitin
 scrape=0.04      nextra=2           itek=5           error=2.e-3
 qvfit=0.0        fwtbp=0.           kffcur=4         kppcur=2
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 pcurbd=0.0       fcurbd=0.0         n1coil=2         errmin=2.e-3
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.   fwtgam=35*1.
 fwtcur=  1.  fwtdlc=0.0    nccoil=1
 kzeroj=1     rzeroj=0.       vzeroj=0.1    psiwant=0.99



efit_snap.dat_mses_er


$efitin
 scrape=0.04      nextra=2           itek=5
 qvfit=0.0        fwtbp=0.           kffcur=4         kppcur=3
 fwtqa=0.00       zelip=1.0e7        iavem=5          iavev=10
 n1coil=2         keqdsk=1
 fwtsi =  1., 1., 1. ,1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
          1.
 fwtmp2=68*1.   fwtgam=10*1.0,6*0.0,19*1.0
 fwtcur=  1.
 error=1.e-3      errmin=1.e-3     mxiter=25
 fcurbd=0.0       pcurbd=0.0       relax=0.5
 kppfnc=6         kfffnc=6
 kffknt=3         ffknt=0.,   0.3,    1.0
 kppknt=2         ppknt=0., 1.0
 pptens=8         fftens=5
 keecur=2