Question about having a fiducial bunch in a ring with bunches from sdds file
Posted: 06 Feb 2020, 13:23
Hi,
I am doing ring simulations for long range wakes and ion effects. I would like to include a first fiducial bunch while using n_passes_fiducial=1 in the run_control command. The bunches are from an SDDS file, so I am using the sdds_beam command. This works fine if I follow the example from the folder 'twoBunchPhasing', where each bunch is a separate page, n_steps in run_control is set to the number of pages, and track_pages_separately=1 in sdds_beam.
Is this the only way to have the fiducial bunch treated differently from the other bunches? If I put all the particle data in a single page and set use_bunched_mode=1 in sdds_beam, the particles in all the bunches are tracked in the same step and only one pass is simulated regardless of how n_passes is set. Does it make any difference for long range wake field calculations if the bunch train is simulated in a single 'step' or as multiple steps? I do set the RF cavities to use FIDUCIAL="FIRST" but I'm uncertain if that means the phases are only set the first time the cavity sees any bunch, or if the first bunch continually updates the RF phase every turn around the ring. Does specifying the fiducialization in the RF cavity elements make it unnecessary to use n_passes_fiducial=1 even in a ring?
Example files are attached, just slightly modified from twoBunchPhasing.
Thanks,
Gregg
I am doing ring simulations for long range wakes and ion effects. I would like to include a first fiducial bunch while using n_passes_fiducial=1 in the run_control command. The bunches are from an SDDS file, so I am using the sdds_beam command. This works fine if I follow the example from the folder 'twoBunchPhasing', where each bunch is a separate page, n_steps in run_control is set to the number of pages, and track_pages_separately=1 in sdds_beam.
Is this the only way to have the fiducial bunch treated differently from the other bunches? If I put all the particle data in a single page and set use_bunched_mode=1 in sdds_beam, the particles in all the bunches are tracked in the same step and only one pass is simulated regardless of how n_passes is set. Does it make any difference for long range wake field calculations if the bunch train is simulated in a single 'step' or as multiple steps? I do set the RF cavities to use FIDUCIAL="FIRST" but I'm uncertain if that means the phases are only set the first time the cavity sees any bunch, or if the first bunch continually updates the RF phase every turn around the ring. Does specifying the fiducialization in the RF cavity elements make it unnecessary to use n_passes_fiducial=1 even in a ring?
Example files are attached, just slightly modified from twoBunchPhasing.
Thanks,
Gregg