tchange default side BC to periodic - sphere - GPU-based 3D discrete element me… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 7a1131484a0e2ac6b805cfdd87c07039e4b4bbfb | |
parent 2fe53d2f0af361d48949c6f9909be29814048e7e | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Fri, 12 Aug 2016 13:18:34 -0700 | |
change default side BC to periodic | |
Diffstat: | |
M python/sphere.py | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -3386,10 +3386,10 @@ class sim: | |
self.f_p = numpy.zeros((self.np, self.nd), dtype=numpy.float64) | |
self.k_c = numpy.ones(1, dtype=numpy.float64)*4.6e-10 | |
- self.bc_xn = numpy.ones(1, dtype=numpy.int32)*3 | |
- self.bc_xp = numpy.ones(1, dtype=numpy.int32)*3 | |
- self.bc_yn = numpy.ones(1, dtype=numpy.int32)*3 | |
- self.bc_yp = numpy.ones(1, dtype=numpy.int32)*3 | |
+ self.bc_xn = numpy.ones(1, dtype=numpy.int32)*2 | |
+ self.bc_xp = numpy.ones(1, dtype=numpy.int32)*2 | |
+ self.bc_yn = numpy.ones(1, dtype=numpy.int32)*2 | |
+ self.bc_yp = numpy.ones(1, dtype=numpy.int32)*2 | |
else: | |
raise Exception('Value of cfd_solver not understood (' + \ |