tadjust grid height properly - 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 df58c1f5a720872897bd9bee1b3300d9cd7cfbc5
(DIR) parent c011b734b2b4354b5deeab290487cc4b400b7933
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 9 Sep 2014 09:20:34 +0200
adjust grid height properly
Diffstat:
M python/shear-starter.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/python/shear-starter.py b/python/shear-starter.py
t@@ -39,15 +39,13 @@ sim.cleanup()
sim.adjustUpperWall()
sim.zeroKinematics()
-strainrate = 1.0/20.0
-if fluid:
- sim.shear(strainrate, z_adjust=2.0)
-else:
- sim.shear(strainrate, z_adjust=1.5)
+sim.shear(1.0/20.0, z_adjust=2.0)
if fluid:
sim.initFluid(mu = 1.787e-6, p = 1.0e5, hydrostatic = True)
#sim.initFluid(mu = 17.87e-4, p = 1.0e5, hydrostatic = True)
+ sim.num[2] *= 2
+ sim.L[2] *= 2.0
sim.setFluidBottomNoFlow()
sim.setFluidTopFixedPressure()
sim.setDEMstepsPerCFDstep(10)