Input file

From MKMCXX
Revision as of 17:57, 10 July 2017 by Ifilot (talk | contribs) (Overview)
Jump to: navigation, search

Overview

An input contains at least four mandatory sections, which are &compounds, &reactions, and &settings and &runs. In each of these sections, specific instructions for the microkinetic simulation need to be placed which are explained in more detail below. If you want to add comments to the input file, you can do so by placing a # at the beginning of the line. Lines that start with a # or which are empty (i.e. have only white space characters), will be automatically ignored by the parser. Each section starts with a section header, which is simply the section keyword prepended by a &.

Compounds

For each compound in the system, you need to specify:

  • the name of the compound
  • whether this compound is a surface site or a gas species
  • the starting concentration of the compound

(there is a fourth parameter, called the TDRC flag, but you can ignore this for the time being)

A simple compound header looks as follows:

&compounds
A;  		0;  1.0
B;  		0;  1.0
A*;  		1;  1.0
B*;  		1;  1.0
*;  		1;  1.0
<pre>

Each line corresponds to a different compound. The first column is the name of each compound. The second and third columns correspond to whether the compound is a surface site (1=yes, 0=no) and the starting concentration, respectively. It is good practice to also put a * or some other character behind every compound which is a surface site.

Reactions

Settings

== Runs ==