Learn R Programming

⚠️There's a newer version (3.8.7) of this package.Take me there.

phreeqc (version 3.7.6)

R Interface to Geochemical Modeling Software

Description

A geochemical modeling program developed by the US Geological Survey that is designed to perform a wide variety of aqueous geochemical calculations, including speciation, batch-reaction, one-dimensional reactive-transport, and inverse geochemical calculations.

Copy Link

Version

Install

install.packages('phreeqc')

Monthly Downloads

865

Version

3.7.6

License

GPL-3

Maintainer

SR Charlton

Last Published

December 7th, 2023

Functions in phreeqc (3.7.6)

ex5

Example 5--Irreversible Reactions
ex7

Example 7--Gas-Phase Calculations
minteq.dat

The minteq.dat database.
minteq.v4.dat

The minteq.v4.dat database.
iso.dat

The iso.dat database.
ex20a

Example 20--Distribution of Isotopes Between Water and Calcite
llnl.dat

The llnl.dat database.
ex17

Example 17--Inverse Modeling With Evaporation
phrGetErrorFileName

Retrieve the name of the error file.
phrGetErrorFileOn

Retrieve the current value of the error file switch.
phrGetComponentList

Retrieve a list containing the current list of components.
phrGetAccumulatedLines

Retrieve the accumulated input.
ex8

Example 8--Surface Complexation
phrGetLogFileName

Retrieve the name of the log file.
frezchem.dat

The frezchem.dat database
phrAccumulateLine

Accumulate line(s) for input to phreeqc.
phrGetLogFileOn

Retrieve the current value of the log file switch.
ex9

Example 9--Kinetic Oxidation of Dissolved Ferrous Iron With Oxygen
phrGetLogStringsOn

Retrieve the current value of the log strings switch.
phrGetLogStrings

Retrieve log output.
phrGetOutputStrings

Retrieve standard phreeqc output.
phrClearAccumulatedLines

Clear the accumulated input buffer.
phrSetErrorFileOn

Set error file on/off.
phrGetOutputStringsOn

Retrieve the current value of the output strings switch.
phrSetErrorStringsOn

Set error strings on/off.
phrLoadDatabaseString

Load a phreeqc database as a string or a list of strings.
phrRunAccumulated

Runs the accumulated input.
phrGetDumpStringsOn

Retrieve the current value of the dump strings switch.
phrGetDumpStrings

Retrieve DUMP strings.
ex3

Example 3--Mixing
ex4

Example 4--Evaporation and Homogeneous Redox Reactions
phreeqc.dat

The phreeqc.dat database
phreeqc-package

R interface to the PHREEQC geochemical modeling program.
wateq4f.dat

The wateq4f.dat database.
phrGetOutputFileName

Retrieve the name of the output file.
phrSetOutputFileName

Set the name of the output file.
pitzer.dat

The pitzer.dat database.
phrSetLogStringsOn

Set log strings on/off.
phrRunFile

Run phreeqc input file
sit.dat

The sit.dat database.
phrSetLogFileName

Set the name of the log file.
phrRunString

Runs phreeqc using the given string as input.
phrSetLogFileOn

Set log file on/off.
phrGetDumpFileName

Retrieve the name of the dump file.
phrGetWarningStrings

Retrieve warning messages.
phrGetErrorStringsOn

Retrieve the current value of the error strings switch.
phrSetDumpStringsOn

Set dump strings on/off.
phrGetErrorStrings

Retrieve error string messages.
phrLoadDatabase

Load a phreeqc database file
phrGetDumpFileOn

Retrieve the current value of the dump file switch.
ex6

Example 6--Reaction-Path Calculations
phrSetErrorFileName

Set the name of the error file.
phrSetOutputFileOn

Set output file on/off.
phrSetOutputStringsOn

Set output strings on/off.
phrGetOutputFileOn

Retrieve the current value of the output file switch.
phrGetSelectedOutput

Returns the contents of the selected output as a list of data frames.
phrSetSelectedOutputFileOn

Set selected_output file on/off.
phrGetSelectedOutputFileName

Retrieve the name of the selected_output file.
phrSetDumpFileOn

Set the dump file on/off.
phrSetDumpFileName

Set the name of the dump file.
phrSetSelectedOutputFileName

Set the name of the selected_output file.
Amm.dat

The Amm.dat database.
ex1

Example 1--Speciation Calculation
ex16

Example 16--Inverse Modeling of Sierra Spring Waters
ex2

Example 2--Equilibration With Pure Phases
ex10

Example 10--Aragonite-Strontianite Solid Solution
ex15.dat

The ex15.dat database
ex14

Example 14--Advective Transport, Cation Exchange, Surface Complexation, and Mineral Equilibria
core10.dat

The core10.dat database
ex11

Example 11--Transport and Cation Exchange
ex13a

Example 13--Aragonite-Strontianite Solid Solution
ex21

Example 21--Modeling Diffusion of HTO, 36Cl-, 22Na+, and Cs+ in a Radial Diffusion Cell
Tipping_Hurley.dat

The Tipping_Hurley.dat database
ex18

Example 18--Inverse Modeling of the Madison Aquifer
ex22

Example 22--Modeling Gas Solubilities: CO2 at High Pressures
ex15

Example 15--1D Transport: Kinetic Biodegradation, Cell Growth, and Sorption
ex12

Example 12--Advective and Diffusive Flux of Heat and Solutes
ColdChem.dat

The ColdChem.dat database.
ex19

Example 19--Modeling Cd+2 Sorption With Linear, Freundlich, and Langmuir Isotherms, and With a Deterministic Distribution of Sorption Sites for Organic Matter, Clay Minerals, and Iron Oxyhydroxides