Search found 29 matches
- 02 Oct 2018, 12:56
- Forum: Linac Tracking
- Topic: Frozen model in lscdrift
- Replies: 5
- Views: 5402
Re: Frozen model in lscdrift
Hi Michael, Yes, I noticed the line in lsc.c you showed me, so I basically made the initial particle distribution with xp=yp=0 in the simulations (also for constant beam radius making theory calculations for LSC impedance easier), so there are no position changes due to xp and yp. According to the s...
- 01 Oct 2018, 17:33
- Forum: Linac Tracking
- Topic: Frozen model in lscdrift
- Replies: 5
- Views: 5402
Re: Frozen model in lscdrift
Hi Michael,
I used LSCDRIFT element to introduce energy modulation, then followed EMATRIX to give r56. So the Lattice actually is simply {LSCDRIFT, EMATRIX, LSCDRIFT, EMATRIX, LSCDRIFT, EMATRIX}. What should I do with LSCDRIFT to turn off longitudinal motion ?
Thanks,
Biaobin
I used LSCDRIFT element to introduce energy modulation, then followed EMATRIX to give r56. So the Lattice actually is simply {LSCDRIFT, EMATRIX, LSCDRIFT, EMATRIX, LSCDRIFT, EMATRIX}. What should I do with LSCDRIFT to turn off longitudinal motion ?
Thanks,
Biaobin
- 26 Sep 2018, 20:00
- Forum: Linac Tracking
- Topic: Frozen model in lscdrift
- Replies: 5
- Views: 5402
Frozen model in lscdrift
Hi, I am doing simulations about three-stage microbunching instability study. I used a simple model {drift1,BC1,drift2,BC2,drift3,BC3} (where all three BC are EMATRIX elements to only introduce r56, no compression) to benchmark my theory equations. When I am using beam energy as 1GeV, they agree wel...
- 13 Aug 2018, 16:41
- Forum: Installation
- Topic: Compile Elegant in macOS High Sierra(10.13.3)
- Replies: 4
- Views: 11332
Re: Compile Elegant in macOS High Sierra(10.13.3)
Hi Soliday, Thank you so much. After installed port and gsl, I can compile SDDS now. In case someone others want to know the details, I listed the following steps in my case. For compiling elegant, - cd oag/apps/configure and edit RELEASE to add epics/base path EPICS_BASE=$(TOP)/../../epics/base - t...
- 13 Aug 2018, 13:10
- Forum: Installation
- Topic: Compile Elegant in macOS High Sierra(10.13.3)
- Replies: 4
- Views: 11332
Re: Compile Elegant in macOS High Sierra(10.13.3)
Hi Soliday, I followed the steps as: 1. download the source code and then using "tar xvf ***.tar.gz" - elegant.34.3.1.tar.gz - oag.apps.configure.tar.gz - epics.base.configure.tar.gz - epics.extensions.configure.tar.gz - SDDS.4.0.tar.gz 2. set environmental variable - export RPN_DEFNS=/Users/biaobin...
- 11 Aug 2018, 12:01
- Forum: Installation
- Topic: Compile Elegant in macOS High Sierra(10.13.3)
- Replies: 4
- Views: 11332
Compile Elegant in macOS High Sierra(10.13.3)
Hi Soliday, I am trying to compile elegant in my mac since I have modified the source code. I followed the instructions in Linux Guide and successfully compiled the code in Ubuntu 16.04. Then I tried running the Build-AOP-RPMs.tcl and also tried following the step 1 --step 7 in https://www.aps.anl.g...
- 20 Jun 2018, 17:08
- Forum: Linac Tracking
- Topic: Simulation of LSC in drift and Linac
- Replies: 1
- Views: 4205
Re: Simulation of LSC in drift and Linac
Hello, When I am tracking particles with a linac, the following lattice layout of line0 and line1 will give different energy chirp calculated from the final particles distribution, W0: WATCH,FILENAME="W0.out",MODE="COORD" W1: WATCH,FILENAME="W1.out",MODE="COORD" CAV0: RFCA,L=15,VOLT="1.5531783542592...
- 12 Jun 2018, 19:23
- Forum: Linac Tracking
- Topic: Simulation of LSC in drift and Linac
- Replies: 1
- Views: 4205
Simulation of LSC in drift and Linac
Hi Michael, Sorry to disturb you again. I am doing microbunching instability study in Linac with elegant. I have two questions about the LSC model in Elegant. - Does elegant consider about the energy chirp effects to the whole beam? Physically, the head should be accelerated due to LSC, the tail dec...
- 08 Jun 2018, 16:21
- Forum: Bugs
- Topic: elegant2astra bug
- Replies: 6
- Views: 12074
Re: elegant2astra bug
Hi Michael, Actually we are talking about the same thing, we are using different units. - (px, py, pz, p) in my previous reply are all in units of [eV/c] - (px, py, pz, p) in your previous reply are all dimensionless, p = beta*gamma, pz = betaz* gamma - In the code, (px, py, pz) are in units of [eV/...
- 08 Jun 2018, 13:40
- Forum: Bugs
- Topic: elegant2astra bug
- Replies: 6
- Views: 12074
Re: elegant2astra bug
Hi Michael, Sorry for misleading you, I think the initial one is right. I think I understand it now. betaz = vz/c = (m vz)/(mc) = pz/(mv * c/v) = (pz/p)*beta. For highly relativistic particles beta is about 1. So betaz = pz/p, that's what you are using in your code. And for low energy case, beta = s...