Published June 30, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.04874

ThermoCodegen: a python/C++ package for the generation of custom thermodynamic models

Files

joss.04874.pdf

Files (53.8 MB)

Name Size Download all
md5:13f69db7fc346ae3297d0d58cf98395e
314.8 kB Preview Download
md5:25bf49c44969da031b0a80175d286620
53.4 MB Download

Additional details

Dates

Issued
June 30, 2023

References

  1. Spiegelman, M., Evans, O., Ghiorso, M., Tweed, L., & Wilson, C. (2023). ThermoCodegen-v1.0.0 (Version v1.0.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8102054
  2. Ham, D. A., Farrell, P. E., Gorman, G. J., Maddison, J. R., Wilson, C. R., Kramer, S. C., Shipton, J., Collins, G. S., Cotter, C. J., & Piggott, M. D. (2009). Spud 1.0: generalising and automating the user interfaces of scientific computer models. Geoscientific Model Development, 2(1), 33–42. https://doi.org/10.5194/gmd-2-33-2009
  3. Ghiorso, M. S., Hirschmann, M. M., Reiners, P. W., & Kress, V. C. (2002). The pMELTS: A revision of MELTS for improved calculation of phase relations and major element partitioning related to partial melting of the mantle to 3 GPa. Geochemistry, Geophysics, Geosystems, 3(5), 1–35. https://doi.org/10.1029/2001gc000217
  4. Wilson, C. R., & Spiegelman, M. (2015). Software: TerraFERMA v1.0 — The Transparent Finite Element Rapid Model Assembler, open-source repository: terraferma.github.io. terraferma.github.io
  5. HOLLAND, T. J. B., & POWELL, R. (1998). An internally consistent thermodynamic data set for phases of petrological interest. Journal of Metamorphic Geology, 16(3), 309–343. https://doi.org/10.1111/j.1525-1314.1998.00140.x
  6. Wilson, C. R., Spiegelman, M., & van Keken, P. E. (2017). TerraFERMA: The Transparent Finite Element Rapid Model Assembler for multiphysics problems in Earth sciences. Geochemistry, Geophysics, Geosystems, 18(2), 769–810. https://doi.org/10.1002/2016gc006702
  7. Ghiorso, M. S., & Sack, R. O. (1995). Chemical mass transfer in magmatic processes IV. A revised and internally consistent thermodynamic model for the interpolation and extrapolation of liquid-solid equilibria in magmatic systems at elevated temperatures and pressures. Contributions to Mineralogy and Petrology, 119(2-3), 197–212. https://doi.org/10.1007/bf00307281
  8. HOLLAND, T. J. B., & POWELL, R. (2011). An improved and extended internally consistent thermodynamic dataset for phases of petrological interest, involving a new equation of state for solids: THERMODYNAMIC DATASET FOR PHASES OF PETROLOGICAL INTEREST. Journal of Metamorphic Geology, 29(3), 333–383. https://doi.org/10.1111/j.1525-1314.2010.00923.x
  9. BERMAN, R. G. (1988). Internally-Consistent Thermodynamic Data for Minerals in the System Na2O-K2O-CaO-MgO-FeO-Fe2O3-Al2O3-SiO2-TiO2-H2O-CO2. Journal of Petrology, 29(2), 445–522. https://doi.org/10.1093/petrology/29.2.445
  10. Stixrude, L., & Lithgow-Bertelloni, C. (2005). Thermodynamics of mantle minerals - I. Physical properties. Geophysical Journal International, 162(2), 610–632. https://doi.org/10.1111/j.1365-246x.2005.02642.x
  11. Stixrude, L., & Lithgow-Bertelloni, C. (2011). Thermodynamics of mantle minerals - II. Phase equilibria. Geophysical Journal International, 184(3), 1180–1213. https://doi.org/10.1111/j.1365-246x.2010.04890.x
  12. Kronbichler, M., Heister, T., & Bangerth, W. (2012). High accuracy mantle convection simulation through modern numerical methods: High accuracy mantle convection simulation. Geophysical Journal International, 191(1), 12–29. https://doi.org/10.1111/j.1365-246x.2012.05609.x
  13. Heister, T., Dannberg, J., Gassmöller, R., & Bangerth, W. (2017). High accuracy mantle convection simulation through modern numerical methods – II: realistic models and problems. Geophysical Journal International, 210(2), 833–851. https://doi.org/10.1093/gji/ggx195
  14. Bangerth, W., Dannberg, J., Fraters, M., Gassmoeller, R., Glerum, A., Heister, T., & Naliboff, J. (2021). ASPECT v2.3.0 (Version v2.3.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5131909
  15. Wenkel, J., Rhinelander, J., & Moldovan, D. (2017). pybind11 – Seamless operability between C++11 and Python. https://github.com/pybind/pybind11
  16. Ghiorso, M. S., & Wolf, A. S. (2019). Thermodynamic Modeling Using ENKI: 1. Overview and Phase Equilibrium Applications. 2019, ED53F–0897. https://ui.adsabs.harvard.edu/abs/2019AGUFMED53F0897G
  17. Wolf, A. S., & Ghiorso, M. S. (2019). Thermodynamic Modeling Using ENKI: 2. Extending Existing Models. 2019, ED52A–05. https://ui.adsabs.harvard.edu/abs/2019AGUFMED52A..05W
  18. Tweed, L. E. L. (2021). Coupling the Thermodynamics, Kinetics and Geodynamics of Multiphase Reactive Transport in Earth’s Interior. https://doi.org/10.7916/d8-wh72-vb08
  19. Holland, T. J. B., Green, E. C. R., & Powell, R. (2018). Melting of Peridotites through to Granites: A Simple Thermodynamic Model in the System KNCFMASHTOCr. Journal of Petrology, 59(5), 881–900. https://doi.org/10.1093/petrology/egy048
  20. Shock, E. L., Oelkers, E. H., Johnson, J. W., Sverjensky, D. A., & Helgeson, H. C. (1992). Calculation of the thermodynamic properties of aqueous species at high pressures and temperatures. Effective electrostatic radii, dissociation constants and standard partial molal properties to 1000 °C and 5 kbar. J. Chem. Soc., Faraday Trans., 88(6), 803–826. https://doi.org/10.1039/ft9928800803
  21. Tanger, J. C., & Helgeson, H. C. (1988). Calculation of the thermodynamic and transport properties of aqueous species at high pressures and temperatures; revised equations of state for the standard partial molal properties of ions and electrolytes. American Journal of Science, 288(1), 19–98. https://doi.org/10.2475/ajs.288.1.19
  22. Asimow, P. D., & Ghiorso, M. S. (1998). Algorithmic modifications extending MELTS to calculate subsolidus phase relations. American Mineralogist, 83(9-10), 1127–1132. https://doi.org/10.2138/am-1998-9-1022
  23. Gualda, G. A. R., Ghiorso, M. S., Lemons, R. V., & Carley, T. L. (2012). Rhyolite-MELTS: a Modified Calibration of MELTS Optimized for Silica-rich, Fluid-bearing Magmatic Systems. Journal of Petrology, 53(5), 875–890. https://doi.org/10.1093/petrology/egr080
  24. Ghiorso, M. S., & Gualda, G. A. R. (2015). An H2O–CO2 mixed fluid saturation model compatible with rhyolite-MELTS. Contributions to Mineralogy and Petrology, 169(6), Article 53. https://doi.org/10.1007/s00410-015-1141-8
  25. Connolly, J. A. D. (1990). Multivariable phase diagrams; an algorithm based on generalized thermodynamics. American Journal of Science, 290(6), 666–718. https://doi.org/10.2475/ajs.290.6.666

1–25 of 33