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 4
20 block 1 attribute index 1 1
21 block 1 attribute index 2 0
22 block 1 attribute index 3 0
23 block 1 attribute index 4 1
24 
25 
26 create Displacement on surface 3 dof 1 dof 2 dof 3 fix 0
27 #create force on surface 12 vector 1 0 0 0 0 0
28 create pressure on surface 12 magnitude 1
29 
30 #create force on curve 24 force value 1 direction x
31 #create force on vertex 13 10 force value 0.001 direction x
32 
33 block 2 volume 1
34 block 2 name "BODY_FORCES")
35 block 2 attribute count 4
36 block 2 attribute index 1 1.
37 block 2 attribute index 2 0.
38 block 2 attribute index 3 0.
39 block 2 attribute index 4 0.
40 
41 volume all scheme Tetmesh
42 volume all size auto factor 9
43 mesh volume all
44 
45 #save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/LShapeCoarseBodyForce.cub" overwrite
46 
47 
48 
49 
50 
51 
52 
53 
54