From 73fdd53ba37a09092d2bee9de03707aeb3cd6b2e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 16 Jun 2021 22:36:57 +0200 Subject: Extend nozzle channel to prevent outflow divergence --- lbm.org | 2 +- tangle/nozzle.cu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbm.org b/lbm.org index 1066b9c..3e934ad 100644 --- a/lbm.org +++ b/lbm.org @@ -5574,7 +5574,7 @@ cudaSetDevice(0); After including the relevant headers we construct the D3Q19 lattice. #+BEGIN_SRC cpp :tangle tangle/nozzle.cu -const descriptor::Cuboid cuboid(400, 80, 80); +const descriptor::Cuboid cuboid(500, 80, 80); Lattice lattice(cuboid); #+END_SRC diff --git a/tangle/nozzle.cu b/tangle/nozzle.cu index c3f343d..5a1b1f3 100644 --- a/tangle/nozzle.cu +++ b/tangle/nozzle.cu @@ -17,7 +17,7 @@ using DESCRIPTOR = descriptor::D3Q19; int main() { cudaSetDevice(0); -const descriptor::Cuboid cuboid(400, 80, 80); +const descriptor::Cuboid cuboid(500, 80, 80); Lattice lattice(cuboid); CellMaterials materials(cuboid, [&cuboid](uint3 p) -> int { -- cgit v1.2.3