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

Analytical solution to the diffusion equation with variable diffusivity

  1. Jan 23, 2012 #1
    Hi, I'm trying to find an analytical solution (if one exists) to the 1d diffusion equation with variable diffusivity κ(x);

    [itex]
    \partial_t u(x,t) = \partial_x[\kappa(x) \partial_x u(x,t)]
    [/itex]

    Could someone point me in the right direction to solve this if its possible to do so analytically. I've tried separation of variables after using the product rule to expand out the diffusive term but the equation isn't of the correct form.
    Thanks for any advice,
    Kieran
     
  2. jcsd
  3. Feb 1, 2012 #2

    hunt_mat

    User Avatar
    Homework Helper

    Greens function perhaps?
     
  4. Feb 1, 2012 #3

    Mute

    User Avatar
    Homework Helper

    Why doesn't separation of variables work? [itex]u(x,t) = X(x) T(t),[/itex] so

    [tex]X\frac{dT}{dt} = T\frac{d}{dx}\left(\kappa(x) \frac{dX}{dx}\right).[/tex]

    You can divide through by XT and the left hand side will have only terms dependent on t and the right hand side will have only terms dependent on x, so both sides are some constant, k. Solving the x ordinary differential equation for general [itex]\kappa[/itex] may be tricky, but separation of variables otherwise works.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Analytical solution to the diffusion equation with variable diffusivity
Loading...