Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Function of temperature

Please login with a confirmed email address before reporting spam

Hello,
I am new to modeling with COMSOL. I am working on a simple heat transfer model of a solid with a constant heat source increasing the temperature. I would like to have the Cp change as a function of temperature, and have set it up as a piecewise function with my argument being pd(T,t). But it is still not able to evaluate my function.
Any advice would be helpful.
Thanks in advance.
Gina

3 Replies Last Post 6 ago 2010, 09:50 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 ago 2010, 05:06 GMT-4
Hi

the easiest is to look at the material library functions and identify one that has a temperature variance included. another way is to save the file in "m" format and check what is happening there (it's slightly cryptic but still manageable).

Once you have defined your function in COMSOL (you can check the shape by plotting it) you need to refer to it in the Cp variable field of your domain/volume specification

by the way are you in V3.5 or v4 ?

there ate quite some changes in the denominations, it helps to specify for your questions

--
Good luck
Ivar
Hi the easiest is to look at the material library functions and identify one that has a temperature variance included. another way is to save the file in "m" format and check what is happening there (it's slightly cryptic but still manageable). Once you have defined your function in COMSOL (you can check the shape by plotting it) you need to refer to it in the Cp variable field of your domain/volume specification by the way are you in V3.5 or v4 ? there ate quite some changes in the denominations, it helps to specify for your questions -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 ago 2010, 08:24 GMT-4
Thanks. I will try those suggestions.
I am working in 4.0.
Gina
Thanks. I will try those suggestions. I am working in 4.0. Gina

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 ago 2010, 09:50 GMT-4
It's working now. Thanks for the help.
Gina
It's working now. Thanks for the help. Gina

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.