# SimFlow Installation

## Installation on Windows

SimFlow software supports Microsoft Windows operating system and is provided as an automatic installation package. Download SimFlow and follow the automatic installation procedure.

## Installation on Linux

The software is provided as automatic installation package for 64 bit architecture. The installation procedure is presented below due to additional actions required from Linux users. Note that this procedure might be slightly different depending on your distribution.

### Installation procedure

• Make file execution available. Linux OS usually sets packages downloaded from Internet as unable to run. You can change it in two ways:

• Terminal:

 cd <Download Dir>

• Make installation file executable by typing:

chmod a+x simFlow-<version>-Linux-<architecture>-Install

• System:

• Open folder with installation package

• Click right mouse button over installation file and choose Properties.

• Go to Permissions tab and check "Allow executing file as program"

• Run installation by double-clicking on the installer or run it from console:

./simFlow-<version>-Linux-<architecture>-Install

• If you want to install in a root directory, run the installation as a root:

sudo ./simFlow-<version>-Linux-<architecture>-Install

• Follow the on-screen installation step-by-step procedure.

• After successful installation SimFlow should run automatically.

If this is your first SimFlow installation, then program will automatically search for OpenFOAM and ParaView software in default locations on your system. If those installations are not found, then before launching your first case the "Advanced Configuration" window will pop out. You will be obligated to configure SimFlow manually. Detailed explanation how to configure SimFlow you can find in the following section.

### OpenFOAM and ParaView on Linux

The installation package for Linux includes only SimFlow itself. To run simulations you need to install the OpenFOAM (the computational backend for SimFlow) from one of the official distributions:

To be able to do an advanced postprocessing it is recommended to install the ParaView software as well:

In order to tell SimFlow where to find OpenFOAM/ParaView you will need to editing settings just before running your first case. You can learn more how to do this here.

### Linux Installer - Console Mode

In some cases it might be required to install SimFlow on a machine without access to the graphics context - non GUI mode.

Also, if your system is missing graphics libraries used by the installer (the Installer window doesn’t open) you can try using the console mode. SimFlow uses its own libraries, and thus, it should be able to run under your system despite installer could not.

 Note To uninstall SimFlow using the console mode use the same options as listed for the installer

#### Step by Step Installation

In order to run installer in a console mode:

1. Change directory to the location of the installer, e.g.,

cd ~/Downloads

2. Run installer in console mode

./simFlow-4.0-Linux-x86_64-Install --mode Console

3. Follow instructions from the console.
You will have to type the installation directory manually.
(please note that the installer will append the "simFlow" directory automatically).

#### Single Line Command Execution

Alternatively you can skip the step by step procedure and run installation in a silent mode. In this case you can provide run installer and provide the installation directory in a single command. This approach is well suited if SimFlow installation should be placed under some sort of scripting automation.

To run installer in a silent mode and provide install directory use the following command:

./simFlow-4.0-Linux-x86_64-Install --mode silent --prefix /path/to/install/location