forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.fbd
71 lines (66 loc) · 971 Bytes
/
run.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
valu L 100
valu Ldiv 20
valu Etyp qu4
pnt ! 0 0 0
swep all new tra 0 L 0 Ldiv
swep all new tra L 0 0 Ldiv
seta x0 l L001
comp x0 do
seta y0 l L003
comp y0 do
seta outer l L002 L004
comp outer do
elty all Etyp
mesh all
send all abq
send all abq nam
rot -z
view elem
ulim red: x0, blue: y0, green: outer
view edge off
view elem
plot f all n
frame
plus n x0 r 6
#plus l x0 r
plus n y0 b 6
#plus l y0 b
plus n outer g 6
#plus l outer g
hcpy png
sys mv hcpy_1.png sets.png
del mesh
sys ccx static
ulim Etyp
read static.frd new
# magnitude of displacement
ds -1 e 4
# symmetry expansion
seta base f all
copy all new mir x
copy all new mir y
copy all new mir z
# expanded view
view disp
view elem
view sh
plot f all n
# plot nodes to enforce correct colors
plus n outer g 1
plus fv base
rot -z
rot c -100
rot d 65
frame
hcpy png
sys mv hcpy_2.png expanded.png
# cut y=0
rot y
frame
zoom 8
tra l 75
tra d 10
plot n all r 1
plus f base n
hcpy png
sys mv hcpy_3.png cuty0.png