summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-06-16 22:36:57 +0200
committerAdrian Kummerlaender2021-06-16 22:36:57 +0200
commit73fdd53ba37a09092d2bee9de03707aeb3cd6b2e (patch)
tree1ce639c6919bad3e0eff985970ce5697dbe4ed12
parent13315d4166db0d475c80ff669b67023ff8369c78 (diff)
downloadLiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar.gz
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar.bz2
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar.lz
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar.xz
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.tar.zst
LiterateLB-73fdd53ba37a09092d2bee9de03707aeb3cd6b2e.zip
Extend nozzle channel to prevent outflow divergence
-rw-r--r--lbm.org2
-rw-r--r--tangle/nozzle.cu2
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<DESCRIPTOR> cuboid(400, 80, 80);
+const descriptor::Cuboid<DESCRIPTOR> cuboid(500, 80, 80);
Lattice<DESCRIPTOR,T> 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<DESCRIPTOR> cuboid(400, 80, 80);
+const descriptor::Cuboid<DESCRIPTOR> cuboid(500, 80, 80);
Lattice<DESCRIPTOR,T> lattice(cuboid);
CellMaterials<DESCRIPTOR> materials(cuboid, [&cuboid](uint3 p) -> int {