DATABASE ~/phreeqc.datSURFACE_MASTER_SPECIES Ill_s Ill_sOH SURFACE_SPECIES ### strong-binding sites ### Ill_sOH = Ill_sOH log_K 0.0 Ill_sOH + H+ = Ill_sOH2+ log_K = 4.9 Ill_sOH = Ill_sO- + H+ log_K = -6.8 SOLUTION 1-10 initial composition - higher ionic strength pe 6 density 1 temp 13 units mol/kgw pH 8.2 Na 1 Cl 1 -water 1SAVE SOLUTION 1-10END USE SOLUTION 1SURFACE 1 -equil 1 -sites_units density -donnan debye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100. 3950.30 # case 1: high site density - many surface sites# Ill_sOH 0.0001 100. 3950.30 # case 2: low site density - few surface sitesCOPY SURFACE 1 2-10SAVE SURFACE 1-10ENDSOLUTION 11 Boundary condition - lower ionic strength pe 6 density 1 temp 13 units mol/kgw pH 8.2 Na 0.1 Cl 0.1 -water 1END KNOBS -logfile false -iterations 10000 -convergence_tolerance 1E-12 -step_size 2 -pe_step_size 2 TRANSPORT -cells 10 -shifts 1000 -time_step 4733640000 # = 150 a -flow_direction diffusion_only -boundary_conditions 1 1 # 1=Dirichlet -lengths 2 -diffusion_coefficient 5.32e-11 # diffusion coefficient -punch_cells 1-10 -punch_frequency 1 -print_cells 9 10 -print_frequency 1END
#DATABASE ~/phreeqc.datSURFACE_MASTER_SPECIES Ill_s Ill_sOH SURFACE_SPECIES ### strong-binding sites ### Ill_sOH = Ill_sOH log_K 0.0 Ill_sOH + H+ = Ill_sOH2+ log_K = 4.9 Ill_sOH = Ill_sO- + H+ log_K = -6.8 ENDSOLUTION 0-10 initial composition - higher ionic strength pe 6 density 1 temp 13 units mol/kgw pH 3 #8.2 Na 1 charge Cl 1 -water 1ENDSOLUTION 11 Boundary condition - lower ionic strength pe 6 density 1 temp 13 units mol/kgw pH 4 #8.2 Na 0.1 charge Cl 0.1 -water 1END TRANSPORT -cells 10 -shifts 200 -time_step 3.15e9 # 100 years -flow_direction diffusion_only -boundary_conditions constant constant -lengths 10*2 -diffusion_coefficient 5.32e-11 -thermal_diffusion 4 5.32e-11 -print_cells 10 -print_frequency 10 -punch_cells 1-10 -punch_frequency 1 -multi_d true 5.32e-11 1 0 0 #-implicit trueUSER_GRAPH 1 -headings dist H+ OH- Na+ Cl- -axis_titles "Time, years" "Flux H+ OH-" "Flux Na+ and Cl-" -chart_title "Cell 1" -initial_solutions false -connect_simulations true -plot_concentration_vs x -start 5 if cell_no <> 1 then goto 100 10 GRAPH_X total_time / 3.15e7 30 GRAPH_Y MCD_JTOT("H+"), MCD_JTOT("OH-") 40 GRAPH_SY MCD_JTOT("Na+"), MCD_JTOT("Cl-")100 end -end -active trueUSER_GRAPH 2 -headings dist H+ OH- Na+ Cl- -axis_titles "Time, years" "Flux H+ OH-" "Flux Na+ and Cl-" -chart_title "Cell 10" -axis_scale sy_axis auto auto auto auto #log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start5 if cell_no <> 10 then goto 10010 GRAPH_X total_time / 3.15e730 GRAPH_Y MCD_JTOT("H+"), MCD_JTOT("OH-") 40 GRAPH_SY MCD_JTOT("Na+"), MCD_JTOT("Cl-")100 end -endUSER_GRAPH 3 -headings dist pH LA(Na+) LA(Cl-) LA(H+) LA(OH-) -axis_titles "Distance" "pH" -chart_title "All cells" -axis_scale y_axis 2.5 4.5 auto auto -axis_scale sy_axis auto auto auto auto #log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start5 if ABS(step_no mod 200) > 1e-6 then goto 10010 GRAPH_X dist30 GRAPH_Y -LA("H+")40 GRAPH_SY LA("Na+"), LA("Cl-"), LA("H+"), LA("OH-")100 end -endUSER_GRAPH 4 -headings dist H+ OH- Na+ Cl- -axis_titles "Distance" "Flux H+ OH-" "Flux Na+ and Cl-" -chart_title "All cells" -axis_scale sy_axis auto auto auto auto #log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start5 if ABS(step_no mod 200) > 1e-6 then goto 10010 GRAPH_X dist30 GRAPH_Y MCD_JTOT("H+"), MCD_JTOT("OH-") 40 GRAPH_SY MCD_JTOT("Na+"), MCD_JTOT("Cl-")100 end -endENDSURFACE 1 -equil 1 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 2 -equil 2 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 3 -equil 3 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 4 -equil 4 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 5 -equil 5 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 6 -equil 6 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 7 -equil 7 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 8 -equil 8 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 9 -equil 9 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDSURFACE 10 -equil 10 -sites_units density #-donnandebye_lengths 1 limit_ddl 0.6 # surface density SSA (m2/g) mass (g/kgw) Ill_sOH 2.26 100 3950.30 # case 1: high site density - many surface sites # Ill_sOH 0.0001 100 3950.30 # case 2: low site density - few surface sitesENDTRANSPORT -cells 10 -shifts 200USER_GRAPH 3 -headings dist pH LA(Na+)_surf LA(Cl-)_surf LA(H+)_surf LA(OH-)_surfUSER_GRAPH 4 -headings dist H+_surf OH-_surf Na+_surf Cl-_surfUSER_GRAPH 5 -headings dist pH Ill_sOH Ill_sOH2+ Ill_sO- -axis_titles "Time, years" "pH" "Moles" -chart_title "Cell 10" -axis_scale y_axis 2.5 4.5 auto auto -axis_scale sy_axis auto auto auto auto #log -initial_solutions false -connect_simulations true -plot_concentration_vs x -start5 if cell_no <> 10 then goto 10010 GRAPH_X total_time / 3.15e720 GRAPH_Y -LA("H+")30 GRAPH_SY MOL("Ill_sOH")*TOT("water"), MOL("Ill_sO-")*TOT("water"), MOL("Ill_sOH2+")*TOT("water")100 end -end
H2O = H2 + 1/2O2orH2O = H+ + OH-