Learn R Programming

phreeqc (version 3.8.7)

ex5: Example 5--Irreversible Reactions

Description

This example demonstrates the irreversible reaction capabilities of PHREEQC in modeling the oxidation of pyrite. Oxygen (O2) and NaCl are added irreversibly to pure water in six amounts (0.0, 0.001, 0.005, 0.01, 0.03, and 0.05 mol); the relative proportion of O2 to NaCl in the irreversible reaction is 1.0 to 0.5. Pyrite, calcite, and goethite are allowed to dissolve to equilibrium and the carbon dioxide partial pressure is maintained at 10-3.5 (atmospheric partial pressure). In addition, gypsum is allowed to precipitate if it becomes supersaturated. The example can be run using the phrRunString routine.

Arguments

References

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

See Also

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

Examples

Run this code

phrLoadDatabaseString(phreeqc.dat)
phrSetOutputStringsOn(TRUE)
phrRunString(ex5)
phrGetOutputStrings()

Run the code above in your browser using DataLab