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
»
Mixing
»
Incremental mixing with output to a file
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Incremental mixing with output to a file (Read 2355 times)
mcunnane
Contributor
Posts: 1
Incremental mixing with output to a file
«
on:
February 11, 2015, 07:42:54 PM »
The task at hand is to evaluate saturation indices when two solutions are mixed in varied proportions, with an end result consisting of a .csv file that provides the output for each mix solution in columns, so they can then be plotted in spreadsheet.
After pre-defining the solutions 1 and 2, I was hoping I could simply type in a bunch of mixtures and using SELECTED_OUTPUT direct the output to my file, so something like:
TITLE xx
MIX 1; 1 0.0; 2 1.0; MIX 2; 1 0.1; 2 0.9; .....
SELECTED_OUTPUT
-file sel_out.csv
-ph true
-temperature true
-saturation_indices Calcite Siderite Goethite
END
When I run this I get only one line of output corresponding to the first mixture. Would sure be happy to hear how I can get this to work?
Logged
dlparkhurst
Top Contributor
Posts: 2544
Re: Incremental mixing with output to a file
«
Reply #1 on:
February 12, 2015, 03:25:45 AM »
When you define multiple MIX data blocks within the same simulation, only the first is used. A simulation is defined by the input before an END statement.
If you put the MIX data blocks separated by END statements, you will get the results that you want.
TITLE xx
MIX 1; 1 0.0; 2 1.0;
SELECTED_OUTPUT
-file sel_out.csv
-ph true
-temperature true
-saturation_indices Calcite Siderite Goethite
END
MIX 2; 1 0.1; 2 0.9;
END
...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Processes
»
Mixing
»
Incremental mixing with output to a file