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

Non-Homogeneous Heat Equation Problem

  1. Jun 9, 2005 #1
    Hi, I'm not sure how to solve problems of this form:

    Uxx - Ut = h(x,t)
    where Uxx is second derivative of U(x,t) wrt x and Ut is first derivative of U(x,t) wrt t.
    Boundary conditions are as follows:
    and h(x,t) is a fairly simple function, or even constant, say h=1.

    I'm fine with the homogeneous case except my coefficients don't seem to work when the solution is plotted. No idea how to solve when h(x,t) is anything other than 0 though. I have B&DPi text book here but it isnt very clear. I'm going to keep trying but in the meantime if anyone gets a chance to help me, please do. Particularly for the coefficients as I need to assess the convergence of the solution.
    I checked out the tutorial at the top of this forum but it didnt seem to quite have what I'm after. Ah, how I miss the days of solving a simple 1st order ODE.
    Thanks in advance.
  2. jcsd
  3. Jun 9, 2005 #2
    u can choose the " seperation's variable method"
  4. Jun 10, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper

    Would be an interesting problem to work on although I'd have to review. I did find a link on the net for a start:

    Example of solving nonhomogeneous heat eq

    And a plot of the solution too would be nice.
  5. Jun 10, 2005 #4


    User Avatar
    Science Advisor
    Homework Helper

    I checked a bit. How about checking out Duhamel's principle for inhomogeneous heat equations. This seems to be the simplest approach.

    How about trying one (a simple one) using this method and posting it with the solution. Know LaTex? And a plot too. Or just do what you want, whatever.
    Last edited: Jun 10, 2005
  6. Jun 11, 2005 #5
    Thanks for the link Saltydog.
    Thats exactly what i spent an hour looking for and couldnt find.. a simple runthrough of the procedure for solving the problem. Much appreciated.

    I've got latex on the computer here but never used it. I'll see if I can import a Mathematica image to show you a plot of the final solution.
  7. Jun 11, 2005 #6


    User Avatar
    Science Advisor
    Homework Helper

    We have a LaTex-enabled compiler here. You just write the LaTex commands in the post and the compiler formats it. For example:

    [tex]\text{DE:}\quad u_t-u_{xx}=tSin(x) \qquad 0\leq x\leq \pi[/tex]

    [tex]\text{BC:}\quad u(0,t)=0 \qquad u(\pi,t)=0[/tex]

    [tex]\text{IC:}\quad u(x,0)=0[/tex]

    See how nice that looks. You can just double-click on any of the equations in here and a window will pop-up with the latex commands or just go to the Physics forum and see the "introducing LaTex" thread. Now, the equation above is just a rod with an internal heat source that eventually develops into a sine wave. This one is easily solved using Duhamel's principle. It looks like:

    Edit: Suppose the heat source is a sine wave. It just gets bigger (hotter) and bigger with time.

    Attached Files:

    Last edited: Jun 11, 2005
  8. Jun 11, 2005 #7
    [tex]\text{DE:}\quad u_t+u_{xx}=1 \qquad 0\leq x\leq \pi[/tex]

    ah got it thanks.
    i have so many variations of the same types of questions, i think i'm getting the hang of them now, though i haven't gotten one answer fully correct yet.
    Last edited: Jun 11, 2005
  9. Jun 11, 2005 #8


    User Avatar
    Science Advisor
    Homework Helper

    How about going to the Physics/General Physics forum and look at the thread "Introducting LaTex" and check out the varous examples. You can experiment there. Remember to enclose the commands in the prefix and postfix bracket tex operators. Just double click on some equation and you'll see what I mean.
  10. Jul 15, 2005 #9
    We can use also Duhamel formula in this case :
    [tex]u(x,t)=e^{t\Delta}u(x,0)+\int_{0}{t}e^{{t-s}\Delta}h(t,s}ds [/tex]
    where [tex]e^{t\Delta}[/tex] is the semi group associate to Uxx
  11. Nov 22, 2006 #10
    Heat equation problem

    Hi everyone,

    We want to study the distribution of temperature inside a room filled with computers, provided all kind of conditions.

    And we are trying to figure out how to modelize a room with various conditions ( BCs, initial conditions, heat generation)

    For example, we are trying to come up with a heat generation term for the computers. Our understanding is that these computers would diffuse heat in a circular fashion ( we don;t to get all the way to the molecular level :) ). So, our very first guess would be to have some function g(x,y,t)=gamma/(x-x0) +gamma/(y-y0)

    where gamma would be some kind of constant related to the kind of computer we are using and x0,y0 would be some kind location in a grid modelizing the room.

    So what we want to know is are we on the right track, where can we find some info about heat generated by a computer, is our equation entirely wrong ?

    Also, when we to solve the heat equation, we also have a term with a k coefficient that is liinked to the thermal conductivity, density and heat capacity. Since all this stuff varies a lot thoughout the room, this does look to be a great source of complexity. Is there anny way/reason to simplify/neglect that ?

    Cheers, and thanks for taking the time to read that :surprised
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?