v0.16.0
Loading...
Searching...
No Matches
pull_out_tie_test.jou
Go to the documentation of this file.
1reset
2
3info off
4warning off
5graphics off
6
7
8set duplicate block elements on
9#{mesh_size=4}
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
16
17webcut Volume 1 tool volume 2
18delete volume 4
19unite volume 2 3
20
21# Volume 2 scale 0.99 about 0 0 1.1
22imprint volume all
23
24volume 2 size 0.1
25volume 1 size {mesh_size}
26volume all scheme tetmesh
27mesh volume all
28
29
30# Material blocks
31block 1 volume 1
32block 1 name "MAT_ELASTIC_1"
33block 1 attribute count 2
34block 1 attribute index 2 0
35
36block 2 volume 2
37block 2 name "MAT_ELASTIC_SCREW"
38block 2 attribute count 2
39block 2 attribute index 2 0
40
41block 15 add surface 2
42block 15 name "FIX_ALL"
43
44
45block 10 surface 21 22
46block 10 name "TIE_SLAVE_1"
47
48block 11 surface 13
49block 11 name "TIE_MASTER_1"
50
51
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
58
59
60compress ids
61
62save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_tie.cub" overwrite
63
64#delete block 10 11
65#delete mesh
66#merge surface 9 13
67#mesh volume all
68#
69#compress ids
70#
71#save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_conform.cub" overwrite
72
73#!cubit
74
75vol 1 2 copy move 1.1 0 0
76
77block 17 surface 20
78block 17 name "TIE_MASTER_2"
79
80block 18 surface 5
81block 18 name "TIE_SLAVE_2"
82
83block 22 surface 15
84block 22 name "TIE_MASTER_3"
85
86block 21 surface 27 23
87block 21 name "TIE_SLAVE_3"
88
89
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
96
97block 1 add volume 3
98block 2 add volume 4
99block 15 add surface 18
100
101
102save as "/Users/karollewandowski/mofem_install/mofem-cephas/mofem/tools/meshes/pull_out_test_tie_double.cub" overwrite
103
104info on
105warning on
106graphics on