tLowered default time step length - 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 b25fd914a4b75602e6eb889c11c73a10d8029ae3
(DIR) parent ad55eb790a21e6d8161ca49c27e87dffdf6e61cb
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Fri, 24 Aug 2012 09:44:43 +0200
Lowered default time step length
Diffstat:
M python/sphere.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -614,7 +614,8 @@ class Spherebin:
r_min = numpy.amin(self.radius)
# Computational time step (O'Sullivan et al, 2003)
- self.time_dt[0] = 0.17 * math.sqrt((4.0/3.0 * math.pi * r_min**3 * self.rho[0]) / numpy.amin([self.k_n[:], self.k_s[:]]) )
+ #self.time_dt[0] = 0.17 * math.sqrt((4.0/3.0 * math.pi * r_min**3 * self.rho[0]) / numpy.amin([self.k_n[:], self.k_s[:]]) )
+ self.time_dt[0] = 0.12 * math.sqrt((4.0/3.0 * math.pi * r_min**3 * self.rho[0]) / numpy.amin([self.k_n[:], self.k_s[:]]) )
# Time at start
self.time_current[0] = current