CALCULATING CATION EXCHANGE WITH PHREEQC (Version 2)

Similar documents
HYDROGEOCHEMICAL PROCESSES ASSOCIATED WITH SEAWATER INTRUSION

4 Carbonates and CO2

INTRODUCTION TO GEOCHEMICAL AND REACTIVE TRANSPORT MODELING. Ondra Sracek

GEOCHEMISTRY, GROUNDWATER AND POLLUTION,

HP1 Tutorials II (HYDRUS-1D + PHREEQC)

HP1 (HYDRUS-1D + PHREEQC) Additional HP1 Exercises. Waste and Disposal, SCK CEN, Mol, Belgium 2

27 CALCULATING THE FRACTIONATION OF ISOTOPES IN HYDROCHEMICAL (TRANSPORT) PROCESSES WITH PHREEQC-2 1

Three-dimensional Modelling of Reactive Solutes Transport in Porous Media

Create custom rock (Rock1) and fluid (Fluid1) compositions. 1. Copy the folder Module3 to your project folder located in Library\Gems3\projects.

USER S GUIDE TO PHREEQC A COMPUTER PROGRAM FOR SPECIATION, REACTION-PATH,

Aquatic chemistry for engineers

Search and Discovery Article #50999 (2014)** Posted August 18, Abstract

Chapter 2 Introduction to Aqueous Speciation

NETPATH-WIN: An Interactive User Version of the Mass-Balance Model, NETPATH

Soil Solution Concentration Prediction of Volcanic Ash Soil upon Addition of Acid Solutions di#er in Anion Composition

Chemical Hydrogeology

NEW DIAGRAM USEFUL FOR CLASSIFICATION OF GROUNDWATER QUALITY

Titrator 3.0 Tutorial: Calcite precipitation

you-try-it-05.xlsx ver. 6/25/2015

Chemical Kinetics I: The Dry Lab. Up until this point in our study of physical chemistry we have been interested in

15. Studio ScaleChem Getting Started

GYPSUM PRECIPITATION/DISSOLUTION DURING SEAWATER INTRUSION

1. Forming a Precipitate 2. Solubility Product Constant (One Source of Ions)

Groundwater chemistry

Getting started with BatchReactor Example : Simulation of the Chlorotoluene chlorination

Quarter 1 Section 1.2

Ion Speciation. OCN 623 Chemical Oceanography. Speciation defines the chemical reactivity of elements in the ocean

Thermodynamic Modeling Of Lake Katwe Brine For Industrial Salt Production

Preparation for Topics in College Chemistry

HSC Chemistry A. Roine June 28, ORC T

Chapter 7 Chemical Formulas And Compounds Test B Answers

Carbonates and Silica Scaling Model Applied to Hot Water Pipes for Sanitary Use at Hotel Río Perlas, Costa Rica

Chemical Equilibria. General representation

EXAMPLE PROBLEMS. 1. Example 1 - Column Infiltration

1. (i) Give an equation for the dissociation of propanoic acid and hence an expression for its dissociation constant, K a. ...

Chemistry 121 Chapters 7& 8 Practice Test Multiple Choice Identify the choice that best completes the statement or answers the question.

Winding journey down (in Gibbs energy)

O 2. Cl 2. SbCl 3. NaBr. NaCl

Supporting Text Z = 2Γ 2+ + Γ + Γ [1]

Arthur & Polly Mays Conservatory Of The Arts

Module 2: Solutions The Science of Mixing : Have you ever been in a wrong mix?

Investigation 12. The Hand Warmer Design Challenge: Where does the Heat come from?

Tutorial on Visual Minteq 2.30 operation and input/output for simple problems related to acid/base ph and titrations.

13. EQUILIBRIUM MODULE

Chemistry 12 August 2003 Provincial Examination

Athena Visual Software, Inc. 1

13. EQUILIBRIUM MODULE

WYSE Academic Challenge Sectional Chemistry 2005 SOLUTION SET

C deposits (63.5/2) g of copper; the quantity passed is therefore

Try this one Calculate the ph of a solution containing M nitrous acid (Ka = 4.5 E -4) and 0.10 M potassium nitrite.

