Modeling Heat Transfer with Comsol

In summary, the conversation involves a user seeking help on using Comsol v.3.4 to model a copper rod experiencing a temperature change. They have a slow computer and cannot view 3-D images or temperature plots. They are working in the 2-D space dimension and need to add convection to the problem which is being cooled by liquid helium gas. The conversation also touches on the effect of purity on thermal resistance, the importance of analytical calculations and experimental verification in FEA, and the need to have a good understanding of heat transfer and numerical modeling before using Comsol. The user also asks for book recommendations in the subject and inquires about adding the Residual Resistivity Ratio into the model.
  • #1
mherna48
43
0
Hi Everyone,

I'm using Comsol v.3.4 to model a 1-meter copper rod experiencing a Temperature change of 294 Kelvin (4K at bottom and 300K at top). I have a slow computer/connection to the server, so I can't see any 3-D images or the Temperature plots. I'm working in the axial symmetry (2-D) space dimension.

I think I am doing this(Conduction) correctly, and now I need to add the convection portion of the problem. It is being cooled by Liquid Helium Gas. How do I go about doing this? Do I just change the boundary conditions of the outer surface?

Appreciate your time,
Mike
 
Engineering news on Phys.org
  • #2
You will need to change the boundary conditions of your material since I am assuming they are insulated. You will also need to create the boundary conditions of the liquid helium as well.
 
  • #3
Thank you for the response Topher.

Where can I create the boundary conditions for the liquid helium? I assume I need to make that before I can change the boundary conditions because nothing happens when I set the outer surface to convective flux.

Unless I'm supposed to change the outer boundary to "Heat Flux" and give it a negative value?
 
  • #4
If there is no subdomain in contact with the surface of your bar then there can not be any convective flux.

If you know the amount of heat being removed from the bar by the liquid helium then you can have a "heat flux" boundary, for example 1600 watts/m^2 of heating transported through that surface.

If you have your metal bar in a flow of helium and want to model the removal of heat by convection then you need to make a boundary for which that helium will be flowing through. For example, you may have a tube in which the helium will flow through and inside that tube you will have your heated metal bar.
 
  • #5
Since the difference in temperature is so great, the thermal resistance is affected by the purity of the copper. The Residual Resistivity Ratio(RRR) affects both Thermal and Electrical Resistance right? Do you know if Comsol already took that into account? My temperature profile came out linear, so I don't think it does.. Have you or anyone else come across this problem?
 
Last edited:
  • #6
Keep in mind that FEA is not a magic bullet- you'll have to do some up-front analysis. Specifically, you're going to have to calculate the convective coefficient for the liquid helium on the outside of the rod.

I would also do some analytical calcs to make sure your FEA results seem to be in the ballpark. Its very easy to make a simple mistake which will give you an answer that's off by a factor of 2 (or even an order of magnitude).
 
  • #7
I've been trying to do the analytical calculation, but I don't know what I'm looking for. I'm new to heat transfer and this problem is much more intense than other problems in that the temperature change is so drastic.

Could you point me in the direction of a good example, or some good reading material on the subject? What's a key word I should look out for?
 
  • #8
Mech_Engineer said:
Its very easy to make a simple mistake which will give you an answer that's off by a factor of 2 (or even an order of magnitude).

Theres a good chance you will get an answer that's off by a factor of two even if you do everything right. It's important to know how to experimentally verify your models for accuracy, otherwise your model is worthless.

I've been trying to do the analytical calculation, but I don't know what I'm looking for. I'm new to heat transfer and this problem is much more intense than other problems in that the temperature change is so drastic.

Could you point me in the direction of a good example, or some good reading material on the subject? What's a key word I should look out for?

It looks to me that you need to put away Comsol and open up a textbook. I would suggest going out and finding a good heat transfer text and at least learn the basics. After that, go find a text on numerical modeling which covers the finite element, finite volume, and finite difference methods. After that you might be ready for COMSOL.
 
  • #9
Topher925 said:
It looks to me that you need to put away Comsol and open up a textbook. I would suggest going out and finding a good heat transfer text and at least learn the basics. After that, go find a text on numerical modeling which covers the finite element, finite volume, and finite difference methods. After that you might be ready for COMSOL.

