problem with CSBEND

Moderators: cyao, michael_borland

Post Reply
ccwang
Posts: 12
Joined: 09 Jan 2009, 05:10

problem with CSBEND

Post by ccwang » 15 Jan 2009, 06:29

Hi,

Recently, I met a problem with CSBEND. When I set the bending angle "ANGLE=0.0", it seems elegant can't calculate the betatron tune. Does anyone have comment on this? Thanks.

Chinchi

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

Re: problem with CSBEND

Post by michael_borland » 15 Jan 2009, 09:43

Chinchi,

Perhaps your lattice is unstable without the focusing from the bending magnet. I tried an example with a four-dipole chicane and was able to vary the angle from a nonzero value to zero without a problem, but this will be lattice-specific. My example files are attached.

--Michael
Attachments
chicane.lte
(226 Bytes) Downloaded 254 times
run.ele
(543 Bytes) Downloaded 238 times

ccwang
Posts: 12
Joined: 09 Jan 2009, 05:10

Re: problem with CSBEND

Post by ccwang » 15 Jan 2009, 20:27

Dear Michael,

Thanks a lot! Actually, I am using CSBEND as a combined quadrupole and sextuple.

QF1: CSBEND, L=0.15, ANGLE=0.0, K1=1.126772404841, &
K2=2.575468751638, FINT=0.0

Is it possible due to including quadrupole and sextupole components?

Best wishes,
Chinchi

ccwang
Posts: 12
Joined: 09 Jan 2009, 05:10

Re: problem with CSBEND

Post by ccwang » 15 Jan 2009, 20:55

Hi,

I have one more question. When I set FINT=0.0 for my CSBEND, the parameters in the twiss file is not change. It seems strange. Is there any related parameters I should deal with also?

Thanks again.

Chinchi

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

Re: problem with CSBEND

Post by michael_borland » 16 Jan 2009, 09:21

Chinchi,

Actually, having K1 or K2 non-zero will cause a problem when the ANGLE is set to zero. If ANGLE=0, elegant treats the element like a drift space. This is a bug that I'll try to fix in the next release. Meanwhile, you can use the KQUSE element (combined quad/sext) or set angle to a very small, non-zero value.

FINT won't have any effect unless you set HGAP to a non-zero value.

--Michael

Post Reply