tIncrease consolidation time and add viscosity to top wall - Granular.jl - Julia package for granular dynamics simulation
 (HTM) git clone git://src.adamsgaard.dk/Granular.jl
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f7da3ebd8db4dbfa61ca5c0ae22391cff43e8644
 (DIR) parent 05ee37055f8e1b65c450eb5fd04b8e9a94d85e2e
 (HTM) 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:
         M examples/shear.jl                   |       5 +++--
       
       1 file changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/examples/shear.jl b/examples/shear.jl
       t@@ -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
        
        ################################################################################
       t@@ -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