QuickPIC-OpenSource
QuickPIC-OpenSource copied to clipboard
tilted particle bunch
How can one input a driver bunch which is tilted wrt to the propagation axis into QuickPIC? Is it possible?
Hello @berceanu, thanks for your attention! Unfortunately, the current version does not support beams are initialized in that way.
I realized I may misunderstand your question. Did you mean the beam initially has a transverse position offset wrt the axis or propagates at an angle? If the former, you may use the parameters "centroid_x" and "centroid_y" to set up. If the latter, the current code does not support yet, but it would be straightforward for you to modify that part of code.
Sorry, I realize I wasn't so clear in my initial question. What I mean is this: https://imgur.com/a/59LIfzP
Can't we import from a file the positions and momenta of all the macroparticles of the driver bunch?
It doesn't support particle import yet.
Can't we import from a file the positions and momenta of all the macroparticles of the driver bunch?
Actually, we have a beam profile (beam profile number is 3) that can import external particle data into QuickPIC. You can find that in the dev branch. However, we did not provide any instructions for that in the wiki page. If you want to try that, please let me know.
Hi Weiming, thanks for your reply. Before delving further into this issue, I would like to know if QuickPIC
(and the quasistatic approximation in general) is applicable to this problem -- we are dealing with a 90 MeV electron bunch, that is about 3 mm long and is propagating in a uniform plasma for 3 cm.