tupdate simulation configuration and total time - simple_DEM - a simple 2D Discrete Element Method code for educational purposes
(HTM) git clone git://src.adamsgaard.dk/simple_DEM
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 4a6f41cd760db08c92f63dd77ab1103c96dc3b99
(DIR) parent bbcc7990ca05ab8e0183a4bf4c3ce883fe5d0ffb
(HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
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(-)
---
(DIR) 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