Skip to content

Commit b120317

Browse files
more default values
1 parent 834fd77 commit b120317

File tree

18 files changed

+28971
-50
lines changed

18 files changed

+28971
-50
lines changed

data/push_box.json

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"geometry": [
3+
{
4+
"mesh": "../data/vol_mesh/cube.msh",
5+
"transformation": {
6+
"translation": [
7+
-0.65,
8+
0.2,
9+
0
10+
],
11+
"scale": 0.4
12+
},
13+
"volume_selection": 3,
14+
"surface_selection": 3,
15+
"advanced": {
16+
"normalize_mesh": false
17+
}
18+
},
19+
{
20+
"mesh": "../data/surf_mesh/sphere.obj",
21+
"is_obstacle": true,
22+
"enabled": true,
23+
"transformation": {
24+
"translation": [
25+
-1.0,
26+
0.2,
27+
0
28+
],
29+
"scale": 0.1
30+
},
31+
"surface_selection": 1000
32+
},
33+
{
34+
"mesh": "../data/surf_mesh/cube_dense.obj",
35+
"is_obstacle": true,
36+
"enabled": true,
37+
"transformation": {
38+
"translation": [
39+
0,
40+
-0.0051,
41+
0
42+
],
43+
"scale": [
44+
4,
45+
0.01,
46+
4
47+
]
48+
},
49+
"surface_selection": 1001
50+
}
51+
],
52+
"boundary_conditions": {
53+
"obstacle_displacements": [
54+
{
55+
"id": 1000,
56+
"value": [
57+
"0",
58+
"0",
59+
"0"
60+
]
61+
},
62+
{
63+
"id": 1001,
64+
"value": [
65+
0.0,
66+
0.0,
67+
0.0
68+
]
69+
}
70+
],
71+
"rhs": [
72+
0,
73+
9.81,
74+
0
75+
]
76+
},
77+
"space": {
78+
"advanced": {
79+
"bc_method": "sample",
80+
"quadrature_order": -1
81+
}
82+
},
83+
"time": {
84+
"t0": 0,
85+
"dt": 0.0167,
86+
"time_steps": 20
87+
},
88+
"contact": {
89+
"enabled": true,
90+
"dhat": 0.001,
91+
"friction_coefficient": 0.8
92+
},
93+
"solver": {
94+
"linear": {
95+
"solver": "Eigen::CholmodSupernodalLLT"
96+
},
97+
"nonlinear": {
98+
"line_search": {
99+
"method": "backtracking"
100+
},
101+
"grad_norm": 0.01,
102+
"use_grad_norm": false
103+
},
104+
"augmented_lagrangian": {
105+
"max_weight": 1e+30
106+
},
107+
"contact": {
108+
"friction_iterations": 100,
109+
"CCD": {
110+
"broad_phase": "STQ"
111+
}
112+
}
113+
},
114+
"materials": [
115+
{
116+
"id": 3,
117+
"E": 100000000.0,
118+
"nu": 0.48,
119+
"rho": 1500.0,
120+
"type": "NeoHookean"
121+
}
122+
],
123+
"output": {
124+
"paraview": {
125+
"file_name": "sim.pvd",
126+
"options": {
127+
"material": true,
128+
"body_ids": true
129+
},
130+
"vismesh_rel_area": 10000000
131+
},
132+
"advanced": {
133+
"save_solve_sequence_debug": false,
134+
"save_time_sequence": true
135+
}
136+
}
137+
}

0 commit comments

Comments
 (0)