Turbulence and Energy Systems Laboratory (TESLa) public Python code repository…
pre-beta release
add this directory, wherever you pulled it to, to your PYTHONPATH (e.g. export PYTHONPATH=/path/to/teslapy:$PYTHONPATH
) or else you won't be able to import any of the modules!
contact Colin ([email protected]) for help
An mpi-decomposed object classes for reading, writing, and analyzing data from CFD simulations. Originally written with Athena-RFX in mind, they are nevertheless fully adaptable to any CFD package, especially those packages that use serial and/or parallel IO libraries that have Python wrappers (e.g. HDF5, VTK, and NetCDF all have Python implementations).
this folder includes three classes: mpiAnalyzer, mpiReader, and mpiWriter
currently mpiReader and mpiWriter only provide readers and writers for MPI-IO raw binary
mpiAnalyzer has a fully-functioning factory function and the user can choose between different pure-Python numerical backends (Akima-spline-based flux differencing, central finite differencing, and Fourier differentiation), however I have only ever used this class to analyze HIT from Athena-RFX and so it comes without warranty for any other purpose for the time being
A Fourier spectral collocation solver class for performing basic computational fluid dynamics simulations (DNS and LES)
Miscellaneous useful stuff that is not Python code