I am using Elegant 2021.4.0 and would like to do some beam loading calculations using the RFMODE element but I am struggling to go from single bunch to multiple bunches.
I tried generating a beam with both the generateBunch/generateBunchTrain scripts (viewtopic.php?f=13&t=1151&p=4762&hilit= ... rain#p4762) and also using sdds_beam but I am always getting the same error so I think it is liked to the RFMODE setup and not how I setup the beam.
The RFMODE element (here a passive harmonic cavity) is defined using:
Code: Select all
rf: rfca, VOLT=1.8e6, PHASE=166.55978566105205, FREQ=351820131.44377375, FIDUCIAL="light"
rf_h: rfmode, Q=1e8,Rs=90e8,freq=1407420550.0705662,charge=5.912111838384184e-07,bin_size=1e-12,&
n_bins=2000,ramp_passes=0,record="%s.rec",sample_interval=10, PRELOAD=1, PRELOAD_CHARGE=5.912111838384184e-07, BUNCHED_BEAM_MODE=1
Code: Select all
20 of 20 particles outside of binning region in RFMODE RF_H #1. Consider increasing number of bins. Also, particleID assignments should be checked.
Thanks,
Alexis