Equilibri acido-base ed equilibri di solubilità. Capitolo 16

b. Na. d. So. 1 A basketball has more mass than a golf ball because:

Assignment 70 LE CHATELIER'S PRINCIPLE AND EQUILIBRIUM CONCENTRATIONS

Stoichiometric Reactor Simulation Robert P. Hesketh and Concetta LaMarca Chemical Engineering, Rowan University (Revised 4/8/09)

Ch 17 Solubility Equilibria. Brown & LeMay

Lecture 6 - Determinants of Seawater Composition. Sets up electric dipole because O is more electronegative A o. Figure 3.

Chemistry 265 December Exam 2011 Smith-Palmer

Uranium in an ISR Wellfield using Kinetic-based

Investigation 12. The Hand Warmer Design Challenge: Where does the Heat come from?

AP Chemistry Lab #10- Hand Warmer Design Challenge (Big Idea 5) Figure 1

SOIL and WATER CHEMISTRY

Acid-Base Equilibria and Solubility Equilibria Chapter 17

1) REACTIONs: a) Al4C3(s) + H2O (l)=> Al(OH)3 (s) + CH4 (g) Solution : Al4C3(s) + 12 H2O (l)=> 4Al(OH)3 (s) + 3CH4 (g)

Chapter 7 Chemical Formulas And Chemical Compounds

Chemistry SEAS Q, K eq, and Equilibrium. K ; where G o = -RTlnK eq eq.

Formation of a salt (ionic compound): Neutralization reaction. molecular. Full ionic. Eliminate spect ions to yield net ionic

Chem GENERAL CHEMISTRY II

Contents Preface Introduction Model Concepts

A First Course on Kinetics and Reaction Engineering Example 1.4

WM 00 Conference, February 27 March 2, 2000, Tucson, AZ DIFFUSION COEFFICIENTS OF CRITICAL RADIONUCLIDES FROM RADIOACTIVE WASTE IN GEOLOGICAL MEDIUM

SOLUBILITY AND PRECIPITATION EQUILIBRIA

SOLUBILITY AND PRECIPITATION EQUILIBRIA

TOPIC 7. CHEMICAL CALCULATIONS I - atomic and formula weights.

Applying MapCalc Map Analysis Software

12A Entropy. Entropy change ( S) N Goalby chemrevise.org 1. System and Surroundings

Two cation exchange models for direct and inverse modelling of solution major cation composition in. equilibrium with illite surfaces

which has an equilibrium constant of Which of the following diagrams represents a mixture of the reaction at equilibrium?

Chemistry 12 April 2001 Provincial Examination

III.2 Calculating Solubility and Ion Concentrations. ***This is a re-visitation to Chemistry 11: translating grams/l to moles/l (M) and back again.

CH302 Spring 2009 Practice Exam 1 (a fairly easy exam to test basic concepts)

K A K B = K W pk A + pk B = 14

Solubility Equilibria

ION EXCHANGE EQUILIBRIUM FOR SOME UNI-UNIVALENT AND UNI-DIVALENT REACTION SYSTEMS USING STRONGLY BASIC ANION EXCHANGE RESIN DUOLITE A-102 D

Some Basic Concepts of Chemistry

Thermodynamics and Equilibrium

The Geochemist s Workbench

Single Point Calculations Introduction

10. Reaction Equations Module

FRIENDS OF FREZCHEM (Version 5.2)

e) 0.25 f) g) 5000 h) e) 1.5 x 10 3 f) 1.5 x 10-3 g) 1.2 x 10 4 h) 2.2 x 10 5

Chemistry Grade : 11 Term-3/Final Exam Revision Sheet

Linking GoldSim with the PHREEQC Geochemical Model with a Dynamic Link Library Element

ITC Expert User s Manual

Lecture 12. Acid/base reactions. Equilibria in aqueous solutions.

6.02 x 1023 CHAPTER 10. Mole. Avogadro s Number. Chemical Quantities The Mole: A Measurement of Matter Matter is measured in one of three ways:

ISSP User Guide CY3207ISSP. Revision C

DVS Intrinsic Compact and Economical Dynamic Vapor Sorption System

Student Number Initials N. G Z. Mc Z. Mo T. N H. R M. S M. T.

