CIVL 337: Computer Methods of Structural Analysis
CIVL 337: Computer Methods of Structural Analysis
Computer Methods of
Structural Analysis
Chapter 1 INTRODUCTION
1
1 General Remarks
z Computers have been widely used in structural
engineering for:
z Structural analysis
z Computer-aided design and drafting (CADD)
z Report preparation
1. In the 1940s and 1950s, structural engineers were confronted with highly statically
indeterminate systems: high-rise tall buildings and large aircraft structures.
2. In 1940, Hardy Cross proposed the moment distribution method, based on the
relaxation concept, to solve large systems of indeterminate frame structures.
3. Since the 1950s, digital computers have been rapidly developed.
4. In 1954, Professor J. Argyris and S. Kelsey formulated the matrix method of
structural analysis, which effectively utilizes digital computers.
5. In the 1950s, a group of structural engineers Turner, Clough, Martin and Topp at
the Boeing Company also proposed the matrix formulation for structural analysis of
airplanes.
6. Subsequently, a more general computer method—the finite element method—was
developed for conducting structural analysis of a wide variety of structures.
3
2 Historical Development
4
3 Computer Hardware
and Software
z Computers have evolved tremendously. The
basic computer hardware has gone through
several phase changes, from vacuum tubes to
transistors, and then silicon chips. There are
basically three classes of computers:
z Personal Computers
z 486: 25-50 MHz
z 586/Pentium: 100-500 MHz
z Pentium 4: 3.6 GHz, etc.
z Supercomputers
z Vector machines: Cray 90, IBM, Convex
z Parallel machines: CM-5, Intel Paragon, nCube, etc.
z Operating systems:
z Oracle: Workstation, PC
z Linux: Workstation, PC
z MS Windows 2000: PC
6
3 Computer Hardware
and Software
z Mathematical Software
z Excel (small-scale matrix work / optimization, data storage
& pre-processing, etc.)
7
3 Computer Hardware
and Software
z Specialized Structural Analysis Software:
ABAQUS, ADINA, ANSYS, ETABS, NASTRAN, SAP2000,
etc.
z SAP2000
z Integrated software for structural analysis & design (e.g.
for bridges)
z Will be discussed in this class
z ETABS
z Analysis, design and drafting of building systems
8
3 Computer Hardware
and Software
z ANSYS (Engineering analysis system)
z Special features of the package
Linear time history
Nonlinear time history
Sub-structuring
Nonlinear transient dynamic
z Types of analysis
Linear elastic analysis
Materially-nonlinear analysis
Large deformation analysis
Fracture mechanics
z Element library
Bar, beam, pipe, elbow and tee element
Two-dimensional membrane element
Three-dimensional solid element
Two-dimensional bending element
Shell element
4 node shell
8 node curved shell
16 node thick shell 9
3 Computer Hardware
and Software
z NASTRAN – NASA (National Aerospace and Space Administration)
Structural analysis Program
z Special features of the package
Direct and modal complex eigenvalue analysis
Direct and modal transient analysis
Aeroelastic response
Aeroelastic flutter
Sparse matrix solutions
Generalized dynamic reduction
Multi-level super-elements
Automatic re-sequencing
Automatic singularity suppression
z Types of analysis
Linear elastic analysis
Material non-linearity and geometric non-linearity
Complex eigenvalue analysis
Response spectral analysis
z Element library
Truss and beam elements
Two-dimensional inplane and bending elements
Three-dimensional solid element
10
Constraint elements (rigid and interpolating)
Curved shell element
3 Computer Hardware
and Software
z ADINA – MIT (Automatic Dynamic Incremental Non-linear Analysis)
z Special features of the package
Time integration
Sub-structuring
Solution to frequencies and mode shapes
Mode superposition
z Types of analysis
Linear elastic analysis
Materially-nonlinear analysis
Large deformation formulation
z Element library
Truss and cable
Two-dimensional solid and fluid element
Three-dimensional solid and fluid element
Two-node beam element
Isoparametric beam element
Three-node plate/shell element
Isoparametric shell element
11
3 Computer Hardware
and Software
z Application Areas:
z Design of tall building and bridges
z Offshore platforms
z Aircraft and jet engine design
z Nuclear power plant design
z etc.
12
4 Computer Methods vs.
Classical Methods
z Both the computer and classical methods are established
from the fundamental principles in mechanics, i.e.
z Force equilibrium or energy balance of a structure.
z Compatibility in deformation.
z Consistent with support conditions.
The computer methods are
actually formulated on the
The classical methods may
basis of the energy principle
consist of the following:
with the following
characteristics:
• Slope-deflection method
• The least amount of approximations
• Moment distribution
is involved.
• Virtual displacements
• For complex structures, the method
• Unit load method
involves the solution of large systems
• Castigliano’s theorem
of linear equations.
• Energy theorems, etc.
• The method gives multiple results,
e.g. deflections of all joints, member
forces.
• Computer does the routine
calculations. 13
4 Computer Methods vs.
Classical Methods
z Scope of the Course:
z Structures: beam, continuous beam, plane truss, space
truss, plane frame, space frame, grid, etc.
z Materials: linearly elastic
z Deformation: small
z Analysis: static and dynamic
z Support conditions: arbitrary
k·d=f (1)
d=F ·f (2)
Fig. 1.1 An Elastic Spring
where F is called the flexibility coefficient of the
spring, it is also the amount of displacement
induced by a unit force.
15
5 Flexibility and
Stiffness Concepts
We consider next a cantilever beam subjected to a force P and a moment M at the
tip as shown in Fig. 1.2.
Effects of force P:
PL3 PL2
δP = , θP = (3)
3EI 2 EI
where EI is the bending rigidity of the beam.
Effects of Moment M:
ML2 ML
δM = , θM = (4) Fig. 1.2 A Cantilever Beam Deflected
2 EI EI by End Force and Moment
16
5 Flexibility and
Stiffness Concepts
The deflection and rotation due to both P and M applied to the beam
simultaneously, then, can be obtained by using the principle of superposition, i.e.
PL3 ML2
δ = δP + δM = +
3EI 2 EI (5)
and
PL2 ML
θ = θP + θM = +
2 EI EI
(6)
The above equations can be rearranged in the form similar to Eq.(2),
⎡δ ⎤ ⎡ L3 / 3EI L2 / 2 EI ⎤ ⎡ P ⎤
⎢θ ⎥ = ⎢ 2 ⎥⎢ ⎥
⎣ ⎦ ⎣ L / 2 EI L / EI ⎦ ⎣ M ⎦
(7)
We may also express the above relationship in matrix notation
Δ =F · F (8)
17
5 Flexibility and
Stiffness Concepts
where Δ is the “displacement vector”; F is the “flexibility matrix” of the beam; F is
the “force vector”. The inverse of Eq.(8) gives
KΔ = F (9)
18
6 Symbols and Notations
In this section, we will list the definitions of frequently used symbols and notations.
Note that bold-faced letters such as Δ or F represent either vectors or matrices.
Symbols: Notations:
Normal stress x A position vector (or coordinate vector of a point)
σ
k Member stiffness matrix
τ Shear stress F Member flexibility matrix
ε Normal strain
δ Joint displacements of a member
γ Shear strain
f Joint force vector of a member
δ Deflection
K Structural stiffness matrix
θ Angle or rotation
Δ Structural nodal displacement vector
E Young’s modulus
F Structural nodal force vector
A Cross sectional area
B Matrix relating nodal displacements to element
I Bending moment of inertia strains
J Polar moment of inertia N Matrix of shape functions
Note: In the above, notations with no overbar represent quantities defined in the
“global” coordinate system, whereas (¯) indicates the quantity is defined in a “local”
(or member) coordinate system. These terms will be made clear in the subsequent
chapters.
19
7 Solution of
Linear Equations
We consider a system of linear equations of the form
Ax = b (1)
Nowadays, for problems are not too large (say, a matrix of size 20×20), we may
simply use a spreadsheet or even a calculator to invert (1) for a direct solution x =
A-1b. For example, the following Excel commands (to be entered with Ctrl-Shift-
Enter) can be helpful:
21
7 Solution of
Linear Equations
To tackle problems of a large size, traditionally there has been basically two
different solution approaches: direct and iterative methods. The direct methods
successively decouple the simultaneous equations so that the unknowns can be
readily calculated. Most are some kind of variation of the Gaussian elimination
method, such as the Cholesky and Gauss-Jordan methods.
22
8 Gaussian Elimination
The basic idea of Gauss elimination is to suitably combine the rows of Eq.(1) to transform the coefficient matrix
into upper triangular form. This is called a forward reduction process. Then, the resulting equations become
sufficiently uncoupled. All unknowns x can be found by back-substitution, starting from the last row. To illustrate
this procedure, we consider a 4×4 matrix equation with 4 unknowns:
⎡ 5 −4 1 0 ⎤ ⎡ x1 ⎤ ⎡0 ⎤ Step 5. Make the last two elements of column 3 to be “1”:
⎢ −4 6 −4 1 ⎥ ⎢ x ⎥ ⎢1 ⎥ (Row 3)(-112/75), (Row 4)(-7/20)
⎢ ⎥⎢ 2⎥ = ⎢ ⎥
⎢ 1 −4 6 −4 ⎥ ⎢ x3 ⎥ ⎢0 ⎥ ⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ ⎥⎢ ⎥ ⎢ ⎥ ⎢0 ⎥ ⎢ x ⎥ ⎢5 / 14 ⎥
⎣ 0 1 −4 5 ⎦ ⎣ x4 ⎦ ⎣0 ⎦ ⎢ 1 −8 / 7 5 /14 ⎥⎢ 2⎥ = ⎢ ⎥
Step 1. To make the first column to be 1 or 0: (Row 1)/5, (Row 2)/(-4) ⎢0 0 1 −4 / 3 ⎥ ⎢ x3 ⎥ ⎢8 / 15 ⎥
⎢ ⎥⎢ ⎥ ⎢ ⎥
⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤ ⎣0 0 1 −13 / 8⎦ ⎣ x4 ⎦ ⎣ 1/ 8 ⎦
⎢1 −6 / 4 1 −1/ 4 ⎥ ⎢ x ⎥ ⎢ −1/ 4 ⎥
⎢ ⎥⎢ 2⎥ = ⎢ ⎥ Step 6. Uncouple the last equation: Row 4 – Row 3
⎢1 −4 6 −4 ⎥ ⎢ x3 ⎥ ⎢ 0 ⎥ ⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ ⎥⎢ ⎥ ⎢ ⎥ ⎢0 ⎥ ⎢ x ⎥ ⎢ 5 /14 ⎥
⎣0 1 −4 5 ⎦ ⎣ x4 ⎦ ⎣ 0 ⎦ 1 − 8 / 7 5 /14
⎢ ⎥⎢ 2⎥ = ⎢ ⎥
⎢0 0 1 −4 / 3 ⎥ ⎢ x3 ⎥ ⎢ 8 /15 ⎥
Step 2. Make the first column to be 0’s, except the first entry being “1”: ⎢ ⎥⎢ ⎥ ⎢ ⎥
⎣0 0 0 −7 / 24 ⎦ ⎣ x4 ⎦ ⎣ −49 / 120 ⎦
Row 2 – Row 1, Row 3 – Row 1
Step 7. Further simplification of the last equation:
⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ 0 −7 /10 4 / 5 −1/ 4 ⎥ ⎢ x ⎥ ⎢ −1/ 4 ⎥ (Row 4)(-24/7)
⎢ ⎥⎢ 2⎥ = ⎢ ⎥ ⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤
⎢ 0 −16 / 5 29 / 5 −4 ⎥ ⎢ x3 ⎥ ⎢ 0 ⎥ ⎢0
⎢ 1 −8 / 7 5 /14 ⎥⎥ ⎢⎢ x2 ⎥⎥ ⎢⎢5 /14 ⎥⎥
⎢ ⎥⎢ ⎥ ⎢ ⎥ =
⎣0 1 −4 5 ⎦ ⎣ x4 ⎦ ⎣ 0 ⎦ ⎢0 0 1 −4 / 3⎥ ⎢ x3 ⎥ ⎢8 /15 ⎥
Step 3. We uncouple equations 2-3: (Row 2)/(-10/7), (Row 3)/(-5/16) ⎢ ⎥⎢ ⎥ ⎢ ⎥
⎣0 0 0 1 ⎦ ⎣ x4 ⎦ ⎣ 7 / 5 ⎦
⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤ Therefore
⎢0 − ⎥ ⎢ x ⎥ ⎢5 /14 ⎥ 7
⎢ 1 8 / 7 5 /14 ⎥⎢ 2⎥ = ⎢ ⎥ x4 =
⎢0 1 −29 / 16 5 / 4 ⎥ ⎢ x3 ⎥ ⎢ 0 ⎥ 5
⎢ ⎥⎢ ⎥ ⎢ ⎥
⎣0 1 −4 5 ⎦ ⎣ x4 ⎦ ⎣ 0 ⎦ x3 =
8 4
+ x4 =
12
Step 4. (Row 3 – Row 2), (Row 4 – Row 2) 15 3 5
⎡1 −4 / 5 1/ 5 0 ⎤ ⎡ x1 ⎤ ⎡ 0 ⎤ x2 =
5 8 5
+ x3 − x4 =
13
⎢0 1 − 8 / 7 5 /14 ⎥ ⎢ x ⎥ ⎢ 5 /14 ⎥ 14 7 14 5
⎢ ⎥⎢ 2⎥ = ⎢ ⎥
⎢0 0 −75 /112 25 / 28⎥ ⎢ x3 ⎥ ⎢ −5 /14 ⎥ 4 1 8
⎢ ⎥⎢ ⎥ ⎢ ⎥ x1 = x2 − x3 =
⎣0 0 −20 / 7 65 / 14 ⎦ ⎣ x4 ⎦ ⎣ −5 /14 ⎦ 5 5 5
23
8 Gaussian Elimination
Summary of Procedures:
We considered the above simple example for illustration of the Gauss elimination
procedures. In reality, the number of equations in Eq. (1) can be fairly large. Then,
Gauss elimination may be used in two phases as follows.
Ux = c (2)
Where
Fact: if A is symmetric and positive definite, then A can be decomposed into two
parts as
A = LU (4)
where
• L is a lower triangular square matrix (i.e. all 0’s above the diagonal),
• U is an upper triangular square matrix (i.e all 0’s below the diagonal), and
• L = UT
Obviously, we can efficiently solve for y from Eq.(7) using forward-substitution, then 25
x can be readily determined from Eq.(6) using back-substitution.
9 Cholesky Decomposition
The detailed procedures for obtaining L and U are given in the Appendix.
Nowadays, such algorithms are well implemented on various mathematical
software packages such as Mathematica and MatLab. You may utilize the
CholeskyDecomposition command, which is built into Mathematica’s linear
algebra package, as shown in the following:
26
Appendix
I. Computer algorithm for forward reduction:
27
Appendix
III. Computer algorithm for LU decomposition:
28