8set duplicate block elements on
10# Stylised open-end spanner body
11create brick x 1 y 1 z 1
12create Cylinder height 1 radius 0.25
13create Cylinder height 0.2 radius 0.4
14move Volume 2 z 0.5 include_merged
15move Volume 3 location surface 9
17webcut Volume 1 tool volume 2
21# Volume 2 scale 0.99 about 0 0 1.1
25volume 1 size {mesh_size}
26volume all scheme tetmesh
32block 1 name "MAT_ELASTIC_1"
33block 1 attribute count 2
34block 1 attribute index 2 0
37block 2 name "MAT_ELASTIC_SCREW"
38block 2 attribute count 2
39block 2 attribute index 2 0
42block 15 name "FIX_ALL"
46block 10 name "TIE_SLAVE_1"
49block 11 name "TIE_MASTER_1"
52block 13 add surface 12
53block 13 name "FORCE_1"
54block 13 attribute count 3
55block 13 attribute index 1 -0.01
56block 13 attribute index 2 0.01
57block 13 attribute index 3 0.01
62save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_tie.cub" overwrite
71#save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_conform.cub" overwrite
75vol 1 2 copy move 1.1 0 0
78block 17 name "TIE_MASTER_2"
81block 18 name "TIE_SLAVE_2"
84block 22 name "TIE_MASTER_3"
87block 21 name "TIE_SLAVE_3"
90block 20 add surface 26
91block 20 name "FORCE_2"
92block 20 attribute count 3
93block 20 attribute index 1 0.01
94block 20 attribute index 2 0.01
95block 20 attribute index 3 0.01
99block 15 add surface 18
102save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_tie_double.cub" overwrite