Skip to content
MAGEMinApp tabs

MAGEMinApp.jl interface

The graphic user interface includes 4 main tabs, 3 for phase equilibrium calculation and 2 for supporting information.

This tab allows you to generate and post-process several types of phase diagrams including P-T, T-X, P-X, PT-X and T-Tpolymetamorphic. The main tab is divided in 3 sub-tabs: Setup, Diagram and Trace-emements.

Available thermodynamic database are presented available here. All other options/parameters are detailed below.

1. Phase diagram tab

1.1. Setup panel

SetupCaption
MAGEMinApp setup
  • Thermodynamic database - select among available thermodynamic database
  • Dataset - select among available thermodynamic dataset
  • Phase selection - click to expand and deactivate unwanted pure and solution phase models from consideration
  • Diagram type - select diagram type amont P-T, P-X, T-X, PT-X and T-T polymetamorphic
  • Solidus H2O-saturated - do you want to saturate the first melt in water?
  • TE predictive model - do you want to predict trace-element partitioning at suprasolidus conditions?
  • Pressure [kbar] - minimum and maximum pressure
  • Temperature [°C] - minimum and maximum temperature
  • Initial grid subdivision - choose the initial resolution of the grid
  • Refinement type - can be phase boundary or dominant endmember
  • Refinement levels - Starting level of refinement for the phase diagram
  • Boost mode - choose if you want to make sure of initial guess to compute the next level of refinement
  • Buffer - choose oxygen buffer or if you want to fix oxide activity
  • Solver - choose algorithm used to perform the Gibbs free energy minimization
  • Verbose - choose the level of information display in the julia terminal
  • Specific Cp - do you want to compute latent heat of reaction?

1.2. Bulk-rock composition panel

SetupCaption
MAGEMinApp bulk rock
  • mol% - select system unit to display the bulk-rock composition
  • Drag and drop - click to open bulk-rock input file or drag and drop the file on the dashed window
  • Bulk-rock list - select among pre-defined or custom bulk-rock composition here
  • Table - the table display the loaded bulk-rock composiion

1.3. General parameters panel

General parametersCaption
MAGEMinApp general parameters
  • Title - change the name of the phase diagram here
  • Compute phase diagram - button to launch the calculation
  • Save/Load diagram - Here you can save/load a computed diagram together with the state of selected options
  • Directory window - This text window indicates in which folder heavy exported data will be saved e.g., when saving all points information to csv file
  • Help and contact - useful links to post issue and/or ask for support
  • Contributores - list of people that contributed to improve MAGEMinApp

1.4. Display options panel

Display optionsCaption
MAGEMinApp display options
  • Field - this is where you can choose the displayed field
  • Show grid - displays the adaptive mesh refinement grid
  • Minimum field size - minimum number of cell to consider the mineral assemblage field for labelling
  • Show phase label - hide/show phase labels
  • Show reaction lines - hide/show reaction lines
  • Change line style - here you can overwrite the default black reaction line with a linestyle of your choice
  • Save - saves the defined reaction line style
  • Reset - resets to default black line the reaction line style
  • Update - updates the phase diagram with the newly defined reaction line style
  • Colormap - choose the colormap of the displayed field
  • Value range - defines the range of values considered for the colormap
  • Colormap range - restricts the colormap
  • Set min to white - sets the minimium value of the field to a white color (do not work with Colormap range option)
  • Reverse colormap - true/false reverses the colormap
  • Smooth colormap - here you can choose the interpolation scheme for the field displayed on the phase diagram

1.5. Isopleth panel

IsoplethsCaption
MAGEMinApp display options
  • Isopleth type - Pure phase, Solution phase or other. Here you can select which field to be contoured
  • Phase - Select phase to be contoured (if isopleth type is pure or solution phase)
  • Unit - mol/wt
  • Range: min - minimum value for the isocontours
  • Range: step - step for isocontours
  • Range: max - maximum value for the isocontours
  • Line style - change the linestyle of the isocontours (line, dot, dash etc.)
  • Line width - choose the width of the line in pixel
  • Color - choose the color of the isocontours
  • Label size - choose the size of the font for the isocontours labels
  • Add - button to add the isocontour selection to the diagram
  • Displayed window - shows the list of displayed isocontours
  • Hideen window - shows the list of hidden isocontours
  • Hide - button to hide selecter isocontour in the above list
  • Hide all - button to hide all isocontours
  • Show - button to show the selected isocontour from the above hidden list
  • Show all - button to show all hidden isocontours
  • Remove - button to remove selected isocontour
  • Remove all - button to remove all isocontours