https://github.com/charlesll/iron-magma

FORTRAN software to calculate the redox state of iron in magmas

https://github.com/charlesll/iron-magma

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.0%) to scientific vocabulary

Keywords

geochemical-modeling geochemistry iron lava magma volcanology
Last synced: 11 months ago · JSON representation

Repository

FORTRAN software to calculate the redox state of iron in magmas

Basic Info
  • Host: GitHub
  • Owner: charlesll
  • License: mit
  • Language: Fortran
  • Default Branch: master
  • Homepage:
  • Size: 12.7 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
geochemical-modeling geochemistry iron lava magma volcanology
Created about 5 years ago · Last pushed about 5 years ago
Metadata Files
Readme Changelog License

README.md

iron-magma

Model for prediction of iron redox in magmatic liquids

Copyright Roberto Moretti (2005)

Citation

Licence

MIT licence, see Licence file.

Contributors

Roberto Moretti (IPGP), moretti@ipgp.fr

Charles Le Losq (IPGP), lelosq@ipgp.fr

Dependencies

A working fortran compiler. We suggest using gfortran, tested on Mac and Linux. It works well with this software!

How to use

Download the repository, and use the provided example input file. It first requires compilation of the FORTRAN source, then running the compilated software.

Compilation

To create the program, with gfortran, in the terminal on Linux or MacOS:

$ gfortran iron2.for -o iron2.o

Running the software

The software takes an input file, iron2.in, which contains the compositions of interest.

It returns an output file, iron2.RDX

Run in the terminal, after compilation, run the command:

$ ./iron2.o

Input file: INPUT.txt

This is a text files, where values are separated by commas.

First line: enters the number of lines to process, leave other columns empty.

then subsequent lines, enter your composition and conditions in the order

SiO2, TiO2, Al2O3, Fe2O3, Cr2O3, FeO, Mno, MgO, CaO, Na2O, K2O, P2O5, H2O, T°C, Pbar, logfO2, INTEGER, FLAG,

oxides are wt% (normalization done internally)

INTEGER: whatever you want, leave 1

FLAG: 0 or 2; if O takes logfO2 and calculates FeO and Fe2O3; if 2 takes FeO and Fe2O3 and calculates logfO2

Results: OUTPUT.txt

Results are outputed in the file OUTPUT.txt. Everything is self explanatory in this file, with a header.

Owner

  • Name: Charles Le Losq
  • Login: charlesll
  • Kind: user
  • Location: France
  • Company: Institut de physique du globe de Paris

Geoscientist, Assistant Professor, willing to improve data reduction protocols through programming and data science

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: less than a minute
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • charlesll (1)
Pull Request Authors
Top Labels
Issue Labels
bug (1)
Pull Request Labels