Hello,
I encountered the following problem when using FTRFMODE for multi-bunch simulations.
"error: No available particle for RF cavity fiducilization"
I tried setting the factor for FTRFMODE to be very small and it still occurred.
My bunch length is about 2ps, and I set BIN_SIZE=0.3ps and N_BINS=200 to cover the entire beam.
Were my parameters wrong?
Thank you.
Problems on using FTRFMODE
Moderators: cyao, michael_borland
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Problems on using FTRFMODE
The problem is that you have CHANGE_T=1 on your RFCA elements. This can only be used if all rf elements (including RFMODE, TRFMODE, etc.) are harmonically-related. Since that isn't the case, it introduces a problem with propagation of the rf phasors for *RFMODE elements.
--Michael
--Michael
Re: Problems on using FTRFMODE
Hello Michael,
Thank you for your clarification.
I also notice that 'pCetnral0' in Twiss output does not change, and therefore Twiss outputs are wrong.
Is there a way to fix this problem?
Regards
Wei-Hou
Thank you for your clarification.
I also notice that 'pCetnral0' in Twiss output does not change, and therefore Twiss outputs are wrong.
Is there a way to fix this problem?
Regards
Wei-Hou
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Problems on using FTRFMODE
Wei-Hou,
Yes, you need to remove the following statement:
You have CHANGE_P0=1 in the lattice file, which is what you want to keep.
--Michael
Yes, you need to remove the following statement:
Code: Select all
&alter_elements name=*, type=RFCA, item=CHANGE_P0, value = 0 &end
--Michael
Re: Problems on using FTRFMODE
Hello Michael,
According to this thread, viewtopic.php?f=12&t=1117
Isn't CHANGE_P0 has to be zero in order to be used together with the momentum profile that was first obtained with single bunch tracking?
Thanks.
Regards
Wei Hou
According to this thread, viewtopic.php?f=12&t=1117
Isn't CHANGE_P0 has to be zero in order to be used together with the momentum profile that was first obtained with single bunch tracking?
Thanks.
Regards
Wei Hou
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Problems on using FTRFMODE
Wei-Hou,
Sorry, I didn't notice that you were loading an energy profile.
There does seem to be a bug in the twiss computation for this case. I'll fix it for the next release. The tracking results should be fine.
--Michael
Sorry, I didn't notice that you were loading an energy profile.
There does seem to be a bug in the twiss computation for this case. I'll fix it for the next release. The tracking results should be fine.
--Michael
Re: Problems on using FTRFMODE
Hello Michael,
Yes, Twiss parameters of the beam ( betaxBeam, etc) looks fine.
Thanks, keep me posted.
Regards
Wei Hou
Yes, Twiss parameters of the beam ( betaxBeam, etc) looks fine.
Thanks, keep me posted.
Regards
Wei Hou