Eng. 6002 Ship Structures 1 Matrix Analysis Using MATLAB Example.

Slides:



Advertisements
Similar presentations
AERSP 301 Finite Element Method
Advertisements

Definition I. Beams 1. Definition
Lecture 6; The Finite Element Method 1-dimensional spring systems (modified ) 1 Lecture 6; The Finite Element Method 1-dimensional spring systems.
Chapter 4 Systems of Linear Equations; Matrices
Chapter 4 Systems of Linear Equations; Matrices
1D MODELS Logan; chapter 2.
Beams and Frames.
Introduction to Finite Elements
Introduction to Beam Theory
LECTURE SERIES on STRUCTURAL OPTIMIZATION Thanh X. Nguyen Structural Mechanics Division National University of Civil Engineering
Finite Element Primer for Engineers: Part 2
Matrix Methods (Notes Only)
Bars and Beams FEM Linear Static Analysis
CE 384 STRUCTURAL ANALYSIS I Öğr. Gör. Dr. Nildem Tayşi.
Finite Element Method in Geotechnical Engineering
MANE 4240 & CIVL 4240 Introduction to Finite Elements
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
CHAP 4 FINITE ELEMENT ANALYSIS OF BEAMS AND FRAMES
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
MANE 4240 & CIVL 4240 Introduction to Finite Elements
MANE 4240 & CIVL 4240 Introduction to Finite Elements
EMA 405 Introduction. Syllabus Textbook: none Prerequisites: EMA 214; 303, 304, or 306; EMA 202 or 221 Room: 2261 Engineering Hall Time: TR 11-12:15 Course.
Finite Element: Theory, Applications & Implementation Presented By: Arthur Anconetani Barbara Gault Ryan Whitney.
Dynamic Analysis-A Finite –Element Approach
ME 520 Fundamentals of Finite Element Analysis
The Finite Element Method
7-Bar Elements in 3-D Space Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
An introduction to the finite element method using MATLAB
6-Bar Elements in 2-D Space Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
1 20-Oct-15 Last course Lecture plan and policies What is FEM? Brief history of the FEM Example of applications Discretization Example of FEM softwares.
The Finite Element Method A Practical Course
10-Beam Elements in 2-D Space (Plane Frame Element) Dr. Ahmet Zafer Şenalp Mechanical Engineering.
Eng. Tamer Eshtawi First Semester
9-Beam Element with Axial Force Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
Eng Ship Structures 1 Hull Girder Response Analysis
THE ANALYSIS OF BEAMS & FRAMES
Illustration of FE algorithm on the example of 1D problem Problem: Stress and displacement analysis of a one-dimensional bar, loaded only by its own weight,
Lecture #11 Matrix methods.
HEAT TRANSFER FINITE ELEMENT FORMULATION
Structural Analysis 7 th Edition in SI Units Russell C. Hibbeler Chapter 15: Beam Analysis Using the Stiffness Method.
BAR ELEMENT IN 2D (TRUSS, LINK)
Principles of Computer-Aided Design and Manufacturing Second Edition 2004 ISBN Author: Prof. Farid. Amirouche University of Illinois-Chicago.
Learning Objectives for Section 4.5 Inverse of a Square Matrix
March 20, :35 AM Little 109 CES 4141 Forrest Masters A Recap of Stiffness by Definition and the Direct Stiffness Method.
13-Linear Triangular Element Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
11-Beam Elements in 3-D Space (Space Frame Element)
Matrix methods.
AAE 3521 AAE 352 Lecture 08 Matrix methods - Part 1 Matrix methods for structural analysis Reading Chapter 4.1 through 4.5.
STIFFNESS MATRIX METHOD
MESF593 Finite Element Methods
Algor, the commercial FEM package, an introduction Group: 3 Ian Fulton Timothy Chin James Bernstein Hussain Khersoh.
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
Chapter 4 Systems of Linear Equations; Matrices
Structures Matrix Analysis
Finite Element Method in Geotechnical Engineering
Introduction to Finite Element Analysis for Skeletal Structures
PRINCIPLES OF STIFFNESS METHOD FOR BEAMS AND PLANE FRAMES
FEM Steps (Displacement Method)
CHAPTER 2 BASIC CONCEPTS OF DISPLACEMENT OR STIFFNESS METHOD:
Structural Analysis II
Slender Structures Load carrying principles
DIRECT STIFFNESS METHOD FOR TRUSSES:
Plane Trusses (Initial notes are designed by Dr. Nazri Kamsah)
Structural Analysis II
Chapter 4 Systems of Linear Equations; Matrices
Eng Ship Structures 1 Hull Girder Response Analysis
FOUNDATION ON ELASTIC SUBSOIL
Chapter 4 Systems of Linear Equations; Matrices
Presentation transcript:

Eng Ship Structures 1 Matrix Analysis Using MATLAB Example

Introduction  Last class we divided the FEM into five steps: 1. construction of the element stiffness matrix in local coordinates, 2. transformation of the element stiffness matrix into global coorindinates, 3. assembly to the global stiffness matrix using transformed element stiffness matrices, 4. application of the constraints to reduce the global stiffness matrix, 5. determination of unknown nodal displacements.

The Method  The stiffness matrix for each element is

The Method  this matrix describes the stiffness of an elastic element that relates the load vector to the displacement vector

The Method  the element stiffness matrix transformed to global coordinates is defined as:

The Method  The transformation matrix is given by:

