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
»
Processes
»
Reactive transport modelling
»
PhreeqcRM SetConcentrations
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: PhreeqcRM SetConcentrations (Read 1132 times)
strofp
Contributor
Posts: 2
PhreeqcRM SetConcentrations
«
on:
March 19, 2020, 01:27:50 PM »
Hello,
If a component value is low (e.g. 10^-23) then GetConcentrations (immediately after SetConcentrations) returns zero. Is there any switch how to fix it? What is the MINIMUM VALUE LIMIT?
Thanks for the help
Logged
dlparkhurst
Top Contributor
Posts: 3585
Re: PhreeqcRM SetConcentrations
«
Reply #1 on:
March 19, 2020, 08:40:51 PM »
Looks like a value of 1e-18 is coded in the Update method of solution.cpp.
PHREEQC is somewhat inconsistent on censoring values. The value in the Update method should probably be set to MIN_TOTAL, which is used in most of the code (although I won't guarantee that it is used consistently either). MIN_TOTAL is set to 1e-25 in phreeqc.cpp.
Logged
strofp
Contributor
Posts: 2
Re: PhreeqcRM SetConcentrations
«
Reply #2 on:
March 20, 2020, 09:46:47 AM »
Thanks David,
it was exactly as you wrote and it was enough to change solution.cpp at line 1114.
Best Regards
Pavel
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Processes
»
Reactive transport modelling
»
PhreeqcRM SetConcentrations