Initializing help system before first use

BIM files

Mosel models are typically distributed in the form of a BIM file (BInary Model file). A BIM file is a compiled version of the .mos model file that is portable across all platforms for which Mosel is available. It does not include any data read from external files. These must still be provided in separate files, thus making it possible to run the same BIM file with different data sets (see section Parameters below).

To generate a BIM file with Workbench you may use Run » Compile or equivalently, click on the button Chap678/butcomp.png. The BIM file will then be created in the subdirectory out of the Workbench project by appending the extension .bim to the file name (instead of .mos). You may also use the Compiler Options dialog (opened either from the Run menu or by clicking on the tools button Chap678/buttools.png) to configure, for example, various debugging settings for the compilation.

It is also possible to execute Mosel source files (.mos) directly from an application (see the following section). In this case the BIM file does not need to be generated.