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