Solved Example | Finite Element Method | Part#1

E-Academy
28 Oct 202108:20

Summary

TLDRIn this educational video from E Academy, the presenter, DA, delves into solving a differential equation using the finite element method (FEM). The video focuses on a specific case where the differential equation involves a force function of -x squared. The domain is from 0 to 1, with both ends fixed, indicating no displacement. The objective is to find the displacement vectors across five nodes, divided into four linear elements, each of length 0.25. The video outlines the process of calculating the stiffness matrix for each element, highlighting the importance of the element's length and the shape functions in the local coordinate system. The summary sets the stage for the next video, which will address finding the force vector and its integration into the global system.

Takeaways

  • 📚 The video is a tutorial on solving a differential equation using the finite element method, focusing on the application of general steps previously discussed.
  • 🔍 The differential equation in question is a special case with 'a' specified as -1 and the force 'f' as -x^2, contrasting with the general form.
  • 📐 The domain for the problem is from 0 to 1, with both boundary conditions set to zero, indicating no displacement at either end of the domain.
  • 🛠 The target is to find the displacement vectors 'u' for an unspecified number of elements in the bar, which is later clarified to be four linear elements.
  • 🔑 The bar is divided into four linear elements, and the displacement at each node needs to be determined.
  • 📏 Each element's length is crucial for constructing the stiffness matrix, with each element having a length of 0.25 units.
  • 📝 The script outlines the general structure for the stiffness matrix at the element level, using shape functions and local coordinates.
  • 🔄 The stiffness matrix for each element is the same due to identical element lengths and material properties, allowing for a symmetric approach.
  • 📉 The shape functions, crucial for the stiffness matrix, are derived from the shear function and involve taking derivatives to integrate.
  • 🔍 The script mentions that the force vector will be discussed in a subsequent video, indicating a continuation of the tutorial series.
  • 📺 The video concludes with an invitation to subscribe for more educational content and a farewell until the next video.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is solving a differential equation using the finite element method.

  • What is the differential equation in the video a special case of?

    -The differential equation in the video is a special case of the general differential equation discussed in the finite element method steps, with 'a' specified as -1.

  • What is the force function 'f' in the differential equation?

    -The force function 'f' in the differential equation is minus x squared (-f(x) = -x^2).

  • What are the boundary conditions for the differential equation discussed in the video?

    -The boundary conditions are that the displacement at both ends of the domain is equal to zero, implying that the bar is fixed at both ends.

  • How many elements are used to divide the bar in the finite element method solution?

    -The bar is divided into four linear elements for the solution.

  • What is the length of each element when the bar is divided into four equal parts?

    -The length of each element is 0.25 units when the bar is divided into four equal parts.

  • What is the general structure of the stiffness matrix for an element level in the finite element method?

    -The general structure of the stiffness matrix for an element level involves the shape functions (psi_i and psi_j) and is dependent on the local coordinates x_a and x_b.

  • What is the significance of the shape functions in the context of the stiffness matrix?

    -The shape functions are crucial for determining the local stiffness matrix as they relate to the displacement and force within each element.

  • Why is it beneficial to solve the stiffness matrix at the local level?

    -Solving the stiffness matrix at the local level is beneficial because of the symmetry and uniformity in the matrix structure for all elements, allowing for easier assembly into the global system.

  • What is the next step after finding the stiffness matrix for each element?

    -The next step after finding the stiffness matrix for each element is to find the force vector for each element, which will be discussed in the next video.

  • How can the force vector be approached in terms of the local coordinate system?

    -The approach to finding the force vector may be similar to the stiffness matrix by working in the local coordinate system, but the specifics will be discussed in the next video.

Outlines

00:00

📚 Introduction to Solving Differential Equations with FEM

This paragraph introduces the video's focus on solving a specific differential equation using the finite element method (FEM). The equation is a special case with 'a' specified as -1 and force 'f' as -x^2. The domain is from 0 to 1 with boundary conditions set to zero displacement at both ends, indicating a fixed bar. The goal is to find the displacement vectors 'u' without knowing the number of elements in the bar. The bar is divided into four linear elements, and the process involves understanding the general steps of FEM and comparing them with the general differential equation discussed in previous videos.

05:01

