Source code for the paper "Exact expressions for the unresolved stress in a finite-volume based large-eddy simulation".
Run
julia --project -e 'using Pkg; Pkg.instantiate()'
to install all dependencies.
To run scripts on a CUDA-enabled computer, use
julia --project myscript.jlThe CUDA backend should automatically be used if a compatible GPU is detected.
To run with multithreading on a CPU (e.g., on a laptop), use
julia --project -t auto myscript.jl- Run
burgers-fractions.jlto compute the fractions of the different residual flux contributions. - Run
delta_study.jlto compute the a-posterio error for different filter ratios. - Run
smagorinsky.jlfor the Smagorinsky model results. - Run
burgers.jlfor the other results.
Run navierstokes.jl.
Uncomment the test case setup to run.
The paper uses getsetup3D, which you probably want to run on a GPU.
The setups getsetup2D or getsetup3D_laptop can be run on a laptop CPU.
Comment out the other cases.