phr_equilibrium_phases: Specify a list of phases for which equilibria should be...

Description Usage Arguments See Also Examples

View source: R/phreeqc_input_helpers.R

Description

Specify a list of phases for which equilibria should be established

Usage

1
phr_equilibrium_phases(.number = 1, .name = NA, ...)

Arguments

.number

The number of the component

.name

The name of the component

...

key/value pairs in the form Component = c(low, high), where low and high correspond to saturation indicies.

See Also

https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/phreeqc3-html/phreeqc3-13.htm#50528257_61207

A phr_input_section()

Examples

1
2
3
4
5
6
7
# 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.