forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpar.run.fbl
67 lines (57 loc) · 1.01 KB
/
par.run.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
64
65
66
67
# <h=100>
# <p=1>
pnt ! 0 0 0
swep all new tra 0 <h> 0
swep all new tra <2*h> 0 0
seta quad se all
copy quad new tra <-2*h> 0 0
copy quad new tra <-2*h> <h> 0
merg p all
merg l all
div all auto 10
elty all qu8
mesh all
seta plate e all
rot -z
view elem
# upper edge
seta nodes n all
enq nodes upper rec _ <2*h> _ 0.01
# lower edge
enq nodes lower rec _ 0 _ 0.01
# include elements for ednor load
seta elower n lower
comp elower up
# include element faces for surface definition (for *dsload)
comp lower do
send lower abq sur
sys echo Slower,P, <p> > pressure.inc
# left edge
enq nodes left rec <-2*h> _ _ 0.01
# right edge
enq nodes right rec <2*h> _ _ 0.01
# mesh image
view edge off
ulin upper (red), left (green), lower (blue), right (mag.)
plot f all n
frame
plus n upper r 6
plus n left g 6
plus n lower b 6
plus n right m 6
view edge
hcpy png mesh
ulin
send all abq
send all abq nam
sys ccx solve
read solve.frd new
ds 2 e 19
view disp
scal d 1000
hcpy png PS3
ds 3 e 4
view vec
scal v 3
hcpy png RFv
# vibration shapes