Dr. Simulate
Dr. Simulate
  • 11
  • 44 365
Finite Element Method Explained in 3 Levels of Difficulty (My #SoMEpi Contribution)
The finite element method is difficult to understand when studying all of its concepts at once. Therefore, I explain the finite element method in three levels with increasing complexity. At each level, different shape functions are introduced for discretizing the solution function of the given differential equation. At the first level, the shape functions are defined globally. At the second level, the shape functions are defined at the element level. And at the third level, the shape functions are defined on a reference element. Along the way, the concepts of assembly, integration by substitution and Gaussian quadrature are explained.
Video about the weak formulation: ua-cam.com/video/xZpESocdvn4/v-deo.html
This is my contribution to the Summer of Math Exposition (SoME). You can support me by joining the competition as a judge until August 18: some.3b1b.co/
0:00 Introduction
2:45 Level 1
19:37 Level 2
26:33 Level 3
38:21 Summary
Keywords: finite element method, finite element analysis, partial differential equation, Poission problem, weak formulation, discretization, assembly, isoparametric concept, reference element, Gaussian quadrature
Music: Swans In Flight - Asher Fulero
Переглядів: 4 665

Відео

The Difference between Stress and Traction
Переглядів 1,5 тис.2 місяці тому
This video is part of a series of videos on continuum mechanics (see playlist: ua-cam.com/play/PLMF9mxKF2mHIiy-roDINLmJz_AVXTber6.html&si=W5nGEvEWdF5XOoh6). Keywords: continuum mechanics, solid mechanics, fluid mechanics, partial differential equations, boundary value problems, linear elasticity, small strain elasticity, infinitesimal strain elasticity, Cauchy stress tensor, traction Recommenda...
Visualizing the Strain Tensor
Переглядів 2,5 тис.5 місяців тому
This video is part of a series of videos on continuum mechanics (see playlist: ua-cam.com/play/PLMF9mxKF2mHIiy-roDINLmJz_AVXTber6.html&si=W5nGEvEWdF5XOoh6). The (small or infinitesimal) strain tensor is a mathematical construct to quantify the deformation of matter in continuum mechanics. But how can we visualize it? This question is answered in this video. 0:00 Introduction 1:04 Visualizing th...
The Strain Tensor and its Weird Formula
Переглядів 4,3 тис.6 місяців тому
This video is part of a series of videos on continuum mechanics (see playlist: ua-cam.com/play/PLMF9mxKF2mHIiy-roDINLmJz_AVXTber6.html&si=W5nGEvEWdF5XOoh6). The strain tensor is a mathematical construct to quantify the deformation of matter in continuum mechanics. But the formula for the strain tensor looks unintuitive at a first glance. In this video, the (small or infinitesimal) strain tensor...
Continuum Mechanics Introduction in 10 Minutes
Переглядів 5 тис.6 місяців тому
Continuum mechanics is a powerful tool for describing many physical phenomena and it is the backbone of most computer simulations used in academic or industrial research. This video introduces with many visual animations the idea behind continuum mechanics (or continuum physics), where physical state variables are described by spatio-temporal fields. This is the first video of a series of video...
I Finally Understood the Weak Formulation for Finite Element Analysis
Переглядів 26 тис.6 місяців тому
The weak formulation is indispensable for solving partial differential equations with numerical methods like the finite element method. Yet, the concept of the weak formulation is not easy to understand by just staring at the formulae. This video aims to visually explore the weak formulation following a simple example, i.e., the one-dimensional Poission equation with Dirichlet and Neumann bound...

КОМЕНТАРІ

  • @tilkesh
    @tilkesh 5 днів тому

    Thanks

  • @frnndnbl
    @frnndnbl 5 днів тому

    Omg best video on finite element ever. Ive only learn up to level 2 and got brief introduction to level 3 for structural engineering. This video give me better insight on the latter

  • @zahraakhalife9150
    @zahraakhalife9150 6 днів тому

    Thank you ❤

  • @padaddadada5417
    @padaddadada5417 8 днів тому

    First thank you so much for this video, I have a question does FEM work only if the starting equation is u(x)´´ = f(x) does the problem or the differential equation has to have this form ?

    • @DrSimulate
      @DrSimulate 7 днів тому

      Hi. No, I am just using this equation as an example (because it is the most often used example). The FEM can be applied to a variety of different problems.

  • @RSLT
    @RSLT 10 днів тому

    Informative! and Loved it!

  • @cooler291991
    @cooler291991 11 днів тому

    Thank you for your effort in making such an insightful video. More cheers to you. Waiting for more such videos from your channel

  • @ishfaqtakkar210
    @ishfaqtakkar210 11 днів тому

    I have taken multiple course in FEA but your explanation incredible and amazing!!! Please continue this series of videos.

    • @DrSimulate
      @DrSimulate 10 днів тому

      Thanks for the kind words! :)

  • @robm624
    @robm624 15 днів тому

    Loved the video but I have a bit of a question. If the reason we need the weak form is because our shape functions can only be differentiated once, why do we not use quadratic shape function and stick with the strong form? Thanks!

    • @DrSimulate
      @DrSimulate 15 днів тому

      This was discussed also in another comment. I don't know how to link it here. Maybe you can find it under this video or under the other video on FEM. But your are right, I am not telling the full story in the video and I understand the confusion. Even when using quadratic shape functions, the derivatives of u are not continuous at the nodes. Therefore, the strong form could not be fulfilled at the nodes. To understand why this is not a problem in the weak formulation, one would need to study which function space u belongs to and study a bit of measure theory, which was not the purpose of the video. There are indeed methods that work with the strong form. These are called collocation methods. You assume an ansatz, insert it in the strong form and minimize the residuals of the strong form a set of points x. Such methods have in general not as nice properties as the FEM based on the weak form.

    • @robm624
      @robm624 14 днів тому

      @@DrSimulate Ah I think I understand, it would be great to see a video on that at some point!

    • @robm624
      @robm624 14 днів тому

      For anyone else interested, if you go to the FEM video ua-cam.com/video/1wSE6iQiScg/v-deo.html and crtl+F for this: "I have a question though. If you had chosen 2nd or higher order polynomials for the shape functions N(x), u''(x) would not necessarily be 0 everywhere." The comment should come up

    • @DrSimulate
      @DrSimulate 10 днів тому

      @@robm624 Yes, I hope I can do a video that is more mathematically rigorous and covers e.g. the function spaces in the future :)

  • @Prashanth-yn9zd
    @Prashanth-yn9zd 17 днів тому

    I demonstrated that a symmetric stress tensor implies the conservation of angular momentum in my continuum mechanics exam, but I truly understood the concept just now. Thank you for showing the visualization.

  • @Prashanth-yn9zd
    @Prashanth-yn9zd 17 днів тому

    The gradient of displacement tensor is zero for the translation of a body coz, translation is defined as u(x) = u_0, where u_0 is constant

    • @DrSimulate
      @DrSimulate 17 днів тому

      That's right. Do I say something contradicting in the video? If yes, can you tell me were? :)

    • @Prashanth-yn9zd
      @Prashanth-yn9zd 17 днів тому

      @@DrSimulate sorry, you did not say anything contradicting. I added this info so that if someone wants to know why the displacement tensor is zero for the translation, they can find it in the comment section.

    • @DrSimulate
      @DrSimulate 17 днів тому

      @@Prashanth-yn9zd Ahh, I see. Thanks, appreciate it! :D

  • @Prashanth-yn9zd
    @Prashanth-yn9zd 17 днів тому

    This is the best. 4 months of the course is beautifully summarized in 40 mins!! Please make a video on the Boundary element method if possible!

  • @boutyourelhassan7644
    @boutyourelhassan7644 17 днів тому

    Generaly, one begins with the hypothesis of continuum mechanics

  • @RSLT
    @RSLT 19 днів тому

    ❤❤❤ liked and subscribed! Love to see more on this and, hopefully, the riemann hypothesis.

  • @cleisonarmandomanriqueagui9176
    @cleisonarmandomanriqueagui9176 20 днів тому

    What about shape functions in 3 dimentions ? and how we input any geometry ? . then how the equation gets modified to solve problems with damping and nonlinear terms ? . excellent video , thanks for sharing

    • @DrSimulate
      @DrSimulate 18 днів тому

      @@cleisonarmandomanriqueagui9176 I plan to cover all these questions in future videos :)

  • @stitaswain7349
    @stitaswain7349 28 днів тому

    Thank you so much for such great videos. Pls keep making it and helping us students to learn more from you. This channel will grow lije crazy.

    • @DrSimulate
      @DrSimulate 27 днів тому

      @@stitaswain7349 Thanks :)

  • @amarug
    @amarug 29 днів тому

    Well done, love it!

  • @nitishyadav8801
    @nitishyadav8801 Місяць тому

    Thanks

  • @5eurosenelsuelo
    @5eurosenelsuelo Місяць тому

    26:35 What would happen if you over-defined the system of equations by an additional test function? As you said, it's always true for ANY test function so I'm wondering if the resulting system of equations would have no solutions or infinite solutions. Great video by the way! Regarding the question to viewers at 29:50, all topics sound very interesting. I came to this video from the one you did on Finite Element and it was very good. Looking forwards to your future videos.

    • @DrSimulate
      @DrSimulate 27 днів тому

      @@5eurosenelsuelo Good question! If the additional test functions are linearly dependent on the other test functions, then nothing changes. If not, the system may have no solution and the problem needs to be approached by minimizing the sum of the squared residuals of the system. I don't know, how this will affect the solution 🙄

    • @5eurosenelsuelo
      @5eurosenelsuelo 26 днів тому

      @@DrSimulate Interesting. My intuition would be that the additional equations will be linearly dependent because it wouldn't add any new information to the system of equations but I don't have enough experience in the topic to test the hypothesis myself. If the new equation makes the system unsolvable it'd be so strange... That new solution found by minimizing residuals would be a more accurate solution compared to the real analytical solution? Is accuracy dependent of the test functions chosen? Computing speed definitely is but the result should be the same and if that's the case, adding more equations should add no new information as previously mentioned.

    • @DrSimulate
      @DrSimulate 23 дні тому

      @@5eurosenelsuelo I think, as the discretization of u has an influence on the accuracy, the choice of v will also have an influence on the accuracy. For example, if you consider a two-dimensional domain, I am sure that choosing many test functions that are zero at the interesting parts of the domain (e.g., at edges or holes) is not benificial. Unfortunately, I don't have any experience with this. It would be interesting to dig in the literature and see if there is any research on this.. 🤔

  • @aj-uo3uh
    @aj-uo3uh Місяць тому

    "The gradient of the displacement field" Displacement is a function from R^3 to R^3 while the gradient (looking at wikipedia) works on functions from R^3 to R. So for me its not clear what this means.

    • @aj-uo3uh
      @aj-uo3uh Місяць тому

      Ah I see a little further in the video you mean with gradient what I would call the total derivative. Never mind :)

  • @aqibrasheed4874
    @aqibrasheed4874 Місяць тому

    Best explanation of FEM one could find on internet. Looking forward for more such videos on FEM.

    • @DrSimulate
      @DrSimulate Місяць тому

      @@aqibrasheed4874 Thank you!! :)

  • @5eurosenelsuelo
    @5eurosenelsuelo Місяць тому

    This is a great video. I won't be surprised when it eventually explodes within the Math & Eng communities. I'm definitely checking the rest of the videos from this channel.

    • @DrSimulate
      @DrSimulate Місяць тому

      @@5eurosenelsuelo Thanks a lot! Sharing the video with your friends would help a lot 😁🤗

  • @sauravkumarnayak473
    @sauravkumarnayak473 Місяць тому

    Incredible explanation!! Now I can visualise FEA concepts better. Thank You!!

  • @krokodilvomnil5327
    @krokodilvomnil5327 Місяць тому

    Great videos i must say. Whats more complex in your opinion FEM or continuum mechanics ?

    • @DrSimulate
      @DrSimulate Місяць тому

      @@krokodilvomnil5327 Tough question. FEM is related to math, CM is related to physics. So it depends if you have more a math or physics background.. 🤔

  • @soumyadas9896
    @soumyadas9896 Місяць тому

    sir, can I take v(x) any function that satisfy the condtion there but other than the combination of N_i . what is the advantages of taking v as N_i. and how can you gurantee the matrix is uniquely solvable.

    • @DrSimulate
      @DrSimulate Місяць тому

      @@soumyadas9896 You can take other functions than N_i, but they should be linearly independent. If you take linearly dependent functions then the system is not uniquely solvable.

  • @maxhullmann5660
    @maxhullmann5660 Місяць тому

    Great explanation so far, I've learned a lot! What would the calculation look like if the forcing term f is chosen as a complex number?

    • @DrSimulate
      @DrSimulate Місяць тому

      Can you be more specific about the problem you are interested in? Is your solution function u also complex?

    • @maxhullmann5660
      @maxhullmann5660 Місяць тому

      @@DrSimulate I am sorry, I did it a little bit wrong. It turns out to be a little bit more complicated. Edit: The system looks like: 1 / (i * k) * u'' - u = f; where only u is complex. The physical system contains a time-alternating flux density (field source = forcing term, homogeneously distributed along x) that penetrates an electrically conductive material and therefore induces a voltage in the material that causes eddy currents and damping reaction fields (Lenz's rule). f is the flux density (e. g. 0.1 T) and k can be e. g. 2 * pi * frequency * 4 * pi * 10^-7 * 625000 u = 0 at the left and right boundary.

    • @DrSimulate
      @DrSimulate Місяць тому

      @@maxhullmann5660 Mhh. I have never worked with such a system. Did you already derive a weak form? Maybe you can discretize both the real and imaginary part of u and substitute this into the weak form (just a guess).

    • @DrSimulate
      @DrSimulate Місяць тому

      Is f periodic in time (e.g., sin or cos)? If yes, you may assume a periodic ansatz for u. If not, you may have to discretize in time (e.g., Euler discetization in time). Is the problem in 1D?

    • @maxhullmann5660
      @maxhullmann5660 Місяць тому

      @@DrSimulate 1 / (i * k) * u''(x) - u(x) = f is 1-Dimensional and f is a constant (= flux density amplitude, e.g.). I could figure out a solution: weak form: 1 / (i * k) * Integral u''(x) * v(x) dx - Integral u(x) * v(x) dx = Integral f(x) * v(x) dx. The only difference to your example is the complex factor of u''(x) * v(x) and the additional term - u(x) * v(x). The final solution turns out to be ( i / k * K - K' ) * U = F where K = Integral N' N'T dx and K' = Integral N NT dx = IdentityMatrix * ElementLength with u0 = 0 and uend = 0. The analytical solution can be computed by u_an(x) = f * cosh( sqrt( i * k ) * x) / cosh( sqrt( i * k) * Interval_Length / 2) - f (symetrical interval, e.g. -0.015 <= x <= 0.015)

  • @marius_weso
    @marius_weso Місяць тому

    Absoluter Shit endlich habe ich es verstanden 🖕

  • @giovannimoraisteixeira5781
    @giovannimoraisteixeira5781 Місяць тому

    What software do you use to generate those animations with the graphs morphing from one shape to another?

    • @DrSimulate
      @DrSimulate Місяць тому

      I use Manim www.manim.community/

  • @krokodilvomnil5327
    @krokodilvomnil5327 Місяць тому

    Gibts das auch auf deutsch ?

    • @DrSimulate
      @DrSimulate Місяць тому

      Ist erstmal nicht geplant ... sorry

  • @rezaafshar3832
    @rezaafshar3832 Місяць тому

    Very impressive!.. thanks a lot for sharing 🙏🙏

  • @jakeaustria5445
    @jakeaustria5445 Місяць тому

    Thank you

  • @angupraveen
    @angupraveen Місяць тому

    Learning from the best ;)

  • @idiosinkrazijske.rutine
    @idiosinkrazijske.rutine Місяць тому

    Thank you very much Sir! Can you sent me FEM tutorial video for 3d Nuclear Reactor boiling case for Ansys Fluent 2019 r3 with .m download file? Thank you sir!

    • @DrSimulate
      @DrSimulate Місяць тому

      That is a very specific request 😅

  • @whmi8498
    @whmi8498 Місяць тому

    May Allah bless you 💖

  • @mshriharikrishnan8362
    @mshriharikrishnan8362 Місяць тому

    Amazing video with accurate animations! Thanks a lot, hope to see more such amazing videos from you.

  • @kialakungalgal6860
    @kialakungalgal6860 Місяць тому

    Brilliant just brilliant. You are truly right, trying to understand every concept at once is difficult, but as you explain concept by concept it makes it so obvious. Thank you!! one of the best videos on this topic.

    • @DrSimulate
      @DrSimulate Місяць тому

      Thank you so much!! 😃

  • @LucasVieira-ob6fx
    @LucasVieira-ob6fx Місяць тому

    I'm impressed how much valuable information you've managed to pack in that video! Congratulations! I have a question though. If you had chosen 2nd or higher order polynomials for the shape functions N(x), u''(x) would not necessarily be 0 everywhere. That implies you could solve the discretized Strong form without the need to recast it into the discretized Weak form. Is that right or am I missing something?

    • @hamzazaheer3783
      @hamzazaheer3783 Місяць тому

      The purpose of the weak form is to reduce computational effort. Linear functions require less computational power compared to quadratic or higher-order functions. Additionally, the strong form requires both essential and natural boundary conditions, while the weak form only requires essential boundary conditions, thereby reducing the continuity requirements. In conclusion, using the weak form reduces computational power and lowers continuity requirements. If I am mistaken, please correct me.

    • @LucasVieira-ob6fx
      @LucasVieira-ob6fx Місяць тому

      @@hamzazaheer3783 thanks. I do agree that linear shape functions and the weak form are computationally less intensive. But my question was more about the way it was framed, i.e. "let's use linear shape functions", and then "oh, these have 2nd derivative = 0", therefore "we must solve the weak form". It seems that this motivation would've been avoided if the shape functions were 2nd order or higher. So I wonder if there would be more hurdles if one would proceed with this approach (use higher order polynomials to avoid the weak form).

    • @hamzazaheer3783
      @hamzazaheer3783 Місяць тому

      @@LucasVieira-ob6fx Yes, you can solve the strong form without using the weak form, but it requires higher-order shape functions compared to the weak form. Additionally, it must satisfy both essential and natural boundary conditions. You might wonder why we use the weak form if higher-order shape functions are needed. The reason is that, in the weak form, when using higher-order shape functions, you only need to satisfy the essential boundary conditions. The primary advantage of using the weak form is that it lowers the continuity requirements.

    • @DrSimulate
      @DrSimulate Місяць тому

      I would like to add another point. Even if the second derivative of the ansatz would not be zero, there may be a problem: It is very likely that it is not possible to tweak the parameters in the ansatz in a way that the strong form is exactly fulfilled at all points x. In other words: the "exact" or "true" solution of the differential equation cannot be expressed by the ansatz. In this case, what people do is to minimize the norm of the residuals of the strong form at some chosen points x. This is called collocation and there is still active research on that. But collocation methods are by far not as successful as methods based on the weak form.

    • @hamzazaheer3783
      @hamzazaheer3783 Місяць тому

      @@DrSimulate you are talking about galerkin and rayleigh ritz method ?

  • @hamzazaheer3783
    @hamzazaheer3783 Місяць тому

    Thank you for the fantastic videos! I appreciate the effort put into explaining FEM at different levels. Could you recommend resources on Shear Locking, Reduced Integration, and Hourglassing? I understand the theory but struggle with visualizing these concepts.❤❤

    • @DrSimulate
      @DrSimulate Місяць тому

      I don't know about a video explaining this, but you may check out these lecture notes, which are very didactic and have one section about this: ethz.ch/content/dam/ethz/special-interest/mavt/mechanical-systems/mm-dam/documents/Notes/IntroToFEA_red.pdf

    • @hamzazaheer3783
      @hamzazaheer3783 Місяць тому

      @@DrSimulate Thanks

  • @lionelmartinez6810
    @lionelmartinez6810 Місяць тому

    Thank you very much for the video. Could you provide a practical example, such as the electric field of a parallel plate capacitor, to observe edge effects? It would be cool to see the solution of electric field in Manim.

    • @DrSimulate
      @DrSimulate Місяць тому

      That's an interesting suggestion. I definitely want to show more applications in future videos. The nice thing about the Poisson problem is that it appears in many different disciplines.

  • @peasant12345
    @peasant12345 Місяць тому

    Enlightening lecture. Thank you. Would you make a follow-up video about FEM in 3 dimensions?

    • @DrSimulate
      @DrSimulate Місяць тому

      Yes, this is definitely planned in the future. But it will take some time, thanks for your patience :)

  • @josuecorleto569
    @josuecorleto569 Місяць тому

    Great explanation! I like the use of animations to illustrate these concepts.

  • @salvatoregiordano9050
    @salvatoregiordano9050 Місяць тому

    So well explained! Thank you!

  • @rarelycomments
    @rarelycomments Місяць тому

    I've watched this several times and I still don't 100% get it, but I feel like I will eventually. Textbook explanations are close to meaningless to me, I just don't have the mathematical background for it.

  • @utof
    @utof Місяць тому

    its my first time learning continuum mechanics (im a cs undergrad), so far i would say i understood the general picture, although im left wondering:"is that it? seems pretty easy then!!" but i know that im wrong 😅 but so far its the most visual and appeoachable video about continuum mech ive seen, so thank you!!!

    • @DrSimulate
      @DrSimulate Місяць тому

      Thanks a lot! If you find this too easy, wait until we get to nonlinear continuum mechanics 🤯🤯

    • @utof
      @utof Місяць тому

      @@DrSimulate heheheh :) i meant easy in the sense that i somehow felt that understood the basics of it very quickly, like dunning-kruger effect, feels like i "know" so much already. Maybe because in the video i didnt get too much info about what i dont know, you know? 😁 im just spitballing

    • @utof
      @utof Місяць тому

      @@DrSimulate do you have a discord or a server? i would love to chat with you occasionally!

    • @DrSimulate
      @DrSimulate Місяць тому

      @@utof Are you by any chance on the Summer of Math Exposition discord server? We can have a chat there if you like :) discord.com/invite/WZvZMVsXXR

    • @utof
      @utof Місяць тому

      @@DrSimulate yeah, im there! im @utof

  • @Somersbysnoreband
    @Somersbysnoreband Місяць тому

    Wonderful video. I wish I had visualizations like these when I was at uni.