PetThermoTools: a fast, flexible, and accessible Python3 package for performing thermodynamic calculations

Main Article Content

Matthew Gleeson
https://orcid.org/0000-0003-0839-5492
Penny Wieser
https://orcid.org/0000-0002-1070-8323
Paula Antoshechkina
https://orcid.org/0000-0002-3358-5186
Nicolas Riel

Abstract

We present PetThermoTools: an open-source Python3 tool for performing thermodynamic simulations of mantle and magmatic processes. Thermodynamic modeling forms a central component to many research projects in igneous petrology. However, few studies utilize the full potential of these methods due to the steep learning curve associated with existing code or text-based in- terfaces (e.g. ENKI/ThermoEngine, alphaMELTS, Theriak-Domino) and the limited model flexibility provided by spreadsheet and GUI based packages (e.g. MELTS for Excel). We designed PetThermoTools to bridge this divide, providing logical, easy-to-use functions with well-documented examples for novice users, while retaining the potential for customization and model automation desired by more experienced users. PetThermoTools also provides the opportunity to directly compare different thermodynamic models and approaches, by integrating with both the alphaMELTS and MAGEMin packages. Furthermore, PetThermoTools model outputs seamlessly integrate with other Python-based packages created for petrological research (e.g. PySulfSat), and provide speed and stability advantages over existing free MELTS-based software owing to the use of parallel processing routines.

Downloads

Download data is not yet available.

Article Details

How to Cite
Gleeson, M., Wieser, P., Antoshechkina, P. and Riel, N. (2026) “PetThermoTools: a fast, flexible, and accessible Python3 package for performing thermodynamic calculations”, Volcanica, 9(1), pp. 317–332. doi: 10.30909/vol/lepa7012.
Section
Methods
Citation information
Crossref
This article has citations in Scopus
Link to article page on Google Scholar
Connected papers
Dates
Received 2025-12-14
Accepted 2026-05-14
Published 2026-05-18
Alternative metrics via Dimensions and altmetric

Metrics


Smart Citations via scite_