
Info
MAGEMinApp.jl Tips
Tip
Mind that when performing a calculation progress is indicated either by the progress bar at the top right corner of the interface, or by changing the name of your web-browser tab (where
MAGEMinAppis opened) toUpdating...Once a calculation is launched, avoid performing other actions as it may lead to calculation failure
MAGEMinApp.jl interface
The graphic user interface includes 3 main tabs: two for phase equilibrium calculations and one for supporting reference data.
This tab contains three sub-tabs: Setup (configuration), Diagram (visualization and post-processing) and Trace-elements (trace-element partitioning and accessory phase saturation). It allows you to generate and post-process P-T, T-X, P-X, PT-X and T-T polymetamorphic phase diagrams.
Available thermodynamic databases are presented here. All other options and parameters are detailed below.
1. Phase diagrams tab
1.1. Setup panel
| Setup | Caption |
|---|---|
![]() |
|
1.2. Bulk-rock composition panel
| Setup | Caption |
|---|---|
![]() |
|
1.3. Trace-element composition panel
When TE predictive model = true, a third collapsible panel appears below the bulk-rock panel:
| Trace-element panel | Caption |
|---|---|
|
1.4. General parameters panel
| General parameters | Caption |
|---|---|
![]() |
|
2. Diagram sub-tab
The Diagram sub-tab has a right-hand sidebar with five tabs: Informations, Display options, Isopleths, Draw path, and Thermobarometric intersection.
2.1. Informations panel
| Informations | Caption |
|---|---|
|
2.2. Display options panel
| Display options | Caption |
|---|---|
![]() |
|
2.3. Isopleths panel
| Isopleths | Caption |
|---|---|
![]() |
|
2.4. Draw path panel
This panel allows you to manually trace a P-T path directly on the phase diagram by clicking points, then extract the phase evolution along it.
| Draw path | Caption |
|---|---|
|
2.5. Thermobarometric intersection panel
This panel adds isopleths derived from measured mineral compositions to the diagram and finds their intersection to estimate P-T conditions.
| Thermobarometric intersection | Caption |
|---|---|
|
3. Trace-elements sub-tab
The Trace-elements sub-tab becomes active after a phase diagram has been computed with TE predictive model = true. It displays element distributions and saturation fields across the phase diagram.
3.1. Display options
| TE Display options | Caption |
|---|---|
|
3.2. TE Isopleths
The Isopleths panel in the Trace-elements sub-tab works identically to the one in the Diagram sub-tab but operates on TE and saturation fields (Zircon, Sulfide, Fluorapatite, CO₂ saturation, Trace element) instead of thermodynamic fields.
3.3. Export and save
Export figure — save the current TE diagram as an image file
Export all layers — save each TE field layer as a separate image
Save point (csv) — save the TE data at the clicked point to CSV
Save all (csv) — save TE data for all computed points to CSV
Export references (bibtex) — export BibTeX citations for the active Kd and saturation models
4. PTX path tab
The PTX path tab is divided into a left configuration panel and a central results area. It supports all P-T-X path modes from the same interface, including isentropic paths (previously a separate tab; merged in v1.2.1).
4.1. Bulk-rock composition panel
Same controls as the phase diagram bulk-rock panel (§1.2). When Assimilation = true, a second bulk-rock composition panel appears for the assimilated end-member.
4.2. Trace Elements panel
Appears when TE predictive model = true in Path options.
| Trace Elements (PTX) | Caption |
|---|---|
|
4.3. Path options panel
| Path options | Caption |
|---|---|
|
4.4. PTX save and export
All export options are located in the Path options panel:
| Button | Content |
|---|---|
Save path → csv | Full path: P, T, phase fractions and compositions at each step |
Save path → csv line | Same but all steps on a single row |
Save cumulate → csv file | Composition of the cumulate (extracted solid) at each step |
Save trace elements → csv file | TE concentrations in melt, solid and minerals at each step (requires TE computation) |
Save cumulate TE → csv file | Integrated cumulate TE composition at each step (requires TE computation) |
Export references → bibtex file | BibTeX citations for active models and database |
Note
The
Save trace elementsandSave cumulate TEbuttons are only active after trace elements have been computed.The export path is printed in the Julia terminal.
5. General information tab
Provides static reference data across three sections:
Solution phases table — name, abbreviation, and solvus flag for all solution phases in the selected database (filterable, 16 rows per page)
End-members table — end-member name, abbreviation, and stoichiometric formula (filterable, 16 rows per page)
CSV bulk-rock format — example table showing the required column structure for bulk-rock input files (title, comments, db, sysUnit, oxide columns, optional _frac2 variants)
Trace-element Kd tables — three tabs subdivided by SiO₂ content of the melt (
SiO2 < 52 wt%,52 ≤ SiO2 < 63 wt%,63 wt% ≤ SiO2); each shows the element × mineral Kd matrix (filterable, 32 rows per page)Calculation details — expandable cards describing phase deactivation logic, oxide activity formulation, water saturation methodology, specific heat capacity calculation, and the site fraction calculator
Note
Trace-element partitioning model descriptions and Kd tables are documented in the Thermodynamic Databases page.