Example cont.  In order to easily combine the element stiffness matrices, each element stiffness matrix is stored in a matrix the size of the global stiffness matrix, with the extra spaces filled with zeros.  In this example, the element stiffness matrix for element 1 is stored in the portion of the global stiffness matrix that involves nodes 1 and 2, i.e., the upper 6 x 6 portion of the matrix. Thus, the expanded stiffness matrix that describes element 1 is given by:

Example cont.

 The element stiffness matrix for element 2 is stored in the portion of the global stiffness matrix that involves nodes 2 and 3, i.e., the lower 6 x 6 portion of the matrix. The expanded stiffness matrix that describes element 2 is given by:

Example cont.  The expanded individual stiffness matrices can now be added together so that the global stiffness matrix for the two-element structure is given as:

Next Class Example 1: two beam elements  A simple structure made of two beams has the following parameters L1 = 12 in, L2 = 18 in, and E = 30 x 10 6 psi. The cross- section of the beams are 0.5 in x 0.5 in and θ = 45°. If a downward vertical force of 1000 lb is applied at node 2, find the displacement at node 2.

Step 1  The first step in the solution procedure is to discretize the domain, i.e. select the number of elements. As a first approximation, the problem is modeled with two beam elements. The element stiffness matrix for each of the beam elements is of the form:

Step 1 (code)  m = 2; % number of elements  b = [ ]; % width (in)  h = [ ]; % height (in)  a = b.*h; % cross-sectional area  I = b.*h.^3./12; % moment of inertia  l = [12 18]; % length of each element (in)  e = [30*10^6 30*10^6]; % modulus of elasticity (psi)  theta = [0 -45*pi/180]; % orientation angle  f = -1000; % force (lbs)  %  % Step 1: Construct element stiffness matrices  %  k = zeros(6,6,m);  for n = 1:m  k11 = a(n)*e(n)/l(n); k22 = 12*e(n)*I(n)/l(n)^3;  k23 = 6*e(n)*I(n)/l(n)^2; k33= 4*e(n)*I(n)/l(n);  k36 = 2*e(n)*I(n)/l(n);  k(:,:,n) = [k k11 0 0;0 k22 k23 0 -k22 k23;0 k23 k33 0 -k23 k36;-k k11 0 0;0 -k22 -k23 0 k22 -k23; 0 k23 k36 0 -k23 k33];  end

Step 1  Note: we are building 3D matrices (i.e. a series of 2D matrices – with size=m)  See k in code

Step 2  The second step is to transform each element stiffness matrix in local coordinates to the global coordinate system.  This transformation is accomplished by.  The transformation angle for element 1 is θ = 0, and, thus, the transformation matrix is simply the identity matrix. Because the rotation angle is measured counterclockwise, the transformation angle for element 2 is θ = -45°.

Step 2  for n = 1:m  c = cos(theta(n)); s = sin(theta(n));  lamda = [c s ; -s c ; ; c s 0; s c 0; ];  kbar (:,:,n) = lamda'*k(:,:,n)*lamda;

Step 3  The third step is to assemble the global stiffness matrix that describes the entire structure by properly combining the individual element stiffness matrices.  Elements stiffness matrices are stored in the proper portion of the matrix, i.e. each matrix is shifted by three rows and three columns.

Step 3  % Step 3: Combine element stiffness matrices to form global stiffness matrix  %  for i = 1:6  for j = 1:6  Ke(i+shift,j+shift,n) = kbar(i,j,n);  end  shift = shift + 3;

Step 3  We then add the matrices together to form the global stiffness matrix  K = sum(Ke,3)

Step 4  The fourth step is to apply the constraints and reduce the global stiffness matrix so that the specific problem of interest can be solved. For this problem, the displacements at node 1 and node 3 are known, i.e. U1 = U2 = U3 = U7 = U8 = U9 = 0, and the loads are applied to node 2 are specified, i.e. F4 = 0, F5 = lb, and F6 = 0. Thus, the system of equations can be written as:

Step 4  This problem has three unknowns, U4, U5, and U6, and, thus, requires three independent equations.  Matrix algebra allows three independent equations to be constructed by the removal of the rows and columns that correspond to the known displacements, i.e. the global stiffness matrix reduces to:

Step 4 the stiffness matrix reduces to:

Step 4  Step 4: Reduce global stiffness matrix with constraints  %  Kr = K;  Kr(:,9) = []; Kr(9,:) = []; Kr(:,8) = []; Kr(8,:) = [];  Kr(:,7) = []; Kr(7,:) = [];  Kr(:,3) = []; Kr(3,:) = []; Kr(:,2) = []; Kr(2,:) = [];  Kr(:,1) = []; Kr(1,:) = []

Step 4  The numerical values from the code

Step 5  The final step is simply to solve the reduced system of equations for the unknown displacements. Fr = [0; f; 0]; Ur = Kr\Fr  The numerical solution from the MATLAB code is U4 = in, U5 = in, and U6 = radians.

Discussion  This problem is statically indeterminate, and the solution is not trivial.  Additional information can be found with the addition of nodes. For example, the deflection at the midpoint of each element can be found if two additional nodes are added.  Of course, then a 9 x 9 system of equations must be solved. Note that the addition of nodes at the midpoints does not change the solution at node 2.

Assignment  Using the approach outlined in this lecture, develop a matlab routine to find the deflection at the midpoint of each element shown.  L1 = 12 in, L2 = 18 in, and E = 30 x 10 6 psi. The cross-section of the beams are 0.5 in x 0.5 in and θ = 45°. If a downward vertical force of 1000 lb is applied at node 2