phr_reaction_temperature: Specify a reaction temperature, pressure gradient

Description Usage Arguments See Also Examples

View source: R/phreeqc_input_helpers.R

Description

Specify a reaction temperature, pressure gradient

Usage

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)

Arguments

.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)

See Also

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

Examples

 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"))
)

paleolimbot/tidyphreeqc documentation built on Aug. 29, 2019, 11:14 p.m.