Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
1. REFERENCE
a. Problems in Matrix Structural Analysis, Bhatt
2. SYLLABUS
a. Introduction
b. Matrix Structural Analysis
i. Special Matrix Operations
ii. Truss (Ch. 3)
1. Manual Solution
2. Computer Based Solution
iii. Plane Frames (Ch. 4)
iv. Plane Grids (Ch. 5)
v. Combination (Ch. 6)
vi. Self-straining Loads (Ch.7)
c. Lagrangian Mechanics (Energy Methods)
i. Principle of Virtual Work (PVW)
ii. Stationary Potential Energy (SPE)
iii. Stability
iv. Continuous Systems
v. Calculus of Variations
vi. Rayleigh / Rayleigh-Ritz Method
vii. Timoshenko Beams (Deep Beams) (Optional)
BASIC MATRIX OPERATIONS
Addition & Subtraction A(mxn) ± B(mxn) = C(mxn)
aij ± bij = cij
Multiplication A(mxn) * B(nxo) = C(mxo)
o cij = aik * bkj (For k = 1 to n)
A(mxn) B(nxo) C(oxp) D(pxq) = E(mxq)
Division A(nxn) x(n) = b(n) Given: A & b, solve for x(n)
Gaussian Elimination or Cramer’s Rule
Special Problem:
30 -5 4 -2
-5 20 -3 6
4 -3 25 -7
-2 6 -7 40
aij = aji
and positive definite.
All matrices and sub-matrices formed whose main diagonal
elements are part of the main diagonal of matrix A will have determinants that
are positive.
30 -5 4 -2
-5 20 -3 6
4 -3 25 -7
-2 6 -7 40
Cholesky Procedure
1. Decomposition of Matrix A
2. Forward Elimination
3. Backward Substitution
Decomposition
o A=LxU
L Lower triangular matrix
x 0 0 0
x x 0 0
x x x 0
x x x x
a44 = u142 + u242 + u342 + u442 u44 = [a44 – (u142 + u242 + u342)]0.5
U11 0 0 0 y1 b1
U12 U22 0 0 y2 b2
* =
U13 U23 U33 0 y3 b3
U14 U24 U34 U44 y4 b4
INPUT N
DIM A(N,N), B(N), U(N,N), Y(N), X(N)
REM INPUT ROUTINE
FOR I = 1 TO N
FOR J = I TO N
INPUT A(I,J)
NEXT J
INPUT B(I)
NEXT I
REM DECOMPOSITION
FOR I = 1 TO N
FOR J = I TO N
IF I = J
THEN
SUM = 0
FOR K = 1 TO I-1
SUM = SUM + U(K,I)^2
NEXT K
U(I,I) = (A(I,I) – SUM)^0.5
ELSE
SUM = 0
FOR K = 1 TO I-1
SUM = SUM + U(K,I)*U(K,J)
NEXT K
U(I,J) = (A(I,J) – SUM) / U(I,I)
NEXT J
NEXT I
REM FORWARD ELIMINATION
FOR I = 1 TO N
SUM = 0
FOR K = 1 TO I-1
SUM = SUM + U(K,I)*Y(K)
NEXT K
Y(I) = (B(I) – SUM) / U(I,I)
NEXT I
1,000 rows =
A x = b
Band Width
1 10 zeroes
10
zeroes 10
1
Half-band Width
Band width = 10 + 1 + 10 = 21
For Cholesky operations, we only use HBW x HBW of Matrix A at any given time
and HBW values for the corresponding “x” and “b” vectors.
HBW
HBW
Banded A x b