The major breakthrough of PHREEQC-2 in hydrogeochemistry is its facility to model kinetic reactions of any type very easily.
Kinetic reaction rates can be defined in the form of BASIC programs which are included in the
input file or read from the database.
BASIC programs consist of numbered lines with statements that resemble the formula in a spreadsheet cell.
Special functions give access to the chemical variables of PHREEQC. These functions
are described in the PHREEQC manual under keyword RATES.
A simple example is the kinetic dissolution of quartz, cf. PHREEQC file kin_qu.txt.
The rate is programmed in BASIC as:
RATES
Quartz
-start
1 A0 = parm(1)
2 V = parm(2)
10 rate = (A0 / V) * (m/m0)^0.67 * 10^-13.7 * (1 - SR("Quartz"))
20 save rate * time
-end
Keyword KINETICS calls the rate. Under this keyword, A0 and V are defined with the identifier -parms.
The graph shows the increase of the Si concentration in time for typical conditions in a soil, A0 = 23
m2 and V = 0.16 L.