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