The Matrix Stiffness Method for 2D Trusses



Similar documents
The elements used in commercial codes can be classified in two basic categories:

Section V.3: Dot Product

[1] Diagonal factorization

Advanced Structural Analysis. Prof. Devdas Menon. Department of Civil Engineering. Indian Institute of Technology, Madras. Module

Chapter 6. Orthogonality

Beginner s Matlab Tutorial

CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS

Programming a truss finite element solver in C

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

The Basics of FEA Procedure

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

Introduction to Beam. Area Moments of Inertia, Deflection, and Volumes of Beams

How to Graph Trigonometric Functions

WEEK #3, Lecture 1: Sparse Systems, MATLAB Graphics

Lecture L3 - Vectors, Matrices and Coordinate Transformations

2-View Geometry. Mark Fiala Ryerson University

MATH APPLIED MATRIX THEORY

Lecture 5: Singular Value Decomposition SVD (1)

(1.) The air speed of an airplane is 380 km/hr at a bearing of. Find the ground speed of the airplane as well as its

Vector has a magnitude and a direction. Scalar has a magnitude

Vector Math Computer Graphics Scott D. Anderson

α = u v. In other words, Orthogonal Projection

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

Figure 1.1 Vector A and Vector F

x = + x 2 + x

The Vector or Cross Product

CIVL 7/8117 Chapter 3a - Development of Truss Equations 1/80

1 of 79 Erik Eberhardt UBC Geological Engineering EOSC 433

Unified Lecture # 4 Vectors

Section 9.5: Equations of Lines and Planes

Linear Algebra Review. Vectors

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

6. LECTURE 6. Objectives

6. Vectors Scott Surgent (surgent@asu.edu)

STRESS AND DEFORMATION ANALYSIS OF LINEAR ELASTIC BARS IN TENSION

PHYSICS 151 Notes for Online Lecture #6

The Force Table Introduction: Theory:

MATLAB Workshop 3 - Vectors in MATLAB

FINITE ELEMENT STRUCTURAL ANALYSIS ON AN EXCEL SPREADSHEET

Equations Involving Lines and Planes Standard equations for lines in space

Structural Analysis - II Prof. P. Banerjee Department of Civil Engineering Indian Institute of Technology, Bombay. Lecture - 02

Code_Aster. A finite element of cable-pulley

5.04 Principles of Inorganic Chemistry II

Analyze and Evaluate a Truss

ANALYSIS OF STRUCTURAL MEMBER SYSTEMS JEROME J. CONNOR NEW YORK : ':,:':,;:::::,,:

1 Symmetries of regular polyhedra

AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables

EFFECTS ON NUMBER OF CABLES FOR MODAL ANALYSIS OF CABLE-STAYED BRIDGES

Linear Algebra: Vectors

Machine Learning and Data Mining. Regression Problem. (adapted from) Prof. Alexander Ihler

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder.

Mechanics 1: Conservation of Energy and Momentum

Module 2. Analysis of Statically Indeterminate Structures by the Matrix Force Method. Version 2 CE IIT, Kharagpur

Unit 3 (Review of) Language of Stress/Strain Analysis

DERIVATIVES AS MATRICES; CHAIN RULE

Numerical Methods I Eigenvalue Problems

Math 215 HW #6 Solutions

Chapter 17. Orthogonal Matrices and Symmetries of Space

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

5. Orthogonal matrices

MAC Learning Objectives. Module 10. Polar Form of Complex Numbers. There are two major topics in this module:

Similar matrices and Jordan form

AP Physics - Vector Algrebra Tutorial

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

Graphs of Polar Equations

521493S Computer Graphics. Exercise 2 & course schedule change

Determine If An Equation Represents a Function

Torgerson s Classical MDS derivation: 1: Determining Coordinates from Euclidean Distances

Understanding and Applying Kalman Filtering

Introduction to Matrices

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS

Nonlinear analysis and form-finding in GSA Training Course

Finite Element Method (ENGC 6321) Syllabus. Second Semester

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

3 Concepts of Stress Analysis

Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123

Section 10.4 Vectors

Finite Element Formulation for Beams - Handout 2 -

2.2 Magic with complex exponentials

Structural Axial, Shear and Bending Moments

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Lecture 2 Matrix Operations

Elasticity Theory Basics

Computing Orthonormal Sets in 2D, 3D, and 4D

Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

Charlesworth School Year Group Maths Targets

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Tutorial for Assignment #2 Gantry Crane Analysis By ANSYS (Mechanical APDL) V.13.0

Stress Recovery 28 1

3 Orthogonal Vectors and Matrices

Plates and Shells: Theory and Computation - 4D9 - Dr Fehmi Cirak (fc286@) Office: Inglis building mezzanine level (INO 31)

Shear Force and Moment Diagrams

Unit 6 Plane Stress and Plane Strain

MAT188H1S Lec0101 Burbulla

P4 Stress and Strain Dr. A.B. Zavatsky MT07 Lecture 3 Statically Indeterminate Structures

Learning the Stiffness Method with FOTRAN, Excel and MathCAD

Java Applets for Analysis of Trusses, Beams and Frames

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Transcription:

The Matrix Stiffness Method for D Trusses Method CEE 4L. Matrix Structural Analysis Department of Civil and Environmental Engineering Duke University Henri P. Gavin Fall, 04. Number all of the nodes and all of the elements.. Identify the Displacement Degrees of Freedom in Global Directions. Number all the structural degrees of freedom in your truss. In a D (planar) truss, each node can have a maximum of two degrees of freedom: one in the global X-direction and one in the global Y -direction. If a degree of freedom is restrained by a reaction, then it doesn t get a number. 3. Node Locations. Write the (x, y) coordinates of each node using units consistent with E and A. In other words, if E and A are given in kn/cm and cm, write the (x, y) coordinates in terms of centimeters. 4. Define each element. Draw each element of your truss individually and draw the local coordinates in the global directions. For example if element number N is a diagonal truss element, and the global directions are X: horizontal and Y: vertical, draw element number N like this: 4 Bar Direction 3 (x, y ) Local Joint Number Element Coordinate in Global Directions (x, y ) where,,3,4 are the element coordinates of the truss element in the global directions. The local coordinates are always numbered,,3,4 with and 3 pointing in the global X direction (to the right) and with and 4 pointing in the global Y direction (up). Some or all of these four coordinates will line up with with the structural degrees of freedom that you identified in step., above. The angle θ is the counter-clockwise angle from element coordinate to the truss element. θ

CEE 4L. Matrix Structural Analysis Duke University Fall 04 H.P. Gavin 5. Element Stiffness Matrices in Global Coordinates, K. For each element, find its (4x4) element stiffness matrix, by evaluating the equations below: L = (x x ) + (y y ) K = EA L c = (x x )/L s = (y y )/L c cs c cs cs s cs s c cs c cs cs s cs s or by using the truss d element.m script in matlab. You should understand where these equations come from, why this matrix is symmetric, why the diagonal terms are all positive, and what the off-diagonal terms mean. 6. Structural Stiffness Matrix, K s. The structural stiffness matrix is a square, symmetric matrix with dimension equal to the number of degrees of freedom. In this step we will fill up the structural stiffness matrix using terms from the element stiffness matrices in global coordinates (from step 5.) This procedure is called matrix assembly. Recall from step 4. how the element degrees of freedom (,,3,4) line up with the structural degrees of freedom in your problem. For example, coordinates (,,3,4) might line up with degrees of freedom (3,4,7,8) of the truss. In this case, to assemble this element into the structural stiffness matrix,. K(,) +> Ks(3,3) K(,) +> Ks(3,4) K(,3) +> Ks(3,7) K(,4) +> Ks(3,8) ------------------ ------------------- ------------------- ------------------ K(,) +> Ks(4,3) K(,) +> Ks(4,4) K(,3) +> Ks(4,7) K(,4) +> Ks(4,8) ------------------ ------------------- ------------------- ------------------ K(3,) +> Ks(7,3) K(3,) +> Ks(7,4) K(3,3) +> Ks(7,7) K(3,4) +> Ks(7,8) ------------------ ------------------- ------------------- ------------------ K(4,) +> Ks(8,3) K(4,) +> Ks(8,4) K(4,3) +> Ks(8,7) K(4,4) +> Ks(8,8) where the +> is short-hand for is added to... K(,3) is added to Ks(3,7). Add each element into the structural stiffness matrix in this way to get K s. Note that if one end of the truss element is fully restrained in both the the X- and Y - directions, you will need to place only four of the sixteen terms of the element s 4x4 stiffness matrix. 7. Forces, p. Create the force vector p, by finding the components of each applied force in the directions of the global degrees of freedom. Create the force vector by placing these force components into the force vector at the proper coordinates.

The Matrix Stiffness Method for D Trusses 3 8. Deflections, d. Find the deflections by inverting the stiffness matrix and multiplying it by the load vector. You can do this easily in matlab: d = Ks \ p 9. Internal bar forces, T. Again, recall how the global degrees of freedom line up with each element s coordinates (,,3,4). For example, in element number N from step 6., the local element deflections in the global directions, v, v, v 3, v 4 line up with the structural deflections deflections d 3, d 4, d 7, d 8. The internal bar forces can be computed from: T = EA L [(v 3 v )c + (v 4 v )s] = EA L [(d 7 d 3 )c + (d 8 d 4 )s] where c and s are the direction cosine and sine for the element from step 5. You should be able to derive this equation. Knowing what each bar force is, the reactions can be easily computed with equilibrium equations. Notation u = Element deflection vector in the Local coordinate system q = Element force vector in the Local coordinate system k = Element stiffness matrix in the Local coordinate system... q = k u T = Coordinate Transformation Matrix (orthonormal)... T = T T v = Element deflection vector in the Global coordinate system... u = T v f = Element force vector in the Global coordinate system... q = T f K = Element stiffness matrix in the Global coordinate system... K = T T k T d = Structural deflection vector in the Global coordinate system p = Structural load vector in the Global coordinate system K s = Structural stiffness matrix in the Global coordinate system... p = K s d Coordinate System Local Global Element Deflection u v Element Force q f Element Stiffness k K Structural Deflection - d Structural Loads - p Structural Stiffness - K s

