Skip to content

Workshop — Beijing 9-13.03.2026

Welcome to the MAGEMin hands-on workshop material. This workshop introduces the MAGEMin_C.jl Julia interface through a series of progressive tutorials, from basic phase equilibrium calculations to trace-element partitioning during fractional melting.

Prerequisites

  • Julia installed (≥ 1.10 recommended)

  • Visual Studio Code with the Julia extension

  • Basic familiarity with the Julia language

Tutorial overview

The workshop is organized into five tutorials of increasing complexity:

#TutorialDescription
1IntroductionInstallation, first minimization, accessing results, plotting
2Iterative calculationsBatch melting along a P–T path, heat capacity, latent heat
3Fractional meltingDynamic bulk-rock update, melt extraction, mass tracking
4Li partitioningTrace-element batch melting equations, partition coefficients
5Li partitioning — fractional meltingCombining fractional melting with trace-element prediction, non-linear KD models

Tip

Work through the tutorials in order, each one builds on concepts introduced in the previous ones.