FEM

106
1 FEM & FVM: APPLICATION IN AUTOMOTIVE ENGINEERING (AU 412) Automotive & Marine Engineering Department NED University of Engg. & Technoogy Consultation Hours Every Wednesday: 1 pm – 2 pm Office Location Room # B2, First Floor

Transcript of FEM

Page 1: FEM

1

FEM & FVM: APPLICATION IN AUTOMOTIVE ENGINEERING

(AU 412)

Automotive & Marine Engineering Department

NED University of Engg. & Technoogy

Consultation Hours

Every Wednesday: 1 pm – 2 pm

Office Location

Room # B2, First Floor

Page 2: FEM

2

1. Introduction to Computational Mechanics

????

Page 3: FEM

3

•  Sub-discipline of Theoretical & Applied Mechanics

Some of the examples will be discussed briefly today

•  Computational methods and devices to study events governed by the principles of mechanics

•  Strong impact on manufacturing, medicine, defence, energy and transportation industries, etc.

Page 4: FEM

4

• Crashworthiness of a vehicle

• Design and optimization of the automobile components

•  Including Dynamic and fracture behaviour of a single component or an assembly.

Page 5: FEM

5

Computer-generated simulation of a full-size car in oblique impact with a cylindrical pole

• Simulations are cheaper than experiments

• Impact event (thousandth of a second) can be studied in detail

• All the information regarding damage to the car, passenger, deformation, forces, etc. can be obtained to design a safer and reliable structure.

Page 6: FEM

6

• A very new and one of the most challenging field • Development and implementation of different

mathematical models to describe living arganism‘s behaviour

• Used in studying from a small unit cell to a complete body

• Designing of implants, such as tooth, hip, knee, etc

Page 7: FEM

7

Simulation of a metallic rod impacting and piercing a collection of armor plates

Page 8: FEM

8

•  How to justify the reliablility of a certain computational method, model and tool??

Page 9: FEM

9

•  Major question raised to specialists in CM

This is where Academic Research comes in!

•  Validation and verification of the simulation tool being developed

•  Validation is basically the appropriateness of the scientific principles and mathematical models used

•  Best validation and verification is actual comparisons of CM predictions with real life observations, physical tests and experiments

Page 10: FEM

10

FEM & FVM: APPLICATION IN AUTOMOTIVE ENGINEERING (AU 413)

1.  Introduction to Computational Mechanics

2.  Computational Modelling – Basic Concepts

3.  Review of Mechanics of Solids and Structures

4.  Fundamentals of Finite Element Methods

5.  Numerical Integration (Analysis) Techniques

6.  FEM for Trusses, Beams, 2D Solids, 3D Solids

7.  Modelling Techniques

8.  Specialized Topics in FEA

Sessional Marks

1.  Test

2.  Individual Project

3.  Assignments

Proposal of Individual Project Due by 28th February, 2010

Page 11: FEM

11

Individual Project Proposal

1.  Title of the Project

2.  Student Name, Roll Number, Department

3.  Write one page proposal with three paragraphs

4.  First Paragraph should give an introduction to the problem

5.  Second Paragraph should discuss what is planned to be done

6.  Third paragraph should explain the expected outcome of the project

Consultation Hours

Every Wednesday: 1 pm – 2 pm

Individual Project Report Due by 13th August, 2010

Page 12: FEM

12

2. Computational Modelling – Basic Concepts

Processes leading to fabrication of advanced engineering systems

• We shall address the computational aspects, which are also underlined in the above figure.

• Focus will be on techniques of physical, mathematical and computational modelling.

• A good understanding of these techniques ensure a rapid and cost effective fabrication of and advanced engineering system.

2.1 Introduction

Page 13: FEM

13

2.2 What is FEM?

•  Analyst seeks to determine the distribution of some field variable, such as displacement in stress analysis, temperature or heat flux in thermal analysis, the electrical charge in electrical analysis….

•  A numerical method seeking an approximated solution of the distribution of field variables in the problem domain that is difficult to obtain analytically.

•  It is done by dividing the problem domain into several elements.

Page 14: FEM

14

•  Known physical laws are then applied to each small element.

•  Figure shows the finite element approximations for a one-dimensional case.

•  A continuous function of an unknown field variable is approximated using piecewise linear functions in each sub-domain, called an element formed by nodes.

•  Proper principles are followed to establish equations for the elements.

•  This process leads to a set of linear algebraic simultaneous equations for the entire system that can be solved to yield the required field variable.

Aim of this course is to study various concepts, methods and principles used in the formulation

of FE equations.

Page 15: FEM

15

2.3 Physical Problems in Engineering

•  Numerous physical engineering problems in a particular system.

•  FEM was initially used for stress analysis only.

•  Now a days, mathematical models of the FEM have been formulated for many physical phenomena in engineering systems.

•  Common physical problems solved using the standard FEM include:

  Mechanics of solids and structures

  Heat transfer

  Acoustics

  Fluid mechanics

 ….

•  The conceptual understanding of the methodology of the FEM is the most important, as the application of the FEM to all other physical problems utilizes similar concepts.

Page 16: FEM

16

2.4 Computational Modelling using the FEM

The behaviour of a phenomenon in a system depends upon:

•  geometry or domain of the system

•  property of the material or medium

•  boundary, initial and loading conditions

