Learn R Programming

phreeqc (version 3.8.7)

ex1: Example 1--Speciation Calculation

Description

This example calculates the distribution of aqueous species in seawater and the saturation state of seawater relative to a set of minerals. To demonstrate how to expand the model to new elements, uranium is added to the aqueous model defined by phreeqc.dat. 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: ex10, ex11, ex12, ex13a, ex14, ex15, ex16, ex17, ex18, ex19, ex2, ex20a, ex21, ex22, ex3, ex4, ex5, ex6, ex7, ex8, ex9

Examples

Run this code

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

Run the code above in your browser using DataLab