v0.14.0
circular_plate_cutting_mesh.jou
Go to the documentation of this file.
1 reset
2 
3 # create geometry
4 brick x 10 y 10 z 20
5 
6 # make material block
7 block 1 volume 1
8 block 1 name 'MAT_ELASTIC'
9 block 1 attribute count 2
10 # Young modulus
11 block 1 attribute index 1 100.0
12 # Poisson's ratio
13 block 1 attribute index 2 0.25
14 
15 # You can now create two blocks which use the same entities, f.e. tets.
16 set duplicate block elements on
17 
18 # Apply pressure, top and bottom
19 create pressure on surface 1 magnitude 1
20 create pressure on surface 2 magnitude 1
21 
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
26 
27 # All edges
28 block 2 curve all
29 # All vertices
30 block 3 vertex all
31 
32 # Mesh volume block
33 volume 1 size auto factor 5
34 volume 1 scheme Tetmesh
35 mesh volume 1
36 
37 # Create cutting surface
38 create surface circle radius 5 zplane
39 move Surface 7 midpoint location curve 11 include_merged
40 
41 # Mesh cutting surface
42 Sideset 400 surface 7
43 surface 7 size auto factor 6
44 surface 7 scheme TriMesh
45 mesh surface 7
46