v0.14.0
mesh.jou
Go to the documentation of this file.
1 reset
2 
3 create surface ellipse major radius 2 minor radius 2 zplane
4 create surface ellipse major radius 0.2 minor radius 0.2 zplane
5 move Surface 2 x 0.5 y 0.5 z 0 include_merged
6 create surface ellipse major radius 0.2 minor radius 0.2 zplane
7 imprint tolerant surface 1 with curve 3 2 merge
8 delete Body 3
9 delete Body 2
10 merge curve all with curve all
11 
12 # Block for initial condition
13 block 1 surface 2 3
14 block 1 name "INITIAL"
15 
16 # Block for boundary condition
17 block 2 curve 1
18 block 2 name "BOUNDARY_CONDITION"
19 
20 # Mesh
21 surface all scheme trimesh
22 surface all size auto factor 5
23 mesh surface all
24 refine surface all numsplit 1 bias 1.0 depth 1 smooth
25 
26 
27 save as "/Users/hoangnguyen/mofem_install/mofem-cephas/mofem/users_modules/um_basics/heat_equation/mesh.cub" overwrite
28 
29 
30