Search found 51 matches

by duanz
11 Nov 2019, 03:06
Forum: Feature Requests
Topic: Gaussian beam initialization with moments_output results
Replies: 3
Views: 39885

Re: Gaussian beam initialization with moments_output results

Hi Michael, There is one small inconsistancy when I tried to initialize a beam with bunched_beam by setting use_moments_output_values=1, the particleIDs of the generated bunch are all zero, in contrast, setting use_twiss_command_values=1 produces a bunch with particleID ranging from 1 to number of p...
by duanz
08 Oct 2019, 10:38
Forum: Bugs
Topic: Setting Expand_Hamiltonian to 1 of a CSBEND
Replies: 3
Views: 10694

Re: Setting Expand_Hamiltonian to 1 of a CSBEND

Hi Michael,

I just downloaded the latest version of elegant, and now the bug is gone. Thanks for your kind help!

Best,

Zhe
by duanz
29 Sep 2019, 03:05
Forum: Bugs
Topic: Setting Expand_Hamiltonian to 1 of a CSBEND
Replies: 3
Views: 10694

Setting Expand_Hamiltonian to 1 of a CSBEND

Hi Michael, It appears that setting expand_hamiltonian to 1 of a CSBEND produces incorrect result during tracking, for the latest 2019.2.1 version. In the attached example, we compared the results of tracking a particle through a CSBEND w/ expand_hamiltonian set to 1 and 0 (default value), a nontriv...
by duanz
04 Sep 2019, 18:07
Forum: Ring Tracking
Topic: Closed orbit calculation with BMXYZ elements
Replies: 3
Views: 6447

Re: Closed orbit calculation with BMXYZ elements

Hi Michael,

I just tried the newest version of elegant, this problem was gone. Thank you for your kind help~

Cheers,

Zhe
by duanz
13 Aug 2019, 04:25
Forum: Ring Tracking
Topic: Closed orbit calculation with BMXYZ elements
Replies: 3
Views: 6447

Closed orbit calculation with BMXYZ elements

Dear Michael and all, I included in a ring lattice two BMXYZ elements each with a 3-D field map, and wanted to study the effect of these field maps on the closed orbit, emittance, etc. One thing I couldn't understand now is that the second BMXYZ element seems to have no effect on the closed orbit. I...
by duanz
11 Nov 2018, 23:52
Forum: Bugs
Topic: Inconsistent sign convention of dipole etilt and quadrupole tilt
Replies: 0
Views: 12677

Inconsistent sign convention of dipole etilt and quadrupole tilt

Hi Michael, In the attached example, I tried to add an ETILT error of 0.01 rad to a CSBEND, and a TILT error to a KQUAD. I assume elegant follows the same local reference coordinate system as in MAD. Then tracking results seem to indicate a positive ETILT rotates a CSBEND in the counter-clockwise di...
by duanz
03 Oct 2018, 10:19
Forum: Installation
Topic: sddsplot issue in macOS 10.14
Replies: 8
Views: 54840

Re: sddsplot issue in macOS 10.14

Hi Soliday, Thank you for your prompt reply! I have set "export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace" by default, and this worked for macOS 10.13 before I upgraded to macOS 10.14. Anyway, I can still export the sddsplot results to png files, just a little bit inconvenient. Best, Zhe
by duanz
03 Oct 2018, 03:15
Forum: Installation
Topic: sddsplot issue in macOS 10.14
Replies: 8
Views: 54840

sddsplot issue in macOS 10.14

Hi, I've upgraded my MacBook to the latest macOS 10.14, but I could no longer run sddsplot properly. For example, when I run "sddsplot -col=s,betax Basic.twi", I got an warning of "Warning: XmManager ClassInitialize: XmeTraitSet failed", followed by the following Error info: Error: attempt to add no...
by duanz
17 Jul 2018, 02:36
Forum: Ring Tracking
Topic: Different results in tracking with impedance vs. tracking with wake
Replies: 7
Views: 12096

Re: Different results in tracking with impedance vs. tracking with wake

Dear Mina and Michael,

We did use CST to obtain the impedance and used Pelegant to do the tracking w/ impedance. I had a short note regarding the sign conventions, as shown in the attached files. I hope this helps.

Best,


Zhe
by duanz
26 Oct 2017, 11:58
Forum: Installation
Topic: sddsplot libpng issue
Replies: 2
Views: 12605

Re: sddsplot libpng issue

The problem is solved now, thank you!

Best,

Zhe