🔍 Detailed Explanation of Stiffness Matrix and Element Length

The second paragraph delves into the importance of element length in calculating the stiffness matrix for FEM. It explains that the length of each of the four linear elements is 0.25 units, which is crucial for constructing the stiffness matrix at the element level. The paragraph outlines the general structure of the stiffness matrix using the shape functions 'psi' and their derivatives, which are integral to finding the matrix for each element. The uniformity in element length and the linear nature of the elements allow for a symmetric and simplified approach to calculating the stiffness matrix for all elements.

Mindmap

Keywords

💡Finite Element Method (FEM)

The Finite Element Method is a numerical technique used for solving differential equations that have a wide range of engineering applications. In the context of this video, FEM is the primary method being discussed for solving a specific differential equation related to structural analysis. The script mentions that the equation is a special case of those typically solved using FEM, highlighting the method's versatility and application in various scenarios.

💡Differential Equation

A differential equation is an equation that involves derivatives of a function with respect to one or more variables. In the video, a specific differential equation is presented, which is central to the problem being solved. The script specifies that the equation has a particular form with 'a' as -1 and 'f' as -x^2, indicating the unique characteristics of the problem at hand.

💡Boundary Conditions

Boundary conditions are constraints applied to the solution of a differential equation at the limits of the domain. In this video, the boundary conditions are that the displacement at both ends of the domain is zero, indicating a fixed bar with no movement at either end. These conditions are essential for setting up the problem correctly in the FEM framework.

💡Displacement Vectors

Displacement vectors represent the movement or deformation of a structure under load. The script mentions finding the displacement vectors as the target of the analysis, which is a critical output in structural problems solved using FEM. These vectors provide insight into how the structure behaves under the given conditions.

💡Shape Functions

Shape functions are mathematical functions used in FEM to describe the shape of an element within a mesh. They are essential for constructing the stiffness matrix and for assembling the global system of equations. The script refers to these functions as 'psi' and discusses their role in the local coordinate system of each element.

💡Stiffness Matrix

The stiffness matrix is a key component in FEM that relates the internal forces within an element to its deformation. The script explains how to construct this matrix for each element, emphasizing its importance in the analysis. The matrix is derived from the shape functions and the properties of the material, such as the coefficient 'a' in the differential equation.

💡Local Coordinate System

A local coordinate system is used to describe the properties of an element within a FEM model independently of the global system. The script discusses how the stiffness matrix is initially calculated in the local system and then assembled into the global system. This approach simplifies the process of solving the equations for each element.

💡Global Coordinate System

The global coordinate system is the overall reference frame for the entire FEM model. After calculating the properties of each element in their local systems, these are assembled into the global system to solve for the overall behavior of the structure. The script mentions the process of elevating the local stiffness matrices into the global system.

💡Shear Functions

Shear functions, in the context of FEM, are related to the deformation of an element due to shear forces. The script mentions these functions in relation to the shape functions, indicating their role in calculating the derivatives needed for the stiffness matrix.

💡Element Length

The length of each element is a critical parameter in FEM as it affects the calculation of the stiffness matrix and the force vector. The script specifies that the bar is divided into four linear elements, each with a length of 0.25 units, which is used to define the local properties of each element.

💡Force Vector

The force vector represents the external forces acting on the structure within the FEM model. The script indicates that the force vector will be discussed in a subsequent video, suggesting that it is a separate but equally important aspect of the FEM analysis process.

Highlights

Introduction to solving a differential equation using the finite element method.

The differential equation is a special case with specific values for 'a' and 'f'.

Comparison of the given differential equation with the general form used in finite element method steps.

Domain of the problem is from zero to one with both ends having zero displacement.

The bar is fixed at both ends, implying no displacement.

Objective is to find the displacement vectors 'u' for an unknown number of elements.

Division of the bar into four linear elements for analysis.

Identification of nodes and elements in the system.

Importance of element length 'h' in calculating the stiffness matrix.

General structure of the stiffness matrix at the element level.

All elements are linear with the same stiffness matrix structure due to uniform length and properties.

Derivation of shape functions and their role in the stiffness matrix calculation.

Integration of shape functions to obtain the stiffness matrix for each element.

Same initial stiffness 'c' and length for all elements, resulting in identical stiffness matrices.

