Ostiguy – Linac Simulation Primer - Sep 2013
Linac Simulation Linac Simulation Primer Primer
J.-F. Ostiguy APC
- stiguy@fnal.gov
September 2013
Linac Simulation Linac Simulation Primer Primer J.-F. Ostiguy - - PowerPoint PPT Presentation
Linac Simulation Linac Simulation Primer Primer J.-F. Ostiguy APC ostiguy@fnal.gov September 2013 Ostiguy Linac Simulation Primer - Sep 2013 Introduction This talk is not a summary of recent linac simulation work it is meant
Ostiguy – Linac Simulation Primer - Sep 2013
September 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
modern hardware > 10**6 particles is becoming routine.
parameters, phase advances etc …
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
code must uses “absolute” phases; they need to be determined for each run.
cavity, the absolute phase (modulo 2π) corresponding to the synchronous phase is determined and the absolute phase in the cavity is set.
the bunch. This makes it easy to express the coordinates w/r to those of the reference particle (not necessarily the same as the beam centroid coordinates)
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
reference orbit.
using s (or z) as the independent (integration) variable.
at a fixed time t. This provides the motivation for choosing t as the integration variable. The downside with this choice is this simple question: at time t within which element does a particle lie ?
choice and leads to less code complexity. t is a better choice (more accurate) at very low energy, for example within an RFQ.
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
In the bunch frame, there is (almost) no magnetic field. The self-field problem reduces to the solution of Laplace's equation.
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
conditions when computing SC fields.
cost in terms of simulation time).
accounts for the presence of the chamber.
where V is set as -V[free] on the boundary.
periodic condition (to model a train of bunches). There are different ways of achieving this.
periodic boundary conditions are automatic.
field from neighboring bunches using simple translation.
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
At 1 MW , this is 10e-6 of the beam so it become necessary to track >> 10**6 particles to get statistically significant results.
element mislagnments, etc .. are analyzed.) Typically this is done in parallel with each node associated with a different linac.
present them are site specific and custom scripts almost always need to be developed.
installations (e.g. special client-server architecture, required communication with license manager process etc … )
Ostiguy – Linac Simulation Primer - Sep 2013
All these codes use fundamentally similar approaches.
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013
Ostiguy – Linac Simulation Primer - Sep 2013