LOFT - Lagrangian Offline Flow Trajectories
  • Jupyter Notebook 53.1%
  • Cuda 30.3%
  • C++ 14.3%
  • C 1.3%
  • Python 0.9%
  • Other 0.1%
Find a file
2021-04-15 01:18:35 -05:00
Makefiles Added Makefile for orf 2020-05-04 11:20:35 -05:00
run added the output_qr variable for rain concentration from microphysics 2020-06-23 21:25:48 +00:00
scripts added plotting example notebook 2020-05-04 19:43:26 +00:00
src fixed bounds check index bug 2021-04-15 01:18:35 -05:00
tests Updated some comments to better reflect what the code is doing 2019-06-25 22:36:52 +00:00
buildLOFT-Frontera.sh added cuda 2020-04-23 15:33:24 -05:00
LICENSE More permissive license 2020-02-27 22:33:13 -06:00
README.md Updated README with Copyright 2020-02-27 16:09:49 -06:00

LOFT - Lagrangian Offline Flow Trajectories

LOFT is an offline trajectory integration package that leverages Graphical Processing Units (GPUs) to integrate up to tens of millions of Lagrangian trajectories through CM1 simulations. Included is the ability to compute budgets of momentum and vorticity to track along the trajectories, as well as various scalar fields.

While its use cases are at the moment incredibly specific, the idea is that anyone who desires lossy compression of Large Eddy Simulations (LES) and high temporal resolution saves from simulations, these tools can be used to analyze the flow in a variety of ways using Lagrangian particle trajectories. In the event this isn't useful, it can provide some guidance on how to write CUDA C++ code for fluid dynamics problems, compute stencils that could be linked to for other projects, or just be an open resource so that results from publications can be verified.

As of right now, it's not at 100% generalization. This assumes CM1 is running with no terrain and uses the zero-flux boundary condition, with free slip being a relatively straightforward addition to add in the future (and then perhaps semi-slip or no-slip). Additionally, the CM1 mesh is assumed to be isotropic (dx == dy == dz) for right now while tests are being developed. Stretched meshes will be included in the future.

  • Data must be written from CM1r19.8-LOFS, which uses a specialized data format built on distributed HDF5 files. The primary advantage is I/O performance when running CM1, and additional storage perofrmance through the usage of ZFP compression.

  • In order for LOFT to read the data from CM1, the LOFS-read package must be installed.

  • Additional Requirements:

This work was supported by NSF grants OAC-1614973, AGS-1832327 as part of the PhD thesis work of Kelton Halbert.