Storing settings - INITFILE

Last modified by pecl@helsinki_fi on 2024/01/26 07:24

This is the file that stores most of the settings of any simulation and the file that the GUI is reading and writing. The file's name doesn't matter (although use of spaces is probably not wise).

When the numerical model is run from the GUI, or when the model is run from the terminal, it is simply started by the command:

./arcabox.exe path_to/the/INITFILE

The INITFILE that was used to call the program (in the example above, located in path_to/the directory) is always copied to the output directory of the simulation with the name InitBackup.txt. The original file name is still saved in the file header. In case the model was started from the gui, the header will show the temporary initfile: ModelLib/gui/tmp/GUI_INIT.tmp (like in the picture below).

Naturally, the numerical model can also be configured by just editing the INITFILE directly with any text editor, but the best way to configure the file is with the GUI. This will assure that any combinations of incompatible options are not written in the INITFILE.

initfile.png