We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d26c90 commit ff38c6aCopy full SHA for ff38c6a
2 files changed
4_friction/simulator.py
@@ -10,8 +10,8 @@
10
# simulation setup
11
side_len = 1
12
rho = 1000 # density of square
13
-k = 4e4 # spring stiffness
14
-n_seg = 10 # num of segments per side of the square
+k = 2e4 # spring stiffness
+n_seg = 4 # num of segments per side of the square
15
h = 0.01 # time step size in s
16
DBC = [] # no nodes need to be fixed
17
# ANCHOR: slope_setup
6_inv_free/simulator.py
@@ -14,7 +14,7 @@
E = 1e5 # Young's modulus
nu = 0.4 # Poisson's ratio
# ANCHOR_END: lame_param
-n_seg = 6 # num of segments per side of the square
18
19
DBC = [(n_seg + 1) * (n_seg + 1)] # dirichlet node index
20
DBC_v = [np.array([0.0, -0.5])] # dirichlet node velocity
0 commit comments