-------------------------------------------------------------------------- Astra - A space charge tracking algorithm DESY, Hamburg, 2009 18.11.2011 08:43 build (04/07/11 12:34:51), OpenMPI (1.4.3), Linux, x86_64, mpydlmeykopff, release build SVN revision: 421 ApertureLib not available. -------------------------------------------------------------------------- Parameter file is: test1.in WARNING: RUN is obsolete.Use runoffset - PITZ-1.8- Initialize element settings: -------------------------------------------------------------------------- Cavity: Reading cavity field data from: gun41cavity.txt Cavity Frequency f = 1.300 GHz maximum gradient 60.00 MV/m at 0.000 m estimated average gradient 18.74 MV/m nominal phase -1.928 deg Reading cavity field data from: CDS14_15mm.txt Cavity Frequency f = 1.300 GHz maximum gradient 19.10 MV/m at 3.298 m estimated average gradient 8.653 MV/m nominal phase 0.000 deg -------------------------------------------------------------------------- Solenoid: Reading solenoid field data from: gunsolenoidsPITZ.txt maximum Bz field -0.2258 T at 0.2736 m integral Bz squared 3.2799E-02 T^2m -------------------------------------------------------------------------- 200000 particles from file cathode200k.ini Sorting particles... Reference particle has index 99997 Cathode located at: z = 0.000 m particles taken into account n = 200000 total charge q = -1.000 nC horizontal beam position x = -4.6658E-09 mm vertical beam position y = -3.5989E-08 mm longitudinal beam position z = 0.000 m horizontal beam size sig x = 0.4151 mm vertical beam size sig y = 0.4151 mm longitudinal beam size sig z = 0.000 mm total emission time t = 2.9089E-02 ns rms emission time sig t = 5.8443E-03 ns average kinetic energy e = 5.5000E-07 MeV energy spread de = 2.0070E-08 keV transverse beam emittance eps x = 0.3516 pi mrad mm correlated divergence cor x = 3.2536E-05 mrad transverse beam emittance eps y = 0.3516 pi mrad mm correlated divergence cor y = 5.1863E-05 mrad longitudinal beam emittance eps z = 0.000 pi keV mm correlated energy spread cor z = 0.000 keV emittance ratio eps y/eps x = 1.000 WARNING: Bz_ is not zero at the cathode ( -8.5245E-04 mT), estimated emittance contribution: eps x = 4.3087E-05 pi mrad mm eps y = 4.3087E-05 pi mrad mm -------------------------------------------------------------------------- Start auto phasing: Scan cavity number : 1 7 unstable trajectories out of 50 Scan cavity number : 2 2 unstable trajectories out of 50 Cavity phasing completed: Cavity number Energy gain [MeV] at Phase [deg] 1 6.147 224.6978 2 16.67 132.9472 -------------------------------------------------------------------------- on axis tracking of the reference particle initial position z = 0.000 m x = -2.0834E-09 mm y = -1.6070E-08 mm initial momentum p = 7.4974E-04 MeV/c global phase shift phi = 0.000 deg time step for integration dt = 1.000 ps -------------------------------------------------------------------------- Online element settings: -------------------------------------------------------------------------- particle reaches position z = 10.00 m time of flight is t = 33.43 ns final momentum p = 23.32 MeV/c final phase (cavity 1) phi_end = 257.3 deg -------------------------------------------------------------------------- off axis tracking of the reference particle: initial position z = 0.000 m x = 0.4151 mm y = 0.4151 mm final position x = -1.469 mm y = 0.6864 mm divergence px/pz = -2.9907E-02 mrad py/pz = 1.4003E-02 mrad -------------------------------------------------------------------------- tracking of 200000 particles : tracking will stop at z = 10.00 m space charge forces are INCLUDED cylindrically symmetric algorithm mirror charges at the cathode are taken into account working ... mirror charge switched off at: 7.1896E-02 m final checkpoint at z = 10.00 m total number of iteration steps: 36262 ---------------------------------------------------------------------- particles taken into account n = 200000 total charge q = -1.000 nC horizontal beam position x = -1.6873E-04 mm vertical beam position y = -8.5334E-06 mm longitudinal beam position z = 10.00 m horizontal beam size sig x = 1.316 mm vertical beam size sig y = 1.316 mm longitudinal beam size sig z = 2.084 mm average kinetic energy e = 22.78 MeV energy spread de = 85.86 keV transverse beam emittance eps x = 1.134 pi mrad mm correlated divergence cor x = 0.2050 mrad transverse beam emittance eps y = 1.132 pi mrad mm correlated divergence cor y = 0.2051 mrad longitudinal beam emittance eps z = 89.02 pi keV mm correlated energy spread cor z = 74.48 keV emittance ratio eps y/eps x = 1.002 Particle Statistics: Total number of particles on stack = 200000 Electrons (total) = 200000 particles at the cathode = 0 active particles = 200000 passive particles (lost out of bunch) = 0 probe particles = 6 backward traveling particles = 0 particles lost with z