Hello,
we are trying to run adiabatic simulations using CGYRO, here is an example input file:
AE_FLAG = 1
N_ENERGY = 8
E_MAX = 8
N_XI = 32
N_THETA = 32
N_RADIAL = 64
N_FIELD = 1
DELTA_T = 0.01
DELTA_T_METHOD = 1
AMP = 0.01
PRINT_STEP = 200
MAX_TIME = 1000.0
FREQ_TOL = 0.01
KY = 0.030000000000000002
EQUILIBRIUM_MODEL = 2
RMIN = 0.6367692524514235
RMAJ = 1.9625016348394586
KAPPA = 2.5600490233845186
S_KAPPA = 0.015159986683600855
DELTA = 0.28311883245633646
S_DELTA = 0.2801453728892607
SHIFT = -0.3991883206232521
Q = 4.205681423
S = 1.108070285
BETA_STAR_SCALE = 1.0
COLLISION_MODEL = 4
Z_EFF = 1.0
Z_EFF_METHOD = 1
N_SPECIES = 1
DENS_AE = 1.0
TEMP_AE = 1.0
MASS_AE = 0.000272308510742333
DLNNDR_AE = 0.947190717
DLNTDR_AE = 0.359540884
Z_1 = 1
DENS_1 = 1.0
TEMP_1 = 1.0328837640672761
MASS_1 = 1.0
DLNNDR_1 = 0.947190717
DLNTDR_1 = 0.680878947
NONLINEAR_FLAG = 1
BOX_SIZE = 6.96221
N_TOROIDAL = 64
TOROIDALS_PER_PROC = 16
THETA_PLOT = 32
PX0 = 0.0
FIELD_PRINT_FLAG = 1
MOMENT_PRINT_FLAG = 1
ZMAG = 0.0
DZMAG = 0.0
IPCCW = -1.0
BTCCW = -1.0
MACH = 0.0
GAMMA_P = 0.0
GAMMA_E = 0.0
However the job seems to progress very slowly and only completes around 80 steps (ie the latest restart file we have is bin.cgyro.restart 80.00) out of the expected 1000 in about 12 hours. We were unable to spot errors or anything unusual in the logs that would explain the cause of the simulation not progressing, as an example this is the out.cgyro.info output file
INFO: (CGYRO) Velocity order 1
INFO: (CGYRO) MPI rank alignment 2
INFO: (CGYRO) Multiple toroidal harmonics
INFO: (CGYRO) Ion direction: omega < 0
INFO: (CGYRO) ExB shear: OFF
INFO: (CGYRO) RESOLUTION WARNING -- n_radial not a multiple of box_size.
INFO: (CGYRO) Time integrator: Cash-Karp 6:5(4) [adaptive]
INFO: (CGYRO) Using adiabatic electrons
INFO: (CGYRO) Profile model: local input (input.cgyro)
INFO: (CGYRO) Equilibrium: Miller Extended Harmonic (MXH)
INFO: (CGYRO) Electrostatic fluctuations (Phi)
INFO: (CGYRO) Rotation terms: O(mach) only (traditional GYRO)
INFO: (CGYRO) Collision model: Sugama
INFO: (CGYRO) Collision terms: L D Rm Re kp ions field
INFO: (CGYRO) x x x x x x x
n_theta | n_species | n_energy | n_xi
32 1 8 32
nc_loc | nv_loc | nsplit | n_jtheta | n_MPI | n_OMP
256 32 256 8 32 1
n Delta Max L/rho n_fft
kx*rho: 64 0.035 1.079 180.49 96 2(5)3(1)
ky*rho: 64 0.030 1.890 209.44 192 2(6)3(1)
D-theta: 6 D-radial: 6 D-alpha: 6 [dissipation order]
up_theta: 1.0 up_radial: 1.0 up_alpha: 0.0 [dissipation strength]
C(theta): 0.0
r/a 0.63677 R/a 1.96250 q 4.20568 zmag 0.00000 kappa 2.56005
shift -0.39919 s 1.10807 dzmag 0.00000 s_kappa 0.01516
c1 0.00000 s_c1 0.00000 delta 0.28312 s_delta 0.28015
c2 0.00000 s_c2 0.00000 zeta 0.00000 s_zeta 0.00000
gamma_e: 0.000E+00 gamma_p: 0.000E+00 mach: 0.000E+00 [rho/a]: 4.542E-03
betae: 0.000E+00 beta_*: 0.000E+00 lamb_*: 0.000E+00 [z_eff]: 1.000E+00
i z n/n_norm T/T_norm m/m_norm a/Ln a/Lt nu
1 1 1.000E+00 1.033E+00 1.000E+00 9.472E-01 6.809E-01 1.572E-03
INFO: (CGYRO) GPU-aware code triggered.
INFO: (CGYRO) NL using FFT batching of 256, 128 and 128
Interestingly we have a corresponding simulation for kinetic electrons, the main differences in the input files being no AE_FLAG, N_FIELD = 3, and N_SPECIES = 2, where we then consequently defines MASS, TEMP, DENS... for species 1 and 2, and add BETAE. These simulations run perfectly fine and complete all the 1000 steps in a few hours.
Any help or suggestion much appreciated, thanks in advance!
Hello,
we are trying to run adiabatic simulations using CGYRO, here is an example input file:
However the job seems to progress very slowly and only completes around 80 steps (ie the latest restart file we have is bin.cgyro.restart 80.00) out of the expected 1000 in about 12 hours. We were unable to spot errors or anything unusual in the logs that would explain the cause of the simulation not progressing, as an example this is the out.cgyro.info output file
Interestingly we have a corresponding simulation for kinetic electrons, the main differences in the input files being no AE_FLAG, N_FIELD = 3, and N_SPECIES = 2, where we then consequently defines MASS, TEMP, DENS... for species 1 and 2, and add BETAE. These simulations run perfectly fine and complete all the 1000 steps in a few hours.
Any help or suggestion much appreciated, thanks in advance!