CALLIOPE
CALLIOPE is the equilibrium outgassing solver of the PROTEUS coupled atmosphere-interior evolution framework. It computes the partitioning of volatile elements between a partially molten silicate mantle and an overlying gas-phase atmosphere, assuming both reservoirs are in thermochemical equilibrium at the planetary surface.
Given an elemental inventory and a magma ocean state (\(T_\mathrm{magma}\), \(\Phi_\mathrm{global}\)), CALLIOPE solves a nonlinear mass-balance system for the surface partial pressures of the four primary species (H\(_2\)O, CO\(_2\), N\(_2\), S\(_2\)) and propagates the speciation to the seven secondary species (H\(_2\), CH\(_4\), CO, NH\(_3\), SO\(_2\), H\(_2\)S, O\(_2\)). The solver runs in either of two modes that share the same physics functions and differ only in their unknown set:
- Buffered mode (
equilibrium_atmosphere) takes an oxygen fugacity \(f_{\mathrm{O}_2}\) (specified as a \(\log_{10}\) shift from the iron-wΓΌstite buffer) as input and solves a four-equation system for the H, C, N, S budget. Oxygen mass is derived. - Authoritative-oxygen mode (
equilibrium_atmosphere_authoritative_O) takes a five-element budget including O and solves a five-equation system for the four pressures plus \(\Delta\mathrm{IW}\). Oxygen fugacity is derived.
Named after the Greek muse of eloquence and epic poetry. Pronounced kal-IGH-uh-pee.
New to CALLIOPE?
See the Getting Started guide for installation, first run, and basic usage.
Features
- Eleven volatile species: H\(_2\)O, CO\(_2\), N\(_2\), S\(_2\) as primary unknowns; H\(_2\), CH\(_4\), CO, NH\(_3\), SO\(_2\), H\(_2\)S, O\(_2\) derived from gas-phase equilibrium
- Five elemental conservation channels: H, C, N, S always solved; O either derived from the \(f_{\mathrm{O}_2}\) buffer (buffered mode) or supplied as a fifth budget (authoritative-O mode)
- Configurable redox state: Fischer et al. (2011) 6 iron-wΓΌstite (IW) buffer with arbitrary \(\Delta\mathrm{IW}\) shift (default; chosen to be close to atmodeller's Hirschmann composite across the magma-ocean range), or the legacy O'Neill & Eggins (2002) 11 IW
- Calibrated equilibrium constants: JANAF 3 and Schaefer & Fegley (2017) 12 fits for the H\(_2\)O-H\(_2\), CO\(_2\)-CO, CO\(_2\)+H\(_2\)-CH\(_4\), S\(_2\)-SO\(_2\), S\(_2\)+H\(_2\)-H\(_2\)S, and N\(_2\)+H\(_2\)-NH\(_3\) couples
- Multiple solubility laws per species: peridotite (default H\(_2\)O, Sossi et al. 2023 13), basalt (Dixon et al. 1995 5, Wilson & Head 1981 14, Hamilton et al. 1964 8), anorthite-diopside (Newcombe et al. 2017 10), lunar glass (Newcombe et al. 2017 10); CO\(_2\) (Dixon et al. 1995 5); CO (Armstrong et al. 2015 2); CH\(_4\) (Ardia et al. 2013 1); N\(_2\) (Libourel et al. 2003 9 or Dasgupta et al. 2022 4); S\(_2\) (Gaillard et al. 2022 7)
- Robust hybrid solver: alternating
scipy.optimize.fsolve(Powell hybrid) andtrust-constrminimisation, with Monte-Carlo restart on failure - PROTEUS-coupled or standalone: the same equilibrium kernel powers both the in-loop call from PROTEUS and one-off scripts
PROTEUS framework
When used within PROTEUS, CALLIOPE is called at every coupling timestep to update the surface partial pressures, atmosphere mass, and dissolved volatile masses, after the structure module (Zalmoxis or SPIDER) has updated the planetary radius and gravity, and before the interior energetics module (Aragog or SPIDER) advances the entropy. The PROTEUS-side documentation is at proteus-framework.org/PROTEUS; the recipe for using CALLIOPE inside that pipeline is on the Coupling to PROTEUS (how-to) page; the per-iteration control flow and the [outgas.calliope] schema mapping is on the Coupling to PROTEUS (theory) page.
Quick links
-
Install
-
Configure
-
Use CALLIOPE
-
Understand the model
-
Browse the API
-
Contribute / browse code
-
Raise an issue
-
Get in touch
Citation
If you use CALLIOPE in published work, please cite the original equilibrium-chemistry framework, the modern multi-species redox treatment, and the magma-ocean evolution study that introduced the present extended species list:
- Bower, D.J., Kitzmann, D., Wolf, A.S., Sanan, P., Dorn, C., & Oza, A.V. (2019). Linking the evolution of terrestrial interiors and an early outgassed atmosphere to astrophysical observations. Astronomy & Astrophysics, 631, A103. [SciX | DOI | arXiv]
- Bower, D.J., Hakim, K., Sossi, P.A., & Sanan, P. (2022). Retention of water in terrestrial magma oceans and carbon-rich early atmospheres. The Planetary Science Journal, 3, 93. [SciX | DOI | arXiv]
- Nicholls, H., Lichtenberg, T., Bower, D.J., & Pierrehumbert, R. (2024). Magma ocean evolution at arbitrary redox state. Journal of Geophysical Research: Planets, 129, e2024JE008576. [SciX | DOI | arXiv]
- Nicholls, H., Lichtenberg, T., Chatterjee, R.D., Guimond, C.M., Postolec, E., & Pierrehumbert, R.T. (2026). Volatile-rich evolution of molten super-Earth L 98-59 d. Nature Astronomy. [SciX | DOI | arXiv]
See the Publications page for the full reference list, including the underlying solubility-law and equilibrium-constant sources.
Code availability
If you plan to contribute to CALLIOPE, please read our Code of Conduct and contributing guidelines. If you are running into problems, please do not hesitate to raise an Issue.
License
Apache License 2.0. See the included license.
-
P. Ardia, M. M. Hirschmann, A. C. Withers, B. D. Stanley, Solubility of CH\(_4\) in a synthetic basaltic melt, with applications to atmosphere-magma ocean-core partitioning of volatiles and to the evolution of the Martian atmosphere, Geochimica et Cosmochimica Acta, 114, 52β71, 2013. SciX. ↩
-
L. S. Armstrong, M. M. Hirschmann, B. D. Stanley, E. G. Falksen, S. D. Jacobsen, Speciation and solubility of reduced C-O-H-N volatiles in mafic melt: implications for volcanism, atmospheric evolution, and deep volatile cycles in the terrestrial planets, Geochimica et Cosmochimica Acta, 171, 283β302, 2015. SciX. ↩
-
M. W. Chase, NIST-JANAF Thermochemical Tables, 4th edition, Journal of Physical and Chemical Reference Data Monograph 9, 1998. ↩
-
R. Dasgupta, E. Falksen, A. Pal, C. Sun, The fate of nitrogen during parent body partial melting and accretion of the inner Solar System bodies at reducing conditions, Geochimica et Cosmochimica Acta, 336, 291β307, 2022. SciX. ↩
-
J. E. Dixon, E. M. Stolper, J. R. Holloway, An experimental study of water and carbon dioxide solubilities in mid-ocean ridge basaltic liquids. Part I: Calibration and solubility models, Journal of Petrology, 36(6), 1607β1631, 1995. SciX. ↩↩
-
R. A. Fischer, A. J. Campbell, G. A. Shofner, O. T. Lord, P. Dera, V. B. Prakapenka, Equation of state and phase diagram of FeO, Earth and Planetary Science Letters, 304, 496β502, 2011. SciX. ↩
-
F. Gaillard, F. Bernadou, M. Roskosz, M. A. Bouhifd, Y. Marrocchi, G. Iacono-Marziano, M. Moreira, B. Scaillet, G. Rogerie, Redox controls during magma ocean degassing, Earth and Planetary Science Letters, 577, 117255, 2022. SciX. ↩
-
D. L. Hamilton, C. W. Burnham, E. F. Osborn, The solubility of water and effects of oxygen fugacity and water content on crystallization in mafic magmas, Journal of Petrology, 5(1), 21β39, 1964. ↩
-
G. Libourel, B. Marty, F. Humbert, Nitrogen solubility in basaltic melt. Part I. Effect of oxygen fugacity, Geochimica et Cosmochimica Acta, 67(21), 4123β4135, 2003. SciX. ↩
-
M. E. Newcombe, A. Brett, J. R. Beckett, M. B. Baker, S. Newman, Y. Guan, J. M. Eiler, E. M. Stolper, Solubility of water in lunar basalt at low pH\(_2\)O, Geochimica et Cosmochimica Acta, 200, 330β352, 2017. SciX. ↩↩
-
H. St. C. O'Neill, S. M. Eggins, The effect of melt composition on trace element partitioning: an experimental investigation of the activity coefficients of FeO, NiO, CoO, MoO\(_2\) and MoO\(_3\) in silicate melts, Chemical Geology, 186, 151β181, 2002. SciX. ↩
-
L. Schaefer, B. Fegley, Redox states of initial atmospheres outgassed on rocky planets and planetesimals, The Astrophysical Journal, 843(2), 120, 2017. SciX. ↩
-
P. A. Sossi, P. M. E. Tollan, J. Badro, D. J. Bower, Solubility of water in peridotite liquids and the prevalence of steam atmospheres on rocky planets, Earth and Planetary Science Letters, 601, 117894, 2023. SciX. ↩
-
L. Wilson, J. W. Head, Ascent and eruption of basaltic magma on the Earth and Moon, Journal of Geophysical Research, 86(B4), 2971β3001, 1981. SciX. ↩