Introduction to the Finite Element Method (FEM)

Similar documents
Introduction to the Finite Element Method (FEM)

The Basics of FEA Procedure

Stress Recovery 28 1

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

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Name: Section Registered In:

Linear Algebra Notes for Marsden and Tromba Vector Calculus

CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Finite Element Method (ENGC 6321) Syllabus. Second Semester

ACMSM - Computer Applications in Solids Mechanics

Elasticity Theory Basics

Systems of Linear Equations

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

5 Homogeneous systems

Solving Systems of Linear Equations

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

FUNDAMENTAL FINITE ELEMENT ANALYSIS AND APPLICATIONS

FINITE ELEMENT : MATRIX FORMULATION. Georges Cailletaud Ecole des Mines de Paris, Centre des Matériaux UMR CNRS 7633

Solving Linear Systems, Continued and The Inverse of a Matrix

Vector and Matrix Norms

CAE -Finite Element Method

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

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

by the matrix A results in a vector which is a reflection of the given

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

Finite Element Formulation for Plates - Handout 3 -

1 Introduction to Matrices

SOLVING LINEAR SYSTEMS

Finite Element Formulation for Beams - Handout 2 -

Lecture 2 Matrix Operations

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

METHODS FOR ACHIEVEMENT UNIFORM STRESSES DISTRIBUTION UNDER THE FOUNDATION

Conservative Systems 6 1

Feature Commercial codes In-house codes

Solving Systems of Linear Equations

3 Concepts of Stress Analysis

Circuit Analysis using the Node and Mesh Methods

CAE -Finite Element Method

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

Back to Elements - Tetrahedra vs. Hexahedra

University of Lille I PC first year list of exercises n 7. Review

Nonlinear analysis and form-finding in GSA Training Course

CS3220 Lecture Notes: QR factorization and orthogonal transformations

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

Linear Algebra Notes

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

An Overview of the Finite Element Analysis

A gentle introduction to the Finite Element Method. Francisco Javier Sayas

Solving Simultaneous Equations and Matrices

Solution of Linear Systems

Finite Element Method

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI

Introduction to the Finite Element Method

Introduction to Matrix Algebra

Matrix Differentiation

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

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

Optimal linear-quadratic control

Mesh Moving Techniques for Fluid-Structure Interactions With Large Displacements

The Matrix Stiffness Method for 2D Trusses

Integration of a fin experiment into the undergraduate heat transfer laboratory

Linear Algebra Review. Vectors

Scientic Computing 2013 Computer Classes: Worksheet 11: 1D FEM and boundary conditions

4.5 Linear Dependence and Linear Independence

Introduction to Solid Modeling Using SolidWorks 2012 SolidWorks Simulation Tutorial Page 1

Linear Equations ! $ & " % & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

1 VECTOR SPACES AND SUBSPACES

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

AN EXPLANATION OF JOINT DIAGRAMS

Mathematics Course 111: Algebra I Part IV: Vector Spaces

3-D WAVEGUIDE MODELING AND SIMULATION USING SBFEM

Lecture 1: Systems of Linear Equations

The simulation of machine tools can be divided into two stages. In the first stage the mechanical behavior of a machine tool is simulated with FEM

Typical Linear Equation Set and Corresponding Matrices

LS.6 Solution Matrices

Finite Element Methods (in Solid and Structural Mechanics)

Data Mining: Algorithms and Applications Matrix Math Review

Math 312 Homework 1 Solutions

New approaches in Eurocode 3 efficient global structural design

x = + x 2 + x

Mesh Discretization Error and Criteria for Accuracy of Finite Element Solutions

A quadrilateral 2-D finite element based on mixed interpolation of tensorial

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Linear Algebra: Determinants, Inverses, Rank

Lecture 5: Singular Value Decomposition SVD (1)

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 10

NUMERICAL METHODS TOPICS FOR RESEARCH PAPERS

Finite Elements for 2 D Problems

STRUCTURAL ANALYSIS SKILLS

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Copyright 2011 Casa Software Ltd. Centre of Mass

Approximate Analysis of Statically Indeterminate Structures

A Direct Numerical Method for Observability Analysis

LINEAR ALGEBRA W W L CHEN

Direct Methods for Solving Linear Systems. Matrix Factorization

OpenFOAM Optimization Tools

Transcription:

Introduction to the Finite Element Method (FEM) Lecture 1 The Direct Stiffness Method and the Global StiffnessMatrix Dr. J. Dean

1

Introduction The finite element method (FEM) is a numerical technique for solving a wide range of complex physical phenomena, particularly those exhibiting geometrical and material nonlinearities (such as those that are often encountered in the physical and engineering sciences). These problems can be structural in nature, thermal (or thermo-mechanical), electrical, magnetic, acoustic etc. plus any combination of. It is used most frequently to tackle problems that aren t readily amenable to analytical treatments. Figure 1: Governing equations for various physical phenomena The premise is very simple; continuous domains (geometries) are decomposed into discrete, connected regions (or finite elements). An assembly of element-level equations is subsequently solved, in order to establish the response of the complete domain to a particular set of boundary conditions. The Direct Stiffness Method and the Stiffness Matrix There are several finite element methods. These are the Direct Approach, which is the simplest method for solving discrete problems in 1 and 2 dimensions; the Weighted Residuals method which uses the governing differential equations directly (e.g. the Galerkin method), and the Variational Approach, which uses the calculus of variation and the minimisation of potential energy (e.g. the Rayleigh-Ritz method). 2

We analyse the Direct Stiffness Method here, since it is a good starting point for understanding the finite element formulation. We consider first the simplest possible element a 1-dimensional elastic spring which can accommodate only tensile and compressive forces. For the spring system shown in Fig.2, we accept the following conditions: Condition of Compatibility connected ends (nodes) of adjacent springs have the same displacements Condition of Static Equilibrium the resultant force at each node is zero Constitutive Relation that describes how the material (spring) responds to the applied loads Figure 6: Model spring system The constitutive relation can be obtained from the governing equation for an elastic bar loaded axially along its length: d du l AE l l 0 + k = 0 (1) l 0 = ε (2) d du d du df du df du (AEε) + k = 0 (3) (Aσ) + k = 0 (4) + k = 0 (5) = k (6) df = kdu (7) The spring stiffness equation relates the nodal displacements to the applied forces via the spring (element) stiffness. From here on in we use the scalar version of Eqn.7. 3

Derivation of the Stiffness Matrix for a Single Spring (Element From inspection, we can see that there are two degrees of freedom in this model, u i and u j. We can write the force equilibrium equations: k (e) u i k (e) u j = F i (e) k (e) u i + k (e) u j = F j (e) (8) (9) In matrix form ke k e k e k e u i = F (e) i (10) j F j (e) The order of the matrix is [2 2] because there are 2 degrees of freedom. Note also that the matrix is symmetrical. The element stiffness relation is: K (e) u (e) = F (e) (11) Where K (e) is the element stiffness matrix, u (e) the nodal displacement vector and F (e) the nodal force vector. (The element stiffness relation is important because it can be used as a building block for more complex systems. An example of this is provided later.) Derivation of a Global Stiffness Matrix For a more complex spring system, a global stiffness matrix is required i.e. one that describes the behaviour of the complete system, and not just the individual springs. From inspection, we can see that there are two springs (elements) and three degrees of freedom in this model, u 1, u 2 and u 3. As with the single spring model above, we can write the force equilibrium equations: 4

k 1 u 1 k 1 u 2 = F 1 (12) k 1 u 1 + (k 1 + k 2 )u 2 k 2 u 3 = F 2 (13) k 2 u 3 k 2 u 2 = F 3 (14) In matrix form k 1 k 1 0 u 1 F 1 k 1 k 1 + k 2 k 2 u 2 = F 2 (15) 0 k 2 k 2 u 3 F 3 The global stiffness relation is written in Eqn.16, which we distinguish from the element stiffness relation in Eqn.11. [K]{u} = {F} (16) Note the shared k 1 and k 2 at k22 because of the compatibility condition at u 2. We return to this important feature later on. Assembling the Global Stiffness Matrix from the Element Stiffness Matrices Although it isn t apparent for the simple two-spring model above, generating the global stiffness matrix (directly) for a complex system of springs is impractical. A more efficient method involves the assembly of the individual element stiffness matrices. For instance, if you take the 2-element spring system shown, split it into its component parts in the following way and derive the force equilibrium equations k 1 u 1 k 1 u 2 = F 1 (17) k 1 u 2 k 1 u 1 = k 2 u 2 k 2 u 3 = F 2 (18) 5

k 2 u 3 k 2 u 2 = F 3 (19) then the individual element stiffness matrices are: k1 k 1 k 1 k 1 u 1 u 2 = F 1 F 2 and k2 k 2 k 2 k 2 u 2 u 3 = F 2 F 3 (20) such that the global stiffness matrix is the same as that derived directly in Eqn.15: k 1 k 1 0 u 1 F 1 k 1 k 1 + k 2 k 2 u 2 = F 2 (21) 0 k 2 k 2 u 3 F 3 (Note that, to create the global stiffness matrix by assembling the element stiffness matrices, k22 is given by the sum of the direct stiffnesses acting on node 2 which is the compatibility criterion. Note also that the indirect cells k ij are either zero (no load transfer between nodes i and j), or negative to indicate a reaction force.) For this simple case the benefits of assembling the element stiffness matrices (as opposed to deriving the global stiffness matrix directly) aren t immediately obvious. We consider therefore the following (complex) system which contains 5 springs (elements) and 5 degrees of freedom (problems of practical interest can have tens or hundreds of thousands of degrees of freedom (and more!)). Since there are 5 degrees of freedom we know the matrix order is 5 5. We also know that it s symmetrical, so it takes the form shown below: 6

We want to populate the cells to generate the global stiffness matrix. From our observation of simpler systems, e.g. the two spring system above, the following rules emerge: The term in location ii consists of the sum of the direct stiffnesses of all the elements meeting at node i The term in location ij consists of the sum of the indirect stiffnesses relating to nodes i and j of all the elements joining node i to j Add a negative for reaction terms ( k ij ) Add a zero for node combinations that don t interact By following these rules, we can generate the global stiffness matrix: This type of assembly process is handled automatically by commercial FEM codes Solving for (u) The unknowns (degrees of freedom) in the spring systems presented are the displacements u ij. Our global system of equations takes the following form: To find {u} solve {u} = {F}[K] 1 (22) Recall that [k][k] 1 = I = Identitiy Matrix = 1 0 0 1. 7

Recall also that, in order for a matrix to have an inverse, its determinant must be non-zero. If the determinant is zero, the matrix is said to be singular and no unique solution for Eqn.22 exists. For instance, consider once more the following spring system: We know that the global stiffness matrix takes the following form k 1 k 1 0 u 1 F 1 k 1 k 1 + k 2 k 2 u 2 = F 2 (23) 0 k 2 k 2 u 3 F 3 The determinant of [K] can be found from: a b c det d e f = (aei + bfg + cdh) (ceg + bdi + afh) (24) g h i Such that: (k 1 (k 1 + k 2 )k 2 + 0 + 0) 0 + ( k 1 k 1 k 2 ) + (k 1 k 2 k 2 ) (25) det[k] = k 12 k 2 + k 1 k 22 k 12 k 2 + k 1 k 22 = 0 (26) Since the determinant of [K] is zero it is not invertible, but singular. There are no unique solutions and {u} cannot be found. 8

Enforcing Boundary Conditions By enforcing boundary conditions, such as those depicted in the system below, [K] becomes invertible (non-singular) and we can solve for the reaction force F 1 and the unknown displacements {u 2 } and {u 3 }, for known (applied) F 2 and F 3. [K] = k1 + k 2 k 2 b k 2 2 = a (27) k c d det[k] = ab cd (28) det[k] = (k 1 + k 2 )k 2 k 22 = k 1 k 2 0 (29) Unique solutions for F 1, {u 2 } and {u 3 } can now be found k 1 u 2 = F 1 (k 1 + k 2 )u 2 k 2 u 3 = F 2 = k 1 u 2 + k 2 u 2 k 2 u 3 k 2 u 2 + k 2 u 3 = F 3 In this instance we solved three equations for three unknowns. In problems of practical interest the order of [K] is often very large and we can have thousands of unknowns. It then becomes impractical to solve for {u} by inverting the global stiffness matrix. We can instead use Gauss elimination which is more suitable for solving systems of linear equations with thousands of unknowns. 9

Gauss Elimination We have a system of equations x 3y + z = 4 (30) 2x 8y + 8z = 2 (31) 6x + 3y 15z = 9 (32) when expressed in augmented matrix form 1 3 1 2 8 8 6 3 15 4 2 (33) 9 We wish to create a matrix of the following form 11 12 13 1 0 22 23 2 (34) 0 0 33 3 Where the terms below the direct terms are zero We need to eliminate some of the unknowns by solving the system of simultaneous equations To eliminate x from row 2 (where R denotes the row) -2(R1) + R2 (35) 2(x 3y + z) + (2x 8y + 8z) = 10 (36) 2y + 6z = 10 (37) So that 1 3 1 0 2 6 6 3 15 4 10 9 To eliminate x from row 3 (38) 6(R1) + R3 (39) 6(x 3y + z) + ( 6x + 3y 15z) = 33 (40) 15y 9z = 33 (41) 1 3 1 4 0 2 6 10 (42) 0 15 9 33 10

To eliminate y from row 2 R2/2 y + 3z = 5 (43) 1 3 1 4 0 1 3 5 (44) 0 15 9 33 To eliminate y from row 3 R3/3 5y 3z = 11 (45) 1 3 1 4 0 1 3 5 (46) 0 5 3 11 And then -5(R2) + R3 (47) 5( y + 3z) + ( 5y 3z) = 36 (48) 18z = 36 (49) 1 3 1 4 0 1 3 5 (50) 0 0 18 36 2 = z (51) Substituting z = -2 back in to R2 gives y = -1 Substituting y = -1 and z = -2 back in to R1 gives x = 3 This process of progressively solving for the unknowns is called back substitution. 11

Basic Steps in FEM Modelling Consider a wall mounted bracket loaded uniformly along its length as in Fig.2 Figure 2: Wall mounted bracket The geometry is defined for us and is (relatively) complex. The boundary conditions are also defined and are: A uniform force per unit length along the upper edge Fixed x and y displacements along the clamped edge It is apparent that the bracket will respond mechanically under the action of the applied load and a system of internal stresses will develop (to balance the applied load). To calculate the stresses that develop we must first discretise the domain, assemble the global stiffness matrix [K], and then determine the nodal displacements {u} and resultant forces {F} using some iterative numerical technique (Gauss elimination, for instance). It is then a relatively trivial exercise to compute the stresses from the displacements (particularly for systems that remain elastic). 12