Assembly of element stiffness matrices into the global system.

Upcoming discussion on finding the force vector for each element in the next video.

Invitation to subscribe for more educational content on the finite element method.

Transcripts

play00:04

hello everyone this is d a from e

play00:06

academy in this video we will be solving

play00:08

example

play00:09

uh related to the finite element method

play00:12

because previously what we have

play00:14

seen and what we have discussed is about

play00:16

the general steps uh that is in the

play00:19

finite element method so now we will be

play00:22

taking a differential equation and we

play00:24

will trying to solve it with the help of

play00:25

the finite element method uh by

play00:28

specifying the general and the mandatory

play00:30

things

play00:30

so let's start so we want to solve this

play00:34

differential equation

play00:35

with the help of the finite element

play00:36

method and this differential equation is

play00:39

the special case of the differential

play00:40

equation that we have seen differential

play00:42

equation that we have seen in the steps

play00:44

of the finite element method because

play00:45

here a the small a that we have seen in

play00:49

the previous videos is specified as -1

play00:52

and you can compare it by yourself and

play00:55

the force

play00:56

small f here is minus x square because

play00:59

usually the force was on the other side

play01:01

of the equation that's why it's minus x

play01:03

square in this differential equation so

play01:05

to better understand you have to compare

play01:07

it

play01:08

with the general differential equation

play01:11

that we have

play01:12

discussed earlier in the finite element

play01:15

method steps

play01:17

so here is a differential equation and

play01:20

the domain is

play01:22

from zero to one the two boundary

play01:23

condition that we have the first one is

play01:26

that the displacement at the first end

play01:28

is equal to zero

play01:30

and the other boundary condition is

play01:31

displacement at the other end is also

play01:33

equal to zero so displacement at both

play01:36

ends of the domain is equal to zero

play01:38

which implies that the bar is

play01:41

fixed

play01:42

from both of the ends here there is no

play01:45

displacement on both of the ends

play01:48

and the target is to find

play01:52

uh the displacement vectors u basically

play01:56

uh and how we can find the displacement

play01:58

vectors if we don't know how

play02:00

many elements are in there

play02:03

uh in this bar so four

play02:06

and it should be linear as well

play02:09

so we have to divide the bar in four

play02:12

elements into four linear elements and

play02:15

we have to find the displacement on each

play02:17

of those

play02:18

ends right so let's

play02:22

specify this general bar with these

play02:24

uh four element system

play02:27

here is our bar and

play02:29

both ends are fixed which implies that u

play02:32

at zero is equal to zero and u at one is

play02:36

equal to one a is equal to zero as well

play02:38

so this is the first

play02:40

node this is the second node this is the

play02:43

third node fourth node and the fifth

play02:45

node these nodes are in the full

play02:48

coordinate system right

play02:50

and how many elements do we have this is

play02:53

the first element the second element the

play02:55

third element and the fourth element as

play02:57

per

play02:58

the

play02:59

question

play03:00

right so this is the question that we

play03:02

have now we are going to solve it uh to

play03:05

find the

play03:06

u to find the displacements on each of

play03:09

these nodes

play03:11

right in on all of these five nodes so

play03:13

let's start the solution

play03:16

first of all we know that

play03:19

the length of each element matters a lot

play03:22

uh because in order to put in the

play03:24

stiffness matrix you know to find the

play03:25

stiffness matrix now to find the force

play03:27

vector it is really important to know

play03:30

the h the length for each element

play03:33

as we know this is the zeroth

play03:36

x and this is

play03:38

the x is equal to one

play03:40

so if

play03:41

there are four

play03:42

linear elements then the length for each

play03:44

element should be point

play03:46

two

play03:47

five right units

play03:50

point two five here this is the point

play03:52

two five right

play03:53

and this is point five

play03:55

this is point seven five

play03:57

and this is one right so the length for

play04:00

each element is 0.25

play04:02

and we know the general structure for

play04:04

the stiffness matrix uh that we have

play04:06

seen in the previous videos so let's

play04:09

write it down here for the stiffness

play04:11

matrix

play04:12

uh for the element level and x a and x b

play04:14

right here uh the one the first and then

play04:17

the second end because this is the x

play04:20

axis so we have psi

play04:23

that is also known as the three function

