5. Tutorials

This chapter provides a detailed overview of flow simulations with FLEXI, assuming familiarity with setting compiler options and code compilation. The path to all executables is omitted here. We assume you have either symlinked flexi, hopr, and all posti tools into the runtime directory or call these executables at their relative location.

Each tutorial directory contains the necessary .ini files - parameter_hopr.ini, parameter_flexi.ini, parameter_postiVisu.ini - as well as the mesh file *_mesh.h5 in HDF5 format (generated with HOPR).

Listing 5.1 Directory tree for a tutorial.
tutorial
├── mesh.h5
├── parameter_flexi.ini
├── parameter_hopr.ini
└── parameter_postiVisu.ini

Tip

While each tutorial can be run directly in its own directory, we recommend copying each folder to a new directory. This way, you can run the simulations and freely modify the .ini files without altering the original setup.