forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpre.fbl
63 lines (57 loc) · 1 KB
/
pre.fbl
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
# dependent variables
valu th 2
valu wi 20
valu le 100
valu two
valu le_half / le two
# Part th x wi x le et
pnt p1 0 0 0
swep all new tra th 0 0 12
bia all 4
swep all new tra 0 wi 0 8
swep all new tra 0 0 le 20
# meshing
elty all he20r
mesh all
send all abq
# distributed flux (excitation)
seta nodes n all
enq nodes excite rec 0 _ _ 0.001
comp excite do
send excite abq dflux 50
# temperature constraint and uz=0
enq nodes zsym rec _ _ 0 0.001
send zsym abq spc 3
# symmetry at y=0
enq nodes ysym rec _ 0 _ 0.001
send ysym abq spc 2
# node for x constraint
enq nodes x0 rec 0 0 0 0.001
send x0 abq spc 1
# node for displacement history plot
enq nodes hist rec 0 wi le 0.001
send hist abq nam
# nodes for cross thickness path
enq nodes path rec _ 0 0 0.001
send path abq nam
rot x
frame
rot c 40
rot d 60
view elem
zoom 1.3
plot f excite
plus n zsym
plus n ysym
plus n x0 k
plus na hist b
plus n path m
hcpy png Refs/mesh
plot f all n
rot z
rot c 90
zoom 5
rot r 6
rot u 5
hcpy gif
sys mv hcpy_1.gif Refs/meshzoom.gif