play04:24

we have discussed in the previous videos

play04:26

the link of all the previous videos will

play04:28

be in the card and will be in the

play04:29

description

play04:31

here the x bar is showing that we are in

play04:34

the local area here so this is for the

play04:37

element level which implies that we are

play04:38

on the local level psi i and i j are the

play04:41

share functions

play04:42

for the element levels for a particular

play04:45

element so this is how we can find the

play04:47

stiffness matrix for each of the element

play04:49

now the now the

play04:50

point here

play04:51

that all of these elements

play04:54

all of these elements are linear and the

play04:57

stiffness matrix

play04:58

the structure of the stiffness matrix

play05:00

would be the same for each of these

play05:03

elements weak in the structure because

play05:05

we have the shape function the shape

play05:07

functions won't change at each end plus

play05:11

the length of the element is also same

play05:14

the length of each element is 0.25 and

play05:16

that there is no difference in the

play05:17

length of each element that's why the

play05:19

stiffness matrix for each element

play05:22

for example if we find the stiffness

play05:23

matrix for e1

play05:25

the first element that will be the same

play05:28

for e2 because

play05:30

here we are in the local system so in

play05:33

local level this would be 0 and this

play05:36

would be 0.25 again for the e3 we are in

play05:40

the local system this point would be 0

play05:42

this point would be 0.25 and so on so

play05:45

that is very positive and the beneficial

play05:48

point for the stiffest matrix is that we

play05:50

can solve it

play05:53

by going into the local level and just

play05:55

elevate them because there is no

play05:57

difference there is symmetry in this

play05:59

difference matrix

play06:01

so let's solve it for the element level

play06:02

one

play06:03

before going into this we have to recall

play06:06

this psi 1 inside of the shear functions

play06:08

because the shear function is y minus x

play06:10

bar by

play06:12

the length of each element so x 1 minus

play06:15

x bar divided by 0.25 and here this

play06:18

would be x bar by zero point two five

play06:21

right so this is psi one and this is psi

play06:23

two we just what we are going to do

play06:25

we're just going to plug it there and

play06:27

we're going to take the derivative of

play06:29

each of the side one because if we want

play06:30

to take the derivative of this

play06:32

it would be this

play06:35

it would be 0 minus

play06:38

[Music]

play06:39

1 by 0.25 and this would be 1 by 0.25 so

play06:44

this would be the derivative

play06:46

for this shape function one and for the

play06:48

save function too and this would be the

play06:50

shape function one and two we were we

play06:53

have just plug the values in here take

play06:56

the integration

play06:58

so after plugging the values and taking

play07:00

the integration the output would be

play07:05

so that would be the stiffness matrix

play07:08

for each of the element and this is this

play07:11

would be the same for all of the

play07:12

elements because why because all of

play07:14

these elements are sharing the same a

play07:18

initial stiffness c that is minus 1 and

play07:21

and the length for each interval

play07:24

so this is same this stiffness is same

play07:27

for the all element so this is the

play07:29

stiffness matrix for each of the element

play07:32

again this is in the local coordinate

play07:33

system we have to assemble them lately

play07:36

uh

play07:37

to elevate them into the global system

play07:39

but this is the main structure for the

play07:41

element level one

play07:43

we are just going to write it

play07:46

on the side in order to use it later now

play07:49

we are going to find out the force

play07:52

vector

play07:53

first thing that we have done here we

play07:55

have solved the stiffness matrix for

play07:57

each element level talk about the force

play07:59

vector in the next video that how we can

play08:02

find the force vector for each element

play08:03

and is it possible to

play08:06

solve the force vector just like the

play08:08

stiffness matrix on the local coordinate

play08:10

system or we have to change the

play08:11

technique so this is for now look for

play08:13

more such videos then you can subscribe

play08:14

this channel to watch more upcoming

play08:15

videos we will meet in the next video

play08:17

till then take care goodbye

Rate This

5.0 / 5 (0 votes)

الوسوم ذات الصلة
Finite ElementDifferential EquationsStructural AnalysisEngineering TutorialEducational ContentNumerical MethodDisplacement VectorStiffness MatrixLinear ElementsEngineering Mechanics
هل تحتاج إلى تلخيص باللغة الإنجليزية؟