QuickPIC-OpenSource icon indicating copy to clipboard operation
QuickPIC-OpenSource copied to clipboard

tilted particle bunch

Open berceanu opened this issue 4 years ago • 7 comments

How can one input a driver bunch which is tilted wrt to the propagation axis into QuickPIC? Is it possible?

berceanu avatar May 19 '20 15:05 berceanu

Hello @berceanu, thanks for your attention! Unfortunately, the current version does not support beams are initialized in that way.

lifei07 avatar May 20 '20 00:05 lifei07

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.

lifei07 avatar May 20 '20 02:05 lifei07

Sorry, I realize I wasn't so clear in my initial question. What I mean is this: https://imgur.com/a/59LIfzP

berceanu avatar May 20 '20 07:05 berceanu

Can't we import from a file the positions and momenta of all the macroparticles of the driver bunch?

berceanu avatar May 20 '20 10:05 berceanu

It doesn't support particle import yet.

lifei07 avatar May 24 '20 04:05 lifei07

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.

caozigao avatar May 25 '20 06:05 caozigao

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.

berceanu avatar May 28 '20 15:05 berceanu