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

Boundary Conditions Laplace

  1. Jul 7, 2008 #1
    Hi there, im solving laplace equation in a code i made in C. Im using Finite Difference Method in order to simulate the current pattern. I used the stream function to do that.

    0.--0--0--0--0--0--0--0-==========-1--1--1--1--1--1--1--1 1
    0. 1
    (Plasma Flow) -------->    xxxxxxx (x =B Magnetic Field)
    0.   xxxxxxx 1
    0. 1
    --0--0--0--0--0--0--0--==========-1--1--1--1--1--1--1--1 1

    The problem is very simplificated of course. My boundary conditions are the ones showed in the schecth. So my function U goes from 0 to 1, and in the electrodes i put a function so U can be satisfied; and inside the channel, the classic equation of finite difference. I can obtain the current patern but my quention is: How can i introduce the effect of the magnetic field inside the channel?. I was thinking in introducing some Neumann conditions in those points, so the gradient of the funtions varies in order to "simulate" the force of the magnetic field.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

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