QuickStart

  • Jiří Fürst

Compilation

The code requires fortran compiler with f2018 support. The development has been carried out using gfortran-12 and the fortran package manager fpm (version >= 0.9).

The solution of linear systems is calculated with LAPACK. Current implementation is set-up to use optimized LAPACK from the OpenBLAS package. Another implementation can be set-up in the fpm.toml file.

Other libraries are automatically downloaded by fpm during the compilation.

Compilation:

fpm @build

This should create build/gfortran-12_XXXXXXXXXX/app/Turana binary.

Running a simulation

The input parameters for a simulation shoud be given in a single file using TOML format (see Input file section). The file can be specified at the command line:

path_to_binary/Turana -i input_file.toml

When the simulation finishes, the code creates several output files:

  • results.vtk file with the flow field in VTK format.
  • several CSV files with flow parameters at different stations
  • some figures (optional, requires Python and matplotlib)