• Create Account

### Welcome to BZPower!

Hi there, while we hope you enjoy browsing through the site, there's a lot more you can do if you register. Some perks of joining include:
• Create your own topics, participate in existing discussions, and vote in polls
• Show off your creations, stories, art, music, and movies
• Enter contests to win free LEGO sets and other prizes
• Participate in raffles to win LEGO prizes
• Organize with other members to attend or send your MOCs to LEGO fan events all over the world
• Much, much more!

# Finite Difference, Y U NO WORK?!

Posted by Akano , in Math/Physics Dec 09 2012 · 463 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!

• 0

### Oak Log Bans

Akano

Premier Members
Stone Champion Nuva

1,500+ posts

Proto
+2 for Premier Membership
+1 from Pohuaki for reporting various things in Artwork

Name: Akano
Real Name: Forever Shrouded in Mystery
Age: 29
Gender: Male
Likes: Science, Math, LEGO, Bionicle, Comics, Yellow, Voice Acting, Pixel Art, Video Games
Notable Facts: One of the few Comic Veterans still around
Has been a LEGO fan since ~1996
Bionicle fan from the beginning