v0.14.0
LShape.jou
Go to the documentation of this file.
1 reset
2 set duplicate block elements on
3 
4 brick x 1 y 2 z 0.5
5 brick x 2 y 1 z 0.5
6 
7 move Curve 23 midpoint location curve 11 include_merged
8 unite volume all
9 
10 Sideset 1 surface 3
11 Sideset 2 surface 12
12 
13 Sideset 100 curve all
14 nodeset 101 vertex all
15 Sideset 102 surface all
16 
17 block 1 volume all
18 block 1 name 'MAT_ELASTIC'
19 block 1 attribute count 2
20 block 1 attribute index 1 100
21 block 1 attribute index 2 0
22 
23 create Displacement on surface 3 dof 1 dof 2 dof 3 fix 0
24 #create force on surface 12 vector 1 0 0 0 0 0
25 create pressure on surface 12 magnitude 1
26 
27 #create force on curve 24 force value 1 direction x
28 #create force on vertex 13 10 force value 0.001 direction x
29 
30 block 2 volume 1
31 block 2 name "BODY_FORCES")
32 block 2 attribute count 4
33 block 2 attribute index 1 0.001.
34 block 2 attribute index 2 0.
35 block 2 attribute index 3 0
36 block 2 attribute index 4 0.
37 
38 block 3 volume 1
39 block 3 name "DAMPER")
40 block 3 attribute count 2
41 block 3 attribute index 1 1
42 block 3 attribute index 2 -1
43 
44 ###Apply Water Pressure inside
45 #block 4 surface 14
46 #block 4 name 'FLUID_PRESSURE'
47 #block 4 attribute count 7
48 #block 4 attribute index 1 0.01
49 #block 4 attribute index 2 0 #acceleration x-direction
50 #block 4 attribute index 3 -1 #acceleration y-direction
51 #block 4 attribute index 4 0 #acceleration z-direction
52 ##zero pressure point - water level at which water pressure is zero
53 #block 4 attribute index 5 0 #pressure point x-direction
54 #block 4 attribute index 6 1.0 #pressure point y-direction
55 #block 4 attribute index 7 0 #pressure point z-direction
56 
57 volume all scheme Tetmesh
58 volume all size auto factor 9
59 mesh volume all
60 
61 #save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/LShapeCoarseBodyForce.cub" overwrite
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72