• 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. The process is easy and you can use your Google, Facebook, or Twitter account to make it even faster. 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 and play member and staff-run games
• Enter contests to win free LEGO sets and other prizes, and vote to decide the winners
• Participate in raffles, including exclusive raffles for new members, and win free LEGO sets
• Send private messages to other members
• 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 · 144 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 Toa of Electricity

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: 25
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.