ex17 {phreeqc} | R Documentation

## Example 17–Inverse Modeling With Evaporation

### Description

Evaporation is handled in the same manner as other heterogeneous reactions for inverse modeling. To model evaporation (or dilution), it is necessary to include a phase with the composition "H2O". The important concept in modeling evaporation is the water mole-balance equation (see Parkhurst and Appelo, 1999, "Equations and Numerical Method for Inverse Modeling"). The moles of water in the initial solutions times their mixing fractions, plus water gained or lost by dissolution or precipitation of phases, plus water gained or lost through redox reactions, must equal the moles of water in the final solution. The equation is still approximate because it does not include the moles of water gained or lost in hydrolysis and complexation reactions in the solutions. The results of inverse modeling are compared with a forward model using Pitzer equations to calculate the sequence of salts that precipitate during evaporation. The example can be run using the `phrRunString` routine.

### Source

http://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc

### References

http://pubs.usgs.gov/tm/06/a43/pdf/tm6-A43.pdf

### See Also

Other Examples: `ex10`, `ex11`, `ex12`, `ex13a`, `ex14`, `ex15`, `ex16`, `ex18`, `ex19`, `ex1`, `ex20a`, `ex21`, `ex22`, `ex2`, `ex3`, `ex4`, `ex5`, `ex6`, `ex7`, `ex8`, `ex9`

### Examples

    phrLoadDatabaseString(pitzer.dat)
    phrSetOutputStringsOn(TRUE)
    phrRunString(ex17)
    phrGetOutputStrings()

[Package phreeqc version 3.4.10 Index]