tset total mass to equal grain mass during consolidation - sphere - GPU-based 3… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2c23e55b649111fe8c1804d3c8ae90d474bfe16f | |
parent 4b0e619db3245ce652c088d4c56f65adc8306ed7 | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Fri, 9 Sep 2016 10:15:04 -0700 | |
set total mass to equal grain mass during consolidation | |
Diffstat: | |
M python/sphere.py | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -2985,7 +2985,8 @@ class sim: | |
# Set top wall to a certain mass corresponding to the selected normal | |
# stress | |
#self.w_sigma0 = numpy.zeros(1) | |
- self.w_m[0] = numpy.abs(normal_stress*self.L[0]*self.L[1]/self.g[2]) | |
+ #self.w_m[0] = numpy.abs(normal_stress*self.L[0]*self.L[1]/self.g[2]) | |
+ self.w_m[idx] = self.totalMass() | |
def uniaxialStrainRate(self, wvel = -0.001): | |
''' |