Finite Differences

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 53

  • @ghufranullahkhan7479
    @ghufranullahkhan7479 2 ปีที่แล้ว +17

    Brilliant, haven't seen such a good explanation of finite difference method anywhere.

    • @Ahadfav
      @Ahadfav 6 หลายเดือนก่อน

      can you please tell me how the f(-0.75,-0.75) comes?

  • @GermanTopGameTV
    @GermanTopGameTV 4 หลายเดือนก่อน +2

    This is phenomenal. I have 5 pages of script that do nothing but confuse me, this gives me a step by step guide and something I can implement in a few hours.

  • @muaddib6107
    @muaddib6107 9 หลายเดือนก่อน

    These videos bring much needed clarity to these methods for me, thank you!

  • @ferdic4624
    @ferdic4624 2 ปีที่แล้ว +3

    Thank you so much for this! Saved me a night of sleep

  • @donlansdonlans3363
    @donlansdonlans3363 2 ปีที่แล้ว +9

    Thank you for this explanation. I've tried to learn this from books but i cant understand them very well.

  • @akshdeepsingh2107
    @akshdeepsingh2107 ปีที่แล้ว +2

    Very helpful and clear explanation. I am taking FEM, CFD and numerical methods course. Hoping to see more videos from you, subscribed !! Thanks !!

  • @AJ-et3vf
    @AJ-et3vf 2 ปีที่แล้ว +1

    Awesome video! Thank you! Love your explaining the five-point stencil. Very timely as I was curious about it. I watched a 1-hour lecture about the finite difference method for boundary value problems this week and they used differential operators to neatly and efficiently generate the sparse tridiagonal matrix equation for the ODE. That made me curious how that could be applied for elliptic PDEs since you know have 2 dimensions or more.
    I have been mostly solving elliptic PDEs in Python using iterative methods, specifically Gauss-Seidel or better yet Successive-Over Relaxation to solve the system of equations because I didn't know how to generate the banded, sparse equations efficiently. I wouldn't want to generate them by hand lol. Very tedious and intimidating. So iterative methods has been the way for me ever since I discovered them thanks to Mr P Solver's TH-cam channel.
    Again, thanks so much for this. Maybe another video about generating the coefficient matrix next? 😁

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  2 ปีที่แล้ว +2

      I am glad that you liked the video :)
      Unfortunately I won't make another video on finite differences, since I am not using this method. Instead I am using the Finite Element Method (FEM; see my other video) on a daily basis. In my opinion to see results quickly the Finite Difference Method is convenient, but to deal with complicated boundary conditions FEM is more straightforward.
      When it comes to solving the linear equation system you have two classes of solvers: direct and iterative solvers.
      For sparse matrices (from 2D problems) it is sufficient to use direct solvers, which are e.g. based on the LU decomposition, when you have less than 1 million unknowns. If you have more equations you might need to use iterative solvers with appropriate preconditioners, since direct solvers don't work anymore. As a first step I would advise you to try using a direct solver and only if that is infeasible to then use iterative solvers. But if you have an iterative solver that works this is obviously fine as well.

    • @AJ-et3vf
      @AJ-et3vf 2 ปีที่แล้ว

      @@numericalanalysisbyjulianr4242 indeed, fair enough. Sad that it seems like FDM's use is simply as an introductory bridging tool for FEM since even FEM can be applied for 1-D problems. I just feel like it's kinda elegant the algebraic equations spring up from the differential operators. For 2D onwards, especially 3D and with complicated boundaries and heterogeneous material, FEM is the way to go. I've been intending on learning FEM too and demystifying this seemingly daunting topic. FEM is usually not taught in undergrad courses, but is often mentioned enough that one gets the importance and utility of it.

  • @angtrinh6495
    @angtrinh6495 ปีที่แล้ว +1

    excellent explaination! easy to understand in just one-time watch

  • @jabir5768
    @jabir5768 2 ปีที่แล้ว +1

    Underrated. Thank you so much !

  • @teunmathijssen7459
    @teunmathijssen7459 9 หลายเดือนก่อน

    This helped a lot! Great visualisation :)

  • @abdullahm4830
    @abdullahm4830 3 ปีที่แล้ว +2

    Finally, the vacuum on TH-cam is fulfilled now!
    Wonderful

  • @zeefer9867
    @zeefer9867 2 ปีที่แล้ว +1

    This is so valuable. Thank you.

  • @1matzeplayer1
    @1matzeplayer1 5 หลายเดือนก่อน

    Richtig stark!!! 🙏🏻

  • @nourhamsho9985
    @nourhamsho9985 10 หลายเดือนก่อน

    Thanks very much for your explanation. Is ther more videos explain more for further FD-Methodes like time-depend problems

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  10 หลายเดือนก่อน

      For time-dependent problems you can take a look at chapter 12 and especially section 12.3.2 in the lecture notes doi.org/10.15488/11709

  • @ananyapamde4514
    @ananyapamde4514 5 หลายเดือนก่อน

    This is so cool, thank you very much!

  • @isaacazuka7842
    @isaacazuka7842 3 ปีที่แล้ว +2

    Brilliant explanation, thank you.

  • @muhammadhaider7579
    @muhammadhaider7579 11 หลายเดือนก่อน

    Need help in Implementing the Multigrid Cycle.
    Kindly, suggest. I am not able to understand from Multigrid literature.

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  11 หลายเดือนก่อน +1

      You can check out my online explanation of multigrid for the Finite Element Method at julianroth.org/documentation/multigrid/index.html. The code for this is also on GitHub

  • @frodo5882
    @frodo5882 2 ปีที่แล้ว +4

    Did you really do your Master's degree within 1 year? That's insane! Great video!

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  2 ปีที่แล้ว +10

      Yes, I did my master in 1 year, since I wanted to get my current PhD position. This was certainly very stressfull, but I managed to do it somehow and now it is worth it :)

    • @frodo5882
      @frodo5882 2 ปีที่แล้ว +2

      @@numericalanalysisbyjulianr4242 I guess you still have excellent grades 😅 I study at TU Berlin and can't even imagine taking 60 ECTS per semester. Maybe 45 would be possible, but 60 is incredible.

  • @xa7045
    @xa7045 2 ปีที่แล้ว

    Klasse Julian, Danke. Weiter so !

  • @anshikaanshika464
    @anshikaanshika464 2 ปีที่แล้ว +1

    very clearly explained. Thank you :)

  • @abitofeverything1205
    @abitofeverything1205 ปีที่แล้ว

    thank you so much for the explanation

  • @DS-uo1zy
    @DS-uo1zy ปีที่แล้ว

    didn't expect my university to do this video haha

  • @gustavocortico1681
    @gustavocortico1681 3 ปีที่แล้ว

    Fantastic channel.

  • @muhammadhaider7579
    @muhammadhaider7579 ปีที่แล้ว

    Great help!

  • @_aksoy
    @_aksoy 3 ปีที่แล้ว

    very good explanation, thank you

  • @pongballchannel
    @pongballchannel ปีที่แล้ว

    Man this is so helpful, thank you so much!

  • @mediwise2474
    @mediwise2474 2 ปีที่แล้ว

    Pl tell me how to start learning fet
    Which type of maths is required to learn it Or which maths is used in fet

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  2 ปีที่แล้ว +2

      When learning about Finite Elements or Finite Differences, you should at least have a basic understanding of calculus and linear algebra. You should know e.g. how to compute derivatives and integrals or how to work with vectors and matrices. To learn these topics, I recommend the playlists from 3blue1brown on these topics: www.3blue1brown.com/#lessons

  • @secondsemestercontinuummec4783
    @secondsemestercontinuummec4783 3 ปีที่แล้ว +2

    I am so grateful for your video, thank you very much! Liked and subescribed =D

  • @marvin5729
    @marvin5729 ปีที่แล้ว

    Schade das ich Numerik schon fertig hat. Den Dreck hätte ich mir 100x lieber von dir angeschaut :P ! Hat mir aber leider keiner gesagt, dass du Videos dazu machst :/ ... Aber war ein sehr schöne Erklärung :D !

  • @Borisdelmar
    @Borisdelmar 2 ปีที่แล้ว

    great lecture thank you

  • @kabirsamaila9589
    @kabirsamaila9589 ปีที่แล้ว

    Appreciate you sir.👍

  • @amirloghmani5143
    @amirloghmani5143 2 ปีที่แล้ว

    very helpful. Thank you.

  • @bhimbdrlama
    @bhimbdrlama 2 ปีที่แล้ว

    Thank you man.

  • @pedrocalorio1655
    @pedrocalorio1655 3 ปีที่แล้ว

    How this is applied in optimization ?

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  3 ปีที่แล้ว +1

      There is for example the area of optimal control of partial differential equations, where you try to minimize some goal functional J(y,u) such that that y solves a PDE that also involves the control u. If you want to learn more about this, check out the book "Optimal Control of Partial Differential Equations: Theory, Methods, and Applications" by Fredi Tröltzsch

  • @deutsch_lernen_mit_kindern
    @deutsch_lernen_mit_kindern 3 ปีที่แล้ว

    thanks sir!!

  • @adayinmongolia1538
    @adayinmongolia1538 3 ปีที่แล้ว

    Wonderful

  • @Ahadfav
    @Ahadfav 6 หลายเดือนก่อน

    some one please tell me how the f(-0.75,-0.75) comes? i'm waiting from yesterday i stop my work 😞

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  6 หลายเดือนก่อน

      That depends on the problem that you are solving. For example, if you have a uniform gravitational force pushing down you could have something like f(x, y) = -1 and thus f(-0.75, -0.75) = -1.

    • @Ahadfav
      @Ahadfav 5 หลายเดือนก่อน

      Thank you so much got it ❤

  • @WonYYang
    @WonYYang 2 หลายเดือนก่อน

    th-cam.com/video/XR578io_3eg/w-d-xo.html to get the analytical and numerical solutions of a Laplace/Poisson equation with MATLAB

  • @chiefjudge8456
    @chiefjudge8456 ปีที่แล้ว

    3blue1brown ripoff?

    • @numericalanalysisbyjulianr4242
      @numericalanalysisbyjulianr4242  ปีที่แล้ว +1

      3blue1brown created a Python based animation library called manim (github.com/3b1b/manim), which he uses to create his videos. More recently, there has been a fork of manim, called manim community (www.manim.community/), which introduces some additional new features and quite significantly diverged from the original library from 3blue1brown. I used the community version of manim to create my videos.

    • @Ahadfav
      @Ahadfav 6 หลายเดือนก่อน

      @@numericalanalysisbyjulianr4242 sir please answer my question?

    • @jkgan4952
      @jkgan4952 2 หลายเดือนก่อน

      @@numericalanalysisbyjulianr4242 don't worry about this troll. Thanks so much for the video! Was very helpful for me :)