-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added frac_M_vol, frac_F_vol and frac_S_vol output for MAGEMin_C - Corrected wrong set of W's for spinel in the metapelite and metapelite extended database - Added molar mass of CO2 for MAGEMin_C (which was leading to failed mpe bulk loading in the App)
- Loading branch information
1 parent
dac9941
commit 8210991
Showing
17 changed files
with
228 additions
and
111 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "MAGEMin_C" | ||
uuid = "e5d170eb-415a-4524-987b-12f1bce1ddab" | ||
authors = ["Nicolas Riel <[email protected]> & Boris Kaus <[email protected]>"] | ||
version = "1.6.4" | ||
authors = ["Nicolas Riel <[email protected]> & Boris Kaus <[email protected]>"] | ||
version = "1.6.5" | ||
|
||
[deps] | ||
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82" | ||
|
@@ -17,6 +17,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
CEnum = "0.4" | ||
CSV = "0.10.14" | ||
DataFrames = "1.6.1" | ||
MAGEMin_jll = "1.6.0 - 1.6.0" | ||
MAGEMin_jll = "1.6.1 - 1.6.1" | ||
ProgressMeter = "1" | ||
julia = "1.6" |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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,59 @@ | ||
# Aqueous species formulation, using Miron et al., 2017 database. | ||
|
||
|
||
```math | ||
G_{aq} = \sum_{i=1}^{n^{em}} n_i \mu_i | ||
``` | ||
|
||
where $n_i$ the molar fraction and $\mu_i$ is the chemical potential of the species $i$. | ||
|
||
```math | ||
\mu_i = G_i^0 + RT log(\gamma_i m_i) | ||
``` | ||
|
||
where $m_i$ is the molal fraction (!?) | ||
|
||
And then develops into: | ||
|
||
```math | ||
\mu_i = G_i^0 + RT( log(\gamma_i) + log(m_i)) | ||
``` | ||
|
||
--- | ||
|
||
For solute (aqueous species, excluding water), and assuming $\gamma_i$ = 1 (for now) | ||
|
||
```math | ||
\mu_i = G_i^0 + RT log(m_i) | ||
``` | ||
|
||
where | ||
|
||
```math | ||
m_i = \frac{n_i}{m_{H2O}} | ||
``` | ||
|
||
so here $n_i$ is again the molar fraction and $m_{H2O}$ is mass of water? Should it be water density? | ||
|
||
I could find the following definition: | ||
|
||
```math | ||
m_i = \frac{n_i}{n_{H2O} M_{H2O}} | ||
``` | ||
and here $n_i$ is the molarity and $M_{H2O}$ is the Molar mass of water (18.015). However, here density of water like we discussed is not appearing, is that right? | ||
|
||
Should it simply be: | ||
|
||
```math | ||
m_i = \frac{n_i}{\rho_{H2O}} | ||
``` | ||
|
||
--- | ||
|
||
For solvant (water): | ||
|
||
```math | ||
\mu_i = G_i^0 + RT log(\frac{1}{M_{H2O}}) | ||
``` | ||
|
||
!? |
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
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
Oops, something went wrong.