I've already done research on Heat Transfer. It is a difficult problem because this isn't a simple problem like in the books. A few books suggest a linear relation, just as Comsol does, but that's assuming near room temperature experiments or non-drastic temperatures changes.

Do you have any suggestions for good books on this topic?
 
Last edited:
  • #10
Here's the equation I'm working with:

[tex]A * \frac{\partial}{\partial x}* \left[ \kappa(T(x)) * \frac{\partial T(x)}{\partial x}\right] = 0 [/tex]

where
x : Position
A : Cross sectional area of the rod
[tex] T(x) [/tex] : Temperature as a function of position
[tex] \kappa ( T(x) ) [/tex] : the coefficient of thermal conductivity as a function of TemperatureThat covers the Heat transfer by conduction. I haven't solved this yet, so after that I will focus on Helium cooling. I'm trying to solve for [tex] T(x)[/tex].
 
  • #11
The Residual resistivity Ratio(RRR) affects both Thermal and Electrical Resistance right? Do you know if Comsol already took that into account?
 
  • #12
Comsol won't take special nonlinear considerations (like the RRR) into account unless you specifically add it, so no.
 
  • #13
This may be a dumb question, but: Where would I add that?

Would it be under physics->subdomain settings->Thermal Conductivity?

I tried to input an expression in there with a variable T for temperature, but it did not recognize that variable(which I kind of expected). I know where I can declare constants, is there anywhere to declare(or associate) T with Temperature?
 
  • #14
Since you already added conduction physics to your model, a variable associated with temperature should already be defined. check your output variables by
solve->solver manager-> output vairables.

You can also see what variables comsol associates with a specific subdomain by
Physics->equation systems->subdomain settings->vairables

This is useful because these are some of the variables comsol already knows, so you can use them to define other functions, ie "couple the physics"
 
  • #15
i would suggest re-doing your model with the fluid structure thermal analysis module. it would probably be set up already for all your inputs and save you a lot of time.
 
  • #16
There are a few fluid thermal packages, could you specify which one you are referring to Nick?

Also, does anyone know how to access/view the differential equations that Comsol is using? My mentor wants me to find the equation that solves the system, but all I can come up with is a Temperature profile.

Thanks,
Mike
 
  • #17
check out Physics-->Subdomain Settings...the equaiton is displayed at the top of the dialouge box.

Vary the physics being used under multiphysics and repeat the above to view the equations corresponding to the various physics involved
 
  • #18
Thanks Effort,

Now that I got a temperature profile using the Conduction Multiphysics package, I'd like to try to get the same result by inputting my own equation in the PDE mode. What's the difference between the Weak form, General form, and the coefficient form?
 
  • #19
The General and coefficient PDE's are essemtially the same, there are just written in different formats. I believe one can be used for nonlinear PDEs where the other is only for linear PDEs. I'm not familiar with the weak form, but I am almost certain you won't need to use it to input your own heat equation.
 
  • #20
OK, so I have gone over the user guide and I see that they are the same. So, I'm still trying to solve the equation:

[tex] A \cdot \frac{\partial}{\partial x} \cdot \left[ \kappa(T(x)) \cdot \frac{\partial T(x)}{\partial x}\right] = 0 [/tex]

And from what I can gather, I would just change the coefficient form from

[tex] e_{a} \cdot \frac{\partial^{2} u}{\partial t^{2}} + d_{a} \cdot \frac{\partial u}{\partial t} + \nabla \cdot (- c \cdot \nabla u - \alpha u + \gamma) + \beta \cdot \nabla u + a u = f [/tex]

to

[tex] A \cdot \frac{\partial}{\partial x} \cdot \left[ \kappa(T(x)) \cdot \frac{\partial T(x)}{\partial x}\right] = 0 [/tex]

by making

[itex] e_{a} = 0 [/itex]
[itex] d_{a} = 0 [/itex]
[itex] c = -\kappa(T(x)) [/itex]
[itex] \beta = 0 [/itex]
[itex] f = 0 [/itex]
[itex] \alpha = \gamma = 0 [/itex]

