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

Thermal Conductivity Graph in Comsol

  1. Jun 19, 2009 #1
    Hi Everyone,

    I have a thousand data points that create a graph of Copper's Thermal Conductivity as it changes from a temperature of 4.5 K to 300K. These points create a somewhat bell-shaped curve, and I have been trying to find the equation to this curve so I can integrate it. I have previously tried to solve it by hand but I got the feeling I was going about this whole thing all wrong.

    In the end, I would like to model this piece of copper undergoing a change in temperature of 295.5 K. Normally, it would be easy to do this using Comsol, but the change in conductivity is not linear due to the extreme temperature change.

    My question is: Is there any way to upload, or import, the data points into Comsol? I'd like to have it find the equation or find the area under the curve So I can model this piece of copper.

    Appreciate the time,
  2. jcsd
  3. Jun 21, 2009 #2
    It sounds like you just need the appropriate curve fitting method for your data points. The easiest thing to do would be to just import those data points into Matlab and do a curve fit using the curve fitting toolbox. Then you can just use your fitted equation for the curve in Comsol.
  4. Jun 23, 2009 #3
    I agree, matlab rules for this kind of thing. you can import your data points all at once as well. just copy the spreadsheet values and place ur hard brackets, and ull have a monster matrix in no time.
  5. Jun 24, 2009 #4

    Thanks for the help! I guess I don't have access to the toolbox needed for the graph. However, I was able to interpolate the data by going to Options - > Functions - > New -> Interpolation -> Data from: file.

    Then I could just type in Function_Name(T) in any edit field.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook