forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.fbd
68 lines (57 loc) · 944 Bytes
/
shell.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
valu B 50
Valu L 200
valu LE 40
valu Etyp tr3u
# preprocessing
# geometry
pnt p1 0 0 0
seta lowerleft p p1
swep all new tra 0 0 B
seta left all
swep left right tra L 0 0
seta beam all
# meshing
div all auto LE
elty all Etyp
mesh all
send all abq
# left end symmetry
send left abq spc 156
# right end support
send right abq spc 2
# vertex for z constraint
send lowerleft abq spc 3
# run analysis
sys ccx shell
## postprocessing
seto nodes
read shell.frd
setc nodes
# extract umax
ds 1 e 2
enq all umax rec 0 _ _ 1 l
sys mv enq_lc1_e2_1.out umax.txt
# extract smax
ds 2 e 1
enq all smax rec 0 _ _ 1 h
sys mv enq_lc2_e1_2.out smax.txt
enq all smax rec 0 _ _ 1 l
sys mv enq_lc2_e1_3.out smin.txt
# create plot, title will be inserted by python script
rot -z
rot l 30
rot u 15
tra u 50
plot ld beam
frame
view elem
view sh off
view disp
scal d 1000
plus fv all
# show divisions
plus ld all
plus ld all
plus n nodes
# make image
hcpy png