MIDAS

eqMode = 'PD' (and MnMode/MniBMode = 'PD') sources major-elementequilibrium compositions from a pre-calculated phase-diagram look-up table instead of the 3-point polynomial fit - see Configuration Options.This page covers the table format MIDAS expects and how the shipped example table was generated.

Required table format

A plain-text file, one row per $(T,P)$ point, arranged on a square grid ($N\times N$ points, any $N$) - create_grid.m infers $N$ from $\sqrt{\text{number of rows}}$. Required columns:

Column Contents
1 $T$ (K)
2 $P$ (bar)
7 MgO in phase A, wt%
8 MgO in phase B, wt%
9 MnO in phase A, wt%
10 MnO in phase B, wt%

Columns 3-4 (phase volumes) and 5-6 (FeO in phases A/B) are read but not used by the current model; columns 11-12 (CaO in phases A/B), if present, are likewise unused. Any of these can be set to NaN/0 if unavailable.The shipped example (phasediagrams/Pelite_avg_1.dat, used by Example1_Baseline/Example3_ThermalBump/Example4_ManualPartitioning/ Example5_PlanarGeometry/Example6_CylindricalGeometry) follows exactly this 12-column layout on a $120\times120$ grid. If your own table uses a different column arrangement, adapt create_grid.m’s [PGPa,TK,MgOA,MgOB,MnOA,MnOB] = create_grid(PhaseDiagram) accordingly rather than reshuffling your data to match.

Column 7 (MgO in phase A, wt%) of the shipped Pelite_avg_1.dat table, contoured across its full 1-10 GPa, 350-850C range.

Column 7 (MgO in phase A) of the shipped Pelite_avg_1.dat, contoured across the table’s full range - this is what create_grid.m/eqFun interpolate into at every timestep. Note this is the table’s full extent, not any one example’s actual P-T path - compare to the much narrower Trange/Prange window (Configuration Options) an individual run actually samples from within it.

Generating one with Perple_X

The shipped example table was generated with Perple_X (Connolly, 2009) - a Gibbs free-energy minimization code that computes stable mineral assemblages and compositions from a bulk composition and thermodynamic dataset. (MAGEMin - Riel et al., 2022 - is a comparable alternative for the same purpose, not used here.) Any such phase-equilibrium software that can export MgO/MnO compositions of the two phases across a $T$-$P$ grid can produce a compatible table.

For the average-metapelite garnet/biotite example specifically:

Solid-solution models used:

Solid solution Mineral Reference
Bio(TCC) Biotite Tajčmanová et al. (2009)
Carp Carpholite ideal
Chl(HP) Chlorite Holland et al. (1998)
Ctd(HP) Chloritoid White et al. (2000)
feldspar K-feldspar and plagioclase Fuhrman & Lindsley (1988)
Gt(GCT) Garnet Ganguly et al. (1996)
hCrd Cordierite ideal
melt(HP) Silicate melt Holland & Powell (2001); White et al. (2001)
Mica(CHA) White mica Auzanneau et al. (2010); Coggon & Holland (2002)
O(HP) Olivine Holland & Powell (1998)
Opx(HP) Orthopyroxene Holland & Powell (1996)
Sp(HP) Spinel Holland & Powell (1998)
Stlp(M) Stilpnomelane Massonne (2008)
St(HP) Staurolite parameters from Thermo-Calc software
Sud Sudoite ideal

MgO, FeO, and MnO look-up tables were extracted from the resulting phase diagram for the diffusion modelling. (The exact average-metapelite bulk composition used is in the project’s own technical documentation, not reproduced here.)

References

(Solid-solution model references are listed in the table above; full citations for each are in the project’s own technical documentation.)