aboutsummaryrefslogtreecommitdiff
path: root/ldc_2d.py
diff options
context:
space:
mode:
Diffstat (limited to 'ldc_2d.py')
-rw-r--r--ldc_2d.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ldc_2d.py b/ldc_2d.py
index 8268e10..52f0912 100644
--- a/ldc_2d.py
+++ b/ldc_2d.py
@@ -61,7 +61,11 @@ lbm = LBM(D2Q9)
lattice = Lattice(
descriptor = D2Q9,
- geometry = Geometry(256, 256),
+ geometry = Geometry(300, 300),
+
+ layout = (30,1),
+ padding = (30,1,1),
+ align = True,
moments = lbm.moments(optimize = False),
collide = lbm.bgk(f_eq = lbm.equilibrium(), tau = relaxation_time),