Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Lineair temperature increase in Heat transfer

Please login with a confirmed email address before reporting spam

Hi there,

I am modeling an autoclave and i am trying to increase the temperature at specific time intervals. I entered the formula for the temperature increase in the variables but i doenst work.

This is the formula. ( every 2 minutes the temperature will go up 2 degrees C.)
T=T0+2t

What is the best way to do this?

thanks in advance.

3 Replies Last Post 09.05.2012, 03:01 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 08.05.2012, 12:14 GMT-4
Hi

I believe something like

T=T0+2[K]/(60[s])*t

should work better (assuming T0 has units of Kelvin) if you have left the time in the default "seconds" units. 2*t has units of seconds and you want it in K/min

pls take care with temperature and absolute values, COMSOL uses Kelvin by default, even if the slop of degC and K are the same, it might be translted differently, depending on how you use your variables. The easiest is to work in SI and Kelvins

--
Good luck
Ivar
Hi I believe something like T=T0+2[K]/(60[s])*t should work better (assuming T0 has units of Kelvin) if you have left the time in the default "seconds" units. 2*t has units of seconds and you want it in K/min pls take care with temperature and absolute values, COMSOL uses Kelvin by default, even if the slop of degC and K are the same, it might be translted differently, depending on how you use your variables. The easiest is to work in SI and Kelvins -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 08.05.2012, 13:05 GMT-4
Thanks for the quick answer!!

will try it tomorrow right away
Thanks for the quick answer!! will try it tomorrow right away

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 09.05.2012, 03:01 GMT-4
It is working. Did it as follows:
Global definitions:
T0=293K
T1=400K
t=0[s]

Variables
Temp T0+2[K]/(60[s])*t

Heat Transfer:
Temperature : if(Temp<T1,Temp,T1)


It is working. Did it as follows: Global definitions: T0=293K T1=400K t=0[s] Variables Temp T0+2[K]/(60[s])*t Heat Transfer: Temperature : if(Temp

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.