Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Gauss-Seidel Method

  1. Oct 31, 2009 #1
    Ok so I need to solve the 2D Poisson's equation using the G-S method. I have my differencing equation and boundary conditions. But for the life of me I can't follow the algorithms on how to write a matlab code for it. My professor seemed to imply that you needed to just take the differencing equation and sweep it over the range of x and y until the tolerance is met. It gives me a nice 3d parabolic shape but the magnitude is way off from what would be expected.

    On the wiki article for G-S it talks about using an A matrix, but all we have done along those lines was for the Thomas algorithm. And the matrix I get for this case doesn't fit what everyone seems to think it should look like.

    What should I be doing?
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Gauss-Seidel Method
  1. Karl Gauss (Replies: 3)

Loading...