v0.16.0
Loading...
Searching...
No Matches
neck_mesh_damage.jou
Go to the documentation of this file.
1reset
2
3info off
4warning off
5graphics off
6
7set duplicate block elements on
8
9
10create brick x 1 y 1.5 z 0.2
11create Cylinder height 1 radius 0.35
12create Cylinder height 1 radius 0.35
13move volume 3 location surface 6
14move volume 2 location surface 4
15subtract volume 2 3 from volume 1
16
17volume all size 0.1
18volume all scheme tetmesh
19mesh volume all
20
21
22# Material blocks
23block 1 volume 1
24block 1 name "MAT_ELASTIC_1"
25block 1 attribute count 2
26block 1 attribute index 2 0.3
27 block 1 attribute index 1 100
28
29block 15 add surface 3
30block 15 name "FIX_ALL"
31
32
33block 10 surface 5
34block 10 name "FIX_Y"
35block 10 attribute count 3
36block 10 attribute index 3 0
37block 10 attribute index 2 -0.5
38block 10 attribute index 1 1
39
40save as "~/Downloads/neck_mesh_damage.cub" overwrite