Chemistry 12 June 2003 Provincial Examination

Illustrating ph Modeling in BioWin - Titrations of Acids and Bases

Transcription:

CALCULATING CATION EXCHANGE WITH PHREEQC (Version 2) C.A.J. Appelo Hydrochemical Consultant Valeriusstraat 11 1071 MB Amsterdam, The Netherlands appt@xs4all.nl D.L. Parkhurst U.S. Geological Survey Denver Federal Center, MS 413 Denver, CO 80225, USA

CALCULATING CATION EXCHANGE WITH PHREEQC (Version 2) ABSTRACT PHREEQC (Version 2) is a computer program for speciation, batch reaction, and onedimensional transport calculations, distributed free of charge by the U.S. Geological Survey (http://wwwbrr.cr.usgs.gov/projects/gwc_coupled/phreeqc/index.html). The thermodynamic database accompanying the code includes cation exchange equilibria according to the Gaines-Thomas convention, but the flexible input format enables the application of other exchange equations used in soil science. This note shows that the Gapon, Vanselow, and Rothmund-Kornfeld formulas can be implemented in PHREEQC calculations to obtain the composition of (1) an exchanger in equilibrium with a given solution composition, (2) a solution in equilibrium with a given exchanger, and (3) a solution and exchanger(s) following the reaction after mixing. With the interface PHREEQC for Windows, an isotherm plot can be quickly obtained. Bloom and Mansell (2001) reported an algorithm for calculating cation exchange according to the Rothmund-Kornfeld formulation, and noted that to their knowledge no software accommodates these non-linear exchange equations. However, PHREEQC (Version 2) (Parkhurst and Appelo, 1999) can do these and other cation exchange computations, although the standard option in the databases distributed with the program follows the Gaines-Thomas convention. With the flexibility to specify multiple approaches to cation exchange and the capability to simulate the progress of other equilibrium and kinetically controlled processes, (including the possibility of simulating cation exchange as a kinetic reaction), PHREEQC is suitable for a wide range of hydrochemical calculations in the soil sciences. Because it is not immediately clear how to apply PHREEQC for other cation exchange conventions, this note provides examples of the proper specification of PHREEQC input files for a variety of conventions. Exchange Composition in Equilibrium with a Solution As an example, we consider the Gaines-Thomas, Gapon, Vanselow, and Rothmund-Kornfeld formulations for the K-Ca exchange reaction: 0.5 Ca 2+ + KX 0.5CaX2 + K +, (1) where X - is the exchanger. The law of mass action for eqn (1) yields:

- 2-0.5 + [K ] ( K GT ) Ca\ K 2+ 0.5 [CaX2] = [KX] where [i] denotes an activity (dimensionless). The Gaines-Thomas convention uses equivalent fraction for activity of the exchangeable cations, in contrast to the Vanselow convention, which takes mole fractions, but otherwise employs the same reaction equations. In the Rothmund- Kornfeld formula, an empirical exponent modifies the solute activity ratio in eqn (2): K GT ) Ca\ K [CaX2] = [KX] This equation can approximate the sigmoidal shape often observed in binary isotherms (exchangeable cations are relatively preferred when they occupy a small fraction of the exchange sites, cf. Bloom and Mansell, 2001; Bond, 1995). The Gapon convention expresses exchange per mol of exchange sites, rather than per mol of exchanging ion: 0.5 Ca 2+ + KX Ca0.5X + K + (4) with the mass action equation: PHREEQC-2 reads input files that define a hydrochemical problem via KEYWORDS (capitalized in the following examples). These keywords are largely self-explanatory, and are described in the user's manual (Parkhurst and Appelo, 1999). Gaines-Thomas convention An input file for PHREEQC-2 with cation exchange following the Gaines Thomas equations may look like: 0.5 [Ca ] + [K ] 2+ [Ca ] ( [Ca 0.5X] = [KX] [Ca ] 0.5 + [K ] ( K Gp ) Ca\ K 2+ 0.5 n EXCHANGE_MASTER_SPECIES # text after a # is not read... X X- #...define exchange site X X- = X-; log_k 0 # semicolon is logical end of line X- + K+ = KX; log_k 0.7 # define the half-reactions of ion exchange 2X- + Ca+2 = CaX2; log_k 0.8 # log K's relative to NaX K 1 # concentrations in mmol/kg H2O Ca 0.1 Cl 1.2 charge EXCHANGE X 1 # 1 mol -equilibrate 1 #...calculate ix in equilibrium with solution 1

