v0.15.0
Loading...
Searching...
No Matches
airfoil.jou
Go to the documentation of this file.
1reset
2
3#import step "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/HSNLF-0213.stp" heal
4
5create sphere radius 2000
6#move Volume 1 location volume 2 include_merged
7
8create sphere radius 500
9#subtract volume 2 from volume 1
10webcut volume 1 tool volume 2
11#block 1 volume all
12#block 1 name 'PotentialFlow'
13#sideset 1 surface 1
14#sideset 1 name 'NormalVelocity'
15#sideset 2 surface 2
16#sideset 2 name 'BodySurface'
17
18
19#chop volume 2 with volume 1
20#delete volume 3
21#
22##split curve 7 fraction 0.5
23##split curve 9 fraction 0.5
24##split surface 9 across location vertex 9 location vertex 10
25#
26##move Vertex 6 location vertex 5 include_merged
27##move Vertex 8 location vertex 7 include_merged
28#
29#block 1 volume 4
30#block 1 name 'PotentialFlow'
31#
32##sideset 2 surface 4 5 7 8 9 10
33#sideset 2 surface 5
34#sideset 2 name 'NormalVelocity'
35#
36#sideset 3 surface 9
37#sideset 3 name 'BodySurface'
38#
39#volume all scheme Tetmesh
40#volume all size auto factor 8
41#surface 9 sizing function type skeleton scale 10 time_accuracy_level 1
42#surface 9 sizing function type skeleton
43#mesh surface 9
44#mesh volume all
45#
46##refine surface 9 numsplit 1 bias 1.0 depth 1 smooth
47#
48#nodeset 1 node 587
49#nodeset 1 name 'ZeroPressure'
50#
51#set duplicate block elements on
52#block 2 tet all
53#block 2 element type tetra10
54#
55#save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/airfoil.cub" overwrite
56
57
58