28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Following is the output produced by tutor4.f, showing that the severe step-size dependence exhibited<br />

by EGS4 on this problem is greatly diminished in <strong>EGS5</strong>. Recall that in the tutor4 example<br />

of EGS4, runs using the default step-size algorithm predicted 1.3% reflection and 49.21.0%, EGS4<br />

returned values of 6.4% reflection and 61.3% transmission. In contrast, an <strong>EGS5</strong> run using very<br />

long multiple scattering steps (corresponding to 30% energy loss over the steps, and labeled “loop<br />

1” in the output file) yields values for reflection (8.1%) and transmission (66.5%) which are fairly<br />

close to <strong>EGS5</strong> results generated with 1% energy loss steps (7.3% and 64.4% for reflection and<br />

transmission, respectively, “loop 2” in the output). This level of agreement (roughly 3% error in<br />

the transmission fraction, even when using 30illustrates the power of the modified random hinge<br />

approach. In addition, the significant discrepancies between the 1% energy loss step results of<br />

EGS4 and <strong>EGS5</strong> forcefully demonstrate the shortcomings of the EGS4 transport mechanics model,<br />

even for very small electron step sizes.<br />

The results from the third part of this example (“loop 3”) show that the expected 1% accuracy<br />

is obtained when the multiple scattering steps sizes are chosen automatically by <strong>EGS5</strong> based on<br />

the given characteristic dimension of 2 mm for this problem. Note that for this dimension and at<br />

this energy, the step-sizes selected by <strong>EGS5</strong> for silicon are roughly 10-15 times as large as those<br />

used in the 1% energy loss run (loop 2), thus providing significant speedup (a factor of three, as<br />

seen from the output) for calculations at this level of accuracy.<br />

************************************************************************<br />

Initializing <strong>EGS5</strong>, loop = 1: charD = 0.00<br />

************************************************************************<br />

P<strong>EGS5</strong>-call comes next<br />

Using media number 1, SI with long steps<br />

for this run<br />

inseed= 1 (seed for generating unique sequences of Ranlux)<br />

ranlux luxury level set by rluxgo : 1 p= 48<br />

ranlux initialized by rluxgo from seed 1<br />

Start tutor4<br />

Call hatch to get cross-section data<br />

HATCH-call comes next<br />

EGS SUCCESSFULLY ’HATCHED’ FOR 2 MEDIA.<br />

WARNING in RMSFIT: no characteristic dimension input for media 1<br />

Using old data from gsdist.dat with:<br />

efrach, efrachl = 3.0000E-01 3.0000E-01<br />

WARNING in RMSFIT: no characteristic dimension input for media 2<br />

Using old data from gsdist.dat with:<br />

efrach, efrachl = 1.0000E-02 1.0000E-02<br />

Knock-on electrons can be created and any electron followed down to<br />

0.189 MeV kinetic energy<br />

164

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

Saved successfully!

Ooh no, something went wrong!