[#DATA phreeqc.datSOLUTION 1 pressure 1 # atm Pressure temp 20 # degree Celsius -water 1 units mol/kgw # ppm (Resrvoir Salinity ) Mg 1 Cl 2END GAS_PHASE 1 -fixed_pressure -pressure 98.69 #100 bar CO2(g) 98.69 H2S(g) 1e-20 H2(g) 1e-20 Hdg(g) 1e-20 H2O(g) 1e-20 N2(g) 1e-20 END REACTION_PRESSURE 1 1 1000 in 20 RATES 1 Calcite #Phreeqc.DAT -start 1 REM PARM(1) = specific surface area of calcite, cm^2/mol calcite 2 REM PARM(2) = exponent for M/M0 10 si_cc = SI("Calcite") 20 IF (M <= 0 and si_cc < 0) THEN GOTO 200 30 k1 = 10^(0.198 - 444.0 / TK ) 40 k2 = 10^(2.84 - 2177.0 /TK ) 50 IF TC <= 25 THEN k3 = 10^(-5.86 - 317.0 / TK) 60 IF TC > 25 THEN k3 = 10^(-1.1 - 1737.0 / TK ) 80 IF M0 > 0 THEN area = PARM(1)*M0*(M/M0)^PARM(2) ELSE area = PARM(1)*M 110 rate = area * (k1 * ACT("H+") + k2 * ACT("CO2") + k3 * ACT("H2O")) 120 rate = rate * (1 - 10^(2/3*si_cc)) 130 moles = rate * 0.001 * TIME # convert from mmol to mol 200 SAVE moles -end KINETICS 1 Calcite #Phreeqc.DAT -M0 10 # initial moles -tol 1e-12 -parms 1.67e5 0.6 # cm^2/mol calcite, exp factor -steps 0 1 2 3 5 10 20 30 day -step_divide 200 -runge_kutta 6 -cvode true -bad_step_max 1000 -cvode_order 5 -cvode_steps 200 reaction 2 H2(g) 1 100 USE solution 1 USE REACTION 2 USE GAS_PHASE 1 USE KINETICS 1 REACTION_PRESSURE 298.69REACTION_TEMPERATURE 2100 USER_GRAPH 1-headings Temp -axis_titles "Time (day)" "Amount of dissolved Calcite, mol"-axis_scale x_axis auto auto auto auto-axis_scale y_axis auto auto auto autoinitial_solutions true-start10 x = TOTAL_TIME/(86400) 20 GRAPH_X x30 graph_y (-KIN_DELTA("Calcite"))-end USER_GRAPH 2-headings Time H2 CO2-axis_titles "Time (day)" "H2 Solubility in Water, mol/kgw" "CO2 Solubility in Water, mol/kgw" -axis_scale x_axis auto auto auto aut-axis_scale y_axis auto auto auto autinitial_solutions true-start10 x = TOTAL_TIME/86400 20 GRAPH_X x30 GRAPH_Y mol("H2")40 GRAPH_SY mol("CO2")-end/code]
CaCO3 + 4H2 = Ca+2 + 2OH- + CH4 + H2O
SOLUTION 1 pressure 1 # atm Pressure temp 20 # degree Celsius -water 1 units mol/kgw # ppm (Resrvoir Salinity ) Mg 1 Cl 2EQUILIBRIUM_PHASES 1Calcite 0 1GAS_PHASE 1H2(g) 0REACTION 1 H2(g) 1 100END