|
LINUX PC version uses DRAND48 double precision random no generator (can also use RNDM2 from CERNLIB with the same precision).
The program allows anisotropic elastic and inelastic scattering, reference: NIM A 421 (1999) 234-240 The gas data base list below shows those x-sections which contain anisotropic scattering data.
PostScript plots of the database x-sections can be obtained on:- http://cern.ch/magboltz/cross.
This version allows spatial gradients to be included in the solution
for the Townsend gain and attachment coeficients.
The program automatically gives a solution with spatial gradients
for both time of flight (TOF), pulsed townsend (PT) and steady state
townsend (SST) parameters.
The nomenclature is similar to Sakai et al.
J. Phys. D10 (1977) 1035.
The simulation of avalanche gain detectors at high field requires the
use of SST Townsend parameters.
The program automatically updates the common blocks /CTOWNS/ and
/CTWNER/ with the SST parameters if the spatial gradients are
greater than:
| alpha - attachment | = 60/cm
at NTP.
where alpha is the Townsend coefficient and
attachment the attachment coefficient.
(For smaller values of
| alpha - attachment | < 60/cm,
the change of the gain or attachment is typically less than
3 % for the solution without spatial gradients).
Estimates of the Penning effect at high field can be obtained by inspection of the detailed collision frequencies for excited states in the gas mixtures. Penning effects can occur between excited states in the gas mixture which are higher in energy than the lowest ionisation potential in the mixture. Previous results in Argon hydrocarbon mixtures show a transfer efficiency of about 25 % from excited states in Argon to ionisation of hydrocarbons.
The program should always converge to a solution. the error on the
integration should scale with the square root of the number of
collisions (parameter NMAX).
The output should always be checked to
ensure that the number of collisions in the last energy bin is small,
any value less than 500 should give reasonable systematic errors
if the number of collisions is greater than 500 then the integration
energy range should be increased.
The program is limited in precision by the statistical accuracy
of the results. It is possible to obtain a statistical accuracy
of better than 0.1 % on the drift velocity and 1 % on the
diffusion coeficients in most counting gas mixtures in about
30 seconds of computing time on a PC, Alpha or workstation.
At high field when the Townsend coeficient is included in the spatial
gradient the computation time may be required to increase to a few
minutes.
When velocity vectors are small such as the case with small Lorentz
angles the parameter NMAX will need to be increased to 20
or more.
BTHETA, to the electric field.
The results of the calculation are loaded into common blocks:
COMMON/VEL/WX,WY,WZ COMMON/VELERR/DWX,DWY,DWZ COMMON/DIFLAB/DIFXX,DIFYY,DIFZZ,DIFYZ,DIFXY,DIFXZ COMMON/DIFERB/DXXER,DYYER,DZZER,DYZER,DXYER,DXZER COMMON/DIFVEL/DIFLN,DIFTR COMMON/DIFERL/DFLER,DFTER COMMON/CTOWNS/ALPHA,ATT COMMON/CTWNER/ALPER,ATTERWhere
WX,WY,WZ are the drift velocity vectors
DIFXX,DIFYY,DIFZZ,DIFYZ,DIFXY,DIFXZ are the values
of the diffusion tensor in the cartesian coordinate system.
Note: off-diagonal elements are defined so that the coefficients are equal,
DIFXY=DIFYX, DIFXZ=DIFZX and
DIFYZ=DIFZY.
DIFLN,DIFTR,DIFXX are the diffusion coefficients in
the coordinate system aligned along the drift direction (it is only
calculated for the case where the magnetic field is at 90° to the
electric field).
If there is no magnetic field the values DIFLN and
DIFTR represent the longitudinal and transverse diffusion.
ALPHA: 1/cm
ATT: 1/cm
ALPHA is ALPHA-ATT.
For magnetic fields ALPHA and ATT are defined
parallel to the electric field.
2I10,F10.5,
variables: NGAS,NMAX,EFINAL
NGAS: number of gases in mixture;
NMAX: number of real collisions (multiple of 10**7),
use a value between 2 and 5 for inelastic gas to obtain 1 % accuracy,
use a value above 10 for better than 0.5 % accuracy
and a value of at least 10 for pure elastic gases like Argon;
EFINAL:
upper limit of the electron energy in electron Volts,
if EFINAL = 0.0, program automatically calculates upper
integration energy limit.
6I5,
variables: NGAS1,NGAS2,NGAS3,NGAS4,NGAS5,NGAS6
NGAS1 etc.: gas number identifiers (between 1 and 80)
see gas list below for identifying numbers.
8F10.4,
variables: FRAC1,FRAC2,FRAC3,FRAC4,FRAC5,FRAC6,TEMP,TORR
FRAC1 etc.: percentage fraction of gas1 etc.;
TEMP: temperature of gas in centigrade;
TORR: pressure of gas in Torr.
6F10.3,
variables: EFIELD,BMAG,BTHETA
EFIELD: electric field in Volt/cm;
BMAG: magnitude of the magnetic field in kilogauss;
BTHETA: angle between the electric and magnetic fields
in degrees.
NGAS=0 to terminate correctly.
| Routine | Gas | Last update | Notes | Star rating |
|---|---|---|---|---|
| GAS1 | CF4 | 2001 | anisotropic scattering | 5* |
| GAS2 | Argon | 1997 | 5* | |
| GAS3 | Helium 4 | 1997 | 5* | |
| GAS4 | Helium 3 | 1992 | 5* | |
| GAS5 | Neon | 1992 | 5* | |
| GAS6 | Krypton | 2001 | 4* | |
| GAS7 | Xenon | 2001 | 4* | |
| GAS8 | methane | 1994 | 5* | |
| GAS9 | ethane | 1999 | 5* | |
| GAS10 | propane | 1999 | 4* | |
| GAS11 | isobutane | 1999 | 3* | |
| GAS12 | CO2 | 2001 | 5* | |
| GAS13 | C(CH3)4 neo-pentane | 1995 | 3* | |
| GAS14 | H20 | 1998 | 3* | |
| GAS15 | Oxygen | 1990 | 3-body attachment included | 4* |
| GAS16 | Nitrogen | 1985 | Pitchford and Phelps | 4* |
| GAS17 | nitric oxide | 1995 | attaching gas | 4* |
| GAS18 | nitrous oxide | 1995 | attaching gas | 4* |
| GAS19 | C2H4 ethene | 1999 | 4* | |
| GAS20 | C2H2 acetylene | 1992 | 3* | |
| GAS21 | Hydrogen | 2001 | 5* | |
| GAS22 | Deuterium | 1998 | 5* | |
| GAS23 | Carbon monoxide | 1998 | 5* | |
| GAS24 | methylal | 1988 | 2* | |
| GAS25 | DME | 1998 | 4* | |
| GAS26 | Reid step model | ? | anisotropic version | - |
| GAS27 | Maxwell model | ? | - | |
| GAS28 | Reid ramp model | ? | - | |
| GAS29 | C2F6 | 1999 | anisotropic | 4* |
| GAS30 | SF6 | ? | do not use high percentage | 3* |
| GAS31 | NH3 ammonia | 1999 | 3* | |
| GAS32 | C3H6 propene | 1999 | 4* | |
| GAS33 | C3H6 cyclopropane | 1999 | 4* | |
| GAS34 | CH3OH methanol | 1999 | 2* | |
| GAS35 | C2H5OH ethanol | 1999 | 3* | |
| GAS36 | C3H7OH isopropanol | 1999 | 2* | |
| GAS37 | Cæsium | 2001 | no dimers | 2* |
| GAS38 | Fluorine | ? | Morgan | 2* |
| GAS39 | CS2 | 2001 | ion drift, dark matter | 2* |
| GAS40 | COS | 2001 | 2* | |
| GAS41 | CD4 | 2001 | TPCs in neutron background environment | 3* |
| GAS42 | BF3 Boron trifluoride | 2001 | anisotropic | 3* |
| GAS43 | C2HF5 or C2H2F4 | ? | estimated no data, anisotropic | 1* |
| GAS44 | Helium 3 | 2002 | anisotropic | 5* |
| GAS45 | Helium 4 | 2002 | anisotropic | 5* |
| GAS46 | Neon | 2002 | anisotropic | 5* |
| GAS47 | Argon | 2002 | anisotropic | 5* |
| GAS48 | Krypton | 2002 | anisotropic | 4* |
| GAS49 | Xenon | 2002 | anisotropic | 4* |
| GAS50 | methane | 2002 | anisotropic | 5* |
| GAS52-80 | Dummy routines | ? | - |