Is this correct? Also, I wanted to check with you to make sure that it is true that u is now the dependent variable instead of T.
 
  • #21
Also, How do I make sure that the PDE mode knows to take the area of the cross section into account for the conduction part?
 
  • #22
That looks fine.

In the PDE coeficient form u is the depenednet variable...so yes it is T.
u is a function of x,y,z,t...so when you take the gradient COMSOL is taking the gradient in all directions, not just in the x direction as your equation suggests.

From your equation above, assuming the cross-sectional area is constant I don't see why you couldn't just enter it in as part of the coefficient c.

question: You're not doing a transient analysis?
 
  • #23
For now, the cross sectional area is constant. But in the future, the geometry will not be a simple rod and will vary.

I am not worried about transient analysis yet. I figure it's be best to start with the steady state and progress from there.

I will also need to add convection and electric heating in the future.
 
  • #24
The complete equation I'm working up to is:

[tex] A \cdot \frac{\partial}{\partial x} \cdot \left[ \kappa(T(x)) \cdot \frac{\partial T(x)}{\partial x}\right] - m^{\cdot}_{I}C_{p}(T) \cdot \frac{\partial T}{\partial x} + \frac{\rho(T) \cdot I^{2}_{0} }{A} = 0 [/tex]

so, by making

[itex] e_{a} = 0 [/itex]

[itex] d_{a} = 0 [/itex]

[itex] c = -\kappa(T(x)) [/itex]

[itex] \beta = -m^{\cdot}_{I}C_{p}(T) [/itex]

[itex] f = - \rho(T) \cdot I^{2}_{0} [/itex]

[itex] \alpha = \gamma = 0 [/itex]

in the coefficient form:

[tex] e_{a} \cdot \frac{\partial^{2} u}{\partial t^{2}} + d_{a} \cdot \frac{\partial u}{\partial t} + \nabla \cdot (- c \cdot \nabla u - \alpha u + \gamma) + \beta \cdot \nabla u + a u = f [/tex]

...Comsol will be a simulation of the equation I'm trying to use. Right?

Edit:
[itex] m^{\cdot}_{I} [/itex] is the density of the vapor cooling my object
[itex] C_{p}(T) [/itex] is the specific heat of my object
[itex] \kappa(T(x)) [/itex] is thermal conductivity as a function of temperature
*vapor is helium and object being cooled is made of copper
 
Last edited:
  • #25
I also need to figure out how to associate this equation with the cross sectional area
 
  • #26
Does anyone know how to relate the cross sectional area to the equation?
 
  • #27
What's the best way to deal with a convergence error in COMSOL?
 
  • #28
smaller step sizes?
 

1. How does Comsol model heat transfer?

Comsol uses the finite element method (FEM) to model heat transfer, which divides the model into small, interconnected elements and solves for the temperature distribution within each element.

2. What types of heat transfer can be modeled with Comsol?

Comsol can model conduction, convection, and radiation heat transfer, as well as phase change and thermal stress effects.

3. How accurate are the results obtained from Comsol heat transfer simulations?

The accuracy of the results depends on the quality of the model inputs, such as boundary conditions and material properties. Comsol provides a variety of tools to help validate and improve the accuracy of the results.

4. Can Comsol handle complex geometries for heat transfer modeling?

Yes, Comsol has a built-in geometry modeling tool that allows for the creation of complex 3D geometries. It also supports importing CAD files for easier geometry creation.

5. Is Comsol suitable for both steady-state and transient heat transfer simulations?

Yes, Comsol can handle both steady-state and transient heat transfer simulations. It also has the ability to couple different physics, such as thermal and structural, for more complex and realistic simulations.

Similar threads

  • Mechanical Engineering
Replies
15
Views
2K
Replies
2
Views
2K
  • Mechanical Engineering
Replies
34
Views
4K
  • Classical Physics
Replies
27
Views
901
Replies
5
Views
1K
Replies
17
Views
1K
  • Mechanical Engineering
Replies
1
Views
750
Replies
10
Views
2K
  • Mechanical Engineering
Replies
1
Views
1K
Back
Top