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 »
  • Surface Complexation »
  • Selected_output
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: Selected_output  (Read 1919 times)

rrahimi

  • Contributor
  • Posts: 5
Selected_output
« on: 18/11/20 22:45 »
Hi guys.
I want to use "Selected_output" keyword to print some of the data to an excel file. But, I do not know how to have the surface potentials in the output excel file. Is it possible to do that?

Thank you for your help in advance.
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4037
Re: Selected_output
« Reply #1 on: 19/11/20 01:33 »
You will have to define SELECTED_OUTPUT n and USER_PUNCH n. In USER_PUNCH n, you  can access all of the functions described in the section "The Basic Interpreter" in the manual. The following example will print the surface potential for the surface named Hfo.

Code: [Select]
USER_PUNCH 2
-heading Hfo_psi
10 PUNCH EDL("psi", "Hfo")
Logged

rrahimi

  • Contributor
  • Posts: 5
Re: Selected_output
« Reply #2 on: 19/11/20 10:53 »
Thank you so much for the help. I did that. Is there a way to include my experimental data in the model. I want to plot the results of my model and the experimental zeta potential in the same graph to see how much they are close to each other. I can plot the model results, but I cannot include and plot the experimental data. Does phreeqc have this ability?
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4037
Re: Selected_output
« Reply #3 on: 19/11/20 16:09 »
You can use the option -plot_tsv_file in USER_GRAPH to plot your experimental results.

Examples 2b, 20, and 21 (in the Examples directory of the distribution) use -plot_tsv_file. I've attached the files for 2b.
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Processes »
  • Surface Complexation »
  • Selected_output
 

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