CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit for current CERN information.

CERN home pageCERN home pageThe Consult pageThe Consult pageThis pageThe Consult pageThis pageThis pageHelp, Info about this page
Previous:Scientific Applications and Software Engineering(See printing version)
Next:Magboltz 2

Garfield Version 7.02

Rob Veenhof , GSI (Darmstadt, Germany)

Garfield version 7 comes with a new gas section based on an interface with Magboltz 2 (see next article).

CELL section:

Maxwell generated field maps with rotational symmetry around an axis, such as r-phi maps, can now be read.


The format of the COMPONENTS statement has been extended to allow for non-constant, parametrised or tabulated magnetic fields.


The FORCES command plots, on request, a diagram which shows whether a wire is in stable or labile equilibrium.

The CHANGE-VOLTAGES command now also works for planes and for the tube.

FIELD section:

No changes.

GAS section:

Garfield version 7 by default obtains electron transport data from Magboltz 2. An interface with the earlier version, Magboltz 1, has been kept. These 2 programs solve the same transport equations, but use different methods. Magboltz 2 is more stable numerically, and is reported to reach much higher accuracy especially for diffusion and deflection in a magnetic field.

Garfield tries to take maximum advantage of Magboltz 2 by copying the full diffusion matrix, with correlation coefficients, and in a magnetic field, all 3 components of the drift velocity.

As a consequence of the increased amount of gas data extracted from Magboltz, compact format gas datasets generated with Garfield version 6 can not be read with version 7.

DRIFT section:

In collaboration with Peter Cwetanski and Ulrich Moosbrugger, considerable progress has been made in the understanding of avalanche statistics on small scales. This has on the one hand resulted in the PROJECTED-PATH integration parameter, which to a large extent eliminates the dependence of the avalanche size on the Monte Carlo step size. On the other hand, a new procedure RND_MULTIPLICATION has been written which simulates the avalanche fluctuation over a fixed path, taking attachment and multiplication into account.

SIGNAL section:

Multiple weighting field maps computed by finite element programs are now accepted. This should simplify the computation of response functions of cathodes segmented in strips and pads.


A limited amount of user control of the layout of Cartesian plots is provided through the LAYOUT graphics command.

Environment variables are now expanded in metafile names.

Histograms, Matrices, Formulae and Calls:

As usual, many procedures have been added. Of particular importance are a the RND_MULTIPLICATION mentioned before, and random number generators according to functions and histograms (RND_FUNCTION and RND_HISTOGRAM). The function random number generator is based on the FUNLUX routine from the CERN program library.

Garbage collect for matrix assignments in loops has been improved.

Datasets and input / output:

No changes.

Compilation, batch:

No changes.


Currently, the most accurate information can be found in the help pages and the description of the command line.

For matters related to this article please contact the author.

Vol. XXXIV, issue no 1

Last Updated on Fri Mar 17 21:33:28 GMT+04:30 2000.
Copyright © CERN 2000 -- European Laboratory for Particle Physics