tcorrect wall velocity - 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 65e67b2dc83a0d82bfca2bb50ac92992d420b604
(DIR) parent f2c74457b53b987cdd2f6687f33a7d861d7644c8
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sun, 22 Jun 2014 22:02:46 +0200
correct wall velocity
Diffstat:
M python/shortening.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/shortening.py b/python/shortening.py
t@@ -156,7 +156,8 @@ sim.gamma_t[0] = 0.0
# push down upper wall
compressional_strain = 0.5
-sim.uniaxialStrainRate(wvel = -compressional_strain*Lz/sim.time_total[0])
+sim.uniaxialStrainRate(wvel =
+ -compressional_strain*(z_max - z_min)/sim.time_total[0])
sim.run(dry=True)
sim.run()