For an engineering system, the geometry or domain can be very complex. Also, the boundary and initial conditions can be complicated.

Therefore, very difficult to solve the governing differential equation using analytical means.

In practice, such problems are solved using numerical methods, one of them is FEM.

The procedure of computational modelling using the FEM broadly consists of four steps:

  Modelling of the geometry

  Meshing (discretization)

  Specification of material property

  Specification of boundary, initial and loading conditions

Page 17: FEM

17

The procedure of computational modelling using the FEM broadly consists of four steps:

•  Modelling of the geometry •  Meshing (discretization) •  Specification of material property •  Specification of boundary, initial and loading conditions

Page 18: FEM

18

2.5 Simulation

•  Based on the mesh, a set of discrete simultaneous system of equations can be formulated using different approaches.

•  There are a few types of approaches for establishing the simultaneous equations.

−  Based on energy principles, such as Hamilton’s principle, minimum potential energy principle, and so on. [FEM]

−  Based on the weighted residual method. [FEM]

−  Based on Taylor series. [FDM]

−  Based on control of conservation laws on each finite volume in the domain. [FVM]

•  After formulation of discrete simultaneous system of equations, it is fed to a solver to solve for the field variables at the node of the mesh.

•  This is the most computer hardware demanding process.

•  Different software package use different algorithms.

•  Two important considerations when choosing an algorithm are storage required and CPU time needed.

Page 19: FEM

19

2.6 Visualization

•  The result generated after solving the system of equations is usually a vast volume of digital data.

•  The results have to be visualized in such a way that it is easy to interpolate, analyze and present.

•  The visualization is performed through a so-called post-processor.

•  Most of these post processors allow the user to display 3D objects in many convenient and colourful ways on-screen.

•  Field variables can be plotted on the object in the form of contours, fringes, wire-frames and deformations.

Simulate a Real Life Phenomenon Summary

•  Briefly discussed steps involved in computer modelling and simulation

•  Subsequent sections will discuss what goes into the computer when performing FEM

Page 20: FEM

20

3. Review of Mechanics of Solids

3.1 Equations for Truss Members

•  A typical truss structure is shown in the figure.

•  Each truss member in a truss structure is a solid whose dimension in one direction is much larger than in the other two directions.

•  Force is applied in only one direction (x-direction).

•  Therefore, a truss member is actually a 1D solid.

Page 21: FEM

21

u

•  Lets assume that force is only acting in x-direction.

•  Due to this force the displacement of the end of the bar is u.

•  The force fx will cause stress and strain in only x-direction, i.e. σx, and εx, respectively.

•  For an infinitesimal element of the truss the strain-displacement relationship is simply given by:

Kinematic Equation

•  Hooke’s law for 1D solids has the following form: Constitutive Equation

•  Dynamic equilibrium equation for 1 solid is given by:

Page 22: FEM

22

•  Substituting Constitutive and Kinematic equations into dynamic equilibrium equation:

•  The static equilibrium equation for trusses is obtained by eliminating the inertial term:

3.2 Equations for Beam Members

•  A beam possesses geometrically similar dimensional characteristics as a truss member.

•  The difference is that the forces applied on beams are transversal.

•  Therefore, a beam experiences bending, i.e. the deflecion in the y direction as a function of x.

Page 23: FEM

23

•  There are several theories for analysing beam deflections.

•  These theories can be divided into two broad categories:

  Thin Beam Theory (Euler-Bernoulli beam)

  Thick Beam Theory (Timoschenko beam)

•  Euler-Bernoulli beam theory assumes that the plane cross-sections remain plane after bending and remain normal to the deformed centroidal axis.

•  With this assumption, we have

•  which means that shear stress is negligible.

•  Axial displacement, u, at a distance z from the centroidal axis can be given by

Page 24: FEM

24

•  θ is the rotation in the x-z plane.

•  Rotation can be obtained from the deflection of the centroidal axis of the beam, w, in z direction:

•  The relationship between the normal strain and the deflection can be given by

•  where L is the differential operator given by

Laplace Operator

Kinematic Equation

Constitutive Equation

•  Original Hooke’s law is applicable for beams

•  Because the beam is loaded in the transverse direction, there will be moments and corresponding shear forces.

Page 25: FEM

25

•  A small representative cell of length dx of the beam is shown above.

•  The beam cell is subjected to external force, fz, moment, M, shear force, Q, and inertial force, .

•  The moment on the cross-section at x results from the distributed normal stress σxx.

•  Normal stress σxx varies linearly in the vertical direction on the cross-section.

Page 26: FEM

26

•  Moments resulting from the normal stress on the cross-section can be calculated by the following integration over the area of the cross-section:

where I is the second moment of area of the cross-section with respect to y-axis.

•  Now consider the force equilibrium of the small beam cell in the z direction.

Page 27: FEM

27

•  We would also need to consider the moment equilibrium of the small beam cell with respect to any point at the right surface of the cell,

Neglecting the second order small term containing (dx)2 leads to

Substituting following equation of M into the above equation

yields,

Above equation gives the relationship between the moments and shear forces in a beam with deflection of the Euler-Bernoulli beam.

Page 28: FEM

28

•  Dynamic equilibrium equation for beams can be obtained by simply substituting the moment and shear forces relationship with the deflection.

into the force equilibrium relation

to give,

For static equilibrium equation for beam:

Page 29: FEM

29

