ME 405 Applications of Finite Element Analysis Introduction to Finite Element Method Introduction • Finite Element Method (FEM) is a numerical method for solving differential equations FEM PDEs for fluid or structural mechanics Algebraic equations [A]{x} = {B} • Why? - because we generally cannot solve most of the equations analytically, however we have several direct and iterative methods for algebraic system of equations. • Typical engineering applications Structural analysis - Computational Structural Dynamics (CSD) Fluid flow analysis – Computational Fluid Dynamics Heat transfer Acoustics Mathematical Modeling 2 Introduction The FEM basically includes the following steps • Partition the domain with elements. Elements can be of arbitrary shape Unstructured elements are possible Triangular, quad; tetrahedral hexahedral or hybrid… • Define Interpolating or shape functions In each element a parametric representation of the unknown variables is defined. • Define an integral formulation (weak form) of the equations • The integral formulation is discretized based on the variable definitions in each element and the element geometry. • Assemble the global system using the element stiffness matrices and nodal connectivity data. • Apply the initial (for time dependent problems) and boundary conditions and solve the linear system of equations. 3 Basic concepts • A simple element that can be used to examine the stiffness concept is the spring element. Spring force-displacement relation 4 Basic concepts • Force equilibrium for spring element Node i Node j Matrix form Note that k is symmetric. 5 Basic concepts • Consider a system of two springs Element 1 Element 2 Nodal forces In matrix form 1 2 3 6 Basic concepts • Observe that the global system is a superposition of local element matrices 1 Element 1 1 2 2 2 Element 2 3 2 3 This matrix assembly procedure is very simple and applies to finite element modeling of any complex structure. 7 Basic concepts • Boundary conditions For the global system we need to apply boundary conditions otherwise the global stiffness matrix will be singular. We will typically have displacement and traction BCs for structural analysis. Consider for example, Applied loads. Fixed at node 1. We want to solve for the unknown displacements and the reaction force 𝐹1 . Applying the BCs the system becomes and Solve for the displacements and 8 Basic concepts • Example For the following spring system find the global stiffness matrix. assemble symmetric, banded, but singular. BCs need to be applied. 9 Basic concepts • Example 10 Basic concepts • Example Apply BCs The finite element equation system is The 1st and 4th rows and columns are deleted The reactions are obtained from the 1st ans 4th equations For spring 2 11 Bar Element • Linear-elastic material • Small deformations • Constant cross-sectional area (prizmatic) • Directly applicable to the solution of pin-connected trusses (Plane or 3D trusses.) • In 2D – x and y are global – can be used for plane truss analysis for example. • The local direction is 𝑥 • We will first consider the stiffnes matrix in local coordinates with direct stiffnes method. 12 Bar Element • Bar element in local coordinates Hooke’s law: Strain-displacement relation: Force equilibrium Select a displacement function 13 Bar Element • Shape functions Displacement function Shape functions for bar element 14 Bar Element • Stifness matrix – direct method The bar act as a sprink with element stiffness matrix Element equilibrium equation is 15 Bar Element • Example Element 1 Element 2 Find the stresses in the two bar assembly which is loaded with force P, and constrained at the two ends. Assembled system Now apply BCs. 16 Bar Element • Example Boundary conditions • Exact stress values within the linear theory for 1-D bar structures • No need to further divide the elements. • Averaged cross-sectional areas should be used for elements if the bars are tapered. 17 Basic concepts review FEM for structural analysis • Divide structure into pieces (finite elements) The elements are connected at the nodes to model the complex structure. The unknows are defined at the nodes. • Difine how the variables behave in each element • Based on this definition each element will have a stiffness matrix which relates the nodal displacement to element forces. For example, 𝑘𝑒 𝑥𝑒 = 𝑓 𝑒 • The size of the stiffness matrix depends on the degrees of freedom (number of element nodes and number of unknowns at each node.) • Each element stiffness matrix will be assembled based on nodal connectivity data to form a global stiffness matrix for the whole structure, for example in the form of 𝐾 𝑥 = 𝐹 • When the BCs are applied this linear system can be solved for the nodal displacements, then the stresses and strains can be calculated for each element. 18 References • Y. Liu, 1998. Introduction to the Finite Element Method, lecture notes, University of Cincinnati. • Daryl L. Logan, A First Course in the Finite Element Method, 2007. 19