Search found 43 matches

by petrenko
29 Mar 2020, 04:36
Forum: General
Topic: Local coordinates for 3D beamline layout
Replies: 6
Views: 33957

Re: Local coordinates for 3D beamline layout

Dear Marcello, The script is included into the Elegant distribution as view3dGeometry program. This program can be also executed as a regular tcl-script once you comment the oagtclsh-specific parts on top of the script. Please see the attached example. In order to display beamline in 2d you can also...
by petrenko
28 Jun 2018, 09:28
Forum: Ring Tracking
Topic: Bunch shape evolution in presence of longitudinal wake potentials
Replies: 4
Views: 5677

Re: Bunch shape evolution in presence of longitudinal wake potentials

Dear Sara, I'm glad my example was useful! To understand the beam current calculation you can unfold this sequence of commands and do it step-by-step: exec \ sddshist $w -pipe=out \ -dataColumn=dt -sizeOfBins=[expr {$bin_size_ds/3.0e8}] -statistics \ -lowerLimit=[expr {$s_min/3.0e8}] -upperLimit=[ex...
by petrenko
26 Jun 2018, 11:37
Forum: Ring Tracking
Topic: Bunch shape evolution in presence of longitudinal wake potentials
Replies: 4
Views: 5677

Re: Bunch shape evolution in presence of longitudinal wake potentials

Dear Sara,

I did a similar tracking for the CERN SPS beam using Elegant.
movie.gif
Longitudinal dynamics
Please see the attached files for details -- I hope some of it could be useful to you.

Best regards,
/Alexey
by petrenko
11 Dec 2017, 09:24
Forum: Bugs
Topic: SIGSEGVProgram Crash with FTABLE Element
Replies: 13
Views: 9398

Re: SIGSEGVProgram Crash with FTABLE Element

Many thanks, everything works in my case as well!
by petrenko
06 Dec 2017, 04:28
Forum: Bugs
Topic: SIGSEGVProgram Crash with FTABLE Element
Replies: 13
Views: 9398

Re: SIGSEGVProgram Crash with FTABLE Element

Dear Michael, We are also encountering a very similar problem!: > (Windows 10) > C:\tmp>elegant awake.ele > elegant.txt > ... > This is elegant 34.0.0, Oct 31 2017, by M. Borland, J. Calvey, ... > ... > Link date: Oct 31 2017 16:49:48, SVN revision: 24662M > ... > generating bunch 1 > tracking 50000...
by petrenko
22 Jul 2017, 07:31
Forum: General
Topic: Interactive plots of Elegant output in Jupyter
Replies: 1
Views: 2036

Interactive plots of Elegant output in Jupyter

Dear colleagues, I thought this might be useful to other people as well: There is a bunch of interesting python packages for data visualization (bokeh, holoviews, datashader, ipyvolume, etc.) which produce nice interactive plots as html-files with some javascript. For example here is how to produce ...
by petrenko
12 Dec 2012, 08:06
Forum: Ring Tracking
Topic: many-turn tracking with time dependent modulations
Replies: 6
Views: 4125

Re: many-turn tracking with time dependent modulations

Dear Martin, I've recently made tracking simulations of bunch rotation (RF-gymnastics) in the SPS using Elegant. The attached example might be helpful to you since I'm using &modulate_elements with external file here. Best regards, Alexey ---------------------------------- SPS (LHC injector) has two...
by petrenko
08 Mar 2012, 02:55
Forum: Installation
Topic: view3dgeometry
Replies: 4
Views: 4418

Re: view3dgeometry

Sure, this script was drawing only RFCA elements.
The solution is simply to change this line of the script:
"if [string match "*RFCA*" $ElementType] {""
to
"if [string match "*RF*" $ElementType] {""

/Alexey
by petrenko
07 Mar 2012, 05:35
Forum: Installation
Topic: view3dgeometry
Replies: 4
Views: 4418

Re: view3dgeometry

Dear Charles, Could you post your lattice file or at least ".flr" and ".param"files? For me there seems to be no problem with RF cavities. Please see the attachment for the script (I use it in windows, so I've modified it slightly, therefore there's a chance that I've just removed the problem with m...
by petrenko
28 Feb 2012, 10:19
Forum: Bugs
Topic: ILMATRIX bug
Replies: 2
Views: 15498

Re: ILMATRIX bug

Thanks Michael!

For my simulation linear_chromatic_tracking_setup turned out to be just fine, so this bug was not critical to me.

Of course ILMATRIX is more flexible, so I'll be using this element instead of linear_chromatic_tracking from now on.

/Alexey