9-Beam Element with Axial Force Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.

Slides:



Advertisements
Similar presentations
AERSP 301 Finite Element Method
Advertisements

ME 520 Fundamentals of Finite Element Analysis
Definition I. Beams 1. Definition
4. Spring Element Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical University.
10. 3D Coordinate Operations Assoc.Prof.Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze.
1D MODELS Logan; chapter 2.
2. Review of Matrix Algebra Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
Beams and Frames.
Introduction to Finite Elements
LECTURE SERIES on STRUCTURAL OPTIMIZATION Thanh X. Nguyen Structural Mechanics Division National University of Civil Engineering
Some Ideas Behind Finite Element Analysis
8. 2D Coordinate Operations Assoc.Prof.Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze.
Finite Element Primer for Engineers: Part 2
Matrix Methods (Notes Only)
Bars and Beams FEM Linear Static Analysis
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Finite Element Method in Geotechnical Engineering
MESF593 Finite Element Methods HW #2 Solutions. Prob. #1 (25%) The element equations of a general tapered beam with a rectangular cross- section are given.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
CST ELEMENT STIFFNESS MATRIX
CHAP 4 FINITE ELEMENT ANALYSIS OF BEAMS AND FRAMES
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.
The Finite Element Method
Dynamic Analysis-A Finite –Element Approach
ME 520 Fundamentals of Finite Element Analysis
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.
Eng Ship Structures 1 Matrix Analysis Using MATLAB Example.
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.
10-Beam Elements in 2-D Space (Plane Frame Element) Dr. Ahmet Zafer Şenalp Mechanical Engineering.
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.
THE ANALYSIS OF BEAMS & FRAMES
Last course Bar structure Equations from the theory of elasticity
ME 612 Metal Forming and Theory of Plasticity
HEAT TRANSFER FINITE ELEMENT FORMULATION
1 2. The number of unknowns a 1, a 2, a 3, a 4 equals the number of degrees of freedom of the element We have assumed that displacement u at coordinate.
ME 612 Metal Forming and Theory of Plasticity
BAR ELEMENT IN 2D (TRUSS, LINK)
MECH4450 Introduction to Finite Element Methods Chapter 3 FEM of 1-D Problems: Applications.
Principles of Computer-Aided Design and Manufacturing Second Edition 2004 ISBN Author: Prof. Farid. Amirouche University of Illinois-Chicago.
13. The Ideal Work Method for the Analysis of Forming Processes
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
13-Linear Triangular Element Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
14-Quadratic Triangular Element Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
11-Beam Elements in 3-D Space (Space Frame Element)
ME 520 Fundamentals of Finite Element Analysis Assoc.Dr. Ahmet Zafer Şenalp Mechanical Engineering.
Finite Element: Theory, Applications & Implementation Presented By: Arthur Anconetani Barbara Gault Ryan Whitney.
6. Strain Assoc.Prof.Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical University.
Slope Deflection Method
STIFFNESS MATRIX METHOD
15-Bilinear Quadrilateral Element Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
MESF593 Finite Element Methods
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
Structures Matrix Analysis
1D OF FINITE ELEMENT METHOD Session 4 – 6
Overview of Finite Element Methods
Beams and Frames.
Introduction to Finite Element Analysis for Skeletal Structures
PRINCIPLES OF STIFFNESS METHOD FOR BEAMS AND PLANE FRAMES
FEM Steps (Displacement Method)
Structural Analysis II
Slender Structures Load carrying principles
Plane Trusses (Initial notes are designed by Dr. Nazri Kamsah)
8-1 Introduction a) Plane Stress y
Structural Analysis II
Presentation transcript:

9-Beam Element with Axial Force Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical University ME 520 Fundamentals of Finite Element Analysis

Apply the formula, To derive this, we introduce the shape functions: Then, we can represent the deflection as: which is a cubic function. Notice that, Formal Approach ME 520 Dr. Ahmet Zafer Şenalp 2Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force

which implies that the rigid body motion is represented by the assumed deformed shape of the beam. Curvature of the beam is, where the strain-displacement matrix B is given by, Formal Approach ME 520 Dr. Ahmet Zafer Şenalp 3Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Strain energy stored in the beam element is: We conclude that the stiffness matrix for the simple beam element is Formal Approach ME 520 Dr. Ahmet Zafer Şenalp 4Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Combining the axial stiffness (bar element), we obtain the stiffness matrix of a general 2-D beam element: Formal Approach ME 520 Dr. Ahmet Zafer Şenalp 5Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 6Mechanical Engineering Department, GTU It is clear that the beam element has 6 degrees of freedom (3 at each node) For a structure with n nodes, the global stiffness matrix K will be of size 3nx3n. The global stiffness matrix K is obtained by making calls to the Matlab function BeamAssemble which is written for this purpose. Once the global stiffness matrix; K is obtained we have the following structure equation; where U is the global nodal displacement vector and F is the global nodal force vector. At this step boundary conditions are applied manually to the vectors U and F. Then the matrix equation is solved by partitioning and Gaussion elimination. Solution procedure with matlab Solution procedure with matlab 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 7Mechanical Engineering Department, GTU Finally once the unknown displacements and and reactions are found, the force is obtained for each element as follows: where f is the 6x1 nodal force vector in the element and u is the 6x1 element displacement vector. The first, second and third elements in each vector are the axial displacement, transverse displacement and rotation, respectively, at the first node, while the fourth fifth and sixth elements in each vector are the axial displacement, transverse displacement and rotation, respectively, at the second node. Solution procedure with matlab Solution procedure with matlab 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 8Mechanical Engineering Department, GTU The 5 Matlab functions used for the beam element are: BeamElementStiffness_axial_az( E,A,I,L) This function returns the element stiffness matrix for a beam element with axial force with modulus of elasticity E, area A, moment of inertia I, and length L. The size of the element stiffness matrix is 6 x 6. Function contents: function y = BeamElementStiffness_axial_az(E,A,I,L) %BeamElementStiffness This function returns the element % stiffness matrix for a beam % element with axial force % with modulus of elasticity E, % with area A % moment of inertia I, and length L. % The size of the element stiffness % matrix is 6 x 6. c=E*A/L; c12=2*E*I/(L); c14=4*E*I/(L); c2=6*E*I/(L*L); c3=12*E*I/(L*L*L); y = [c 0 0 -c 0 0; 0 c3 c2 0 -c3 c2; 0 c2 c14 0 -c2 c12; -c 0 0 c 0 0; 0 -c3 -c2 0 c3 -c2; 0 c2 c12 0 -c2 c14]; 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 9Mechanical Engineering Department, GTU BeamAssemble_axial(K,k,i,j) This function assembles the element stiffness matrix k of the beam element with nodes i and j into the global stiffness matrix K. This function returns the 3nx3n global stiffness matrix K after the element stiffness matrix k is assembled. Function contents: function y = BeamAssemble_axial(K,k,i,j) %BeamAssemble_axial This function assembles the element stiffness % matrix k of the beam element with nodes % i and j into the global stiffness matrix K. % This function returns the global stiffness % matrix K after the element stiffness matrix % k is assembled. K(3*i-2,3*i-2) = K(3*i-2,3*i-2) + k(1,1); K(3*i-2,3*i-1) = K(3*i-2,3*i-1) + k(1,2); K(3*i-2,3*i) = K(3*i-2,3*i) + k(1,3); K(3*i-2,3*j-2) = K(3*i-2,3*j-2) + k(1,4); K(3*i-2,3*j-1) = K(3*i-2,3*j-1) + k(1,5); K(3*i-2,3*j) = K(3*i-2,3*j) + k(1,6); K(3*i-1,3*i-2) = K(3*i-1,3*i-2) + k(2,1); K(3*i-1,3*i-1) = K(3*i-1,3*i-1) + k(2,2); K(3*i-1,3*i) = K(3*i-1,3*i) + k(2,3); K(3*i-1,3*j-2) = K(3*i-1,3*j-2) + k(2,4); K(3*i-1,3*j-1) = K(3*i-1,3*j-1) + k(2,5); K(3*i-1,3*j) = K(3*i-1,3*j) + k(2,6); 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 10Mechanical Engineering Department, GTU K(3*i,3*i-2) = K(3*i,3*i-2) + k(3,1); K(3*i,3*i-1) = K(3*i,3*i-1) + k(3,2); K(3*i,3*i) = K(3*i,3*i) + k(3,3); K(3*i,3*j-2) = K(3*i,3*j-2) + k(3,4); K(3*i,3*j-1) = K(3*i,3*j-1) + k(3,5); K(3*i,3*j) = K(3*i,3*j) + k(3,6); K(3*j-2,3*i-2) = K(3*j-2,3*i-2) + k(4,1); K(3*j-2,3*i-1) = K(3*j-2,3*i-1) + k(4,2); K(3*j-2,3*i) = K(3*j-2,3*i) + k(4,3); K(3*j-2,3*j-2) = K(3*j-2,3*j-2) + k(4,4); K(3*j-2,3*j-1) = K(3*j-2,3*j-1) + k(4,5); K(3*j-2,3*j) = K(3*j-2,3*j) + k(4,6); K(3*j-1,3*i-2) = K(3*j-1,3*i-2) + k(5,1); K(3*j-1,3*i-1) = K(3*j-1,3*i-1) + k(5,2); K(3*j-1,3*i) = K(3*j-1,3*i) + k(5,3); K(3*j-1,3*j-2) = K(3*j-1,3*j-2) + k(5,4); K(3*j-1,3*j-1) = K(3*j-1,3*j-1) + k(5,5); K(3*j-1,3*j) = K(3*j-1,3*j) + k(5,6); K(3*j,3*i-2) = K(3*j,3*i-2) + k(6,1); K(3*j,3*i-1) = K(3*j,3*i-1) + k(6,2); K(3*j,3*i) = K(3*j,3*i) + k(6,3); K(3*j,3*j-2) = K(3*j,3*j-2) + k(6,4); K(3*j,3*j-1) = K(3*j,3*j-1) + k(6,5); K(3*j,3*j) = K(3*j,3*j) + k(6,6); y = K; 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 11Mechanical Engineering Department, GTU BeamElementForces(k,u) This function calculates the element element force vector using the element stiffness matrix k and the element displacement vector u. It returns the 6x1 element force vector f Function contents: function y = BeamElementForces(k,u) %BeamElementForces This function returns the element nodal force % vector given the element stiffness matrix k % and the element nodal displacement vector u. y = k * u; 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 12Mechanical Engineering Department, GTU BeamElementShearDiagram(f, L) This function plots the shear force diagram for the beam element with nodal force vector f and length L. Function contents: function y = BeamElementShearDiagram(f, L) %BeamElementShearDiagram This function plots the shear force % diagram for the beam element with nodal % force vector f and length L. x = [0 ; L]; z = [f(1) ; -f(3)]; hold on; title('Shear Force Diagram'); plot(x,z); y1 = [0 ; 0]; plot(x,y1,'k') 9-Beam Element with Axial Force 9-Beam Element with Axial Force

