v0.14.0
mortar_test_my_mesh.jou
Go to the documentation of this file.
1 reset
2 
3 set duplicate block elements on
4 
5 brick x 51.4 y 3.4 z 40
6 move vol 1 x 25.7 y 1.7 z 20
7 brick x 50 y 2 z 40
8 move vol 2 x 25 y 1 z 20
9 move vol 2 x 0.675146 y 0.598569
10 
11 
12 
13 
14 subtract vol 2 from vol 1
15 brick x 60 y 5 z 50
16 move vol 3 x 25 y -2.8 z 20
17 brick x 60 y 5 z 50
18 move vol 4 x 25 y 6.2 z 20
19 
20 
21 
22 block 1 volume 1
23 block 1 name "MAT_ELASTIC1" attribute count 2
24 block 1 attribute index 1 1.0
25 block 1 attribute index 2 0.4
26 
27 block 2 volume 3 4
28 block 2 name "MAT_ELASTIC2" attribute count 2
29 block 2 attribute index 1 10
30 block 2 attribute index 2 0.4
31 
32 block 10 surface 13
33 block 10 name "MORTAR_SLAVE_IN"
34 block 11 surface 15
35 block 11 name "MORTAR_MASTER_IN"
36 block 20 surface 3
37 block 20 name "MORTAR_SLAVE_BOT"
38 block 21 surface 23
39 block 21 name "MORTAR_MASTER_BOT"
40 
41 block 30 surface 5
42 block 30 name "MORTAR_SLAVE_TOP"
43 block 31 surface 27
44 block 31 name "MORTAR_MASTER_TOP"
45 block 100 surface 13
46 block 100 name "MORTAR_POST_PROC"
47 
48 block 4 surface 4 28 22
49 block 4 name "SPRING_BC"
50 block 4 attribute count 2
51 block 4 attribute index 1 1e-3
52 block 4 attribute index 2 1e-3
53 
54 create displacement on surface 21 dof 2 fix 0
55 create pressure on surface 29 magnitude 0.01
56 
57 
58 #webcut volume all with plane zplane offset 20
59 #delete Volume 5 7 6
60 
61 volume all scheme tetmesh
62 volume all size auto factor 9
63 #volume 1 size auto factor 9
64 #volume 2 3 size auto factor 10
65 mesh volume all
66 
67 
68 save as "/Users/karollewandowski/Desktop/Meshes/Contact/test_mortar_surfaces.cub" overwrite
69 list tet