%0 Web Page %A Hier-Majumder, Saswata %A Hirschmann, Marc %D 2017 %T Source Code for Simulation of the Origin of Mantle Volatiles %U https://royalholloway.figshare.com/articles/online_resource/Source_Code_for_Simulation_of_the_Origin_of_Mantle_Volatiles/5711761 %R 10.17637/rh.5711761.v1 %K Magma Ocean %K Early Earth %K Magma Chamber %K Volatiles %K Mantle %K Physical Oceanography %X
This repository contains scilab files and data for a numerical model of magma ocean crystallization.

To run the simulations, you will need scilab installed in your computer. The file hmh.sce is the central file for creating data. It's major dependency is on module.sce.
To generate figures, run post_process_MO.sce
In the data folder, there will be three series folders (corresponding to the three different H:C ratios). Within each folder there are ten different folders mass 1- 10, which have different starting masses for the volatiles. You need to create this directory tree prior to running scilab.
Within each massX folder the data is in .dat files. Each row contains iterations in time. The column contents are given by file name. See the main code for definition of contents.
%I Royal Holloway, University of London