forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpre.fbl
More file actions
58 lines (49 loc) · 785 Bytes
/
Copy pathpre.fbl
File metadata and controls
58 lines (49 loc) · 785 Bytes
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
valu lx 100
valu ly 5
valu lz 10
pnt ! 0 0 0
swep all new tra 0 ly 0 4
swep all new tra 0 0 lz 4
swep all new tra lx 0 0 20
asgn n 3
elty all he8i
mesh all
seta nodes n all
enq nodes fix rec 0 _ _ 0.01
comp fix do
seta nodes n all
enq nodes load rec lx _ _ 0.01
comp load do
# create reference nodes at cg of the surfaces
stack on
area fix
valu xr pop 2
valu yr pop
valu zr pop
node 1 xr yr zr
seta rfix n 1
area load
valu xr pop 2
valu yr pop
valu zr pop
node 2 xr yr zr
seta rload n 2
send all abq
send all abq nam
send fix abq surf
send load abq surf
ulin Surfaces and ref nodes: fix (red, mag.), load (blue, turq.)
rot x
rot c 90
rot r 10
rot u 10
plot e all
frame
view ill
zoom 3
view elem
plot f fix r
plus n rfix m 10
plus f load b
plus n rload t 10
hcpy png Refs/mesh