-
Notifications
You must be signed in to change notification settings - Fork 4
/
inputs_example.json
97 lines (96 loc) · 2.42 KB
/
inputs_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"save_path": "./sand3d_collision/",
"id_range": [
0,
1
],
"domain_size": 1.0,
"friction_angle": 40,
"wall_friction": 0.5,
"elastic_modulus": 2000000.0,
"poisson_ratio": 0.3,
"rho": 1800,
"sim_space": [
[
0.1,
0.9
],
[
0.1,
0.9
],
[
0.1,
0.9
]
],
"sim_resolution": [
32,
32,
32
],
"nsteps": 350,
"mpm_dt": 0.0025,
"gravity": [0, -9.81, 0],
"gen_cube_randomly": {
"generate": true,
"sim_inputs": {
"mass": {
"ncubes": [1, 2],
"min_distance_between_cubes": 0.01,
"cube_size_range": [0.20, 0.39],
"cube_gen_space": [[0.11, 0.5], [0.11, 0.89], [0.11, 0.89]],
"vel_range": [[-2.5, 2.5], [-2.5, 2.5], [-2.5, 2.5]],
"nparticle_limits": 15000
},
"obstacles": {
"ncubes": [1, 2],
"min_distance_between_cubes": 0.01,
"cube_size_range": [[0.1, 0.1], [0.35, 0.35], [0.1, 0.1]],
"cube_gen_space": [[0.51, 0.89], [0.1, 0.45], [0.11, 0.89]],
"vel_range": [-2.5, 2.5],
"nparticle_limits": 7000
}
}
},
"gen_cube_from_data": {
"generate": false,
"sim_inputs": [
{
"id": 0,
"mass": {
"cubes": [
[
0.5,
0.11,
0.20,
0.5,
0.2,
0.5
]
],
"velocity_for_cubes": [
[
1.0,
1.0,
1.5
]
]
},
"obstacles": {
"cubes": [
[1.0, 0.10, 0.45, 0.1, 0.5, 0.1]
],
"velocity_for_cubes": [
[0.0, 0.0, 0.0]
]
}
}
]
},
"visualization": {
"is_realtime_vis": true,
"is_save_animation": true,
"skip": 1
}
}