tadjust grid size before initializing fluid - sphere - GPU-based 3D discrete el… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit edf3cc179f0b80edbf759132bd207792f5708b8f | |
parent 3540e8fd666ecb30110981cc08f37e5a61f3dafe | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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) |