Installation

System Requirements

zCFD is supported on the following Linux distributions:
  • RHEL 7+

  • CENTOS 7+

  • Ubuntu 20.04+

  • Windows 10/11 via WSL2

By default zCFD is compiled for x86_64 but is available for ARM and IBM Power on request.

GPU support

zCFD supports running on NVidia GPUs with a compute capability of 6.1 and above (See Compute Capability ).

An AMD GPU (HIP) based version is available on request.

Linux / Unix

If you are running Linux/Unix zCFD is provided as a stand-alone installer containing all the packages required to get started. The installer is available for download from the zCFD website. Once the zCFD installer has been downloaded run the install script and follow the prompts.

$ bash zCFD-icx-sse-impi-<INSTALL_VERSION>-Linux-64bit.sh

Then copy the license file provided over email into the lic folder in the install directory.

$ cp zcfd.lic /<path to zCFD install>/lic/

Once zCFD has been installed the zCFD environment can be activated from a bash shell:

$ source /<path to zCFD install>/bin/activate
(zCFD)$

Windows

zCFD can be run locally on windows machines if Windows Subsystem for Linux 2 (WSL2) is installed. To install WSL2 simply follow the Microsoft instructions which can be found here.

The chosen Linux distribution shouldn’t have an effect on how the code runs, but the Linux distributions listed above are supported.

In order to access your Linux filesystem on Windows it can be useful to add a quick access link in file explorer. To do this, in the address in file explorer enter

\\wsl$\

This will show you show you the root folders for your installed Linux distributions.

The installer is available for download from the zCFD website. For WSL, download the standard linux distribution. Once the zCFD installer has been downloaded run the install script from within the WSL2 environment and follow the prompts.

$ bash zCFD-icc-sse-impi-<INSTALL_VERSION>-Linux-64bit.sh

Then copy the license file provided over email into the lic folder in the install directory.

$ cp zcfd.lic /<path to zCFD install>/lic/

Once zCFD has been installed the zCFD environment can be activated:

$ source /<path to zCFD install>/bin/activate
(zCFD)$

Licence

zCFD requires a license. If you do not already have a license, please contact zcfd@zenotech.com to obtain one. When zCFD starts it will look in the following locations for a licence file:

  1. ‘zcfd.lic’ in the directory alongside the input files

  2. ‘zcfd.lic’ in the lic directory of the zCFD installation. i.e. /<path to zCFD install>/lic/

  3. RLM_LICENSE environment variable

The RLM_LICENSE environment variable can be defined as below.

export RLM_LICENSE=/path/to/license/file

or, where port is the port number in the license file, and host is the hostname in the license file

export RLM_LICENSE=port@server

In the case that the system running the simulation cannot access the internet a local license server will be required. See http://www.reprisesoftware.com/admin/software-licensing.php for details.

Licence Error codes

Error code

Possible Cause