ex2b and ex22 examples, co2.dat for ex22

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@6571 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2012-05-18 17:12:11 +00:00
parent 436985c42a
commit f3cc5aacf4
7 changed files with 15582 additions and 0 deletions

View File

@ -26,6 +26,10 @@ ex1.out: $(INPUT)/ex1 $(PHREEQC) $(PHREEQCDAT)
ex2.out: $(INPUT)/ex2 $(PHREEQC) $(PHREEQCDAT)
$(PHREEQC) $(INPUT)/ex2 ex2.out $(PHREEQCDAT)
mv phreeqc.log ex2.log
ex2b.out: $(INPUT)/ex2b $(PHREEQC) $(PHREEQCDAT)
$(PHREEQC) $(INPUT)/ex2b ex2b.out $(PHREEQCDAT)
mv phreeqc.log ex2b.log
ex3.out: $(INPUT)/ex3 $(PHREEQC) $(PHREEQCDAT)
$(PHREEQC) $(INPUT)/ex3 ex3.out $(PHREEQCDAT)
@ -130,6 +134,10 @@ ex20b.out: $(INPUT)/ex20b $(PHREEQC) ../database/iso.dat
ex21_radial.out: $(INPUT)/ex21_radial $(PHREEQC) $(PHREEQCDAT)
$(PHREEQC) $(INPUT)/ex21_radial ex21_radial.out $(PHREEQCDAT)
mv phreeqc.log ex21_radial.log
ex22.out: $(INPUT)/ex22 $(PHREEQC) $(PHREEQCDAT)
$(PHREEQC) $(INPUT)/ex22 ex22.out $(PHREEQCDAT)
mv phreeqc.log ex22.log
diff:
svn diff --diff-cmd diff -x -bw

84
co2.dat Normal file
View File

@ -0,0 +1,84 @@
P 25.oC 50.oC 75.oC 100oC
10.7 0.3000
26.3 0.7068
35.8 0.9356
50.1 1.2051
50.1 1.2203
75.2 1.3932
100.2 1.4186
101.4 1.4339
136.0 1.4695
150.4 1.4695
151.6 1.4898
176.6 1.5254
200.5 1.5203
202.9 1.5610
249.4 1.5763
299.5 1.6220
399.8 1.7237
9.5 0.1831
25.3 0.433
40.5 0.612
50.6 0.771
50.7 0.769
60.6 0.908
68.2 0.932
70.8 0.994
75.3 0.989
76.0 1.005
80.8 1.075
87.2 0.999
90.9 1.133
100.9 1.162
101 1.176
101.3 1.180
101.3 1.143
101.3 1.121
111.0 1.191
121.0 1.214
122.1 1.188
126.7 1.194
141.1 1.231
147.5 1.257
147.5 1.253
152.0 1.234
152.0 1.191
176.8 1.285
200 1.307
201 1.334
202.7 1.300
301 1.431
304.0 1.398
405.3 1.485
500 1.599
608 1.639
709.3 1.710
8.4 0.0864
25.1 0.3051
51.3 0.5695
75.2 0.7576
101.4 0.9153
150.4 1.0983
199.3 1.1898
201.7 1.1898
299.5 1.3119
399.8 1.4237
699.3 1.6729
3.2 0.025
5.9 0.054
9.1 0.088
11.8 0.116
14.3 0.145
17.9 0.183
22.8 0.231
25.0 0.239
50.0 0.454
75.0 0.637
100.0 0.788
150.0 1.014
197.4 1.133
200.0 1.146
300.0 1.317
400.0 1.445
493.5 1.599
700.0 1.718

56
ex22 Normal file
View File

@ -0,0 +1,56 @@
TITLE Compare experimental CO2 solubilities at high CO2 pressure with
Peng-Robinson calc'ns with fixed-volume gas_phase, 25, 50, 75, 100 oC.
SOLUTION 1
GAS_PHASE 1
-fixed_volume
CO2(g) 0
H2O(g) 0
REACTION
CO2 1; 0 27*1
INCREMENTAL_REACTIONS true
USER_GRAPH 1 Example 22, CO2 solubility at high pressures, 25 - 100 oC
-plot_csv_file co2.dat
-axis_titles "Pressure / atm" "CO2 / (mol/kgw)"
-axis_scale x_axis 0 500
-axis_scale y_axis 0 2
-connect_simulations false
10 graph_x PR_P("CO2(g)")
20 graph_y TOT("C(4)")
-end
USER_GRAPH 2 Example 22, P-Vm of CO2 gas, 25 - 100 oC
-headings 25.oC
-axis_titles "molar volume of CO2 gas / (L/mol)" "CO2 pressure / atm"
-axis_scale x_axis 0 1
-axis_scale y_axis 0 500
-connect_simulations false
10 plot_xy gas_vm, gas_p symbol = None
-end
END
USE solution 1
USE gas_phase 1
USE reaction 1
REACTION_TEMPERATURE 2
50
USER_GRAPH 2
-headings 50.oC
END
USE solution 1
USE gas_phase 1
USE reaction 1
REACTION_TEMPERATURE 3
75
USER_GRAPH 2
-headings 75.oC
END
USE solution 1
USE gas_phase 1
USE reaction 1
REACTION_TEMPERATURE 4
100
USER_GRAPH 2
-headings 100oC
END

