TWLA problem and extract transport elements in a cavity
Posted: 14 Nov 2014, 12:33
Dear Michael and ELEGANT experts,
I have several problems/questions about linac models in ELEGANT. Let me describe below:
My goal is to find transport matrix elements (e.g. R5x, x=1,2...,6) within a (traveling-wave) linac. I use TWLA.
Now, assume the frequency is 2856MHz, peak accelerating gradient 25 MV/m, length 3 m, initial phase = 0.1396 rad (used in ELEGANT).
I attach two files (*.ele and *.lte) along with the following questions (Please check them):
Q1. I use a single TWLA element to implement the above situation, and the results work well. However, to achieve my goal, I split the single TWLA element into pieces with PHASE_REFERENCE already set (say, PHASE_REFERENCE=1), the output results become different from those by a single TWLA. I have no idea where I mistake. I set the length of the divided elements TWLA as c/f = (3e8/2856e6) = 0.1m, put a leading split TWLA, and the rest TWLA elements with phase referenced to the leading one.
The final momentum (beta*gamma) is 50.5 for a single TWLA setting, which is expected. However, the final momentum becomes 13.9 and 33 (with and without set PHASE=0.1396 in the split elements), which seem incorrect.
My question is: Where did I mistake and how should I correct such discrepancy?
Q2. It looks $divide_elements does not support TWLA elements yet. Is there an effective way to extract R5x elements within an accelerating cavity from ELEGANT output?
Thanks in advance for the help!
Cheng-Ying
I have several problems/questions about linac models in ELEGANT. Let me describe below:
My goal is to find transport matrix elements (e.g. R5x, x=1,2...,6) within a (traveling-wave) linac. I use TWLA.
Now, assume the frequency is 2856MHz, peak accelerating gradient 25 MV/m, length 3 m, initial phase = 0.1396 rad (used in ELEGANT).
I attach two files (*.ele and *.lte) along with the following questions (Please check them):
Q1. I use a single TWLA element to implement the above situation, and the results work well. However, to achieve my goal, I split the single TWLA element into pieces with PHASE_REFERENCE already set (say, PHASE_REFERENCE=1), the output results become different from those by a single TWLA. I have no idea where I mistake. I set the length of the divided elements TWLA as c/f = (3e8/2856e6) = 0.1m, put a leading split TWLA, and the rest TWLA elements with phase referenced to the leading one.
The final momentum (beta*gamma) is 50.5 for a single TWLA setting, which is expected. However, the final momentum becomes 13.9 and 33 (with and without set PHASE=0.1396 in the split elements), which seem incorrect.
My question is: Where did I mistake and how should I correct such discrepancy?
Q2. It looks $divide_elements does not support TWLA elements yet. Is there an effective way to extract R5x elements within an accelerating cavity from ELEGANT output?
Thanks in advance for the help!
Cheng-Ying