!=====================================================================
! ELECTRON CYCLOTRON HEATING
!=====================================================================
! settings common to all EC modules
NANTECH = 8 ! Number of gyrotrons
! timestep for EC calculations (seconds)
! important: if using also NUBEAM make sure that DTTOR=DTBEAM
DTTOR = 0.05
! Major radius of each gyrotron source (cm)
XECECH(1) = 238.0
XECECH(2) = 238.0
XECECH(3) = 231.0
XECECH(4) = 231.0
XECECH(5) = 236.1
XECECH(6) = 236.1
XECECH(7) = 236.1
XECECH(8) = 236.1
!
! Elevation above midplane of each gyrotron source (cm)
ZECECH(1) = 0.0
ZECECH(2) = 0.0
ZECECH(3) = 0.0
ZECECH(4) = 0.0
ZECECH(5) = 32.0
ZECECH(6) = 32.0
ZECECH(7) =-32.0
ZECECH(8) =-32.0
! Each gyrotron frequency in Hz (if not using UFILE)
FREQECH(1) = 1.40E+11
FREQECH(2) = 1.40E+11
FREQECH(3) = 1.40E+11
FREQECH(4) = 1.40E+11
FREQECH(5) = 1.40E+11
FREQECH(6) = 1.40E+11
FREQECH(7) = 1.40E+11
FREQECH(8) = 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.001
TECHON(2) = 0.351
TECHON(3) = 0.251
TECHON(4) = 1.501
TECHON(5) = 0.551
TECHON(6) = 0.551
TECHON(7) = 0.551
TECHON(8) = 0.551
!
! time when the EC is turned off.
! This is overwritten by the time traces in the UFILES
TECHOFF(1) = 5.498
TECHOFF(2) = 5.348
TECHOFF(3) = 5.248
TECHOFF(4) = 5.498
TECHOFF(5) = 5.548
TECHOFF(6) = 5.548
TECHOFF(7) = 5.548
TECHOFF(8) = 5.548
!
! Power on each gyrotron [Watt]
! Note: the numbers here are examples.
POWECH(1) = 1.0E+06
POWECH(2) = 1.0E+06
POWECH(3) = 1.0E+06
POWECH(4) = 1.0E+06
POWECH(5) = 1.0E+06
POWECH(6) = 1.0E+06
POWECH(7) = 1.0E+06
POWECH(8) = 1.0E+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) = 99.00
!
! 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) = 186.0
! To provide the azimuthal angle via UFILES, add these lines in the namelist
PREECB = ‘’
EXTECB = ‘’
!
!
! Fraction of EC power in O-mode (ASDEX-U is using X-mode, so this should be =0)
RFMODECH(1) = 0.0
!
!=====================================
! settings for TORBEAM
! in addition to the common settings, TORBEAM needs the following
NLTORBEAM = .T
NLTORBEAM_VERBOSE = .F ! T. to write files for running standalone (usually not needed)
NTOB_NPROFVW = 25
NTOB_MMAX = 159
NHARMTOR = 2 ! to calculate up to the second harmonics
NLAUNCHECH = 0 ! if the angles above are to be interpreted with the TRANSP convention (recommended for direct comparison with TORAY and GENRAY)
! initial principal horizontal beam width (the same for each gyrotron)
ECB_WIDTH_HOR(1) = 2.97
! initial principal vertical beam width
ECB_WIDTH_VERT(1) = 2.97
! initial principal horizontal curvature
ECB_CURV_HOR(1) = 129.4
! initial principal vertical curvature
ECB_CURV_VERT(1) = 129.4
!=====================================
! settings for TORAY-GA
! in addition to the common settings, TORAY-GA needs the following
NLTORAY = .T. ! to use TORAY
NPROFTOR = 41
PHAIECH(1) = 185.9
THETECH(1) = 99.0
! Damping model
NDAMPECH(1)=2
NDAMPECH(2)=2
NDAMPECH(3)=2
NDAMPECH(4)=2
NDAMPECH(5)=2
NDAMPECH(6)=2
! Fraction of EC power launched in O-mode
! Number of rays
NRAYECH(1) = 30
! divergence of beam (at the resonance location)
! this is suspicious - I have seen the same value for every tokamak, including ITER
BHALFECH(1) = 1.7
! beam aspect ratio, same for each beam
BSRATECH(1) = 1.0
! multiplier for the ECCD, applied to the EC output
EFFECH(1) = 1.0
! Optional parameters
NGAFITTOR = 1
SMAXTOR = 330.0
DSTOR = 0.5
DSMINTOR = 0.25
FDOUTTOR = 5.0
POWINCTOR = 1.0e13
RELERRTOR = 5.0e-5
ABSERRTOR = 5.0e-5
MN0TOR = 32
NGZNTOR = 4
MRAYTOR = 1, 5, 12, 12, 20, 24, 26
CRTOR = 0.0, 0.1, 0.05, -0.05, 0.05, -0.025, 0.025
MODELCTOR = 4
PWRFMNTOR = 0.001
NLCQLDAT = .F.
!================================================================
! 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
493,1 Bot