tadjust grid size before initializing fluid - 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 edf3cc179f0b80edbf759132bd207792f5708b8f
(DIR) parent 3540e8fd666ecb30110981cc08f37e5a61f3dafe
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 9 Sep 2014 09:42:08 +0200
adjust grid size before initializing fluid
Diffstat:
M python/shear-starter.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/shear-starter.py b/python/shear-starter.py
t@@ -42,10 +42,10 @@ sim.zeroKinematics()
sim.shear(1.0/20.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.initFluid(mu = 1.787e-6, p = 1.0e5, hydrostatic = True)
+ #sim.initFluid(mu = 17.87e-4, p = 1.0e5, hydrostatic = True)
sim.setFluidBottomNoFlow()
sim.setFluidTopFixedPressure()
sim.setDEMstepsPerCFDstep(10)