aboutsummaryrefslogtreecommitdiff
path: root/lid_driven_cavity.py
diff options
context:
space:
mode:
Diffstat (limited to 'lid_driven_cavity.py')
-rw-r--r--lid_driven_cavity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lid_driven_cavity.py b/lid_driven_cavity.py
index a4de67d..2bfdb7a 100644
--- a/lid_driven_cavity.py
+++ b/lid_driven_cavity.py
@@ -5,7 +5,7 @@ import matplotlib
import matplotlib.pyplot as plt
matplotlib.use('AGG')
-from D2Q9 import Lattice
+from lbm import Lattice
import symbolic.D2Q9 as D2Q9
@@ -52,6 +52,7 @@ moments = []
print("Initializing simulation...\n")
lattice = Lattice(
+ descriptor = D2Q9,
nX = 256, nY = 256,
geometry = cavity,
moments = D2Q9.moments(optimize = False),