Solving the 2D Poisson's equation in Matlab

แชร์
ฝัง

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

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

    Didn't mention any boundary conditions !!

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

      For BCs, I think we have create the matrix of equations for x = [2, N-1] and y [2,N-1] bc the first and last row/column is reserved for whatever the values should be at the boundaries.

  • @arwabaabdulla9272
    @arwabaabdulla9272 5 ปีที่แล้ว

    Hi, what if we have boundary condition? how can we define the vector?

  • @skatecofee
    @skatecofee 6 ปีที่แล้ว

    I have a question. How to enter the limits of "x" and "y"?

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

    Excelent videos, how can I make this work in polar coordinates?

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

      Or should I use a different method like the finite element method? Cause I've been using the finite differences method

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

      You take the differential operator and convert it to polar coordinates. Then you plug in for the coefficients which the polar coordinate form gives. You can look up the polar coordinate forms easily.

  • @jessegabriel1438
    @jessegabriel1438 6 ปีที่แล้ว

    too good man

  • @kimmyliu5509
    @kimmyliu5509 6 ปีที่แล้ว

    I follow exactly the same steps with the same f, but somehow my u is inf... why did it happen?

    • @AeroCFD
      @AeroCFD  6 ปีที่แล้ว

      That usually means that your matrix A is singular. Can you check, after you construct your matrix, that all diagonal entries are nonzero?

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

    use to pdetool to solve differential equations dude.