3.3 Equations for Three-Dimensional Solids

•  Consider a continuous three-dimensional elastic solid with volume V and a surface S,

•  Surface of the solid is further divided into two types of surfaces: on which external forces are prescribed (SF); and on which the displacements are prescribed (Sd).

•  The solid can be loaded by body force fb and surface force fs in any distributed fashion.

•  At any point in the solid, the components of stress are indicated on the surface of an infinitely small cubic volume.

Page 30: FEM

30

•  On each surface, there will be a normal stress component, and two components of shearing stress.

•  The sign convention for the subscript is that the first letter represents the surface on which the stress is acting, and the second letter represents the direction of the stress.

•  For the state of equilibrium, summation of all the moments of forces about the central axis must be zero.

Page 31: FEM

31

•  There are six stress components in total at a point in solids. These stresses are often termed as stress tensor, denoted by,

•  Corresponding to the six stress tensors, there are six strain components at any point in a sold, given by,

•  Strain is the change of displacement per unit length, and therefore the components of strain can be obtained from the derivatives of the displacement:

Page 32: FEM

32

•  The six strain-displacement relationships can be rewritten in the following matrix form:

where U is the displacement vector, and has the form of

and L is a matrix of partial differential operators,

Kinematic Equation

•  The constitutive equation gives the relationship between stress and strain in solid materials. It is often termed Hooke’s law.

•  The generalized Hooke’s law for general anisotropic materials can be given by:

where c is a matrix of material constants, which are normally obtained through experiments.

Page 33: FEM

33

•  The constitutive equation can be written explicitly as

•  There are 21 independent material constants cij, which is the case for a fully anisotropic material.

•  For isotropic materials, c can be reduced to

where

•  There are only two independent constants among E, υ and G. The relationship among these three constants is

Page 34: FEM

34

•  To formulate the dynamic equilibrium equations, let us consider an infinitely small block of solid,

•  The equilibrium forces in the x-direction gives

where the term on the right-hand side of the equation is the intertial force term, and fx is the external body force applied at the centre of the block.

Page 35: FEM

35

•  Note that

•  Hence, previous equation becomes one of the equilibrium equation, given as

•  Similarly, the equilibrium of forces in y and z directions result into two other equilibrium equations:

•  The equilibrium equations in x, y and z directions can be written in concise matrix form:

where fb is the vector of external body forces in x, y and z directions:

Page 36: FEM

36

•  Using kinematic equation

and constitutive equation

The equilibrium equation can be further written in displacements:

Above relation is the general form of the dynamic equilibrium equation in matrix from.

For static equilibrium,

•  Equations obtained in this section are applicable to 3D solids.

•  The objective of most analysts is to solve the equilibrium equations and obtain the solution of the field variable, e.g. displacement.

•  Theoretically, these equations can be applied to all other types of structures such as trusses, beams, plates, and shells.

•  However, treating all the structural components as 3D solids makes computation very expensive, and sometimes practically impossible.

•  That is why, theories for specific geometries have been developed to reduce computational effort.

Page 37: FEM

37

3.3 Equations for Two-Dimensional Solids

•  Three-dimensional problems can be drastically simplified if they can be treated as a two-dimensional solid.

•  In general, thickness direction (e.g. z direction) is tried to be removed.

•  Assume that all the dependent variables are independent of the thickness direction and all external loads are independent of the z coordinate, and applied only in the x-y plane.

•  Therefore, we are left with a system with only two coordinates, the x and the y coordinates.

•  There are primarily two types of 2D solids.

1. Plane stress solid

2. Plane strain solid

•  Plane stress solids are those with thickness in z direction very small compared with the x and Plane stress solids are those with thickness in z direction very small compared with the x and y directions.

•  External forces are applied only in x-y plane.

•  Stresses in z direction (σzz,σxz, σyz) are all zero.

•  Plane strain solids are those solids whose thickness in z direction is very large compared with dimensions in x and y directions.

Page 38: FEM

38

•  For plane strain, external forces are applied evenly along the z axis, and the movement in z direction at any point is constrained.

•  The strain components in the z direction ( εzz,εxz,εyz) are all zero.

•  Note that for the plane stress problem, the strains εxz and εyz are zero, but εzz will not be zero.

Page 39: FEM

39

•  Similarly, for the plane strain problems, the stresses σxz and σyz are zero, but σzz will not be zero.

•  The system of equations for 2D solids can be obtained by omitting terms related to the z direction in the system equations for 3D solids.

•  The stress components are

•  Strain components are

•  The strain-displacement relationships are

•  The strain-displacement tensor

with differential operator matrix

Page 40: FEM

40

•  Constitutive equations for 2D in matrix form would be

where c is a matrix of material constants.

•  For plane stress, isotropic materials, we have

• To obtain the plane stress c matrix above, the conditions of σzz=σxz=σyz=0 are imposed on the generalized Hooke’s law for isotropic materials.

•  For plane strain case, εzz=εxz=εyz=0 are imposed to obtain

•  The dynamic equilibrium equations for 2D solids can be easily obtained by removing the terms related to the z coordinate from the 3D counterparts.

Page 41: FEM

41

Above 3D equations will become

•  These equilibrium equations can be written in a concise matrix form of

where fb is the external force vector given by

•  For static problems,

•  Above equations will be much easier to solve and computationally less expensive as compared with the equations for the 3D solids.

