tadded initialization to uniaxial.py - 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 0e01769e8f4499a0297c1fadcea987c70b8dded6
(DIR) parent eff7becf0135d10c9cbb70273199026b609c7de6
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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), verbose=False)
+lastf = status(sim_id + "-init")
+cons.readbin("../output/" + sim_id + "-init.output{:0=5}.bin".format(lastf), verbose=False)
# Setup consolidation experiment
cons.uniaxialStrainRate(wvel = -cons.L[2]*0.05) # five percent of height per second