tglobal_properties.h - 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
---
tglobal_properties.h (984B)
---
1 #ifndef GLOBAL_PROPERTIES_H_
2 #define GLOBAL_PROPERTIES_H_
3
4 /* Properties of sample */
5 static const int np = 1000; /* Number of particles */
6
7 /* Size distribution */
8 static const double rmin = 1.0e-3; /* Min. radius */
9 static const double rmax = 2.0e-3; /* Max. radius */
10
11 /* Properties of grains */
12 static const double kn = 1.0e5; /* Normal stiffness */
13 static const double nu = 30.0; /* Normal damping */
14 static const double rho = 1000.0; /* Density of the grains */
15 static const double mu = 0.5; /* Sliding friction */
16 static const double kt = 1.0e5; /* Tangential stiffness */
17
18 /* Temporal variables */
19 static const double dt = 1.0e-4; /* Time step lenpth */
20 static const int maxStep = 5000; /* Number of steps */
21 static const int fileInterval = 20; /* No. of steps between output */
22
23 /* Physical constants */
24 static const double grav = 9.80; /* Gravity magnitude */
25
26 /* Number of particles along the width in the initial configuration */
27 static const int npw = 30;
28
29 #endif