File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010# simulation setup
1111side_len = 1
1212rho = 1000 # density of square
13- k = 4e4 # spring stiffness
14- n_seg = 10 # num of segments per side of the square
13+ k = 2e4 # spring stiffness
14+ n_seg = 4 # num of segments per side of the square
1515h = 0.01 # time step size in s
1616DBC = [] # no nodes need to be fixed
1717# ANCHOR: slope_setup
Original file line number Diff line number Diff line change 1414E = 1e5 # Young's modulus
1515nu = 0.4 # Poisson's ratio
1616# ANCHOR_END: lame_param
17- n_seg = 6 # num of segments per side of the square
17+ n_seg = 4 # num of segments per side of the square
1818h = 0.01 # time step size in s
1919DBC = [(n_seg + 1 ) * (n_seg + 1 )] # dirichlet node index
2020DBC_v = [np .array ([0.0 , - 0.5 ])] # dirichlet node velocity
You can’t perform that action at this time.
0 commit comments