Skip to content

agdestein/ExactClosure.jl

Repository files navigation

ExactClosure

Source code for the paper "Exact expressions for the unresolved stress in a finite-volume based large-eddy simulation".

Paper

Preprint

Zenodo archive of code

Setup

Run

julia --project -e 'using Pkg; Pkg.instantiate()'

to install all dependencies.

To run scripts on a CUDA-enabled computer, use

julia --project myscript.jl

The 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

Burgers equation

  • Run burgers-fractions.jl to compute the fractions of the different residual flux contributions.
  • Run delta_study.jl to compute the a-posterio error for different filter ratios.
  • Run smagorinsky.jl for the Smagorinsky model results.
  • Run burgers.jl for the other results.

Navier-Stokes

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.

About

No description, website, or topics provided.

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors