Numerical Solution of 2D Laplace equation using Finite Difference Method (Iterative Technique )

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

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

  • @chlorine8477
    @chlorine8477 4 หลายเดือนก่อน +1

    This video is very informative, I have only a small nitpick in the code: using omega = 1 we divide by sin(omega * a) = sin(a) = sin(3pi) = 0!
    The matrix indeed shows huge values (not infinity because of floating point rounding errors)

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

    very good video sir i did watch lot of video but did not satisfied but after this becouse the governing position means before programe u did explain very well easilly understand so that not face any problem in ans

  • @АндрейТоцкий-л4и
    @АндрейТоцкий-л4и ปีที่แล้ว

    I can't thank You enough, sir! Very understandable. I had problems understanding how to work in MatLab, but I followed your steps and it was getting easier!

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

    awesome content finally

  • @mr.taimoorbinzain4445
    @mr.taimoorbinzain4445 3 ปีที่แล้ว +2

    Doc . good job please dont left please upload a series of videos with help of matlab of finite differece method

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

    Excellent Sir:))
    I am really loving your work sir:))
    Thank you

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

    This is relevant. Thanks a lot!

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

    Thanks Abolfazl ,
    your video works more than too much for me ,it was great, 🌹🌹🌹hope to see more from you.
    Br,

  • @MasoudDehghan-tz4cj
    @MasoudDehghan-tz4cj 8 หลายเดือนก่อน

    Excellent man.

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

    Great video sir! Thank you!

  • @ZHENYE-b1p
    @ZHENYE-b1p 3 ปีที่แล้ว

    Think you very much for the very good video.

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

    Thank you very much sir, great lecture !!!

  • @dennisobideyi
    @dennisobideyi 4 หลายเดือนก่อน

    This is very great, can you do circular domain

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

    Oh Man.... Thank you so much ❤

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

    Hello! I have some questions: 1. How do deal with the corners when setting BC? It seems that the order at which each BC is defined matters.
    2. When calculating the analytical part and plotting it, does it automatically account for BC, or we should also separately define BC and evaluate analytical part only in the middle? Because some solutions only account inside the rectangle in the continuum limit, but I do not know what to do when we are discretising it.

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

      Hello.
      about the Q.1, because number of grid is high there is no difference to chose the value of corner from bottom or left boundary (for lower left corner for example)
      About Q.2 when we solve the analytical problem in final answer we considered boundary conditions, otherwise the number of solution for a partial deferential equation could be infinity without boundary conditions. You can find the analytical solution of Laplace equation in cartesian coordinate in a separate video in the channel.
      Here is the link :
      th-cam.com/video/2aJ3fFwET68/w-d-xo.html

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

      @@abolfazlmahmoodpoor_ Thank you for the answers! Although, I understand about corners when dx and dy are small. My question was rather how to deal with them when the grid size is not so fine, sorry I did not precise this before.

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

      If you have a large grid you will have large error in numerical solution, simply you can check it in the code, just decrease number of grids. So you have to have small grid, and in small grid no matter from which boundary you chose the corner value!

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

      @@abolfazlmahmoodpoor_ ok, I see. Thank you!

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

    loved it :) thank you

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

    thank you. It is very useful.

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

    Thanks for this concise and effective 2D solution at t=0.
    Do you have another video showing the wave behaviour when u(t) in time?

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

    Respected Sir,
    I am doing same code in my system but I am getting some errors like " Error using max
    Trailing string input must be 'omitnam' or 'includenan'
    Please solve my this problems.
    Thanks in advance.

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

      Dear Nitish, Sorry for such a late reply, If you didn't solve the problem yet you can send it to me, I will check. abolfazlmahmoodpoor@gmail.com

  • @muhammadsuleman-bf5oh
    @muhammadsuleman-bf5oh 3 ปีที่แล้ว

    Excellent

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

    Masha Allah nice explanation, Sir please if you could help me with my Semi-implicit Finite Difference code

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

    This is beautiful!could you extend it to 3D wave and structure application and do a tutorial on it?thanks in advance

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

    hello . sir i wite same to same in matlab14 but this code is not working

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

    Thank you so much sir for this great video.
    But can you please help me on how to implement the Neumann boundary conditions on one, two, three or four sides of the Laplace equation using FDM

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

      I received your email. If following explanation is not enough let me know using the email, it is easy, just using the definition of first order derivative. We used it a lot in the videos, If you use it you will see that one node after boundary the value of function at that point is given by the condition that imposed by derivate (an example: df/dx = a --> f(1)- f(0)= a*dx --> f(1)=a*dx + f(0) so the value of function is known in either node number 0 and node number 1 and you should just start calculation from node number 2 )

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

      @@abolfazlmahmoodpoor_ can you send mail to me about how to apply neumann boundary condition. my email is shivaraghav@200701@gmail.com

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

    How to solve for unsteady state?

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

    Thanks a lot , great video

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

    thank you❤❤❤

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

    sir can u solve a governing equation of transient heat conduction with heat generation and convection for 2D using finite difference method? with matlab code

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

    ERROR IMPLEMENTING MAXU. PLEASE SIR WHAT SHOULD BE THE WAY OUT

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

    i tried to write the same code but the error not equal to zero in the final

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

    Thank you!!!!

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

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

  • @alexmercer7446
    @alexmercer7446 8 หลายเดือนก่อน

    Thanks!!!

  • @Larayu-k9i
    @Larayu-k9i 3 ปีที่แล้ว +1

    We want finite difference for Fokker-Planck Equation

  • @fp9760
    @fp9760 4 ปีที่แล้ว

    👍👍

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

    Sir, thank you so much

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

      glad it helped

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

      @@abolfazlmahmoodpoor_ Sir, is there any way to import an excel spreadsheet into MATLAB and store it into any matrix ?

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

      [num,txt,raw] = xlsread('myfile') ;
      num gives only numbers.
      txt gives only text data.
      raw gives the complete file.

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

    plz give the code sir

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

      Please follow the video and try to repeat the same code, I think everything is clear in video.

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

      @@abolfazlmahmoodpoor_ okay thanks sir

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

      During writing the code if you have some problem feel free to ask

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

      @@abolfazlmahmoodpoor_ sure sir , thanks for the help

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

    #pimathlab