- 3 - The exchange reactions are defined in the form of half-reactions entered under keyword. The ion-exchange reaction is generated by combining two half reactions, for example subtracting the one for KX twice from the one for CaX2 and dividing the result by two, will give reaction (1). Normally, the exchangeable species need not be defined in the input file as they are read from the thermodynamic database. Running this file gives the output: -----------------------------Exchange composition------------------------------ X 1.000e+00 mol Equiv- Equivalent Log Species Moles alents Fraction Gamma CaX2 4.065e-01 8.129e-01 8.129e-01 0.000 KX 1.871e-01 1.871e-01 1.871e-01 0.000 The constants of exchange reactions according to Gaines-Thomas, Gapon, and Vanselow can be converted from one to another for a given exchangeable fraction (cf. Appelo and Postma, 1993). Gapon convention To obtain the same exchange composition with the Gapon formula as with Gaines-Thomas, the Gapon constant (KGp)Ca\K = (KGT)Ca\K (1 - [KX]) 0.5, (6) is defined in the input file: EXCHANGE_MASTER_SPECIES G G- #...exchange site G G- = G-; log_k 0 G- + K+ = KG; log_k 0.7 # Gapon exchange K_Gp = K_GT * (1 - [KX])^0.5. (K_GT)_Ca\K = 10^-0.3 G- + 0.5 Ca+2 = Ca0.5G; log_k 0.355019 # log(k_gp) + 0.7 ; K 1; Ca 0.1; Cl 1.2 charge EXCHANGE 1; G 1; -equilibrate 1 This input file gives exactly the same exchangeable fractions (ig) for the specified conditions as the previous file for (ix). In case multiple multivalent ions are present in Gapon exchange, the formulation: G- + 0.5 Mg+2 = Mg0.5G; log_k 0.355019 (7) does not give the expected linear isotherm for Ca 2+ /Mg 2+ exchange, although the exchange coefficients are the same for the two cations. Instead, a sigmoidal isotherm will be found because the power of 0.5 for the solute species favors the small fractions on the exchanger (Figure 1). The

- 4 - form is characteristic for what is called a thixotropic mixture in thermodynamics. For a linear isotherm, the mass-action equation should be defined as: Ca0.5G + Mg+2 = Mg0.5G + Ca+2; log_k 0; -no_check; -mole_balance Mg0.5G (8) In PHREEQC, the mass-action equation is derived from the coefficients in the chemical reaction equation. In this case, the coefficients of the solute species are 1 and these will be used as the exponents in the mass-action equation. The 'no_check' option allows the equation to be processed even though it is not balanced, but the mass balance for the species needs to be indicated explicitly with the 'mole_balance' option. Vanselow convention For the Vanselow convention in PHREEQC, the ion-exchange half-reactions are assigned to solids that can assemble in a solid solution. The Vanselow K for reaction (1) is obtained from: (KV)Ca\K = (KGT)Ca\K (1 + [KX]) 0.5 /2. (9) The solubility products of the exchanger-solids are set relative to an arbitrary reference level, and should yield the correct KV when two solubility reactions are combined. In the following input file, first the anion Xv - for the solid solution is defined, followed by the solids under keyword PHASES. SOLUTION_MASTER_SPECIES Xv Xv- 0 1 1 SOLUTION_SPECIES; Xv- = Xv-; log_k 0.0 PHASES KXv; KXv = K+ + Xvlog_k -20.7 # define new anion # Endmembers for ss #...Xv- is small when log_k is small # Vanselow exchange K_V = (K_GT)_Ca\K * (1 + {KX])^.5 / 2 = 0.273 CaXv2; CaXv2 = Ca+2 + 2Xvlog_k -40.2724 # = 2*( -20.7 - log10(k_v) ) Fix_K; K+ = K+; log_k 0.0 Fix_Ca; Ca+2 = Ca+2; log_k 0.0 EQUILIBRIUM_PHASES Fix_K -3.0175 KCl Fix_Ca -4.069 CaCl2 SOLID_ KCaXv_Vans -comp KXv 0.5 -comp CaXv2 0.25 K 1; Ca 0.1; Cl 1.2 charge # Fix the K/Ca concentrations... # [K+] = 10^-3.0175. K_tot = 1 mm # Total Xv = 1 mol The K + and Ca 2+ activities would change when the solid solution reacts with the solution, but they are buffered by equilibrium with the phases 'Fix_K' and 'Fix_Ca', which were also defined under PHASES. The activities are fixed by adding the chloride salts indicated under keyword

