PhreeqcUsers Discussion Forum

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • USER_PUNCH/USER_GRAPH »
  • BASIC functions »
  • conductance in SELECTED_OUTPUT
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: conductance in SELECTED_OUTPUT  (Read 2477 times)

zsszabo86

  • Frequent Contributor
  • Posts: 16
conductance in SELECTED_OUTPUT
« on: June 21, 2017, 11:20:58 AM »
I can see the Specific Conductance (µS/cm,  17°C) data in the PHREEQC .phr.out file, however I could not figure out if there is a way to include this data in the .txt file generated by SELECTED_OUTPUT. If there is a way, please share it. Thank you in advance!
Logged

dlparkhurst

  • Top Contributor
  • Posts: 2483
Re: conductance in SELECTED_OUTPUT
« Reply #1 on: June 21, 2017, 02:58:39 PM »
The Basic function SC returns the specific conductance at the current temperature.

Updated documentation including all Basic functions (see The Basic Interpreter section) are available in the version 3 documentation in all distributions and at the following URL:

https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/phreeqc3-html/phreeqc3.htm
Logged

dlparkhurst

  • Top Contributor
  • Posts: 2483
Re: conductance in SELECTED_OUTPUT
« Reply #2 on: June 21, 2017, 03:21:07 PM »
Just to add. Measured specific conductance is often reported as specific conductance at 25 C. The following is an approximation that converts the SC at the current temperature (SC) to specific conductance at 25 C.

10 sc25 = SC/(1 + 0.021 * (TC - 25))
Logged

zsszabo86

  • Frequent Contributor
  • Posts: 16
Re: conductance in SELECTED_OUTPUT
« Reply #3 on: June 23, 2017, 11:20:44 AM »
Dear David
Thank you for the reply.
However, I am not sure how to write the code.. Where should I use SC basic function to make phreeqc to add SC data to printed output txt file?
Do I need to use PRINT keyword somewhere after SELECTED_OUTPUT?
I went through the documentation but I do not see any example for this.
Logged

dlparkhurst

  • Top Contributor
  • Posts: 2483
Re: conductance in SELECTED_OUTPUT
« Reply #4 on: June 23, 2017, 04:21:25 PM »
The specific conductance is automatically printed in the output file (usually the .out file), but only for databases that have -Dw (diffusion coefficients) in the SOLUTION_SPECIES definitions. The database files with -Vm are pitzer.dat, phreeqc.dat, and Amm.dat.
Logged

jaferrari

  • Contributor
  • Posts: 1
Re: conductance in SELECTED_OUTPUT
« Reply #5 on: May 19, 2019, 02:12:06 AM »
I did it this way:

CALCULATE_VALUES
SC_T25
-start
  10 sc25 = SC/(1 + 0.021 * (TC - 25))
  20 SAVE sc25
-end


SELECTED_OUTPUT 1 specific conductance
    -file                 KIN_CACO3.csv
    -time                 true
    -pH                   true
    -totals               Ca  C  Calcite
    -molalities           (CO2)2  CaCO3  HCO3-
    -saturation_indices   calcite
    -gases                CO2(g)
    -kinetic_reactants    Calcite
    -calculate_values     SC_T25
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • USER_PUNCH/USER_GRAPH »
  • BASIC functions »
  • conductance in SELECTED_OUTPUT
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2