tcorrect wall velocity - sphere - GPU-based 3D discrete element method algorith… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 65e67b2dc83a0d82bfca2bb50ac92992d420b604 | |
parent f2c74457b53b987cdd2f6687f33a7d861d7644c8 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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() |