-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from dlparkhurst/mix_error
Mix error
- Loading branch information
Showing
6 changed files
with
132 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,6 +257,7 @@ set(TESTS | |
minteqv4 | ||
missing_surf_related_equi | ||
missing_surf_related_kin | ||
mix_unequal | ||
mixes | ||
mmb | ||
mmb2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
database ../database/phreeqc.dat | ||
SELECTED_OUTPUT 101 | ||
-file mix_unequal_101.sel | ||
USER_PUNCH 101 | ||
-headings Mu SC TC | ||
-start | ||
10 PUNCH STR_F$(MU, 20, 12) | ||
20 PUNCH STR_F$(SC, 20, 10) | ||
30 PUNCH STR_F$(TC, 20, 10) | ||
-end | ||
SOLUTION 1 | ||
-temp 10 | ||
Na 1 | ||
Cl 1 | ||
-water 0.4 | ||
END | ||
SOLUTION 2 | ||
-temp 20 | ||
K 10 | ||
Br 10 | ||
-water 0.6 | ||
END | ||
MIX 1 | ||
# T = (0.4*0.4*10 + 0.6*0.6*20)/(0.16+0.36) = 16.92307692, mass = 0.52 | ||
# Cl = (0.4*0.4*1)/0.52 = 0.3077 mmol/kgw | ||
# K = (0.6*0.6*10)/0.52 = 6.92 mmol/kgw | ||
1 0.4 | ||
2 0.6 | ||
END | ||
|
||
# T = (0.4*0.2*10 + 0.6*0.7*20)/(0.08+0.34) = 18.4, mass = (0.4*0.2+0.6*0.7) = 0.5 | ||
# Cl = (0.4*0.2*1)/0.5 = 0.3077 mmol/kgw = 0.16 | ||
# K = (0.6*0.7*10)/0.5 = 6.92 mmol/kgw = 8.4 | ||
MIX | ||
1 0.2 | ||
2 0.7 | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Mu SC TC | ||
0.001000066900 86.7123676711 10.0000000000 | ||
0.010000092689 1291.7967478544 20.0000000000 | ||
0.007230851816 873.0591329232 16.9230769231 | ||
0.008560087209 1068.6105947361 18.4000000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters