tadded initialization to uniaxial.py - sphere - GPU-based 3D discrete element m… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 0e01769e8f4499a0297c1fadcea987c70b8dded6 | |
parent eff7becf0135d10c9cbb70273199026b609c7de6 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 27 Aug 2013 10:21:20 +0200 | |
added initialization to uniaxial.py | |
Diffstat: | |
M python/uniaxial.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/uniaxial.py b/python/uniaxial.py | |
t@@ -54,8 +54,8 @@ if (initialization == True): | |
cons = Spherebin(np = np, nw = 1, sid = sim_id + "-cons") | |
# Read last output file of initialization step | |
-lastf = status("shear-test-init") | |
-cons.readbin("../output/shear-test-init.output{:0=5}.bin".format(lastf), verbo… | |
+lastf = status(sim_id + "-init") | |
+cons.readbin("../output/" + sim_id + "-init.output{:0=5}.bin".format(lastf), v… | |
# Setup consolidation experiment | |
cons.uniaxialStrainRate(wvel = -cons.L[2]*0.05) # five percent of height per s… |