tMake sure nw=1 when doing a shear test - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f6bc88c372f7e5685903e8911f6e87f4084cca4e
(DIR) parent 93a1500f63ea94b5efe51ce8d98af4ae86225081
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 31 Mar 2014 09:13:16 +0200
Make sure nw=1 when doing a shear test
Diffstat:
M python/sphere.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -2142,6 +2142,8 @@ class sim:
:type shear_strain_rate: float
'''
+ self.nw[0] = 1
+
# Find lowest and heighest point
z_min = numpy.min(self.x[:,2] - self.radius)
z_max = numpy.max(self.x[:,2] + self.radius)