!=====================================================================
! ELECTRON CYCLOTRON HEATING
!=====================================================================
! settings common to all EC modules
NANTECH = 1 ! Number of gyrotrons
! timestep for EC calculations (seconds)
! important: if using also NUBEAM make sure that DTTOR=DTBEAM
DTTOR = 0.5
! Major radius of each gyrotron source (cm)
XECECH(1) = 300.0
!
! Elevation above midplane of each gyrotron source (cm)
ZECECH(1) = -30.0
! Each gyrotron frequency in Hz (if not using UFILE)
FREQECH(1) = 1.40E+11
! Toroidal angle of gyrotron source (deg).
! Has no impact on axisymmetric plasma
PHECECH = 0.0
!
! time when the EC is turned on.
! This is overwritten by the time traces in the UFILES
TECHON(1) = 1.00
! time when the EC is turned off.
! This is overwritten by the time traces in the UFILES
TECHOFF(1) = 15.0
!
! Power on each gyrotron [Watt]
! Note: the numbers here are examples.
POWECH(1) = 0.423E+06
!
! To provide power via UFILES, add these lines in the namelist
PREECP = ‘’
EXTECP = ‘’
!
!
! Polar launch angle of central ray (deg).
! These values are overwritten by UFILES, if provided
! These numbers are examples, check the angle in the plasma shot you are analyzing
THETECH(1) = 75.0
!
! To provide the polar angle via UFILES, add these lines in the namelist
PREECA = ‘’
EXTECA = ‘’
! Azimuthal launch angle of central ray (deg). Zero is +R major radius
! These values are overwritten by UFILES, if provided
! These numbers are examples, check the angle in the plasma shot you are analyzing
PHAIECH(1) = 180.0
! To provide the azimuthal angle via UFILES, add these lines in the namelist
PREECB = ‘’
EXTECB = ‘’
!
!
! Fraction of EC power in O-mode (DIII-D is using X-mode, so this should be =0)
RFMODECH(1) = 0.0
!=================================================================
! settings for TORAY
! in addition to the common settings, TORAY-GA needs the following
NLTORAY = .T. ! to use TORAY
NPROFTOR=101 ! NUMBER OF TORAY ZONES
NHARMTOR=2 ! Harmonic number
! Damping model
NDAMPECH(1)=2
! Fraction of EC power launched in O-mode
! Number of rays
NRAYECH(1) = 30
! divergence of beam (at the resonance location)
BHALFECH(1) = 1.18
! beam aspect ratio
BSRATECH(1) = 1.0
! multiplier for the ECCD, applied to the EC output
EFFECH(1) = 1.0
!=================================================================
! settings for GENRAY
! in addition to the common settings, GENRAY needs the following
NLGEN_ECH = .T. ! to use GENRAY
NGENRAY_PSERVE = 0 ! 1 to use MPI GENRAY