Beruflich Dokumente
Kultur Dokumente
Page 1
S.P.
AUG 29, 2016
Number of elements
Ne ≔ 5
Number of nodes:
Nn ≔ 6
Fixed End Moments (one at each element end), uniform loads, and spans / lengths
w ⋅ 20 2
w≔1 M ≔ ―――
12
⎡w⎤ ⎡ 20 ⎤ ⎡ −M ⎤ ⎡M⎤
⎢w⎥ ⎢ 20 ⎥ ⎢ −M ⎥ ⎢M⎥
⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥
w≔⎢ 0 ⎥ L ≔ ⎢ 20 ⎥ MA ≔ ⎢ 0 ⎥ MB ≔ ⎢ 0 ⎥
⎢0⎥ ⎢ 20 ⎥ ⎢ 0 ⎥ ⎢0⎥
⎢⎣ 0 ⎥⎦ ⎢⎣ 20 ⎥⎦ ⎢⎣ 0 ⎥⎦ ⎢⎣ 0 ⎥⎦
‖ ‖ Kt ← Kt + K
‖ ‖ Bh B
h
h
‖
‖ Kt
ROUTINE
CE473
Page 2
S.P.
AUG 29, 2016
ROUTINE
Reapeat "many" times:
f ≔ ‖ for j ∊ 1 ‥ 100
‖ ‖
‖ ‖ for i ∊ 1 ‥ Nn Create zeros vector.
‖ ‖ ‖ Sum ← 0
‖ ‖ ‖‖ i
For each element, add
‖ ‖
‖ ‖ for h ∊ 0 ‥ Ne − 1 moment at end A to other
‖ ‖ ‖ Sum ← MA + Sum moments at same node A.
‖ ‖ ‖ A
h
h A
h Repeat for B.
‖
‖ ‖ Sum ← MB + Sum
‖ ‖ ‖ B h B
‖ ‖ ‖ Moment sum at A Sum_A, if not
h h
RESULTS:
Extract output vectors MA and MB
MA ≔ f MB ≔ f
0 1
⎡ 0⎤ ⎡ 46 ⎤
⎢ −46 ⎥ ⎢ 14 ⎥
⎢ ⎥ ⎢ ⎥
MA = ⎢ −14 ⎥ MB = ⎢ −4 ⎥ (positive = clockwise)
⎢ 4⎥ ⎢ 1⎥
⎢⎣ −1 ⎥⎦ ⎢⎣ 0 ⎥⎦
B di t di f l t 2
CE473
Page 3
S.P.
AUG 29, 2016
Nodes:
h ≔ element − 1 A =2 to B =3
h h
M ((x)) ≔ MA + ⎛−MB − MA ⎞ ⋅ x ÷ L + w ⋅ L ÷ 2 ⋅ x − w ⋅ x 2 ÷ 2
h ⎝ h h⎠ h h h h
21
14
0
0 2 4 6 8 10 12 14 16 18 20
-7
-14
M ((x))
-21
-28
-35
-42
-49