tdecrease viscosity - sphere - GPU-based 3D discrete element method algorithm w… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 59e6fffefa5a791f605db484de9c03b7b683737f | |
parent c8ec06c7c70aa2f12b54eaa2244d4bf7917b4e2d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 2 Sep 2014 14:28:52 +0200 | |
decrease viscosity | |
Diffstat: | |
M python/consolidation-curve.py | 5 ++++- | |
M python/shear-starter.py | 3 ++- | |
2 files changed, 6 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/consolidation-curve.py b/python/consolidation-curve.py | |
t@@ -27,7 +27,10 @@ c = 0 | |
for c_grad_p in c_grad_p_list: | |
sid = 'cons-sigma0=' + str(sigma0) + '-c_phi=' + \ | |
- str(c_phi) + '-c_grad_p=' + str(c_grad_p) + '-tall' | |
+ str(c_phi) + '-c_grad_p=' + str(c_grad_p) | |
+ if c_grad_p != 1.0: | |
+ sid += '-tall' | |
+ | |
if os.path.isfile('../output/' + sid + '.status.dat'): | |
sim = sphere.sim(sid, fluid=True) | |
t[c] = numpy.ones(sim.status()) | |
diff --git a/python/shear-starter.py b/python/shear-starter.py | |
t@@ -42,7 +42,8 @@ sim.zeroKinematics() | |
sim.shear(1.0/20.0) | |
if fluid: | |
- sim.initFluid(mu = 17.87e-4, p = 1.0e5, hydrostatic = True) | |
+ 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) |