tread correct consolidation input - sphere - GPU-based 3D discrete element meth… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 8fc59d2f827ce18413b15c668811e2a0af882cd9 | |
parent 7b96a4414c3a8fb8ca0146f321ddaee9f9e3400b | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Sat, 4 Jun 2016 16:42:37 -0700 | |
read correct consolidation input | |
Diffstat: | |
M python/generate-rate-state-scripts… | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/python/generate-rate-state-scripts-comet-rs0.py b/python/generate-… | |
t@@ -101,7 +101,8 @@ import numpy | |
# load consolidated granular assemblage | |
sim = sphere.sim(fluid=False) | |
-sim = sphere.sim('shear-sigma0=' + str({effective_stress}), fluid=False) | |
+cons_jobname = 'cons-1e4- + '{}Pa'.format({effective_stress}) | |
+sim = sphere.sim(cons_jobname, fluid=False) | |
sim.readlast() | |
sim.id('{jobname}') | |