tDisable rendering, fix typos - 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 6434c8e85bdf550512685bb75cd06edbd200d1cd
(DIR) parent 2e0e029bfbcf000c586f898b1dca6c051d567fcf
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
Date: Tue, 19 Dec 2017 10:25:09 -0800
Disable rendering, fix typos
Diffstat:
M python/shear-test-ocr.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/python/shear-test-ocr.py b/python/shear-test-ocr.py
t@@ -7,7 +7,7 @@ import sphere
initialization = True
consolidation = True
shearing = True
-rendering = True
+rendering = False
plots = True
# Number of particles
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, var = 3e-4, histogram = True)
+init.generateRadii(mean = 9e-4, variance = 3e-4, histogram = True)
# Use default params
init.defaultParams(gamma_n = 1e2, mu_s = 0.5, mu_d = 0.5)
t@@ -64,7 +64,6 @@ if (initialization == True):
init.render(method = "angvel", max_val = 0.3, verbose = False)
-
# For each normal stress, consolidate and subsequently shear the material
for N in Nlist:
t@@ -112,7 +111,7 @@ for N in Nlist:
"-relax-from-N{}".format(N))
lastf = status(sim_id + "-cons-N{}".format(N))
relax.readbin("../output/" + sim_id +
- "-cons-N{}.output{:0=5}.bin".format(N, lastf),
+ "-cons-N{}.output{:0=5}.bin".format(N, lastf))
relax.periodicBoundariesXY()