10.17637/rh.5711761.v1 Saswata Hier-Majumder Saswata Hier-Majumder Marc Hirschmann Marc Hirschmann Source Code for Simulation of the Origin of Mantle Volatiles Royal Holloway, University of London 2017 Magma Ocean Early Earth Magma Chamber Volatiles Mantle Physical Oceanography 2017-12-18 10:21:43 Online resource https://royalholloway.figshare.com/articles/online_resource/Source_Code_for_Simulation_of_the_Origin_of_Mantle_Volatiles/5711761 <div>This repository contains scilab files and data for a numerical model of magma ocean crystallization.<br></div><div><br></div><div><div>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.</div><div>To generate figures, run post_process_MO.sce</div><div>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.</div><div>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.</div></div>