0% found this document useful (0 votes)
209 views

CIVL 337: Computer Methods of Structural Analysis

This document provides an overview of computer methods for structural analysis. It discusses the historical development and widespread use of computers in structural engineering applications. It also describes the evolution of computer hardware, various structural analysis software packages, and the advantages of matrix formulations for computer analysis compared to classical methods. The scope of the course is outlined as focusing on static and dynamic analysis of linearly elastic structures using computer-based matrix methods.

Uploaded by

sbkcivil
Copyright
© Attribution Non-Commercial (BY-NC)
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)
209 views

CIVL 337: Computer Methods of Structural Analysis

This document provides an overview of computer methods for structural analysis. It discusses the historical development and widespread use of computers in structural engineering applications. It also describes the evolution of computer hardware, various structural analysis software packages, and the advantages of matrix formulations for computer analysis compared to classical methods. The scope of the course is outlined as focusing on static and dynamic analysis of linearly elastic structures using computer-based matrix methods.

Uploaded by

sbkcivil
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 28

CIVL 337

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

z Typical computer usage by an engineer:


z Word-processing
z Preparation of tender documents and engineering drawings
z Small and intermediate computations
z Analysis of structures
z Design work
z Data reduction and storage
z Software development
z Email
2
z Etc.
2 Historical Development
The methods of structural analysis have been dramatically
revolutionalized by the advance in digital computers and the
demand in stringent design requirements of airplanes. A number
of significant milestones are:

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

z Advantages of Matrix Formulation:


z Convenient for computer programming.
z It is difficult to analyze a complicated structure by hand calculation
unless a great deal of simplification is made.

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 Workstations (some obsolete now)


z Sun SPARC 20
z HP Workstations
z Appollo
z DEC Stations
z IBM Risk 6000
5
3 Computer Hardware
and Software

z Supercomputers
z Vector machines: Cray 90, IBM, Convex
z Parallel machines: CM-5, Intel Paragon, nCube, etc.

z Current trend: PC clusters (parallel processing):


z Cluster: group of (e.g. 8) PCs connected by a very fast
network
z Can outperform workstations or supercomputers of equivalent
price

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.)

z MatLab, MathCAD (general-purpose)

z Computer Algebra Systems (CAS): Mathematica, Maple,


Derive, etc.
z Handles numeric as well as symbolic work (e.g. matrix
inversion)
z Small-to-medium scale work (inversion of 100×100 numerical
matrix on Mathematica: ~ 1 min.)

z Many numerical schemes built-in (e.g. LUDecomposition,


RowReduce)

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

z Will be discussed in this class

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 Computer Aided Drafting Systems:


z AutoCAD, MicroStation, I-DEAS (3-D modelling & FEM), etc.

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

z Expectation from the Course:


1. Basic theory behind the computer methods of structural analysis
2. How to model a structure for computer analysis
3. How to form the stiffness and mass matrices by hand calculation
4. How to form the loading in matrix form
5. How to use mathematical software to assist in (1) – (4)
6. How to solve practical problems using a structural software
14
5 Flexibility and
Stiffness Concepts
We consider a linear spring, a one-degree of freedom system, as shown in Fig. 1.1.
Let the spring constant be k N/m while the spring is subjected to a force f. The
corresponding displacement is designated by d.

We have the following relationship

k·d=f (1)

The physical meaning of k, the spring constant, is


the amount of force required to stretch the spring by
a unit displacement. The inverse relation of Eq.(1) is

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.

Let the deflection and rotation of the tip be denoted


by δ and θ, respectively. To find δ and θ, we
may consider the force and moment applied to the
beam separately.

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)

where K = F -1 is the stiffness matrix of the beam, namely


⎡ 12 EI / L3 − 6 EI / L2 ⎤
K= ⎢ ⎥
⎣− 6 EI / L (10)
2
4 EI / L ⎦

This matrix inversion can be


performed efficiently on
Mathematica as shown :
Note that both the flexibility and
stiffness matrices are symmetric,
and this property is related to
Maxwell and Betti’s law, or the
reciprocal theorem.

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)

where A is an neq×neq non-singular matrix with constant coefficients, x and b are


neq×1 vectors with x being the unknown. Matrix formulation of structural problems
often leads to a large system of such simultaneous equations. Efficient ways of
solving such equations have been the major concern of numerical analysts.

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:

• To multiply matrices and vectors: MMULT


• To transpose a matrix: TRANSPOSE
• To invert a matrix: MINVERSE
• To obtain the determinant of a matrix: MDETERM
• To retrieve the (r, c) component of a matrix M: INDEX(M,r,c)

It is a good practice to name arrays for convenient selection 20

You may press Ctrl-* to select a matrix


7 Solution of
Linear Equations
An example for matrix inversion on a spreadsheet is as follows:

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.

Iterative methods give approximate solutions that can be improved by successive


iterations. They usually consume less memory than direct methods, but the solution
convergence and accuracy are difficult to control. Therefore, direct methods are
most preferred.

In solving the linear system of simultaneous equations arising in structural analysis,


the following special characteristics can be utilized in coding:

• The matrices are usually symmetric and positive definite


(xTAx > 0 for all nonzero x).
• The matrices are often sparse (avoids multiplications by 0’s and 1’s).

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.

Phase 1: Forward Reduction


Eq.(1) is reduced into upper triangular form

Ux = c (2)

Where

Phase 2: Back-Substitution to determine x


Computer algorithms for forward reduction and back-substitution are given in the Appendix. 24
9 Cholesky Decomposition
For a large system of linear equations, the Cholesky decomposition is often a
preferred and efficient direct method. We consider the equation of the form
Ax = b (3)

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

Substituting (4) into (3), we have


LUx = b (5)
In the above, we define
Ux = y (6)
So we have
Ly = b (7)

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:

II. Computer algorithm for back-substitution:

27
Appendix
III. Computer algorithm for LU decomposition:

28

You might also like