10247
ex22.out Normal file

File diff suppressed because it is too large Load Diff

60
ex2b Normal file
View File

@ -0,0 +1,60 @@
TITLE Calculate gypsum/anhydrite transitions, 30 - 170 oC, 1 - 1000 atm
Data in ex2b.dat from Blount and Dickson, 1973, Am. Mineral. 58, 323, fig. 2.
SOLUTION 1
EQUILIBRIUM_PHASES
Gypsum
REACTION_TEMPERATURE
30 90 in 10
USER_GRAPH 1 Example 2b, (P, T)-dependent solubilities of Gypsum and Anhydrite
-plot_csv_file ex2b.dat
-axis_titles "temperature / oC" "Solubility / (mol/kgw)"
-axis_scale x_axis 30 170
-axis_scale y_axis 1e-3 0.05 auto auto log
10 plot_xy tc, tot("Ca"), color = Red, symbol = None
-end
END
USE solution 1
USE equilibrium_phases 1
USE reaction_temperature 1
REACTION_PRESSURE 2
493
USER_GRAPH
10 plot_xy tc, tot("Ca"), color = Red, symbol = None
END
USE solution 1
USE equilibrium_phases 1
USE reaction_temperature 1
REACTION_PRESSURE 3
987
USER_GRAPH
20 plot_xy tc, tot("Ca"), color = Red, symbol = None
END
USE solution 1
EQUILIBRIUM_PHASES 4
Anhydrite
REACTION_TEMPERATURE 4
50 170 in 10
USER_GRAPH
10 plot_xy tc, tot("Ca"), color = Green, symbol = None
END
USE solution 1
USE equilibrium_phases 4
USE reaction_temperature 4
USE reaction_pressure 2
USER_GRAPH
10 plot_xy tc, tot("Ca"), color = Green, symbol = None
-end
END
USE solution 1
USE equilibrium_phases 4
USE reaction_temperature 4
USE reaction_pressure 3
USER_GRAPH
10 plot_xy tc, tot("Ca"), color = Green, symbol = None
-end
END

88
ex2b.dat Normal file
View File

@ -0,0 +1,88 @@
t/oC Gypsum P=500.bar P=1000.bar Anhydrite P=500.bar P=1000.bar
Color Red Red Red Green Green Green
symbol Square Star Triangle Square Star Triangle
30 1.626e-02
30 1.782e-02
35 1.781e-02
35 1.701e-02
37 1.709e-02
37 1.608e-02
36 1.536e-02
37 1.544e-02
40 1.489e-02
40 1.607e-02
45 1.534e-02
45 1.458e-02
48 1.465e-02
48 1.518e-02
50 1.406e-02
50 1.510e-02
50 1.605e-02
55 1.486e-02
61 1.462e-02
65 1.454e-02
70 1.417e-02
70 1.483e-02
72 1.453e-02
75 1.394e-02
79 1.372e-02
85 1.392e-02
89 1.302e-02
90 1.263e-02
92 1.282e-02
40 2.502e-02
50 2.338e-02
61 2.276e-02
67 2.263e-02
79 2.082e-02
50 3.288e-02
50 3.477e-02
67 3.382e-02
79 3.128e-02
83 3.048e-02
60 1.078e-02
65 1.045e-02
65 9.980e-03
72 1.002e-02
75 8.341e-03
85 7.639e-03
85 7.151e-03
92 6.227e-03
93 5.917e-03
96 5.737e-03
100 6.188e-03
100 5.505e-03
99 4.923e-03
101 4.823e-03
100 4.584e-03
105 4.995e-03
108 3.991e-03
121 4.322e-03
129 2.845e-03
130 2.663e-03
126 2.456e-03
140 2.741e-03
146 2.376e-03
151 2.303e-03
160 1.652e-03
157 1.508e-03
154 1.532e-03
154 1.456e-03
149 1.357e-03
147 1.195e-03
150 1.549e-03
141 1.640e-03
99 9.251e-03
101 8.970e-03
102 8.923e-03
105 8.391e-03
107 8.347e-03
124 5.404e-03
124 5.543e-03
131 4.541e-03
157 2.639e-03
98 1.477e-02
106 1.374e-02
125 9.124e-03
131 7.668e-03
156 4.811e-03

5039
ex2b.out Normal file

File diff suppressed because it is too large Load Diff