Introduction
ApDiffusionMC3 is a MATLAB-based tool for modelling F-Cl-OH multicomponent diffusion in apatite (a phosphate mineral) using a finite-difference and Markov Chain Monte Carlo (MCMC) algorithm. The tool is applicable to the estimation of timescales of magma degassing during ascent via simulating diffusion in apatite with time-varying boundary conditions (changing volatile concentrations in the melt due to decompression-induced degassing and crystallisation).
References
Please cite the papers below if you use ApDiffusionMC3 (or parts of the code) in your research.
Citation for this model:
Li, W. & Yang, Q. in prep
Citation for the apatite multicomponent diffusion model:
Li, W., Chakraborty, S., Nagashima, K., & Costa, F. (2020a) Multicomponent diffusion of F, Cl, OH in apatite with application to magma ascent rates. Earth and Planetary Science Letters 550, 116545. https://doi.org/10.1016/j.epsl.2020.116545
Team membersHere, we will instruct you how to download the files and run our code on MATLAB. The process is very straightforward, so just keep going!