tset wall devs value in consolidate function - sphere - GPU-based 3D discrete e… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit a32eedee8f0ac517d57e2581f0277c9011ed1a6b | |
parent ed357a684791e39fa86067c2e83825e288b7be6a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 19 Sep 2014 11:19:47 +0200 | |
set wall devs value in consolidate function | |
Diffstat: | |
M python/sphere.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -2401,11 +2401,11 @@ class sim: | |
# Set the top wall BC to a value of normal stress | |
self.wmode = numpy.array([1]) | |
- #self.w_devs = numpy.ones(1) * normal_stress | |
+ self.w_devs = numpy.ones(1) * normal_stress | |
# Set top wall to a certain mass corresponding to the selected normal | |
# stress | |
- self.w_devs = numpy.zeros(1) | |
+ #self.w_devs = numpy.zeros(1) | |
self.w_m[0] = numpy.abs(normal_stress*sim.L[0]*sim.L[1]/sim.g[2]) | |
def uniaxialStrainRate(self, wvel = -0.001): |