Search found 1769 matches

by michael_borland
19 Sep 2022, 15:26
Forum: General
Topic: General Physical Aperture
Replies: 2
Views: 84

Re: General Physical Aperture

Marco, There are many ways to define apertures in elegant, each with advantages and disadvantages. You can use various beamline elements APCONTOUR defines an aperture an (x, y) contour. The aperture can be localized or can be applied to downstream elements. ECOL defines an elliptical (or superellipt...
by michael_borland
19 Sep 2022, 15:16
Forum: Ring Tracking
Topic: Setting CWIGGLER
Replies: 8
Views: 2033

Re: Setting CWIGGLER

Using the subdivision feature in CWIGGLER is the same as other elements. You have two options
  • Use the element_divisions parameter of the run_setup command.
  • Use the divide_elements command.
--Michael
by michael_borland
19 Sep 2022, 13:25
Forum: General
Topic: Arbitary charge per bunch with arbitary macro-particles per bunch?
Replies: 3
Views: 134

Re: Arbitary charge per bunch with arbitary macro-particles per bunch?

Seb, There's some infrastructure in elegant to support variable weighting of simulation particles. However, implementing it consistently across the code is a big job that I haven't found time to take on. For example, you'll note in track.h there is a definition of a quantity weightIndex. This gives ...
by michael_borland
19 Sep 2022, 13:22
Forum: Optimization and Matching
Topic: Beta Beating Correction in presence of errors
Replies: 4
Views: 1592

Re: Beta Beating Correction in presence of errors

Sara,

Thanks for your post!

--Michael
by michael_borland
19 Sep 2022, 13:21
Forum: Linac Tracking
Topic: Parameters
Replies: 1
Views: 87

Re: Parameters

I'm not sure what you mean, but perhaps you refer to the lattice parameter in the &run_setup command. That parameter names the file that defines the lattice (the layout of magnets and other components).

In that particular example, the file is called lattice.lte

--Michael
by michael_borland
19 Sep 2022, 13:18
Forum: General
Topic: Wake field and impedance estimation
Replies: 1
Views: 56

Re: Wake field and impedance estimation

You can simulate the effect of impedance on the beam. To actually determine the impedance, you need to use another code, e.g., GDFIDL, CST, ECHO, ABCI, ...

--Michael
by michael_borland
19 Sep 2022, 13:14
Forum: General
Topic: Particles fly off to huge trajectories - any ideas?
Replies: 4
Views: 1506

Re: Particles fly off to huge trajectories - any ideas?

Looking at your files, I don't see any obvious problems. A few things to try: More particles, to see if it is something real or just statistics. Reduce the sigma span of the random number generator used for synchrotron radiation, e.g., &global_settings SR_gaussian_limit = 2 &end I suspect that there...
by michael_borland
19 Sep 2022, 12:07
Forum: General
Topic: Implementation of bunch lengthning and transverse impedance
Replies: 10
Views: 5447

Re: Implementation of bunch lengthning and transverse impedance

Sara,

Yes, I would agree with your conclusions. I'd suggest finer steps in charge at the low end to ensure you aren't underestimating the threshold, which seems quite low.

--Michael
by michael_borland
02 Aug 2022, 11:16
Forum: General
Topic: Implementation of bunch lengthning and transverse impedance
Replies: 10
Views: 5447

Re: Implementation of bunch lengthning and transverse impedance

Sara,

Unless the handles reappear, I wouldn't consider that MWI. It may just be the bunch settling into the rf bucket that is distorted by potential well distortion.

--Michael
by michael_borland
02 Aug 2022, 09:43
Forum: Optimization and Matching
Topic: close orbit and response matrix when random error exist?
Replies: 2
Views: 173

Re: close orbit and response matrix when random error exist?

Chao, The coupled trajectory correction requires that only HMON and VMON elements are present in the beamline, so I converted your lattice. The attached files work for trajectory correction, but the tune correction isn't stable. Is this a ring that is strongly coupled, or a transport line? The coupl...