Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ex11

Example 11–Transport and Cation Exchange


Description

The following example simulates the chemical composition of the effluent from a column containing a cation exchanger (Appelo and Postma, 2005). Initially, the column contains a sodium-potassium-nitrate solution in equilibrium with the exchanger. The column is flushed with three pore volumes of calcium chloride solution. Calcium, potassium, and sodium react to equilibrium with the exchanger at all times. The problem is run two ways–by using the ADVECTION data block, which models only advection, and by using the TRANSPORT data block, which simulates advection and dispersive mixing. The example can be run using the phrRunString routine.

Source

References

See Also

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

Examples

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

phreeqc

R Interface to Geochemical Modeling Software

v3.6.3
GPL-3
Authors
S.R. Charlton, D.L. Parkhurst, and C.A.J. Appelo, with contributions from D. Gillespie for Chipmunk BASIC and S.D. Cohen, A.C. Hindmarsh, R. Serban, D. Shumaker, and A.G. Taylor for CVODE/SUNDIALS
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.