Search found 39 matches

by tiansk
14 Oct 2020, 21:25
Forum: Bugs
Topic: moments_output command on Win system
Replies: 3
Views: 8781

moments_output command on Win system

Hi, I am running elegant(Version 2020.4) on Win10 system, the output file of moments_output is empty, the script I tested was in the path :elegantExamples\examples\PAR\moments, which I download from the elegant manual website. When I run the script in the terminal, the output message is like the att...
by tiansk
16 Oct 2019, 07:22
Forum: Ring Tracking
Topic: beam-ion effect
Replies: 4
Views: 3120

Re: beam-ion effect

Hi, Have spend a lot of time to debug the code (during the last several weeks), and suddenly I have realized the problem in the beam-ion effect simulation with the "quesi-strong-strong' model. It is discussed by several researchers that the ions distribution will not with a Gaussian type, where as i...
by tiansk
16 Oct 2019, 01:20
Forum: Ring Tracking
Topic: ion Effects Simulation
Replies: 0
Views: 7386

ion Effects Simulation

Hi, I used the ion_effect command and IONEFFECTS element to simulated the effect of residual gas on beam quality.I used the earlier version(I forgot the version number,maybe elegant 34.3.1),I could get some information,like the ion number increase as the increase of tracking turns.But when I update ...
by tiansk
14 Oct 2019, 07:38
Forum: Ring Tracking
Topic: beam-ion effect
Replies: 4
Views: 3120

beam-ion effect

Hi Recently, I am trying to make a C++ programme for for beam-ion effect simulation. As the first step, I actually follow the approaches used in Elegant. The main steps can be descried as follows (take the weak-strong mode for example). The index k is used to specify the interaction point and the in...
by tiansk
10 Oct 2019, 19:04
Forum: Bugs
Topic: Bend with misalignment
Replies: 3
Views: 6240

Re: Bend with misalignment

Hi Michael, I set the E1 and E2 in CSBEND (E1=E2=ANGLE/2),I upload the files I use!The command used like this: elegant bend.ele -macro=L=1.0972538663939300,ANGLE=0.0238688451731700,E1=0.0119344225865850,E2=0.0119344225865850,DX_B1=0.0003000000000000,DY_B1=0.0,DZ_B1=0.0,TILT_B1=0.0,DX=0.0,DY=0.0,DP=0...
by tiansk
10 Oct 2019, 05:09
Forum: Bugs
Topic: Bend with misalignment
Replies: 3
Views: 6240

Bend with misalignment

Hi Michael, I confirmed the transmission model of bend with single particle tracking,when I set the DX of CSBEND with different values,the output as show in the uploading attachment。The particle initial coordinate at entrance is [0 0 0 0 0 0],the coordinate at exit is plot in the attachment.The intu...
by tiansk
05 Oct 2018, 21:03
Forum: Linac Tracking
Topic: How to calculate the real survey coordinate after a mis-aligned quadrupole
Replies: 2
Views: 4386

Re: How to calculate the real survey coordinate after a mis-aligned quadrupole

Hi, Michael Thanks a lot for your prompt reply. I almost understand your method but still one question. For getting the survey coordinate \Delta_y and setting Dy , what is the role of the column Y from the floor_coordinate option? I am afraid my previous description is no so clear. In my case, the s...
by tiansk
05 Oct 2018, 08:59
Forum: Linac Tracking
Topic: How to calculate the real survey coordinate after a mis-aligned quadrupole
Replies: 2
Views: 4386

How to calculate the real survey coordinate after a mis-aligned quadrupole

Dear All, I am designing a fast kicker-septum system for the beam switchyard of a CW X-FEL. Electron beams are distributed by a series of fast-kickers in vertical direction and then pass though a DC Lamberson septum. Between the kicker and septum there are several quadrupoles for beam matching. Howe...
by tiansk
18 Jul 2018, 00:10
Forum: Momentum Aperture
Topic: Momentum Aperture without sextupole
Replies: 2
Views: 11936

Re: Momentum Aperture without sextupole

Hi,Michael I follow your advice to check all the settings,I found there is one point where the settings is different.In one particle tracking model,I set the MALIGN element with dx=0,dy=0 and dp=0.013,but in the momentum_aperture model,I set x_initial=1e-6,y_initial=1e-6.I think in the momentum_aper...
by tiansk
16 Jul 2018, 21:42
Forum: Momentum Aperture
Topic: Momentum Aperture without sextupole
Replies: 2
Views: 11936

Momentum Aperture without sextupole

Dear All: I want to tracking the Momentum Aperture for a lattice without sextupole to simulate the machine beam-tuning process.Without the sextupole,the chromaticity【dnux/dp (1/(2$gp$r)) = -2.159890e+02】and 【dnuy/dp (1/(2$gp$r)) = -2.921960e+02】 are so big!I used one particle tracking(by using the M...