PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • Significant figures for Iphreeqc
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Significant figures for Iphreeqc  (Read 6369 times)

dlee05291

  • Contributor
  • Posts: 4
Significant figures for Iphreeqc
« on: 20/08/14 16:40 »
Hi all,

I'm doing reactive transport simulation using Iphreeqc and Comsol. I have a problem regarding significant figures. I believe that the Iphreeqc method 'AccumulateLine' has five significant figures, but that causes a high deviation in pH calculation in my case. Is there any way to increase the number of significant figures for Iphreeqc module?

Thanks,
Dooyoul Lee
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4262
Re: Significant figures for Iphreeqc
« Reply #1 on: 20/08/14 20:34 »
AccumulateLine accepts a string. When the string is processed, all available digits will be used to interpret a numeric value.

Perhaps you are formulating the string for AccumulateLine with limited precision, and you need to you write the line with more precision.
Logged

dlee05291

  • Contributor
  • Posts: 4
Re: Significant figures for Iphreeqc
« Reply #2 on: 20/08/14 21:30 »
Yes, you are right. It was not a problem of Iphreeqc. I'm using MATLAB function 'num2str' which can set precision. Thanks for your reply!
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Reactive transport modelling »
  • Significant figures for Iphreeqc
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2