My simulation setup includes an ion source, a LEBT, and an RFQ. While running the simulation with Partran and Toutatis, I observed a discontinuity in the longitudinal emittance within the RFQ. Specifically, the emittance drops to a lower value midway through the RFQ and then recovers near the end. I have included a plot illustrating this behavior in the attachment. This phenomenon appears consistently in simulations involving 10,000 and 500,000 particles. However, when the simulation is run with only 1,000 particles, the discontinuity does not occur, and the emittance remains relatively low.
I am conducting these simulations using the Tracewin GUI on Windows, utilizing Toutatis. I included relevant files for the simulation with 10,000 particles.
Could you assist me in understanding the cause of this discrepancy?
Kind regards,
Jeroen
Drop in longitudinal emittance in RFQ
Drop in longitudinal emittance in RFQ
- Attachments
-
- Fieldmaps.zip
- (217.16 MiB) Downloaded 16 times
-
- Emitt_10000part.png (70 KiB) Viewed 250 times
-
- Emitt_1000part.png (64.63 KiB) Viewed 250 times
-
- i1is.ini
- (43.77 KiB) Downloaded 13 times
-
- i1is.dat
- (24.37 KiB) Downloaded 14 times
-
- i1is.cal
- (383 Bytes) Downloaded 15 times
-
- partran1.out
- (370.38 KiB) Downloaded 12 times
Re: Drop in longitudinal emittance in RFQ
Dear Jeroen,
As can be seen from your simulation below, a certain number of particles are detached in energy, making the longitudinal emittance larger and larger, until one of them is lost on the wall of the RFQ, abruptly resetting the emittance to a lower value. To overcome this problem in calculating emittances, it is necessary to exclude particles above a certain ΔW, for partan and for Toutatis (see picture below). This corrects the display problem.
On the other hand, nothing to do with this problem, I noticed that you were using the ‘Use aperture element (Envelope)’ option. This option was causing code stability problems in the current version, I've fixed this in the latest version on the site
Regards,
Didier
As can be seen from your simulation below, a certain number of particles are detached in energy, making the longitudinal emittance larger and larger, until one of them is lost on the wall of the RFQ, abruptly resetting the emittance to a lower value. To overcome this problem in calculating emittances, it is necessary to exclude particles above a certain ΔW, for partan and for Toutatis (see picture below). This corrects the display problem.
On the other hand, nothing to do with this problem, I noticed that you were using the ‘Use aperture element (Envelope)’ option. This option was causing code stability problems in the current version, I've fixed this in the latest version on the site
Regards,
Didier
Re: Drop in longitudinal emittance in RFQ
Dear Didier,
Thank you so much for clearing this out for us. This really helped us understand the problem and improve our simulations.
Cheers,
Jeroen
Thank you so much for clearing this out for us. This really helped us understand the problem and improve our simulations.
Cheers,
Jeroen