This repository contains the code used to generate the data and figures included in my master's thesis.
The scripts calc_laad_karman.py, calc_laad_fda.py, and calc_laad_jhtdb.py are used to compute the values for three indices (defined in the thesis):
- local sum of squared differences,
- local sum of inner products,
- locally-averaged angular deviation,
for three datasets:
- a Kármán vortex street,
- an FDA nozzle benchmark,
- a forced isotropic turbulence dataset.
Once the the values for these indices have been computed, the figures may be generated by running ./thesis_plots.py.
The required python libraries can be found in requirements.txt, which may be installed using pip install -r requirements.txt.
Additionally, the turbulence_statistics library must be installed.
The code in thesis_plots.py uses LaTeX for typesetting.
To run this script, pdflatex must be installed (see for example TeX Live).
To reproduce the figures accurately, the original datasets must be placed in the data/ directory.
The datasets for the Kármán vortex street dataset can be found here and must be placed in the data/karman/ directory.
Datasets for the FDA nozzle can be found here and must be placed in the data/fda/ directory.
Data for the forced isotropic turbulence dataset from the Johns Hopkins Turbulence databases (JHTDB) can be obtained here and must be placed in the data/jhtdb/ directory.