v0.14.0
brick_with_falf_keyway.jou
Go to the documentation of this file.
1 reset
2 brick x 0.03815 y 0.03810 z 0.36891
3 create Cylinder height 0.03810 radius 0.019075
4 rotate Volume 2 angle 90 about X include_merged
5 move Volume 2 location surface 1 include_merged
6 unite volume 1 2
7 brick x 0.03815 y 0.03810 z 0.27896
8 create Cylinder height 0.03810 radius 0.019075
9 rotate Volume 4 angle 90 about X include_merged
10 move Volume 4 location surface 13 include_merged
11 unite volume 3 4
12 create Cylinder height 0.944921 radius 0.227455
13 create Cylinder height 0.944921 radius 0.135
14 subtract volume 6 from volume 5
15 align Volume 3 surface 24 with surface 25
16 move Curve 24 midpoint location curve 33 except x y include_merged
17 Volume 3 copy rotate 90 about z repeat 3
18 subtract volume 3 7 8 9 from volume 5
19 align Volume 1 surface 12 with surface 56
20 rotate Volume 5 angle 45 about Z include_merged
21 move Curve 8 midpoint location curve 87 except x y include_merged
22 Volume 1 copy rotate 90 about z repeat 3
23 subtract volume 1 10 11 12 from volume 5
24 color Volume 5 springgreen
25 rotate Volume all angle 45 about Z include_merged
26 
27 create Displacement on surface 89 88 91 102 101 104 100 97 98 dof 1 dof 2 dof 3 fix 0
28 create force on curve 189 force value 1 direction -3.2 -2.8 0
29 create force on curve 198 force value 1 direction 1.1 1.4 0
30 
31 # All edgesll
32 block 2 curve all
33 block 2 curve 195 remove
34 # All vertices
35 block 3 vertex all
36 block 3 vertex 135 remove
37 
38 block 1 volume all
39 block 1 name 'MAT_ELASTIC'
40 block 1 attribute count 2
41 block 1 attribute index 1 9600
42 block 1 attribute index 2 0.2
43 volume all size auto factor 4
44 volume all scheme Tetmesh
45 mesh volume all
46 
47 refine curve 200 190 196 191 numsplit 1 bias 1.0 depth 3 smooth
48 
49 create surface circle radius 0.03 xplane
50 rotate Surface 106 angle 45 about Z include_merged
51 move Surface 106 location vertex 138 include_merged
52 
53 Sideset 400 surface 106
54 surface 106 size auto factor 6
55 surface 106 scheme trimesh
56 mesh surface 106
57 
58