#Cation Exchange ExampleEXCHANGE_SPECIES X- = X- log_k 0.0 Na+ + X- = NaX log_k 0.0 -llnl_gamma 4.0 delta_h 0.0 K+ + X- = KX log_k 1.0 -llnl_gamma 3.0 delta_h -1.24 # Jardine & Sparks, 1984SOLUTION 1 temp 25 pH 7 charge pe 4 redox pe units mol/kgw Cl 0.1 Na 0.1 -water 6.0E-04 # kgEXCHANGE 1 NaX 0.00000764 KX 0 -equilibrate with solution 1REACTION 1 KCl 1 H2O 555 40 micromoles in 16 steps CALCULATE_VALUES mol_NaX(i) -start 10 PUT(MOL("NaX")*TOT("water") , (STEP_NO)) -end SELECTED_OUTPUT -file Na-K_Exchange w Dilution.sel -reset false -step true -state true -user_punch true #-totals K Na Cl X #-molalities Na+ NaCl K+ KCl KX NaX USER_PUNCH -start -headings cumulative_heat 10 PUNCH ((((MOL("NaX")*TOT("water"))- 7.640e-06)* DELTA_H_SPECIES("NaX") * -1000)+(((MOL("KX")*TOT("water"))- 0)* DELTA_H_SPECIES("KX"))) -end END
state step cumulative_heat i_soln -99 -7.4401e-103 i_exch -99 -7.4401e-103 react 1 -1.5854e-06 react 2 -2.8699e-06 react 3 -3.8903e-06 react 4 -4.6946e-06 react 5 -5.3299e-06 react 6 -5.8358e-06 react 7 -6.2433e-06 react 8 -6.5760e-06 react 9 -6.8511e-06 react 10 -7.0814e-06 react 11 -7.2764e-06 react 12 -7.4434e-06 react 13 -7.5877e-06 react 14 -7.7136e-06 react 15 -7.8241e-06 react 16 -7.9220e-06
RUN_CELLS-cell 1
USE solution 1USE exchange 1USE reaction 1SAVE solution 1SAVE exchange 1
SELECTED_OUTPUT 1-active false/true