10.02.2013 Views

longitudinal dispersion in nonuniform isotropic porous media

longitudinal dispersion in nonuniform isotropic porous media

longitudinal dispersion in nonuniform isotropic porous media

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

175<br />

to a known distribution function. The values may be compared to<br />

tabulated values of K+ (or K-) which give the probability of the<br />

+ ( -<br />

computed K or K). Table A.I shows 30 <strong>in</strong>dependent samples of N<br />

1000 us<strong>in</strong>g the random number generator given by equations (A.2) and<br />

(A.3). The values of K+ (or K-) which correspond to the given place <strong>in</strong><br />

the cumulative distribution when N = 1000 are shown at the bottom of<br />

Table A.I. By compar<strong>in</strong>g the sample with the theoretical values, we see<br />

that no extraord<strong>in</strong>ary behavior is detected. Table A.2 shows a similar<br />

calculation for a s<strong>in</strong>gle l<strong>in</strong>ear congruential random number generator<br />

(equation (A.I». Aga<strong>in</strong>, acceptable random behavior is found. The<br />

Kolmogorov-Smirnov test may be applied to the sets of K+ and K- values<br />

displayed <strong>in</strong> Tables A.I and A.2. This is useful <strong>in</strong> detect<strong>in</strong>g global<br />

nonrandom behavior <strong>in</strong> the orig<strong>in</strong>al sequences. Global nonrandom<br />

behavior refers to deviation from expected random behavior over the<br />

entire sequence of random numbers (which is 30000 random numbers <strong>in</strong><br />

this case). The theoretical cumulative distribution for the<br />

Kolmogorov-Smirnov coefficients (K+ and K-) is approximated by<br />

F(x) = 1 - exp(-2x 2 ).<br />

Table A.3 shows the global test as applied to the values <strong>in</strong> Tables A.I<br />

and A.2. We f<strong>in</strong>d that both generators display acceptable bahavior at<br />

the global scale (30000 random numbers). Table A.4 presents a summary<br />

of the constants and seed numbers used <strong>in</strong> the random number generators<br />

tested.

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

Saved successfully!

Ooh no, something went wrong!