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

DC conduction equation in Matlab

  1. Feb 14, 2013 #1
    Hello

    I am solving DC conduction equation in Matlab. My equation is 1/r * ∂/∂r [r*σ* ∂V/∂r]=∂ρ/∂t
    My equation is 1D(only varies with radius) and time dependent. i am using pdepe solver.The space charge ( ρ) is the time dependent variable. But the form of matlab pdepe solver the time dependent is the unknown term V. Can alyone help me how to solve this equation with pdepe or other solvers.

    Thanks
     
  2. jcsd
  3. Feb 14, 2013 #2
    Good Morning Mattw,

    So, a few questions:

    Your unknown is [itex]V\left(t,r\right )[/itex]?
    [itex]\rho \left (t,r\right)[/itex] is known for all [itex]t[/itex] and [itex]r[/itex]?

    J.
     
  4. Feb 14, 2013 #3
    Hi jfgobin

    the space charge distribution ρ(t,r) is unknown.
     
  5. Feb 14, 2013 #4
    Mattw, so you are trying to solve for both [itex]V[/itex] and [itex]\rho[/itex].

    What is your second equation?
     
  6. Feb 14, 2013 #5
    Or is is just Maxwell's?
     
  7. Feb 14, 2013 #6
    Hi jfgobin

    ρ(t,r) is just the continuti equation from Maxwell's.

    I am solving this equation with matlab, and i am using pdepe solver. at the beginning if i assume my problem is in steady state then i can make ∂ρ/∂t zero. But the problem is i cant make "C"( coefficient of the time dependent term) zero in pdepe solve. Do you have any idea if there is matlab PDE solver for 1/r * ∂/∂r [r*σ* ∂V/∂r]=0 OR how to make "c" zero in pdepe solver?

    Thanks
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook