MERRILL
Micromagnetic Earth Related Robust Interpreted Language Laboratory

Tutorials

Step-by-step guides and workshop materials for learning MERRILL — from first installation to advanced multi-grain modelling

Tutorial 1 covers macOS installation, mesh preparation, and a single-domain magnetite simulation — the baseline workflow for all subsequent exercises. Advanced tutorials extend this to multi-grain assemblages, hysteresis loops, and FORC diagram computation, mirroring the protocols used to generate the FORCINN training dataset.

Start here

Tutorial 1 walks you through downloading and installing MERRILL on macOS, preparing a simple tetrahedral mesh, writing your first input script, and confirming the output. It is the essential starting point before attempting workshop exercises.

Guided tutorials

Workshop materials

These workshop packs were used at international rock magnetism events. Each contains hands-on scripted examples with meshes and, where available, worked solutions. Recommended once you have completed Tutorial 1.

2019 IRM Santa Fe Conference Workshop

Eleven structured examples covering the full MERRILL workflow: meshing, grain shape hysteresis (cubes, spheres), grain interactions, trellis textures, multi-phase assemblages (iron + magnetite), stray field modelling, chain-of-grains configurations, and energy barrier / blocking temperature calculations.

Requires MERRILL and ParaView or TecPlot for output visualisation.

⚠ The "with answers" archive is 1.1 GB — download on a fast connection.

2018 IRM Rock Magnetism Summer School

Five-day summer school materials including lecture slides and a full set of mesh exercises. Covers single-domain and vortex states, grain interactions, and temperature-dependent behaviour across a range of natural grain geometries.

Meshes include spheres, bricks, hooks, pyramids, and multi-grain arrangements.

Related pages

  • See About MERRILL for a full description of capabilities and modelling scope.
  • Try FORCINN for browser-guided FORC preprocessing and CNN inversion.
  • Browse Resources for the pre-built mesh library and MERRILL manual.
  • Use Downloads for platform packages and release notes.