Page 42: FEM

42

4. Fundamentals for Finite Element Method

Page 43: FEM

43

4.2 Strong and Weak Forms

•  The partial differential equations developed in previous chapter, are strong forms of the governing system of equations for solids.

•  Obtaining the exact solution for a strong form of the system equation is usually very difficult for practical engineering problems.

•  The finite difference method can be used to solve system equations of the strong form to obtain an approximated solution.

•  However, the method usually works well for problems with simple and regular geometry and boundary conditions.

•  A weak form of the system equations is usually created using one of the following widely used methods:

  Energy principles

  Weighted residual mehods

•  The energy principle is a kind of variational principle which is particularly suited for problems of the mechanics of solids and structures.

•  The weighted residual method is a more general mathematical tool applicable, in principle, for solving all kinds of partial differential equations.

•  Weak form is often an integral form and requires a weaker continuity on the field variables.

Page 44: FEM

44

4.3 Hamilton’s Principle

•  Hamilton’s principle is a simple yet powerful tool that can be used to derive discretized dynamic system equations.

•  It states, “Of all the admissible time histories of displacement the most accurate solution makes the Lagrangian functional a minimum.”

•  An admissible displacement must satisfy the following conditions:

(a) the compatibility equations

(b) the essential or the kinematic boundary conditions

(c) the conditions at initial (t1) and final time (t2).

•  Mathematically, Hamilton’s principle states:

The Langrangian functional, L, is obtained using a set of admissible time histories of displacement and its consists of

where T is the kinetic energy, Π is the potential energy, and Wf is the work done by the external forces.

Page 45: FEM

45

•  The kinetic energy of the entire problem domain is defined in integral form

where V represents the whole volume of the solid, and U is the set of admissible time histories of displacements.

•  Potential energy in our case is elastic strain energy in the entire domain of elastic solids and structures can be expressed as

where ε are the strains obtained using the set of admissible time histories of displacements.

•  The work done by the external forces over the set of admissible time histories of displacements can be obtained by

where Sf represents the surface of the solid on which the surface forces are prescribed.

•  Hamilton’s principle allows one to simply assume any set of displacements, as long as it satisfies the three admissible conditions.

•  The assumed set of displacements will not usually satisfy the strong form of governing system equations unless we are extremely lucky, or the problem is extremely simple and we know the exact solution.

Page 46: FEM

46

4.4 Standard FEM Procedure Using Hamilton’s Principle

4.4.1 Domain Discretization

•  The solid body is divided into Ne elements.

•  The procedure is often called meshing, which is usually performed using so-called pre-processors.

•  An element is formed by connecting its nodes in a pre-defined consistent fashion to create the connectivity of the element.

•  The density of the mesh depends upon the accuracy requirement of the analysis and the computational resources available.

Page 47: FEM

47

4.4.2 Displacement Interpolation

•  The FEM formulation has to be based on a coordinate system.

•  In formulating FEM equations for elements, it is often convenient to used a local coordinate system.

•  Based on the local coordinate system defined on an element, the displacement within the element is now assumed simply by polynomial interpolation using the displacements at its node as

where h stands for approximation, nd is the number of nodes forming the element, and di is the nodal displacement at ith node.

Page 48: FEM

48

where nf is the number of Degrees of Freedom (DOF) at a node. For 3D solids, nf = 3.

Therefore, the total DOF for the entire element is ndxnf

N is a matrix of shape functions for the nodes in the element,

Page 49: FEM

49

4.4.3 Requisites for the Shape Functions

A. Delta Function Properties

•  The delta function property implies that the shape function Ni should be unit at its home node i,and vanishes at remote nodes j≠i of the element. B. Partitions of unity property

•  Shape functions are partitions of unity:

4.4.4 Formation of FE Equations in Local Coordinate System

Once the shape functions are constructed, the FE equation for an element can be formulated.

What we have until now:

- Interpolation of the nodes:

- Strain-displacemet equation (Kinematic Equation):

- Strain energy term:

Substituting the interpolation of nodes and kinematic equations into strain energy term.

Page 50: FEM

50

Substituting the interpolation of nodes and kinematic equations into strain energy term.

where B is often called the strain matrix, defined by

•  By denoting

which is called the element stiffness matrix, above strain energy equation can be rewritten as

Note that the stiffness matrix ke is symmetric!

Making use of the symmetry of the stiffness matrix, only half of the terms in the matrix need to be evaluated and stored.

•  Similarly, by substituting the relationship for the interpolation of nodes into the kinetic energy equation

Page 51: FEM

51

In the above equation, mass matrix of an element is generally denoted by

Therefore, kinetic energy can be rewritten as:

•  Finally, to obtain the work done by the external forces, interpolation of nodes is substituted into the following relation:

yields

By denoting

and

Therefore, total work done on the system is given by:

Page 52: FEM

52

If we now summarize,

•  Strain energy of an element is given by

•  Kinetic energy of an element is given by

•  Work done by external forces

•  Recall the Langrangian function L in the Hamilton’s principle

•  Substituting the relations for kinetic energy, strain energy and work done by external forces into the above equation:

•  Applying Hamilton’s principle, using

we have

Note that the variation and integration operators are interchangeable, hence we obtain

Page 53: FEM

53

•  Integrating the first term by parts, we obtain

A

Substituting the above above relationship in equation (A)

•  To have the integration in above equation as ZERO for an arbitrary integrand, the integrand itself has to vanish, i.e.

•  The only insurance for above equation to be satisfied is

•  Above equation is the FEM equation for an element, while ke and me are the stiffness and mass matrices for the element, and fe is the element force vector of the total external forces acting on the nodes of the element.

•  All these element matrices and vectors can be obtained simply by integration for the given shape functions of displacements.

Page 54: FEM

54

4.4.5 Coordinate Transformation

•  The element equation derived above is formulated based on the local coordinate system defined on an element.

•  In genera, structure is divided into many elements with different orientations, as shown below.

•  To assemble all the element equations to form the global system equations, a coordinate transformation has to be performed for each element.

•  The coordinate gives the relationship between the displacement vector de based on the local coordinate system and the displacement vector De for the same element, based on the global coordinate system:

Page 55: FEM

55

T is the transformation matrix, which has different forms depending upon the type of element and will be discussed in later lectures.

•  The transformation matrix can also be applied to the force vectors between the local and global coordinate systems:

in which Fe stands for the force vector at node i in the global coordinate system.

•  Substitution of above transformed equations in global coordinate system into element equation will yield:

where,

4.4.6 Assembly of Global FE Equation

•  The FE equations for all the individual elements can be assembled together to form the global FE system equation:

where K and M are the global stiffness and mass matrix, D is a vector of all the displacements at all the nodes in the entire problem domain, and F is a vector of all the equivalent nodal force vectors.

Page 56: FEM

56

4.4.7 Solving the Global FE Equation

•  By solving the global FE equation, displacements at the nodes can be obtained.

•  The strain and stress in any element can then be retrieved using kinematic and constitutive equations.

4.5 Static Analysis

•  Static analysis involves the solving of FE equation without the inertia terms. Hence, for the static system the equations take the form

•  There are numerous methods and algorithms to solve the above matrix equation.

•  The methods often used are Gauss elimination and LU decompositions for small systems, and iterative methods for large systems.

4.6 Analysis of Free Vibration

•  Free vibration analysis is the solution of the homogeneous equation, i.e. F = 0.

•  For a solid or structure that undergoes a free vibration, the discretized system equation becomes

•  The commonly used methods to obtain the eigen frequencies and eigen vectors are:

Jacobi’s method, bisection method, QR method, supspace iteration, Lanczos’ method.

Page 57: FEM

57

4.7 Transient Response

•  Structural systems are very often subjected to transient excitation.

•  A transient excitation is a highly dynamic, time-dependent force exerted on the solid or structure, such as earthquake, impact and shocks.

•  The widely used methods to solve such problems use direct integration method.

•  The direct integration method basically uses the finite difference method for time stepping to solve FE equations.

•  There are two main types of direct integration method: implicit and explicit.

•  Implicity methods are generally more efficient for a relatively slow phenomenon.

•  Explicit methods are more efficient for a very fast phenomenon, such as impact and explosion.

Recap of FEM Procedure

•  In FEM, the displacement field is expressed by displacements at nodes using shape functions defined over elements.

•  Once the shape functions are found, the mass matrix and force vector can be obtained.

•  The stiffness matrix can also be obtained, once the shape functions and the strain matrix have been found.

•  Therefore, to develop FE equations for any type of structure components, all one need to do is to formulat the shape function.

Page 58: FEM

58

5. FEM for Trusses

5.1 Introduction

•  A truss is one of the simplest and most widely used structural members.

•  It is a straight bar that is designed to take only axial forces, i.e. it deforms only in its axial direction.

•  Finite element equations for truss members will be developed in this section.

•  The element developed is commonly known as truss element or bar element.

•  Types of Trusses:

  Planar trusses

  Space trusses

Page 59: FEM

59

5.2 Shape Function Construction

•  Consider a structure consisting of a number of trusses or bar members.

•  Each of the members can be considered as a truss/bar element of uniform cross-section bounded by two nodes (nd=2).

•  Consider a bar element with nodes 1 and 2 at each end of the element, as shown in the figure.

•  The length of the element is le.

•  The local x-axis is taken in the axial direction of the element with the origin at node 1.

•  In the local coordinate system, there is only one DOF at each node of the element, and that is the axial displacement.

•  Therefore, there are 2 DOF for the element.

Page 60: FEM

60

•  In the FEM discussed previously, the displacement in an element should be written in the form

Where uh is the approximation of the axial displacement within the element, N is a matrix of shape functions, and de should be the vector of the displacements at the two nodes of the element:

•  Standard procedure for constructing shape functions is discussed in the following.

•  Assume that the axial displacement in the truss element can be given in a general form

where uh is the approximation of the displacement, α is the vector of two unknown constants, α0 and α1, and p is the vector of polynomial basis functions.

•  For this particular problem, we use up to the first order of polynomial basis.

•  Depending upon the problem, we could use higher order polynomial basis functions.

Page 61: FEM

61

•  The number of terms of basis functions depend upon the number of nodes and degrees of freedom in the element.

•  Polynomial basis functions usually be complete of orders, i.e. any lower terms is not skipped. This is to ensure the consistency.

•  In deriving the shape function, we use the fact that

•  Using,

•  Substituting the boundary conditions, we then have

•  Solving the above equation for α, we have

•  Substituting the above equation into

will yield

