Thermal Conductivity Graph in Comsol

Click For Summary

Discussion Overview

The discussion revolves around the challenge of modeling the thermal conductivity of copper as it varies with temperature, specifically from 4.5 K to 300 K. Participants explore methods for fitting a curve to a set of data points and integrating the resulting function for use in Comsol.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Experimental/applied

Main Points Raised

  • Mike presents a set of data points representing copper's thermal conductivity and seeks a method to find an equation for the bell-shaped curve formed by these points.
  • Some participants suggest using MATLAB for curve fitting, indicating it has tools that could facilitate the process of importing data and fitting a curve.
  • Another participant emphasizes the ease of importing data into MATLAB and creating a matrix from spreadsheet values for analysis.
  • Mike later mentions successfully interpolating the data in Comsol using the interpolation function, despite lacking access to the MATLAB toolbox.

Areas of Agreement / Disagreement

Participants generally agree on the utility of MATLAB for curve fitting, but there is no consensus on the necessity of MATLAB, as Mike found an alternative solution within Comsol.

Contextual Notes

There are limitations regarding the specific methods available to Mike, as he does not have access to all tools in MATLAB, which may affect the generalizability of the suggested approaches.

mherna48
Messages
43
Reaction score
0
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,
Mike
 
Engineering news on Phys.org
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.
 
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.
 
Hi,

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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K