tDecrease grain count, use log-normal PSD, and increase grain size and time step safety parameter - 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 858a8bf795e6c10fe487a48f25598490179a4a76
(DIR) parent 6434c8e85bdf550512685bb75cd06edbd200d1cd
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Tue, 19 Dec 2017 10:31:22 -0800
Decrease grain count, use log-normal PSD, and increase grain size and time step safety parameter
Diffstat:
M python/shear-test-ocr.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/python/shear-test-ocr.py b/python/shear-test-ocr.py
t@@ -11,7 +11,7 @@ rendering = False
plots = True
# Number of particles
-np = 2e4
+np = 1e4
# Common simulation id
sim_id = "shear-test-ocr"
t@@ -28,7 +28,7 @@ Nshear = 10e3
init = sphere.sim(np = np, nd = 3, nw = 0, sid = sim_id + "-init")
# Save radii with uniform size distribution
-init.generateRadii(mean = 9e-4, variance = 3e-4, histogram = True)
+init.generateRadii(psd = 'uni', mean = 1e-2, variance = 2e-3, histogram = True)
# Use default params
init.defaultParams(gamma_n = 1e2, mu_s = 0.5, mu_d = 0.5)
t@@ -45,7 +45,7 @@ hcells = np**(1.0/3.0)
init.initRandomGridPos(gridnum = [hcells, hcells, 1e9])
# Set duration of simulation
-init.initTemporal(total = 10.0)
+init.initTemporal(total = 10.0, epsilon = 0.07)
if (initialization == True):