Page 62: FEM

62

•  The matrix of shape functions is then obtained in the form

where the shape functions for a truss element can be written as

Note that two shape functions have been obtained because we have two nodes in the truss element.

•  It is easy to confirm that these two shape functions satisfy the delta function property and the partitions of unity.

•  It is clearly shown in the figure that Ni gives the shape of the contribution from nodal displacement at node I, i.e. why it is called a shape function.

•  In this case, the shape functions vary linearly across the element, and they are termed linear shape functions.

•  Substitution of these shape function will show that displacement in the element varies linearly, therefore called a linear element.

Page 63: FEM

63

5.3 Strain Matrix

•  As discussed previously, the strain can be computed using kinematic equation, given by

With U=Nde, above equation becomes

where the strain matrix B has the following form for the truss element:

5.4 Element Matrices in the Local Coordinate System

•  Once the strain matrix B has been obtained, the stiffness matrix for truss elements can be obtained using,

where A is the area of cross-section of the truss element.

•  The mass matrix for truss elements can be obtained using

Page 64: FEM

64

•  The nodal force vector for truss elements can be obtained using

•  Suppose the element is loaded by an evenly distributed force fx along the x-axis, and two concentrated forces fs1 and fs2, respectively, at two nodes 1 and 2.

•  The total nodal force vector becomes

Page 65: FEM

65

5.5 Element Matrices in the Global Coord. System

•  Element matrices (stiffness, mass, nodal force) were formulated based on local coordinate system, where x-axis coincides with the mid axis of the bar.

•  In practical trusses, there are many bars of different orientations and at different locations.

•  To assemble all the element matrices to form the global system matrices, a coordinate transformation has to be performed for each element.

•  For a planar truss, the global coordinates X-Y can be employed to represent the plane of the truss.

•  The displacement at the global node i should have two components in the X and Y directions only: D2i-1 and D2i.

•  The coordinate transformation, which gives the relationship between the displacement vector de based on the local coordinate system and the displacement vector De, has the same form as discussed previously,

with

Page 66: FEM

66

and the transformation matrix T given by

in which

are the direction cosines of the axial axis of the element.

•  The force vector in the global coordinate system is

•  Equations for global stiffness Ke and mass Me matrix are given by

5.6 Boundary Conditions

•  The stiffness matrix Ke is usually singular, because the whole structure can perform rigid body movements.

•  These rigid body movements are constrained by supports or displacement constraints.

•  The imposition of these constraints lead to a symmetric positive definite, if sufficient displacements are constrained.

Page 67: FEM

67

5.7 Recovering Stress and Strain

•  Following equilibrium equation can be solved using standard routines and the displacements at all the nodes can be obtained after imposing the boundary conditions.

•  The stress in a truss element can also be recovered using the following equation:

5.8 Worked Examples

1. A uniform bar subjected to an axial force

Consider a bar of uniform cross-sectional area, shown in figure. The bar is fixed at one end and is subjected to a horizontal load of P at the free end. The dimensions of the bar are shown in the figure, and the beam is made of an isotropic material with Young’s modulus E.

Page 68: FEM

68

Exact Solution

We first derive the exact solution, as this problem is very simple. From Chapter 2, the strong form of a truss member is given by

Since the bar is free of body forces and hence fx=0. Hence,

The general form of solution for above equation can be obtained easily as

where c0 and c1 are unknown constants to be determined by boundary conditions.

The displacement boundary condition for this problem can be given as

Therefore, we have c0=0.

Page 69: FEM

69

Therefore, equation for u now becomes

Using,

we have,

The force boundary condition for this bar can be given as

Equating the right-hand side of above two σx equations, we obtain

The stress in the bar is obtained by substituting the above equation back into

we have

Similarly, u(x) can be obtained as,

Page 70: FEM

70

FEM solution

Using one element, the bar is modelled as shown in the figure above.

Using

*There is no need to perform coordinate transformation, as the local and global coordinate systems are the same.

*There is also no need to perform assembly, because there is only one element.

The finite element equation becomes,

where F1 is the reaction force applied at node 1, which is unknown at this stage.

Instead, what we know is the displacement boundary condition at node 1.

We can then simply remove the first equation in above, i.e.

Page 71: FEM

71

which leads to

This is the FE solution of the bar, which is exactly the same as the exact solution obtained.

The distribution of the displacement in the bar can be obtained by substituting,

into

yielding

which is exactly the same as the exact solution.

Using,

we obtain the stress in the bar

Page 72: FEM

72

2. A triangular truss structure subjected to a vertical force

Consider the plane truss structure shown in the figure. The structure is made of three planar truss members as shown, and a vertical downward force of 1000 N is applied at node 2. The figure also shows the numbering of the elements used, as well as the numbering of the nodes.

Page 73: FEM

73

• The local coordinates of the three truss elements are shown in the figure.

• The figure also shows the numbering of the global degrees of freedom, D1, D2,…,D6, corresponding to the three nodes.

•  There are six global degrees of freedom altogether, with each node having two DOFs.

•  However, there is actually only one degree of freedom in each node in the local coordinate system for each element.

•  DOF at each node have contributions from more than one element. For e.g. at node 1, the global degrees of freedom D1 and D2 have a contribution from elements 1 and 2.

Page 74: FEM

74

Following table shows the dimensions and material properties of the truss members in the structure.

Page 75: FEM

75

with

and

Page 76: FEM

76

For element 1:

Page 77: FEM

77

Similarly, for element 2:

And for element 3:

Page 78: FEM

78

•  Since the total global degrees of freedom in the structure is six, the global stiffness matrix will be a 6x6 matrix.

•  The assembly is done by adding up the contributions for each node by the elements that share the node.

•  For example, looking at the above figure, it can be seen that element 1 contributes to the degrees of freedom D1 and D2 at node 1, and also to the degrees of freedom D3 and D4 at node 2.

•  On the other hand, element 2 also contributes to the degree of freedom D1 and D2 at node 1, and also to D5 and D6 at node 3.

•  By adding the contributions from the individual element matrices into respective positions in the global matrix according the contributions to the degree of freedom. This process is called direct assembly.

Page 79: FEM

79

• At the beginning of the assembly, the entire global stiffness matrix is zeroed.

D1 D2 D3 D4 D5 D6

D1

D2 D3

D4

D5

D6

• As shown in the figure element 1 contributes to D1, D2,D3 and D4.

• Therefore, the contribution in the global form for element 1 is given by

D1 D2 D3 D4

D1

D2 D3

D4

Page 80: FEM

80

• Similarly, the contribution in the global form for element 2 is given by

D1 D2 D5 D6

D1

D2

D5

D6

Page 81: FEM

81

• Similarly, the contribution in the global form for element 3 is given by

D3 D4 D5 D6

D3

D4

D5

D6

Page 82: FEM

82

•  In summary, we can get the final global stiffness matrix by adding the above discussed elemental matrices.

which yields

•  The global matrix can normally be reduced in size after applying boundary conditions.

•  In this case, D1, D2 and D5 are constrained, and thus

• This implies that the first, second and fifth rows and columns will actually have no effect on the solving of the matrix equation.

Page 83: FEM

83

Hence,

•  The condensed global matrix becomes a 3 x 3 matrix, given as follows:

•  The constrained global FE equation is

where

and the force vector F is given as

Page 84: FEM

84

This implies that we have three simultaneous equations with three unknowns,

•  The final step would be to solve the FE equation, to obtain the solution for D3, D4, and D6.

•  In the present problem, it is possible to solve these equations manually to obtain,

•  To obtain the stresses in the elements, we use the constitutive equation given by,

Page 85: FEM

85

•  In engineering practice, the problem can be of a much larger scale, and thus the unknowns or number of DOFs will also be very much more.

•  Therefore, numerical methods, or so-called solvers for solving the FEM, have to be used.

Page 86: FEM

86

5.9 Higher Order One-Dimensional Elements

•  For truss members that are free of body forces, there is no need to use higher order elements, as the linear element can already give the exact solution.

•  However, for truss members subjected to body forces arbitrarily distributed in the truss elements along its axial direction, higher order elements can be used for more accurate analysis.

•  The procedure for developing such high order one-dimensional elements is the same as for the linear elements. The only difference is the shape functions.

•  In deriving high order shape functions, we usually use the natural coordinate ξ, instead of the physical coordinate x. The natural coordinate ξ is defined as,

where xc is the physical coordinate of the mid point of the one-dimensional element.

•  In the natural coordinate system, the element is defined in the range of -1 ≤ ξ ≤ 1.

Page 87: FEM

87

•  Figure shows a one-dimensional element of nth order with (n+1) nodes.

•  The shape function of the element can be written in the following form using so-called Lagrange interpolants:

where is the well known Lagrange interpolants, defined as

From above equation it is clear that

Page 88: FEM

88

One-dimensional QUADRATIC Shape Function:

Using the lagrange interpolant equation, the quadratic one-dimensional element with three nodes shown in figure above can be obtained explicitly as,

One-dimensional CUBIC Shape Function:

Page 89: FEM

89

1000 N

1.

2. Do the same with the following figure. All the truss members are of the same material (E = 70 GPa) and with the same cross-sectional area of 0.1 m2.

Page 90: FEM

90

Page 91: FEM

1. Work out the displacements of the truss structure shown in Figure. All the truss members are of the same material (E = 69.0 GPa) and with the same cross-sectional area of 0.01 m2. Follow the steps already discussed in the class and are given below: - Define local and global coordinates, node numbers and displacements (proper diagram of discretized and labeled model is necessary).

- Calculate the transformation matrix with the help of direction cosines for individual elements.

- Calculate element stiffness matrix in local coordinates.

- Calculate element stiffness matrix in global coordinates.

- Assemble the global stiffness matrix in global coordinates.

- Remove the singularity of the global stiffness matrix thus obtained.

- Solve the FE matrix equation to compute unknown displacements.

91

1D Truss Elements AU-412

Duration: 50 minutes

Page 92: FEM

1. Work out the displacements of the truss structure shown in Figure. All the truss members are of the same material (E = 69.0 GPa) and with the same cross-sectional area of 0.01 m2. Follow the steps already discussed in the class and are given below: - Define local and global coordinates, node numbers and displacements (proper diagram of discretized and labeled model is necessary).

- Calculate the transformation matrix with the help of direction cosines for individual elements.

- Calculate element stiffness matrix in local coordinates.

- Calculate element stiffness matrix in global coordinates.

- Assemble the global stiffness matrix in global coordinates.

- Remove the singularity of the global stiffness matrix thus obtained.