- 5 - EQUILIBRIUM_PHASES. After reaction, the composition of the solid solution is: --------------------------------Solid solutions-------------------------------- Solid solution Component Moles Delta moles Mole fract KCaXv_Vans 5.94e-01 CaXv2 4.06e-01 1.56e-01 6.85e-01 KXv 1.87e-01-3.13e-01 3.15e-01 Thus, the moles of K and Ca in the solid solution are the same as previously found exchangeable on X with the Gaines-Thomas formulation (the default printout for solid solutions is rounded to 3 digits). Note that due to the low solubility of the components of the solid solution, and because the concentration of cations is higher than of the anion, the concentration of anion Xv - will be negligible and does not affect the solution calculations. Rothmund-Kornfeld convention To apply the Rothmund-Kornfeld formula with PHREEQC requires the option to uncouple the mass-action and the mass-balance equations. The following example is from Bloom and Mansell (2001), and calculates the composition of solution and exchanger after the two have mixed and reacted. To be commensurate with Bloom and Mansell (who did not apply activity corrections), the activity coefficients of the exchangeable cations were set equal to the activity coefficients for the solute cations by using '-gamma' in the following example. The exchange constants were taken from Table 1 in Bloom and Mansell, recalculated to activities. Running this file will provide the equilibrium distribution of a K, Ca solution reacting with a Na-soil. PRINT; -reset false; -user_print true Na+ + X- = NaX; log_k 0 -gamma 4.0 0.075 0.789K+ + NaX = KX + 0.789Na+; -log_k 0.705; -no_check; mole_balance KX -gamma 3.5 0.015 0.618Ca+2 + 2KX = CaX2 + 1.236K+; -log_k -0.281; -no_check; mole_balance CaX2 -gamma 5.0 0.165 # should give the same result... 0.931Ca+2 + 2NaX = CaX2 + 1.862Na+; -log_k 1.135; -no_check; mole_balance CaX2 -gamma 5.0 0.165 K 100; Ca 50 EXCHANGE 1 NaX 0.417 # For customized printout... USER_PRINT -start 10 print ' K Na Ca' 20 print 'C_final', 1e3*tot("K"), 1e3*tot("Na"), 2e3*tot("Ca"), 'mol_charge/m3 water' 30 print 'X_final', 546.39*mol("KX"), 546.39*mol("NaX"), 2*546.39*mol("CaX2"),\ 'mol_charge/mg soil' # backslash,\, is line continuation char... -end The keyword USER_PRINT provides access to the BASIC interpreter programmed into

