From 1eb15a532461a3546c84da072aba13a5182da460 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 3 Jul 2021 16:39:53 +0200 Subject: Add Taylor-Couette video --- lbm.org | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'lbm.org') diff --git a/lbm.org b/lbm.org index 1fe5777..dcd20ab 100644 --- a/lbm.org +++ b/lbm.org @@ -5547,7 +5547,7 @@ cudaSetDevice(0); After including the relevant headers we construct the D3Q19 lattice. #+BEGIN_SRC cpp :tangle tangle/taylor-couette.cu -const descriptor::Cuboid cuboid(320, 96, 96); +const descriptor::Cuboid cuboid(500, 96, 96); Lattice lattice(cuboid); #+END_SRC @@ -5624,8 +5624,8 @@ lattice.apply(bouzidi.getCount(), bouzidi.getConfig()); lattice.stream(); #+END_SRC -Finally the volumetric renderer is used to control the simulation -loop and to provide velocity and curl norm visualizations. +Finally the volumetric example renderer is used to control the simulation +loop and to provide velocity, curl norm and shear layer visualizations. #+BEGIN_SRC cpp :tangle tangle/taylor-couette.cu VolumetricExample renderer(cuboid); @@ -5637,6 +5637,14 @@ renderer.run([&](std::size_t iStep) { } #+END_SRC +After compiling the tangled program and playing around with the rendering +settings for the shear layer sampler, we end up with something similar to +this: + +#+BEGIN_EXPORT html +