Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd cell size calculation - sphere - GPU-based 3D discrete element method algo…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 35fe4632d0ad9f2bb021b669f33567d828294a9f
parent e7ff2bb38671081bddefa9147276d4852c318c8f
Author: Anders Damsgaard <[email protected]>
Date: Wed, 13 Aug 2014 14:52:48 +0200
add cell size calculation
Diffstat:
M python/diffusivity-starter.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/python/diffusivity-starter.py b/python/diffusivity-starter.py
t@@ -50,6 +50,7 @@ for sigma0_str in sys.argv[4:]:
sim.initTemporal(total = 5.0, file_dt = 0.01, epsilon=0.07)
# Fix lowermost particles
+ dz = sim.L[2]/sim.num[2]
I = numpy.nonzero(sim.x[:,2] < 1.5*dz)
sim.fixvel[I] = 1
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.