2 set duplicate block elements on
4 import step "/Users/karollewandowski/Desktop/mofem_logo2.step" heal
10 move surface 405 location surface 397 include_merged
11 move volume 28 y {-t} include_merged
12 rotate volume all angle 90 about x include_merged
19 # set default_material properly
20 block 1 volume 1 to 26
21 block 1 name "MAT_ELASTIC1" attribute count 2
22 block 1 attribute index 1 1
23 block 1 attribute index 2 0.2
26 # set default_material properly
28 block 2 name "MAT_ELASTIC2" attribute count 2
29 block 2 attribute index 1 12
30 block 2 attribute index 2 0.2
32 block 6 volume 1 to 27
33 block 6 name "BODY_FORCES"
34 block 6 attribute count 4
35 block 6 attribute index 1 0.0005
36 block 6 attribute index 2 0
37 block 6 attribute index 3 0
38 block 6 attribute index 4 1
42 #block 12 name "DAMPER_BALL"
43 #block 12 attribute count 2
44 #block 12 attribute index 1 1
45 #block 12 attribute index 2 -1
49 block 4 name "SPRING_BC"
50 block 4 attribute count 2
51 block 4 attribute index 1 1e-5
52 block 4 attribute index 2 1e-5
54 create displacement on surface 406 404 dof all fix 0
56 create displacement on surface all with Y_Coord < .1 and Y_Coord > -0.1 dof 2 fix 0
57 create displacement on surface all with Y_Coord < .26 and Y_Coord > 0.24 dof 2 fix 0
61 #create displacement on surface 38 29 dof 1 fix 0
63 #create displacement on surface 40 31 dof 2 fix 0
66 volume all scheme tetmesh
67 volume 1 to 26 size auto factor 10
69 volume 27 28 size auto factor 10
73 block 10 name "MORTAR_SLAVE_IN"
75 block 11 name "MORTAR_MASTER_IN"
77 color volume 1 to 26 white
80 save as "/Users/karollewandowski/Desktop/Meshes/Contact/bouncing_mofem.cub" overwrite