Skip to content

Repository files navigation

Dataset Generation Code for Data-Driven Discretizations of Quasi-Lagrangian Turbulence

This code contains:

Install

poetry install
source .venv/bin/activate
pip install "jax[cuda12]==0.4.29"

Getting Started

  • Validation run with reference kinetic energy after 10 steps.
python main.py config=configs/tgv_validate.yaml
  • To generate an HIT dataset with $32^3$ particles, we run spectral DNS on a $256^3$ grid and spectrally coarsen/filter to $32^3$.
python main.py config=configs/hit.yaml

Datasets

The two datasets used in the paper can be regenerated with the following scripts:

  • sbatch gen_dataset/slurm_kolm2d_64_1.sh - 80 min/traj x 20 trajs
  • sbatch gen_dataset/slurm_hit3d_32_1.sh - 60 min/traj x 20 trajs

At the bottom of these scripts are the commands to convert the simulations into a dataset file.

About

Quasi-Lagrangian Large Eddy Simulation data-generation code

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages