tset periodic as default lateral fluid BC - sphere - GPU-based 3D discrete elem… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2fe53d2f0af361d48949c6f9909be29814048e7e | |
parent 782163da2e1dfce7ea390e7373f303bc1ce75f7d | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Fri, 12 Aug 2016 13:04:15 -0700 | |
set periodic as default lateral fluid BC | |
Diffstat: | |
M python/sphere.py | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -334,10 +334,10 @@ class sim: | |
# 0: Dirichlet | |
# 1: Neumann | |
# 2: Periodic (default) | |
- self.bc_xn = numpy.ones(1, dtype=numpy.int32)*3 # Neg. x bc | |
- self.bc_xp = numpy.ones(1, dtype=numpy.int32)*3 # Pos. x bc | |
- self.bc_yn = numpy.ones(1, dtype=numpy.int32)*3 # Neg. y bc | |
- self.bc_yp = numpy.ones(1, dtype=numpy.int32)*3 # Pos. y bc | |
+ self.bc_xn = numpy.ones(1, dtype=numpy.int32)*2 # Neg. x bc | |
+ self.bc_xp = numpy.ones(1, dtype=numpy.int32)*2 # Pos. x bc | |
+ self.bc_yn = numpy.ones(1, dtype=numpy.int32)*2 # Neg. y bc | |
+ self.bc_yp = numpy.ones(1, dtype=numpy.int32)*2 # Pos. y bc | |
# Boundary conditions at the top and bottom of the fluid grid | |
# 0: Dirichlet (default) |