closed_orbit won't converge with space charge

Moderators: cyao, michael_borland

Post Reply
NGleason
Posts: 1
Joined: 27 Jul 2018, 07:18

closed_orbit won't converge with space charge

Post by NGleason » 27 Jul 2018, 08:16

I'm trying to find a closed orbit on a ring with space charge. I can track with space charge and find a closed orbit without space charge, but when I have an insert_sceffects command it throws an error that says "error: closed orbit did not converge to better than 4.494233e+307 after 500 iterations (requirement is 1.000000e-12)", even with a total charge of 1e-99. Are these commands incompatible or am I doing something wrong? My .ele and .lte files are attached. Thanks in advance for the help!
Attachments
umer1.ele
(927 Bytes) Downloaded 201 times
umer1.lte
(760 Bytes) Downloaded 198 times

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

Re: closed_orbit won't converge with space charge

Post by michael_borland » 27 Jul 2018, 10:56

There is a bug, which is fixed in the attached file if you build from source. Otherwise, the bug will be fixed in the next release.

To be clear, even with this fix, elegant doesn't compute the effect of space charge on the closed orbit. For that, you'll need to perform tracking over many turns.

--Michael
Attachments
do_tracking.c
(184.19 KiB) Downloaded 185 times

Post Reply