Dear Michael,
I'm studying transverse coupled-bunch instability from long-range resistive-wall wake. In my tracking, I only used ILMATRIX and LRWAKE elements, together with several watch points for each bunch. I calculated the maximum growth rate of each bunch. Then the growth rate is exchanged to 1A.
At first I tracked with only one-particle per bunch, and the result is consistent with the analytic formula, then I increased the number of particles per bunch to 10,000. Then the growth rate of each particle decreases greatly (10 times smaller). But the other parameters are all the same. The exchanged growth rate at 1A is also different when the beam current in tracking is different. Do you have any idea what the reason might be?
Best regards,
Siwei
Tracking with LRWAKE and ILMATRIX
Moderators: cyao, michael_borland
-
- Posts: 21
- Joined: 27 Jun 2017, 07:28
Tracking with LRWAKE and ILMATRIX
- Attachments
-
- 10000particles.zip
- Tracking files
- (4.4 MiB) Downloaded 276 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Tracking with LRWAKE and ILMATRIX
Siwei,
Can you supply the file bunchid-offset, used by the sdds_beam command?
Thanks--Michael
Can you supply the file bunchid-offset, used by the sdds_beam command?
Thanks--Michael
-
- Posts: 21
- Joined: 27 Jun 2017, 07:28
Re: Tracking with LRWAKE and ILMATRIX
Dear Michael,
I wanted to attach the bunch file at first but it was too large and failed to be uploaded.
So I attached the script to generate the bunch. The file makebunch.ele uses bunched_beam to generate the bunch file for a single bunch bunchid-10000.out. And trackSB1.ele uses sdds_beam and duplicate the single bunch and save the multi-bunch file bunchid-offset.out. The final bunch file is nearly 500MB.
Many thanks,
Siwei
I wanted to attach the bunch file at first but it was too large and failed to be uploaded.
So I attached the script to generate the bunch. The file makebunch.ele uses bunched_beam to generate the bunch file for a single bunch bunchid-10000.out. And trackSB1.ele uses sdds_beam and duplicate the single bunch and save the multi-bunch file bunchid-offset.out. The final bunch file is nearly 500MB.
Many thanks,
Siwei
- Attachments
-
- makebunch.zip
- (478.46 KiB) Downloaded 246 times
-
- Posts: 21
- Joined: 27 Jun 2017, 07:28
Re: Tracking with LRWAKE and ILMATRIX
Dear Michael
It seems the problem comes from when I duplicated the bunch to make the beam, I give a minus value to the duplicate_stagger[4], making the bunches in the beam have a decreasing sequence in time. In this case it seems LRWAKE is dealing with the beam as a single bunch, so it gave a much smaller growth rate. I removed the minus sign in sdds_beam and generated a new beam, the result seems to be correct.
Best regards,
Siwei
It seems the problem comes from when I duplicated the bunch to make the beam, I give a minus value to the duplicate_stagger[4], making the bunches in the beam have a decreasing sequence in time. In this case it seems LRWAKE is dealing with the beam as a single bunch, so it gave a much smaller growth rate. I removed the minus sign in sdds_beam and generated a new beam, the result seems to be correct.
Best regards,
Siwei
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Tracking with LRWAKE and ILMATRIX
Siwei,
Good to know that you solved the problem.
It makes sense that having a negative stagger would cause problems. It corresponds to the higher-numbered bunches arriving earlier in time. I'll modify the code to detect this and issue a warning.
Thanks.
--Michael
Good to know that you solved the problem.
It makes sense that having a negative stagger would cause problems. It corresponds to the higher-numbered bunches arriving earlier in time. I'll modify the code to detect this and issue a warning.
Thanks.
--Michael