Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit f7da3ebd8db4dbfa61ca5c0ae22391cff43e8644
parent 05ee37055f8e1b65c450eb5fd04b8e9a94d85e2e
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Wed, 17 Jan 2018 21:57:59 -0500

Increase consolidation time and add viscosity to top wall

Diffstat:
Mexamples/shear.jl | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/shear.jl b/examples/shear.jl @@ -40,7 +40,7 @@ const vel_shear = 0.5 # Simulation duration of individual steps [s] const t_init = 2.0 -const t_cons = 1.0 +const t_cons = 2.5 const t_shear = 5.0 ################################################################################ @@ -130,7 +130,8 @@ for grain in sim.grains end end Granular.addWallLinearFrictionless!(sim, [0., 1.], y_top, - bc="normal stress", normal_stress=-N) + bc="normal stress", normal_stress=-N, + contact_viscosity_normal=1e3) info("Placing top wall at y=$y_top") # Resize the grid to span the current state