v0.14.0
brick_with_hole.jou
Go to the documentation of this file.
1 reset
2 
3 brick x 1 y 1 z 1
4 create sphere radius 0.2
5 subtract volume 2 from volume 1
6 
7 block 1 volume 1
8 block 1 name 'PotentialFlow'
9 
10 nodeset 2 vertex 1
11 nodeset 2 name 'ZeroPressure'
12 
13 create pressure on surface 2 magnitude 1
14 create pressure on surface 3 magnitude -1
15 
16 volume all scheme Tetmesh
17 volume all size auto factor 10
18 mesh volume all
19 
20 save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/pipe.cub" overwrite