Logo

Installation:

  • Linux-based system
    • External libraries
    • MAGEMin
  • macOS system
    • External libraries
    • MAGEMin
  • Optional (developers)
    • Python libraries
    • C tools

Methods and examples:

  • Thermodynamic problem
    • Problem definition
      • 1. Total Gibbs energy
      • 2. Gibbs-Duhem constraint
      • 3. Mass constraint
    • Minimization approach
    • Algorithm demonstration
  • Phase diagrams
    • Examples of phase diagrams
    • Peridotite (KLB1)
    • Pyroxenite (MIXG1)
    • Basalt (RE46)
    • Basalt (NMORB)
    • Hydrous basalt
    • Tonalite 101

Cookbook:

  • Command line minimization
    • List of arguments
    • Single point calculation
    • Multiple points calculation
    • Multiple points in parallel
  • Data output
    • THERMOCALC-like output
    • MATLAB output
    • As a nested structure
      • Computation information
      • System information
      • Phase proportions
      • Solution phases information
      • Solution phases information
  • Pseudosection generator
    • Usage
    • KLB-1 Pseudosection tutorial
      • Sarting GUI
      • Set P-T conditions
      • Mesh refinement and computation options
      • Choose bulk-rock composition
      • Compute pseudosection
      • Refine pseudosection
      • Change displayed field
      • Display stable phases labels
      • Save pseudosection data
    • P-X and T-X diagrams
      • Select diagram type
      • Select compositional range (X)
    • Save single point output
    • Display iso-contours
      • Display phase fraction (mode)
      • Display end-member fraction
    • Save figure (vector)
  • Predefined bulk-rocks
    • List of pre-defined bulk-rock composition

Julia interface:

  • Julia interface to MAGEMin
  • Installation
    • MAGEMin_C.jll installation
    • Install Julia
    • Install MAGEMin_C
  • Use MAGEMin_C
    • Serial point calculation Tutorial
      • Initialize database
      • Set P-T-(pressure temperature)
      • Set bulk-rock composition
      • Call optimization routine for given P-T-X
      • Display minimized point
      • Access output structure
      • Examples of serial point calculation
    • Parallel point calculation Tutorial
      • Examples of serial point calculation
    • Other examples

Known issues & Tips!

  • Quick tips!
    • Compiler (Linux)
    • Minimum pressure
    • Reduced chemical system
    • Set Oxygen content
  • Known problems
    • Reduced chemical systems
    • Low temperature stabilization
    • HP-LT melt prediction

FAQs:

  • Firewall warning (Apple M1)

Developers section:

  • Add database
    • Analytical formulation
    • Generate pseudocompounds

Source code:

  • Main algorithm
    • MAGEMin
      • Mineral Assemblage Gibbs Energy Minimization
    • Simplex levelling
    • PGE_function
    • phase_update_function
      • PP & SS_flags
    • dump_function
  • Pure phases functions
    • gem_function
    • pp_min_function
      • Pure phase minimization function
  • Solution phases functions
    • gss_init_function
      • PP & SS_flags
    • gss_function
    • ss_min_function
    • NLopt_opt_function
    • objective_functions
  • Toolkit
    • toolkit
    • io_function
MAGEMin
  • »
  • Add database
  • View page source

_images/db.png

Add database

  • Analytical formulation
  • Generate pseudocompounds
Previous Next

© Copyright 2022, Riel, N., & Kaus, B.J.P..

Built with Sphinx using a theme provided by Read the Docs.