4 CEE 4L. Matrix Structural Analysis Duke University Fall 04 H.P. Gavin Example Y 4 6 E = 30,000 k/sq.in. A = 0 sq.in. 3 3 4 6 5 5 50 k ft. 3 7 5 8 4 X 00 k 6 ft. 6 ft. Global Joint Number Bar Number Bar Direction Structural Degree of Freedom Applied Force Local Joint Number Local Degree of Freedom Global Coordinate System Element Coordinates in Global Directions System Equation: {f} = [K}{d} {d} : displacement vector = { d d d3 d4 d5 d6 } {f} : load vector = { 0 00 0 0 50 0 } θ 4 3

The Matrix Stiffness Method for D Trusses 5 function [ K, L ] = truss_d_element ( x, y, x, y, EA ) % [ K, L ] = TRUSS_ELEMENT_D ( X, Y, X, Y, EA, T ) % Compute the element stiffness matrix for a D truss bar in global coordinates % % INPUT DATA: % X,Y is the location of joint of the truss bar % X,Y is the location of joint of the truss bar % EA is the product of the elastic modulus and the section area % % OUTPUT DATA: % K is the 4x4 truss bar element stiffness matrix in global element coord s % L is the length of the truss bar L = sqrt( (x-x)ˆ + (y-y)ˆ ); % length of the bar c = ( x - x ) / L; % cosine of bar angle s = ( y - y ) / L; % sine of bar angle K = (EA/L) * [ cˆ c*s -cˆ -c*s ; c*s sˆ -c*s -sˆ ; -cˆ -c*s cˆ c*s ; -c*s -sˆ c*s sˆ ]; % --------------------------------------------------------- TRUSS_ELEMENT_D >> format bank % two decimal places after the. >> E = 3e4; % modulus of elasticity >> A = 0; % area of cross section >> EA = E*A; >> [ K, L() ] = truss_d_element( 0, 0, *6, *, EA ) % truss element K = 800.00 600.00-800.00-600.00 600.00 450.00-600.00-450.00-800.00-600.00 800.00 600.00-600.00-450.00 600.00 450.00 >> [ K, L() ] = truss_d_element( 0, 0, *6, 0, EA ) % truss element K = 56.50 0.00-56.50 0.00

6 CEE 4L. Matrix Structural Analysis Duke University Fall 04 H.P. Gavin -56.50 0.00 56.50 0.00 >> [ K3, L(3) ] = truss_d_element( *6, 0, *6, *, EA ) % truss element 3 K3 = 0.00 083.33 0.00-083.33 0.00-083.33 0.00 083.33 >> [ K4, L(4) ] = truss_d_element( *6, *, *3, *, EA ) % truss element 4 K4 = 56.50 0.00-56.50 0.00-56.50 0.00 56.50 0.00 >> [ K5, L(5) ] = truss_d_element( *6, *, *3, 0, EA ) % truss element 5 K5 = 800.00-600.00-800.00 600.00-600.00 450.00 600.00-450.00-800.00 600.00 800.00-600.00 600.00-450.00-600.00 450.00 >> [ K6, L(6) ] = truss_d_element( *6, 0, *3, *, EA ) % truss element 6 K6 = 800.00 600.00-800.00-600.00 600.00 450.00-600.00-450.00-800.00-600.00 800.00 600.00-600.00-450.00 600.00 450.00 >> [ K7, L(7) ] = truss_d_element( *6, 0, *3, 0, EA ) % truss element 7 K7 = 56.50 0.00-56.50 0.00-56.50 0.00 56.50 0.00

The Matrix Stiffness Method for D Trusses 7 >> [ K8, L(8) ] = truss_d_element( *3, 0, *3, *, EA ) % truss element 8 K8 = 0.00 083.33 0.00-083.33 0.00-083.33 0.00 083.33 % ---------------------------- assemble the global structural stiffness matrix... >> Ks = [ 395 600 0 0-800 -600 ; > 600 533.33 0-083.33-600 -450 ; > 0 0 36.5 0-56.5 0 ; > 0-083.33 0 983.33 0 0 ; > -800-600 -56.5 0 36.5 600 ; > -600-450 0 0 600 533.33 ] Ks = 395.00 600.00 0.00 0.00-800.00-600.00 600.00 533.33 0.00-083.33-600.00-450.00 0.00 0.00 36.50 0.00-56.50 0.00 0.00-083.33 0.00 983.33 0.00 0.00-800.00-600.00-56.50 0.00 36.50 600.00-600.00-450.00 0.00 0.00 600.00 533.33 >> find(ks-ks ) % check to see if Ks is symmetric... ans = [](0x0) % It is! >> p = [ 0-00 0 0 50 0 ] % input the load vector p = 0.00-00.00 0.00

8 CEE 4L. Matrix Structural Analysis Duke University Fall 04 H.P. Gavin 0.00 50.00 0.00 >> format % change formats for more sig. fig s >> d = Ks \ p % compute the joint displacements d = 0.046067-0.046405 0.0074-0.073079 0.0055080-0.06435