Skip to content

thijs-blom/thesis-code

Repository files navigation

The code used for the figures in my master's thesis

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:

Once the the values for these indices have been computed, the figures may be generated by running ./thesis_plots.py.

Requirements

Python dependencies

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.

External dependencies

The code in thesis_plots.py uses LaTeX for typesetting. To run this script, pdflatex must be installed (see for example TeX Live).

Data dependencies

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages