Description Usage Arguments See Also Examples
View source: R/phreeqc_input_helpers.R
Specify a reaction temperature, pressure gradient
1 2 3 4 5 | phr_reaction_temperature(.number = 1, low = 0, high = 100,
steps = 10, values = NULL)
phr_reaction_pressure(.number = 1, low = 0.5, high = 1.5,
steps = 10, values = NULL)
|
.number |
The number of the gradient |
low |
The low temperature, pressure (degrees C, atm) |
high |
The high temperature, pressure (degrees C, atm) |
steps |
The number of steps to use between low and high |
values |
Explicit values to use (takes precedence over low, high, steps) |
Temp: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/phreeqc3-html/phreeqc3-35.htm#50528257_75016 Pressure: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/phreeqc3-html/phreeqc3-34.htm#50528257_65966
1 2 3 4 5 6 7 8 9 10 | phr_reaction_temperature(low = 25, high = 75, steps = 51)
phr_reaction_temperature(values = c(12, 15, 25))
# example 2 from the manual
phr_run(
phr_solution(), # pure water
phr_equilibrium_phases(Gypsum = c(0, 1), Anhydrite = c(0, 1)),
phr_reaction_temperature(low = 25, high = 50, steps = 10),
phr_selected_output(temperature = TRUE, si = c("Gypsum", "Anhydrite"))
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.