tAdd irregularity and triangular geometry to initial packing - Granular.jl - Julia package for granular dynamics simulation
HTML git clone git://src.adamsgaard.dk/Granular.jl
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c3949678822a95a6d9f160475141e2388952278b
DIR parent f0a582f6c81760b96a9fc9201ac3a614ac89c9a3
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 Mar 2019 21:38:30 +0100
Add irregularity and triangular geometry to initial packing
Diffstat:
M examples/sedimentation.jl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/examples/sedimentation.jl b/examples/sedimentation.jl
t@@ -6,7 +6,9 @@ sim = Granular.createSimulation(id="sedimentation")
# Generate 10 grains along x and 25 grains along y, with radii between 0.2 and
# 1.0 m.
-Granular.regularPacking!(sim, [7, 25], 0.02, 0.2)
+Granular.regularPacking!(sim, [7, 25], 0.02, 0.2,
+ tiling="triangular",
+ padding_factor=0.1)
# Visualize the grain-size distribution
#Granular.plotGrainSizeDistribution(sim)