Can bunched_beam create a KV beam?

Moderators: cyao, michael_borland

Post Reply
dondreka
Posts: 11
Joined: 25 Apr 2012, 07:38

Can bunched_beam create a KV beam?

Post by dondreka » 10 Sep 2013, 10:57

Hi! I'm trying to do slow extraction simulations from a synchrotron using elegant and got a little confused by the behaviour of the limit_in_4d flag to the bunched_beam command. What I actually want to do is to create something like a KV beam in the transverse planes. To this end, I choose "uniform-ellipse" as distribution type for x and y. The transverse hard edge emittances are asymmetric, ex=50um, ey=8um (well, it's a hadron machine). When I set limit_in_4d=0, I get the expected ellipses in (x,xp) and (y,yp), and sddsanalyzebeam reproduces these values. However, the beam distribution in (x,y) is a rectangle, where I would want a flat ellipse. Therefore, I tentatively limit_in_4d=1. But this changes the emittances of the distribution: sddsanalyzebeam now reports ex=32um and ey=14um. I tried to figure out how the limit_in_4d works from the documentation unsuccessfully.
So here are my questions:
  • Am I missing something essential?
  • What exactly does limit_in_4d=1 do?
  • Is it possible to create a KV beam using the bunched_beam command after all?
Best regards, David

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

Re: Can bunched_beam create a KV beam?

Post by michael_borland » 16 Sep 2013, 08:50

David,

Try adding enforce_rms_values[0] = 2*1, to your &bunched_beam command. This will give you the desired emittances.

--Michael

dondreka
Posts: 11
Joined: 25 Apr 2012, 07:38

Re: Can bunched_beam create a KV beam?

Post by dondreka » 17 Sep 2013, 10:07

Michael,
what you suggest works, so thanks for the answer. However, having looked into the manual again, it is not clear to me why this works. Would it be possible to add a few lines to the manual explaining the way limit_in_4d=1 works in mathematical terms?
Cheers, David

Post Reply