Example 8–Surface Complexation
In all surface complexation models, sorption is a function of
both chemical and electrostatic energy as described by the free energy
relationship. Sorption is stronger when the Gibbs energy decreases. Thus, a
counter-ion that carries a charge opposite to the surface charge tends to be
sorbed electrostatically, while a co-ion that carries a charge with the same
sign as the surface tends to be rejected. The example can be run using the
phrRunString
routine.
phrLoadDatabaseString(phreeqc.dat) phrSetOutputStringsOn(TRUE) # example 8 requires the selected_output file to be turned on phrSetSelectedOutputFileOn(1, TRUE) phrRunString(ex8) phrGetOutputStrings() # cleanup unlink(c("ex8.sel", "Zn1e_7", "Zn1e_4"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.