Motivation
As OPALX begins to support ring simulations, we should revisit the longitudinal distribution-generation capabilities.
In many electron machines, particles occupy only the approximately linear region near the centre of the RF bucket. In hadron machines, however, proton and ion bunches often occupy a significant fraction of the bucket, where the nonlinear RF potential becomes important.
Generating a distribution that is not matched to the RF bucket can lead to longitudinal phase-space filamentation after injection and affect the bunch profile and emittance.
Proposed feature
Add support for generating longitudinal particle distributions matched to the RF bucket and the corresponding machine and RF parameters.
This functionality was available in OPAL. We could investigate migrating and adapting the existing implementation to OPALX as part of the development of ring support.
Motivation
As OPALX begins to support ring simulations, we should revisit the longitudinal distribution-generation capabilities.
In many electron machines, particles occupy only the approximately linear region near the centre of the RF bucket. In hadron machines, however, proton and ion bunches often occupy a significant fraction of the bucket, where the nonlinear RF potential becomes important.
Generating a distribution that is not matched to the RF bucket can lead to longitudinal phase-space filamentation after injection and affect the bunch profile and emittance.
Proposed feature
Add support for generating longitudinal particle distributions matched to the RF bucket and the corresponding machine and RF parameters.
This functionality was available in OPAL. We could investigate migrating and adapting the existing implementation to OPALX as part of the development of ring support.