02.05.2014 Views

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

PENELOPE 2003 - OECD Nuclear Energy Agency

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C.2. Exact tracking in homogeneous magnetic fields 229<br />

e +<br />

e<br />

−<br />

B<br />

Figure C.2: Trajectories of electrons and positrons in a uniform magnetic field. The two<br />

particles start from the base plane with equal initial velocities.<br />

where ˆv 0⊥ ≡ v 0⊥ /v 0⊥ and s ⊥ = sv 0⊥ /v 0 . Equivalently,<br />

r(s) = r 0 + sˆv 0 − s v 0<br />

v 0⊥ + 1 ω [1 − cos(sω/v 0)] ( ˆω×v 0⊥ ) + 1 ω sin(sω/v 0)v 0⊥ .<br />

(C.30)<br />

After the path length s, the particle velocity is<br />

v(s) = v 0<br />

dr<br />

ds = v 0 + [cos(sω/v 0 ) − 1] v 0⊥ + sin(sω/v 0 )( ˆω×v 0⊥ ).<br />

(C.31)<br />

In fig. C.3 we compare exact trajectories of electrons and positrons in a uniform<br />

magnetic field obtained from the analytical formula (C.30) with results from the firstorder<br />

tracking algorithm [eqs. (C.14)-(C.20)] with δ B = δ E = δ v = 0.02. The field<br />

strength is 0.2 tesla. The depicted trajectories correspond to 0.5 MeV electrons (a)<br />

and 3 MeV positrons (b) that initially move in a direction forming an angle of 45 deg<br />

with the field. We see that the numerical algorithm is quite accurate for small path<br />

lengths, but it deteriorates rapidly for increasing s. In principle, the accuracy of the<br />

algorithm can be improved by reducing the value of δ v , i.e. the length of the step length.<br />

In practice, however, this is not convenient because it implies a considerable increase of<br />

numerical work, which can be easily avoided.<br />

C.2 Exact tracking in homogeneous magnetic fields<br />

In our first-order tracking algorithm [see eqs. (C.14) and (C.16)], the effects of the<br />

electric and magnetic fields are uncoupled, i.e. they can be evaluated separately. For<br />

uniform electric fields, the algorithm offers a satisfactory solution since it usually admits<br />

relatively large step lengths. In the case of uniform magnetic fields (with E = 0), the<br />

kinetic energy is a constant of the motion and the only effective constraint on the<br />

step length is that the change in direction |∆v|/v 0 has to be small. Since the particle<br />

trajectories on the plane perpendicular to the field B are circles and the first-order<br />

algorithm generates each step as a parabolic segment, we need to move in sub-steps of<br />

length much less than the radius R (i.e. δ v must be given a very small value) and this

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!