Matlab functions used ME 520 Dr. Ahmet Zafer Şenalp 13Mechanical Engineering Department, GTU BeamElementMomentDiagram(f, L) This function plots the bending moment diagram for the beam element with nodal force vector f and length L. Function contents: function y = BeamElementMomentDiagram(f, L) %BeamElementMomentDiagram This function plots the bending moment % diagram for the beam element with nodal % force vector f and length L. x = [0 ; L]; z = [-f(2) ; f(4)]; hold on; title('Bending Moment Diagram'); plot(x,z); y1 = [0 ; 0]; plot(x,y1,'k') 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 14Mechanical Engineering Department, GTU Consider the beam as shown Given E=210 GPa A=0.025 m 2 I=60x10 -6 m 4 P1=20 kN P2=30 kN L=2 m Determine: a)the global stiffness matrix for the structure b)horizontal and vertical displacements at node 2 c)rotations at nodes 2 and 3 d)the reactions at nodes 1 and 3 e)the forces (shears and moments) in each element f)the shear force diagram for each element g)the bending moment diagram for each element Solution of Example 1 with Matlab 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 15Mechanical Engineering Department, GTU Solution of Example 1 with Matlab Solution: Use the 7 steps to solve the problem using beam element. Step 1-Discretizing the domain: We will put a node (node2) at the location of the concentrated force so that we may determine the required quantities (displacements, rotation, shear, moment) at that point. The domain is subdivided into two elements and three nodes. The units used in Matlab calculations are kN and meter. The element connectivity is: E#N1N Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 16Mechanical Engineering Department, GTU Solution of Example 1 with Matlab Step 2-Copying relevant files and starting Matlab Create a directory Copy BeamElementStiffness_axial_az.m BeamAssemble_axial.m BeamElementForces.m BeamElementShearDiagram.m BeamElementMomentDiagram.m files under the created directory Open Matlab; Open ‘Set Path’ command and by using ‘Add Folder’ command add the current directory. Start solving the problem in Command Window: >>clearvars >>clc 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 17Mechanical Engineering Department, GTU Solution of Example 1 with Matlab Step 3-Writing the element stiffness matrices: The two element stiffness matrices k 1 and k 2 are obtained by making calls to the Matlab function BeamElementStiffness_axial_az. Each matrix has size 6x6. Enter the data >>E=210e6 >>A=0.025 >>I=60e-6 >>L=2 >>k1=BeamElementStiffness_axial_az(E,A,I,L) k1 = Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 18Mechanical Engineering Department, GTU Solution of Example 1 with Matlab >>k2=BeamElementStiffness_axial_az(E,A,I,L) k2 = Step 4-Assembling the global stiffness matrix: Since the structure has 3 nodes, the size of the global stiffness matrix is 9x9. >>K=zeros(9,9) >>K=BeamAssemble_axial(K,k1,1,2) >>K=BeamAssemble_axial(K,k2,2,3) K = Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 19Mechanical Engineering Department, GTU Solution of Example 1 with Matlab Step 5-Applying the boundary conditions: Finite element equation for the problem is; The boundary conditions for the problem are; 9-Beam Element with Axial Force 9-Beam Element with Axial Force

