ex8 {phreeqc} | R Documentation

## Example 8–Surface Complexation

### Description

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.

### Source

http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc

### References

http://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf

### See Also

Other Examples: `ex10`, `ex11`, `ex12`, `ex13a`, `ex14`, `ex15`, `ex16`, `ex17`, `ex18`, `ex19`, `ex1`, `ex20a`, `ex21`, `ex22`, `ex2`, `ex3`, `ex4`, `ex5`, `ex6`, `ex7`, `ex9`

### Examples

    phrLoadDatabaseString(phreeqc.dat)
    phrSetOutputStringsOn(TRUE)
    # example 8 requires the selected_output file to be turned on
    phrSetSelectedOutputFileOn(1, TRUE)
    phrRunString(ex8)
    phrGetOutputStrings()

[Package phreeqc version 3.4.10 Index]