Click here to donate to keep PhreeqcUsers open
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Conceptual Models
»
Database selection and modification
»
Adding Thermodynamic Data
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Adding Thermodynamic Data (Read 3055 times)
HamatBris
Contributor
Posts: 3
Adding Thermodynamic Data
«
on:
February 15, 2015, 03:36:59 PM »
Hi!
Im constructing a model for Dolomitization but the input for the model has activity coefficients for CO3 and Mg (3.16E-09 and 1.20E-01 respectively).
The calculation used to derive these values utilized thermodyamic data from Bowers et al 1984, specifically
Keq(dolomite),100deg.C = 6.76E-21
My question is; how do I incorporate this thermodynamic data for a non-standard (25deg.C) temperature? Will this affect the internal consistency of the database?
Title Variable Input test
SOLUTION
Units mol/l
temp 100 %
Mg 0.4 % temp,Mg,Ca Values used to calculate the activity coefficients.
Ca 1.00 %
END
«
Last Edit: February 15, 2015, 03:55:03 PM by HamatBris
»
Logged
dlparkhurst
Top Contributor
Posts: 2928
Re: Adding Thermodynamic Data
«
Reply #1 on:
February 15, 2015, 06:59:20 PM »
The activity coefficients have temperature dependence in the formulation. Debye Hueckel A and B parameters are functions of temperature. You can plot them as a function of temperature using the DH_A and DH_B Basic functions.
Pitzer parameters are a function of temperature. The next release of PHREEQC (3.1.8) will have some updates for better temperature dependence.
Note that the ionic strength is also important for the calculation of activity coefficients, so make sure you are using the correct medium.
Finally, equilibrium constants for aqueous species and minerals are calculated with either an analytical expression or the van't Hoff expression. You will have to look at the database to see which is used for the relevant aqueous species. 100 C is probably a stretch for the van't Hoff extrapolated from 25 C. You can always specify a new expression or a 100 C value for log K by definitions in the input file.
Finally, you have the issue of the consistency between the PHREEQC aqueous model and the manner by which the literature value of log K was calculated. If the literature used an aqueous model to arrive at log K, it very well may be different than the aqueous model(s) of PHREEQC. Perhaps the original data should be reinterpreted with a PHREEQC aqueous model if you want to be completely consistent.
Logged
HamatBris
Contributor
Posts: 3
Re: Adding Thermodynamic Data
«
Reply #2 on:
February 15, 2015, 08:32:04 PM »
Hi,
Thank you very much for the reply.
'You can always specify a new expression or a 100 C value for log K by definitions in the input file.'
This is precisely what I wish to do yet I cannot see how exactly I can specify log K at 100 deg.C within a PHASES blocks.
for example how would I specify that this log K represents a value of 100 deg.C.
Dolomite
CaMg(CO3)2 = Ca+2 + Mg+2 + 2 CO3-2
log_k -17.083
«
Last Edit: February 15, 2015, 08:35:14 PM by HamatBris
»
Logged
dlparkhurst
Top Contributor
Posts: 2928
Re: Adding Thermodynamic Data
«
Reply #3 on:
February 16, 2015, 04:06:08 AM »
If you enter just logK in the PHASES definition then it will be used no matter what the temperature. Just enter the log K if all of your calculations are at 100 C.
Logged
HamatBris
Contributor
Posts: 3
Re: Adding Thermodynamic Data
«
Reply #4 on:
February 17, 2015, 12:58:27 PM »
Cheers thanks for this!! I thought it would extrapolate the logK to 100deg.C.
Logged
dlparkhurst
Top Contributor
Posts: 2928
Re: Adding Thermodynamic Data
«
Reply #5 on:
February 17, 2015, 04:54:21 PM »
If delta H is zero, the extrapolation will have no effect. Analytical expression must not be defined.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Conceptual Models
»
Database selection and modification
»
Adding Thermodynamic Data