ME 520 Dr. Ahmet Zafer Şenalp 20Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab Inserting the above conditions into finite element equation Step 6-Solving the equations: Solving the above system of equations will be performed by partitioning (manually) and Gaussian elimination (with Matlab) First we partition the above equation by extracting the submatrices in rows 4 to 6 and columns 4 to 6 and row 9 column 9. Therefore we obtain:

ME 520 Dr. Ahmet Zafer Şenalp 21Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab The solution of the above system is obtained using Matlab as follows. Note that the ‘\’ operator is used for Gaussian elimination. >>k=[K(4:6,4:6) K(4:6,9) ; K(9,4:6) K(9,9)] k = >>f=[30; -20 ; 0 ; 0] f = -20 0

ME 520 Dr. Ahmet Zafer Şenalp 22Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>u=k\f u = 1.0e-03 * Step 7-Post-processing: In this step we obtain the reactions at nodes 1 and 3 and the forces (shears and moments) in each beam element using Matlab as follows. First we set up the global nodal displacement vector U, then we calculate the nodal force vector F.

ME 520 Dr. Ahmet Zafer Şenalp 23Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>U=[0 ; 0 ; 0; u(1) ; u(2) ; u(3); 0; 0; u(4)] U = 1.0e-03 * >>F=K*U F =

ME 520 Dr. Ahmet Zafer Şenalp 24Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab Next we set up the element nodal displacement vectors u 1 and u 2 then we calculate the element force vectors f 1 and f 2 by making calls to the Matlab function BeamElementForces. >> u1=[U(1) ; U(2) ; U(3) ; U(4) ; U(5) ; U(6)] u1 = 1.0e-03 *

ME 520 Dr. Ahmet Zafer Şenalp 25Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >> u2=[U(4) ; U(5) ; U(6) ; U(7) ; U(8) ; U(9)] u2 = 1.0e-03 * >>f1 =BeamElementForces(k1,u1) f1 =

ME 520 Dr. Ahmet Zafer Şenalp 26Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>f2 =BeamElementForces(k2,u2) f2 = Finally we call the Matlab functions BeamElementShearDiagram and BeamElementMomentDiagram, respectively for each element.

ME 520 Dr. Ahmet Zafer Şenalp 27Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>BeamElementShearDiagram(f1,L)

ME 520 Dr. Ahmet Zafer Şenalp 28Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>BeamElementShearDiagram(f2,L)

ME 520 Dr. Ahmet Zafer Şenalp 29Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>BeamElementMomentDiagram(f1, L)

ME 520 Dr. Ahmet Zafer Şenalp 30Mechanical Engineering Department, GTU 9-Beam Element with Axial Force 9-Beam Element with Axial Force Solution of Example 1 with Matlab >>BeamElementMomentDiagram(f2, L)