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

Поделиться
HTML-код
  • Опубликовано: 16 дек 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

  • @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

  • @АндрейТоцкий-л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

  • @kiranboddeda4121
    @kiranboddeda4121 3 года назад

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

  • @dennisobideyi
    @dennisobideyi 4 месяца назад

    This is very great, can you do circular domain

  • @RinconFelipe
    @RinconFelipe 2 года назад +1

    This is relevant. Thanks a lot!

  • @MasoudDehghan-tz4cj
    @MasoudDehghan-tz4cj 8 месяцев назад

    Excellent man.

  • @mohammadjafarrahimi5217
    @mohammadjafarrahimi5217 3 года назад

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

  • @AJ-et3vf
    @AJ-et3vf 2 года назад

    Great video sir! Thank you!

  • @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

  • @loknathdas3111
    @loknathdas3111 2 года назад

    Thank you very much sir, great lecture !!!

  • @ZHENYE-b1p
    @ZHENYE-b1p 3 года назад

    Think you very much for the very good video.

  • @muhammadsuleman-bf5oh
    @muhammadsuleman-bf5oh 3 года назад

    Excellent

  • @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 :
      ruclips.net/video/2aJ3fFwET68/видео.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!

  • @MohitDadu
    @MohitDadu Год назад

    Oh Man.... Thank you so much ❤

  • @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?

  • @wangji6247
    @wangji6247 4 года назад +1

    thank you. It is very useful.

  • @idreeskhan1629
    @idreeskhan1629 2 года назад +2

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

  • @dilayhamaykaya2686
    @dilayhamaykaya2686 Год назад

    loved it :) thank you

  • @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

  • @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

  • @uroojfatima1099
    @uroojfatima1099 Год назад

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

  • @devargyachakraborty9068
    @devargyachakraborty9068 3 года назад

    How to solve for unsteady state?

  • @msh6783
    @msh6783 3 года назад

    thank you❤❤❤

  • @ahmedmustafa9299
    @ahmedmustafa9299 3 года назад

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

  • @apuham6268
    @apuham6268 Год назад

    Thank you!!!!

  • @originalmaar1224
    @originalmaar1224 3 года назад +1

    Thanks a lot , great video

  • @alexmercer7446
    @alexmercer7446 8 месяцев назад

    Thanks!!!

  • @wisdomhezekiah868
    @wisdomhezekiah868 2 года назад

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

  • @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

  • @WonYYang
    @WonYYang 3 месяца назад

    ruclips.net/video/XR578io_3eg/видео.html to get the analytical and numerical solutions of a Laplace/Poisson equation with MATLAB

  • @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