8 block 1 name 'MAT_ELASTIC'
9 block 1 attribute count 2
11 block 1 attribute index 1 100.0
13 block 1 attribute index 2 0.25
15 # You can now create two blocks which use the same entities, f.e. tets.
16 set duplicate block elements on
18 # Apply pressure, top and bottom
19 create pressure on surface 1 magnitude 1
20 create pressure on surface 2 magnitude 1
22 # Constrain proble, i.e. symmetry
23 create Displacement on vertex 6 dof 3 fix 0
24 create Displacement on surface 4 dof 1 fix 0
25 create Displacement on surface 5 dof 2 fix 0
33 volume 1 size auto factor 5
34 volume 1 scheme Tetmesh
37 # Create cutting surface
38 create surface circle radius 5 zplane
39 move Surface 7 midpoint location curve 11 include_merged
41 # Mesh cutting surface
43 surface 7 size auto factor 6
44 surface 7 scheme TriMesh