The default name of the config file is <progname>.xml, where <progname> is the name of the executable, such as view
, job
, or remody
. One can override the default name by using -f command line option, like:
remody -f syngas.xml
iterations
: specifies the integer number of iterations the code should runtime
: several parameters of physical execution time in seconds, such as start
=start time, end
=end time, and step
=time step. The code will run until either the number of iterations as specified in the iterations
section or the end time is reached.molecules
: integer number equal to the maximum number of molecules that the program will be able to handle. It will determine the memory allocated at the beginning of execution.species
: this section lists all chemical species and reactions between them. Correspondingly, each specie is described in specie
section as:specie
: includes such parameters as mass
in Atomic units [au], size
in nanometers [nm], and specific heat, cp
in kJ/(mol*K). The specie
tag should also include an attribute id
, identifying a specie chemical formula, such as CO2, H2O, etc.reaction
: reaction tag has two attributes: reactants
and products
. The reactants tag should contain two species identifiers. Since only elementary (binary) reactions are considered, there should be exactly two identifiers for reactants. Each of the identifiers should correspond to one specie identifiers listed in the list of species. The products attribute should consist of one or two identifiers of reaction products. Also in the reaction section the following parameters are specified:activation
= reaction activation temperature in K, probability
= probability of reaction outcome as given by the products
attribute. This parameter should always be 1.0 if there is only one reaction with the given reactants. In case of several reactions with the same reactants, but with different products, this parameter should indicate the probability of this particular branch with given reaction products. enthalpy
= enthalpy of reaction in kJ/mol.domain
: The domain
section consists of the set of parameters describing the geometry and physical properties of the modeled media inside the computational domain, including:type
: specifies the geometry. Currently only box
type is supported.grid
: Specifies parameters of the rectangular grid used in segmentation algorithm for accelerating the interaction scheme. In particular, the cellsize
parameter determines the size of the grid cell. This size should be selected as small as possible but no less than twice the size of the largest specie. Decreasing the cell size will speed-up code execution in better than linear proportion of the cell-size (but no better than quadratic). At the same time it will increase memory utilization in proportion to it's 3-rd power. It is not recommended to increase the memory utilization above 90%. One can use Unix 'top' utility to check memory utilization.energy
: Only used for Lennart-Jones type potentials, currently under development.bounds
: specifies spatial bounds of the computational domain as: xmin xmax ymin ymax zmin zmax.bulk
: this section specifies thermodynamic properties and gas composition inside the bulk of the domain. In particular, temperature
is given in Kelvin [K], and for each specie, its density
is specified in [kg/m^3].boundary
: each boundary of the domain contains the description of thermodynamic properties and gas composition on the other side of the boundary in the same format as for the bulk of the domain. In addition to these, the boundary tag should have the boundary identifier id
-attribute, such as "top", "bottom", "right", "left", "front", and "rear". Also additional boundary tag is type
, which can be one of: "open", "elastic", and "periodic". In the case of open boundary the molecules can freely cross the boundary, in which case they will be removed from the domain. In case of elastic boundary the molecules will bounce from the boundary like from an elastic wall. For periodic boundaries, the molecules crossing the boundary will reappear from the opposite boundary. Boundary description can also contain the list reactions, between the boundary species given in the same format as in the species
section.
gui
: the gui section describes parameters related to graphical output used when running an OpenGL based version with a visual window output.translation
: initial translation of the scene.vector
: parameters for displaying vectors.frame
: parameters for displaying a domain frame.mesh
: parameters for displaying mesh. In particular the node
tag specifies the parameters for displaying particles, or molecules, such as using points or spheres (type
), etc. Note that using 'spehere' for type may significantly slow-down simulation in GUI mode.
xterm
: if set to 1 this parameter will force terminal dumping of certain parameters, like temperature, energy, number of molecules, and species concentrations after every time-step. This can be useful if the time-dependence of concentrations and other parameters needs to be retrieved. In the last case the output can be redirected to a file, which can be processed with the readlog
utility (see How do I produce time-curves ...?").