Jump to content






Photo

Finite Difference, Y U NO WORK?!

Posted by Akano Toa of Electricity , in Math/Physics Dec 09 2012 · 51 views

E&M FORTRAN Programming
So, I'm working on a computer project for my Electrodynamics course. I'm using a computer method called the Relaxation or Finite Difference Method. It basically takes a physical scenario, divides the space of interest into a grid, and assigns voltages for each grid intersection. Then, using a computer language of choice (I'm using FORTRAN, like a boss), I make a program that essentially takes a weighted average of all the points whose voltages aren't fixed until the program doesn't change those voltages anymore. This gives a surprisingly good approximation for a physical system.

I'm basically modeling a system with two conducting cylindrical shells of equal radius separated by some height and which are at voltages +V0 and -V0. The problem is that my output graphs do not look physical; the voltage just drops to near zero rapidly for points outside and between the cylinders, whereas I expect that the graph should gradually drop.

Curse you, technology!

Posted Image





About Me

Akano Toa of Electricity
Posted Image
Posted Image
Premier Members
Stone Champion Nuva
Posted Image
1,500+ posts
Posted Image
Proto
+2 for Premier Membership
+1 from Pohuaki for reporting various things in Artwork


Name: Akano
Real Name: Forever Shrouded in Mystery :P
Age: 23
Gender: Male
Likes: Science, Math, LEGO, Bionicle, Ponies, Comics, Yellow, Voice Acting
Notable Facts:  One of the few Comic Veterans still around
Has been a LEGO fan since ~1996
Bionicle fan from the beginning
Misses the 90's. A lot.
Twitter: @akanotoe

My Lovely Topics

Posted Image
Posted Image
Posted Image

Hieroglyphs And The Like

IPB Image
IPB Image
IPB Image
IPB Image

Recent Comments

Approvals

Posted Image

Posted Image