Search found 31 matches

by WEI-HOU
25 Jan 2024, 17:13
Forum: Linac Tracking
Topic: Beamline is unstable when matched=1 is set in twiss_output
Replies: 3
Views: 396

Re: Beamline is unstable when matched=1 is set in twiss_output

Hello Michael,

Unfortunately, it does not work when I am trying other parameters.
Is there an alternative to calculate the periodic solution?
Thanks.

Regards
Wei Hou
by WEI-HOU
25 Jan 2024, 13:27
Forum: Linac Tracking
Topic: Beamline is unstable when matched=1 is set in twiss_output
Replies: 3
Views: 396

Beamline is unstable when matched=1 is set in twiss_output

Hello, I am using Elegant to optimize FODO lattice parameters for given drift, quad's lengths and phase advance. However, I run into some problems where Elegant cannot find the periodic solution of my FODO lattice. For example, this set of parameter works fine. elegant elegant.ele -macro=driftlength...
by WEI-HOU
30 Oct 2023, 19:15
Forum: Linac Tracking
Topic: Does Elegant have dispersion free steering and wakefield bumps for trajectory correction?
Replies: 0
Views: 1532

Does Elegant have dispersion free steering and wakefield bumps for trajectory correction?

Hello Michael,

Does Elegant have dispersion free steering and wakefield bumps for beam trajectory correction?
Thanks.
by WEI-HOU
26 Oct 2023, 11:30
Forum: Linac Tracking
Topic: How does Elegant use input file for FTRFMODE?
Replies: 2
Views: 697

Re: How does Elegant use input file for FTRFMODE?

Hello Michael,

Thanks for the confirmation!
by WEI-HOU
25 Oct 2023, 18:23
Forum: Linac Tracking
Topic: How does Elegant use input file for FTRFMODE?
Replies: 2
Views: 697

How does Elegant use input file for FTRFMODE?

Hello Michael, How does Elegant use Shunt Impedance, frequency and Q-factor to calculate the voltage and phasor? Here's how I prepare the data. I have a spreadsheet of data containing kick factor, frequency and Q-factor. Screenshot from 2023-10-09 10-36-11.png I calculate Shunt Impedance based on fo...
by WEI-HOU
07 Aug 2023, 19:27
Forum: Linac Tracking
Topic: Energy of different bunches in multi-bunch simulations
Replies: 1
Views: 708

Energy of different bunches in multi-bunch simulations

Hello, I have a question regarding the multi-bunch simulation. I ran the simulation with 100 bunches, and use WATCH element to keep track on all distributions. I also used MALIGN with different PID to offset each bunch with different offset. I found that the beam energy of all bunches are the same, ...
by WEI-HOU
06 Jul 2023, 19:16
Forum: Linac Tracking
Topic: Problems on running Pelegant with FTRFMODE
Replies: 8
Views: 971

Re: Problems on running Pelegant with FTRFMODE

Hello Michael, I was able to figure out the cause of my problem. Here's the simulation workflow. 1. Run the single bunch simulation ( the script elegant.ele) to generate initial bunch and the energy profile. 2. Run the multi bunches simulation ( using bunch from step 1 to duplicate them). Somehow, i...
by WEI-HOU
30 Jun 2023, 18:15
Forum: Linac Tracking
Topic: Problems on running Pelegant with FTRFMODE
Replies: 8
Views: 971

Re: Problems on running Pelegant with FTRFMODE

Hello Michael, After applying changes that you mentioned, Pelegant now works with FTRFMODE and single bunch. However, it still crashed when I was running Pelegant with FTRFMODE and multiple bunches, with the same error messages. In addition, it crashed immediately after the simulation reached the fi...
by WEI-HOU
30 Jun 2023, 11:22
Forum: Linac Tracking
Topic: Problems on running Pelegant with FTRFMODE
Replies: 8
Views: 971

Re: Problems on running Pelegant with FTRFMODE

Hello Michael, This is a different issue. For this example, I set BIN_SIZE=3e-13 and N_BINS=300. If it runs fine for you, that it means something wrong with the Pelegant that I have here. Here's the error message [7] fatal error Fatal error in MPI_Allreduce: Invalid count, error stack: MPI_Allreduce...
by WEI-HOU
29 Jun 2023, 20:09
Forum: Linac Tracking
Topic: Problems on running Pelegant with FTRFMODE
Replies: 8
Views: 971

Problems on running Pelegant with FTRFMODE

Hello, I encounter problems when I was trying to run simulations with FTRFMODE elements using Pelegant. The attached example ran fine with the serial version of Elegant, but it crashed when I was using Pelegant. The total length of a single bunch is about 2ps, so I set BIN_SIZE=0.3ps and N_BINS=300 ...