- 6 - PHREEQC and can be used to obtain a specific printout. In this case the print is tailored to the units used by Bloom and Mansell. ----------------------------------User print----------------------------------- K Na Ca C_final 7.6463e+00 1.8916e+02 3.1900e+00 mol_charge/m3 water X_final 5.0461e+01 1.2449e+02 5.2896e+01 mol_charge/mg soil These results are very nearly the same as those given by Bloom and Mansell (2001). Note that for the Rothmund-Kornfeld equations, and this holds for any other set of exchange formulas, it suffices to give one definition of the CaX2 species only (PHREEQC uses the last definition). Indeed, the two equations for CaX2 in the input file above, yield very nearly the same results. Solution Composition in Equilibrium with an Exchanger The PHREEQC option '-equilibrate' was used to define an exchanger in equilibrium with a known solution composition. It is also possible to define the solution composition in equilibrium with a given exchanger composition, by mixing the exchanger with a small fraction of solution. The number of moles in the exchanger is not (much) affected if we mix it with a NaCl solution that contains 1 g of water, but after equilibration, the water composition will change to the (K, Ca0.1)Cl1.2 composition that we have used in the previous examples. X- + K+ = KX; log_k 0.7 2X- + Ca+2 = CaX2; log_k 0.8 EXCHANGE 1 CaX2 0.4065 KX 0.1871 Na 1.2; Cl 1.2 charge MIX 1; 1 1e-9 # exchangeable Ca and K in mol # Na in solution, exchanges for K and Ca #...Take 1e- RI VROXWLRQ J ZDWHU The resulting solution can be 'saved' in temporary memory and 'used' in subsequent simulations, and it can be restored to contain 1 kg water if needed. Reactions and Isotherm plots Lastly, it is easy to obtain an isotherm and plot it with PHREEQC for Windows (written by Vincent Post). For example the K-Ca isotherm given as illustration by Bloom and Mansell (2001) will be calculated in less than a second on any Pentium III computer. K+ + X- = KX; -log_k 0.705; -gamma 3.5 0.015 0.618Ca+2 + 2KX = CaX2 + 1.236K+; -log_k -0.281; -no_check; mole_balance CaX2 -gamma 5.0 0.165 K 100 # 100 mmol K + / kg H 2O EXCHANGE 1

- 7 - KX 0.417 # 417 mmol KX, total K = 517 mmol # Remove 517 mmol K +, replace with 258.5 mmol Ca 2+... REACTION; K -1 Ca 0.5; 0.517 in 20 steps USER_GRAPH -head alpha_k beta_k -axis_titles "Solute K /(K + 2Ca)" "Exchangeable K /(K + 2Ca)" -axis_scale x_axis 0 1 0.2 0.1 -axis_scale y_axis 0 1 0.2 0.1 -start 10 graph_x tot("k")/0.1 20 graph_y mol("kx")/0.417 -end In this calculation, we start with a solution and exchanger with K + only, and change the composition stepwise by removing K and adding Ca with the REACTION keyword. The plot is obtained with the USER_GRAPH keyword data block, and is shown in Figure 2. Conclusion We have shown how various cation-exchange equations can be included in the hydrogeochemical computer program PHREEQC (Version 2). The windows version of the program has an intuitive, user-friendly interface. Numerous options and capabilities make PHREEQC useful for simulations and finding solutions to many practical problems in hydrogeochemistry. The program is available as freeware and was developed for doing 'real world hydrogeochemistry'. It is an excellent tool for the soil sciences as well. Acknowledgements We thank Pierre Glynn and Alex Blum for commenting a draft version of this note. References Appelo, C.A.J. and Postma, 1993. Geochemistry, groundwater and pollution. Balkema, Rotterdam, 536 p. Bloom, S.A. and Mansell, R.S., 2001. An algorithm for generating cation exchange isotherms from binary selectivity coefficients. Soil Sci. Soc. Am. J. 65, 1426-1429. Bond, W.J., 1995. On the Rothmund-Kornfeld description of cation exchange. Soil Sci. Soc. Am. J. 59, 436-443. Parkhurst, D.L. and Appelo, C.A.J., 1999. User's guide to PHREEQC (version 2)-A computer program for speciation, batch-reaction, one-dimensional transport, and inverse geochemical calculations. US Geol. Survey, Water-Resour. Inv. Rep. 99-4259, 312 p. {websites: http://www.geo.vu.nl/users/posv/phreeqc.html or http://wwwbrr.cr.usgs.gov/projects/gwc_coupled/phreeqc/index.html}

- 8-1 MgX /(MgX + CaX) 0.8 0.6 0.4 0.2 0 Reaction (7) Reaction (8) 0 0.2 0.4 0.6 0.8 1 Mg 2+ /(Mg 2+ + Ca 2+ ) Figure 1. Binary isotherms for Ca/Mg exchange with the Gapon convention depend on the formulation of the half reaction. Curved isotherm is for reaction (7); linear isotherm (no preference) is for reaction (8) in the text. Figure 2. Graphic display by PHREEQC for Windows of the K/Ca isotherm according to a Rothmund-Kornfeld equation.