0% found this document useful (0 votes)
53 views3 pages

Analysis Routine For Frames With No Sway - Moment Dist. Method

The document describes an analysis routine for calculating bending moments in frames with no sway. It includes 5 elements, 6 nodes, element properties, fixed end moments, and uniformly distributed loads. The routine calculates moment sums at each node and adjusts the fixed end moments based on the sums and relative stiffnesses to achieve equilibrium. The results show the final fixed end moments at each element end. A sample bending moment diagram is also shown for one element.

Uploaded by

rigobertoguerrag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views3 pages

Analysis Routine For Frames With No Sway - Moment Dist. Method

The document describes an analysis routine for calculating bending moments in frames with no sway. It includes 5 elements, 6 nodes, element properties, fixed end moments, and uniformly distributed loads. The routine calculates moment sums at each node and adjusts the fixed end moments based on the sums and relative stiffnesses to achieve equilibrium. The results show the final fixed end moments at each element end. A sample bending moment diagram is also shown for one element.

Uploaded by

rigobertoguerrag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

CE473

Page 1
S.P.
AUG 29, 2016

ANALYSIS ROUTINE FOR FRAMES WITH NO SWAY - MOMENT DIST. METHOD

Number of elements
Ne ≔ 5

Number of nodes:
Nn ≔ 6

Element nodes (Each element runs from node Ai to node Bi)


⎡1⎤ ⎡2⎤
⎢2⎥ ⎢3⎥
⎢ ⎥ ⎢ ⎥
A≔⎢3⎥ B≔⎢4⎥
⎢4⎥ ⎢5⎥
⎢⎣ 5 ⎥⎦ ⎢⎣ 6 ⎥⎦

Relative Element Stiffnesses


⎡1⎤
⎢1⎥
⎢ ⎥
K≔⎢1⎥
⎢1⎥
⎢⎣ 1 ⎥⎦

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 ⎥⎦

Sums of relative element stiffnesses at each node:


Create zeros vector Kt:
i ≔ 1 ‥ Nn Kt ≔ 0
i

Add stiffnesses at nodes: Kt ≔ ‖ for h ∊ 0 ‥ Ne − 1


‖ ‖
‖ ‖ KtA ← KtA + Kh
‖ ‖ h h

‖ ‖ 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

‖ ‖ for h ∊ 0 ‥ Ne − 1 zero, is "unbalanced" mom. to be


‖ ‖ ‖ MA ← MA − Sum ⋅ K ÷ Kt − 0.5 Sum ⋅ K ÷ Kt assigned to elements (connected
‖ ‖ ‖ h h A h A B h B
‖ ‖ ‖
h h h h
at A) in proportion to stiffness.
‖ ‖ ‖ MBh ← MBh − SumB ⋅ Kh ÷ KtB − 0.5 SumA ⋅ Kh ÷ KtA 50% of that mom. is "carried over"
‖ ‖ ‖ h h h h
to B.
‖ OUT ← MA
‖ 0 Repeat for B.
‖ Store and output results
‖ OUT1 ← MB (element end moments) as a

‖ OUT "vector w. two vectors" OUT.

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

Bending moment diagram for element ≔ 2

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

(for beams, positive = tension at bottom)

You might also like