- Solve the FE matrix equation to compute unknown displacements.

92

1D Truss Elements AU-412

Duration: 50 minutes

1000 N

Page 93: FEM

93

Example: Linear Triangular Element We have used two-dimensional triangular elements to model the temperature distribution in a fin. The nodal temperatures and their corresponding positions for an element are shown in the figure. What is the value of temperature at X = 2.15 cm and Y = 1.1 cm?

Page 94: FEM

94

4. General Steps of a Finite Element Analysis

Step 1: Idealization

•  Assumptions to reduce the computation time

•  2D/3D/2 ½ D

Step 2: Descretize the Continuum

•  continuum is replaced by a series of simple, interconnected elements

•  elements are assumed to be connected at nodes

•  2D/3D/2 ½ D elements are available

•  Analyst must decide which type of element is appropriate for the problem at hand

•  Element size depends upon the type of solution required

•  Once FE mesh has been created, it should be ensured that element satisfies certain criteria, such as distortion, aspect ratio, etc.

Prepocessing Phase

Solution Phase

Postprocessing Phase

Page 95: FEM

95

Step 3: Selection of Shape Functions

•  In most cases polynomial interpolation functions are used

•  Simplest method of approximation is to assume linear interpolation function

•  Ni takes a value of 1 at node i, 0 at all other nodes

Step 4: Find the Element Properties •  Material properties are assigned as soon as elemental interpolation functions have been selected

•  Material properties depend upon the part/structure’s material

Step 5: Apply the Boundary Conditions •  Proper application of boundary conditions involve

-  Prescribed nodal displacements

-  Prescribed nodal or surface loads

Step 6: Solve the System of Equations •  Standard numerical techniques can be used to solve the unknown field variables at each node.

•  If system of equations is linear, a Gaussian elimination or Cholesky decomposition algorithm can be used.

•  If the set of equations is non-linear, then the solution procedure is more difficult to obtain and choice of solution then depends upon the size and type of the problem.

-  Prescribed nodal displacements

-  Prescribed nodal or surface loads

Step 7: Analyzing the Results

Page 96: FEM

96

General Tips for FEM Modelling

•  Use the simplest elements that will do the job.

•  Never use complicated special elements unless you are absolutely sure of what you are doing.

•  Always start with the coarsest mesh possible, that will capture the dominant behaviour of the physical model.

•  Some examples of where finer meshes should be used:

Page 97: FEM

97

•  Avoid bad aspect ratio (< 4)

•  Elements must not cross interfaces

Page 98: FEM

98

•  Elements geometry preferences

•  Boundary conditions

Page 99: FEM

99

•  Symmetry boundary Conditions

•  “Breaking Up” point loads at symmetry boundary conditions

Page 100: FEM

100

6. Practical Session

Task 1: Elastic response of a thick steel bracket

*All dimensions are in mm

Fixed Face P=1 MPa P=1 MPa

•  Clearly state the proper assumptions being made

•  Material is assumed to be Linear Elastic

•  E = 210 GPa; υ = 0.3

•  Plot principal stress distributions in the component

•  At what load structure will fail, if failure stress is 1 GPa

Page 101: FEM

101

6. Practical Session

Task 2: Elastic response of a thin steel bracket

*All dimensions are in mm

Fixed Face P=1 MPa

P=1 MPa

•  Clearly state the proper assumptions being made

•  Material is assumed to be Linear Elastic

•  E = 210 GPa; υ = 0.3

•  Plot principal stress distributions in the component

•  At what load structure will fail, if failure stress is 1 GPa

Page 102: FEM

102

6. Practical Session

Task 3: Eigen frequency analyses of block

50 mm x 50 mm x 50 mm

Fixed Face

•  Clearly state the proper assumptions being made

•  Material is assumed to be Linear Elastic

•  E = 210 GPa; υ = 0.3, density = 5.875e-6 kg/mm2

•  Write down the values of the first three eigen modes and plot the displacement magnitude for each eigen mode

Page 103: FEM

103

Assignment 2: 1.  Perform 3D analyses of task 1 and task 2.

2.  Plot principal stress profile for each case and compare with the 2D simulations performed in the class.

3.  Compare the von Mises stress plot of plane stress and plane strain case. Write a small paragraph about what differences you observe between the two case and if there exists any explanation for that?

Page 104: FEM

104

Assignment 3: Impact of a simplified structure of car with a wall.

Perform 2D analyses of an impact of a simplified car structure with a rigid wall.

1. Geometry:

structure

rigid wall

Page 105: FEM

105

1. Construct a 2D model of the sketch shown 1. Assign Material Properties as given below: Elastic E = 300 GPa υ = 0.3 Plastic σyield (MPa) εequivalent 900 0 10000 0.1 100000 1.0

3. Define the Contact properties - Use hard contact with frictionless behaviour 4. Velocity of the structure is 30 km/hr 5. It is assumed that engine power cuts off as soon as

structure strikes the wall (Hint: applied velocity should be removed as soon as the structure hits the wall).

6. Use explicit dynamic analysis procedure to solve the problem

7. Plot von Mises stress distribution at the point of impact

8. Deformed and undeformed shape of the structure

9. Create an animation of the solution using ABAQUS

Page 106: FEM

106

Y

Z

X

du

dv dw

Elementary Volume dV

dx

dy

dz