train of bunches with different charge

Moderators: cyao, michael_borland

Post Reply
martin
Posts: 6
Joined: 11 Dec 2012, 10:01

train of bunches with different charge

Post by martin » 19 Aug 2013, 10:54

Hi Michael and others,

I would like to use a train of bunches, each bunch represented by one macro particle but with different charge. Is that possible?

I have created sdds files (to be used in sdds_beam), similar as in the example CBI. It has a parameter "Charge" for each page. Does it define the total charge of particles listed in that page?

Also, what effect does the element "CHARGE" then has if I apply it to change the total charge of the beam?

Best regards,
Martin

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: train of bunches with different charge

Post by michael_borland » 16 Sep 2013, 08:26

Martin,

Unfortunately, elegant doesn't have the ability to simulate particles with variable charge. The only workaround I can suggest is to generate multiple identical particles to represent ratios of charge. It's not very efficient.

--Michael

martin
Posts: 6
Joined: 11 Dec 2012, 10:01

Re: train of bunches with different charge

Post by martin » 16 Sep 2013, 10:09

Dear Michael,

thank you for your reply. Right, I have also thought of doing that. I think it will do the trick for my purpose.

Best,
Martin

Post Reply