forked from suleymanmuti/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrotating_disk_axisymmetric_pre.fbd
73 lines (53 loc) · 1.33 KB
/
rotating_disk_axisymmetric_pre.fbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
## Rotating disk axisymmetric stress analysis.
##
#
#
## Geometry.
#
valu ri 28 # Inner radius of the disk.
valu ro 125 # Outer radius of the disk.
valu h 4 # Width of the disk.
valu len - ro ri # Height of the disk cross-section, i.e., ro-ri.
valu dy 8 # Division on x axis.
valu dx 64 # Division on z axis.
# Element type parameterization.
valu Etyp qu8cr
# Create nodes.
pnt p1 ri 0 0
pnt p2 ri h 0
# Plot all nodes.
plot pa all
# Create line.
line l1 p1 p2 dy
# Plot line
plus la all
# Create a set that contains line to be swept into the next higher dimension.
seta lines l l1
# Axisymmetric disk, 2D.
swep lines sweplines tra len 0 0 dx
#
## Meshing.
#
# Element type is assigned to all entities.
elty all Etyp
# Mesh the geometry.
mesh all
# Mesh is plotted.
plot m all
# All nodes are stored in a set.
seta nodes n all
# Boundary condition nodes are selected from the all nodes and stored in a set.
enq nodes fix rec ri h 0 0.001 a
# Node set containing boundary condition nodes are written to a file.
send fix abq nam
# Finite element model (nodes and elements) are written to a file.
send all abq
rot -z
ulin FE model of the rotating hollow disk (green). Boundary conditions (red).
view elem
plot f all g
plus n fix 6
frame
hcpy png
sys mv hcpy_1.png pre.png