Paolo Papale, Melissa Vassalli, and Antonella Longo are gratefully acknowledged for providing computer code that supports these web services.

# Papale model for H_{2}O-CO_{2} partitioning/solubility in magmas

**Calculations specified on this page are performed using the model of: **

Papale P, Moretti R, Barbato D (2006) The compositional dependence of the saturation surface of H_{2}O + CO_{2} fluids in silicate melts. *Chemical Geology* **229**, 78-95.

**Enter compositions into the form below or download the Microsoft™ Excel spreadsheet described at the bottom of the page. **

Note: If the error message "**Could not connect to host**" is returned when you attempt to use the calculator, or if the Excel spreadsheet does not execute the calculations properly, the server performing these calculations at OFM Research may be in an unresponsive state. If you encounter this error, please email the webmaster, who will reboot the server to restore functionality.

## Choose a calculation mode:

- Calculate partitioning of H
_{2}O and CO_{2}between silicate melt and a gas/fluid phase given the weight fraction of H_{2}O and CO_{2}in the system (magma). **Calculate the solubility of H**_{2}O and CO_{2}in a silicate melt given the mole fraction of H_{2}O in a coexisting gas/fluid phase.**Calculate the total pressure and mole fraction of H**_{2}O in a gas/fluid phase given the weight fraction of dissolved H_{2}O and CO_{2}in a coexisting silicate melt.

### Calculate partitioning of H_{2}O and CO_{2} between silicate melt and a gas/fluid phase given the weight fraction of H_{2}O and CO_{2} in the system (magma):

### Enter input constraints for calculation:

**Calculate the solubility of H**_{2}O and CO_{2} in a silicate melt given the mole fraction of H_{2}O in a coexisting gas/fluid phase.

_{2}O and CO

_{2}in a silicate melt given the mole fraction of H

_{2}O in a coexisting gas/fluid phase.

### Enter input constraints for calculation:

**Calculate the total pressure and mole fraction of H**_{2}O in a gas/fluid phase given the weight fraction of dissolved H_{2}O and CO_{2} in a coexisting silicate melt.

_{2}O in a gas/fluid phase given the weight fraction of dissolved H

_{2}O and CO

_{2}in a coexisting silicate melt.

### Enter input constraints for calculation:

Documentation on web services that support this page.

If you have access to either Microsoft™ Excel for Windows XP (Excel 2002) or Excel 2003, running under Windows 98, ME, NT, XP, 2000, or Windows Server 2003, you may choose to download an Excel workbook that provides a Visual Basic function which calculates results equivalent to the functions provided above. The workbook requires installation of the following optional Excel components:

- Microsoft Office XP Web Services Toolkit 2.0, for Excel/Office XP or
- Microsoft Office 2003 Web Services Toolkit 2.01 for Excel/Office 2003

depending on the version of Excel or Office that is installed. Instructions and a usage example are included in the workbook. Execution of workbook functions requires an active internet connection, as the built-in VBA macros perform their calculations by contacting web services at www.ofm-research.org. Firewall or Windows security settings may interfere with the performance of workbook functions.