38 create curve vertex 1 vertex 2
39 create curve vertex 2 vertex 14
40 create curve vertex 14 vertex 22
41 create curve vertex 22 vertex 21
42 create curve vertex 21 vertex 13
43 create curve vertex 13 vertex 1
44 create surface curve 1 2 3 4 5 6
45 create curve vertex 14 vertex 3
46 create curve vertex 3 vertex 15
47 create curve vertex 15 vertex 23
48 create curve vertex 23 vertex 30
49 create curve vertex 30 vertex 22
50 create surface curve 3 7 8 9 10 11
51 create curve vertex 15 vertex 4
52 create curve vertex 4 vertex 5
53 create curve vertex 5 vertex 16
54 create curve vertex 16 vertex 24
55 create curve vertex 24 vertex 23
56 create surface curve 13 14 15 16 17 9
57 create curve vertex 16 vertex 6
58 create curve vertex 17 vertex 6
59 create curve vertex 17 vertex 25
60 create curve vertex 31 vertex 25
61 create curve vertex 26 vertex 25
62 create curve vertex 26 vertex 18
63 create curve vertex 26 vertex 32
64 create curve vertex 31 vertex 24
65 create curve vertex 7 vertex 55
66 create curve vertex 7 vertex 8
67 create curve vertex 18 vertex 8
68 create curve vertex 18 vertex 9
69 create curve vertex 19 vertex 9
70 create curve vertex 19 vertex 10
71 create curve vertex 11 vertex 10
72 create curve vertex 11 vertex 20
73 create curve vertex 12 vertex 20
74 create curve vertex 12 vertex 13
75 create curve vertex 20 vertex 28
76 create curve vertex 27 vertex 28
77 create curve vertex 27 vertex 68
78 create curve vertex 32 vertex 27
79 create curve vertex 28 vertex 29
80 create curve vertex 21 vertex 29
81 create surface curve 36 5 42 41 37 35
82 create surface curve 34 37 38 39 32 33
83 create surface curve 40 25 24 30 31 39
84 create surface curve 23 21 27 28 29 24
85 create surface curve 26 16 19 20 22
86 create surface curve 21 20 19 16 26 22
87 move surface all x -5.5 y -5.5 z 0 include_merged
90 #sweep surface all vector 0 0 10 distance 30
91 sweep surface all helix zaxis thread_distance 22.5 angle 22.5 right_handed
95 set overlap max gap 0.0005
105 #block 1 name "PotentialFlow"
106 #block 2 name "PotentialFlow1"
107 #block 3 name "PotentialFlow2"
108 #block 4 name "PotentialFlow3"
109 #block 5 name "PotentialFlow4"
110 #block 6 name "PotentialFlow5"
111 #block 7 name "PotentialFlow6"
112 #block 8 name "PotentialFlow7"
114 #create pressure on surface 1 magnitude 1
115 #create pressure on surface 15 magnitude -1
117 #nodeset 1 name 'ZeroPressure'
119 #create pressure on surface 2 magnitude 1
120 #create pressure on surface 22 magnitude -1
122 #nodeset 2 name 'ZeroPressure1'
124 #create pressure on surface 3 magnitude 1
125 #create pressure on surface 29 magnitude -1
127 #nodeset 3 name 'ZeroPressure2'
129 #create pressure on surface 4 magnitude 1
130 #create pressure on surface 36 magnitude -1
132 #nodeset 4 name 'ZeroPressure3'
134 #create pressure on surface 5 magnitude 1
135 #create pressure on surface 43 magnitude -1
137 #nodeset 5 name 'ZeroPressure4'
139 #create pressure on surface 6 magnitude 1
140 #create pressure on surface 50 magnitude -1
142 #nodeset 6 name 'ZeroPressure5'
144 #create pressure on surface 7 magnitude 1
145 #create pressure on surface 57 magnitude -1
147 #nodeset 7 name 'ZeroPressure6'
149 #create pressure on surface 8 magnitude 1
150 #create pressure on surface 64 magnitude -1
152 #nodeset 8 name 'ZeroPressure7'
154 #Insert Interface using CFD interface
155 create cfd_bc name "cfd_bc" interface on surface 9
156 create cfd_bc name "cfd_b1" interface on surface 11
157 create cfd_bc name "cfd_b2" interface on surface 19
158 create cfd_bc name "cfd_b3" interface on surface 24
159 create cfd_bc name "cfd_b4" interface on surface 30
160 create cfd_bc name "cfd_b5" interface on surface 38
161 create cfd_bc name "cfd_b6" interface on surface 48
162 create cfd_bc name "cfd_b7" interface on surface 54
164 volume all size auto factor 16
165 volume all scheme Tetmesh
168 save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/templar.cub" overwrite