tupdate simulation configuration and total time - simple_DEM - a simple 2D Discrete Element Method code for educational purposes
git clone git://src.adamsgaard.dk/simple_DEM
Log
Files
Refs
LICENSE
---
commit 4a6f41cd760db08c92f63dd77ab1103c96dc3b99
parent bbcc7990ca05ab8e0183a4bf4c3ce883fe5d0ffb
Author: Anders Damsgaard Christensen 
Date:   Tue, 17 Jan 2017 15:29:49 -0800

update simulation configuration and total time

Diffstat:
  M global_properties.h                 |       6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/global_properties.h b/global_properties.h
t@@ -16,14 +16,14 @@ static const double mu = 0.5;                /* Sliding friction */
 static const double kt = 1.0e5;                /* Tangential stiffness */
 
 /* Temporal variables */
-static const double dt = 5.0e-5;        /* Time step lenpth */
-static const int maxStep = 3000;        /* Number of steps */
+static const double dt = 1.0e-4;        /* Time step lenpth */
+static const int maxStep = 5000;        /* Number of steps */
 static const int fileInterval = 20;        /* No. of steps between output */
 
 /* Physical constants */
 static const double grav = 9.80;        /* Gravity magnitude */
 
 /* Number of particles along the width in the initial configuration */
-static const int npw = 50;
+static const int npw = 30;
 
 #endif