Quadrupole wakefield

Moderators: cyao, michael_borland

Post Reply
pestana
Posts: 1
Joined: 23 Aug 2019, 12:46

Quadrupole wakefield

Post by pestana » 26 Aug 2019, 06:24

Hi,

I am trying to simulate two quadrupole wakefield sources in Elegant. I defined them like this:

SINSB05.UDCP100_quad: TRWAKE, INPUTFILE = "Wake_quadrupole.txt", TCOLUMN="t",WXCOLUMN="W", WYCOLUMN="W", FACTOR=1, N_BINS = 0, X_DRIVE_EXPONENT=0, Y_DRIVE_EXPONENT=0, X_PROBE_EXPONENT=1, Y_PROBE_EXPONENT=1

where Wake_quadrupole.txt is a file from ECHO.

I would like to have the second source rotated by 90 degrees from the first one. How can I set this?

Many thanks,
Rita

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Quadrupole wakefield

Post by michael_borland » 01 Oct 2019, 19:01

Rita,

Since you gave the same column name for WxColumn and WyColumn, I'm not sure what it means to rotate this 90 degrees.

However, you can always bracket any element with ROTATE elements, e.g.,

Code: Select all

TRW1: TRWAKE,...
R1: ROTATE,TILT="pi 2 /"
R2: ROTATE,TILT="pi -2 /"
TRW1R: line=(R1,TRW1,R2)
--Michael

Post Reply