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.

temperature dependent time

Please login with a confirmed email address before reporting spam

Hello Im new in COMSOL

I have a 2D model for solidification where i like to put following baundaries for the temperature dependent on the time:

T(t)=533-0.03*t (kelvin)
temperature = 533 Kelvin
cooling rate =0.03 K/s
t= time (second)

thank you in advance

2 Replies Last Post 26.10.2014, 14:19 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 25.10.2014, 04:23 GMT-4
Hi

set a "Temperature boundary condition" node over the boundary you want to control, and write out your equation diretly like that:

533[K]-0.03[K/s]*t

"t" is defined by default in COMSOL if you call in the time solver

if you do not give the units in [ ] your formula will flag orange = WARNING unit inconsistency, but that is no error, just a warning that COMSOL cannot check that the units are consistent. Therefore I always add units, it helps me too to check that I'm writing out the formulas correctly

--
Good luck
Ivar
Hi set a "Temperature boundary condition" node over the boundary you want to control, and write out your equation diretly like that: 533[K]-0.03[K/s]*t "t" is defined by default in COMSOL if you call in the time solver if you do not give the units in [ ] your formula will flag orange = WARNING unit inconsistency, but that is no error, just a warning that COMSOL cannot check that the units are consistent. Therefore I always add units, it helps me too to check that I'm writing out the formulas correctly -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 26.10.2014, 14:19 GMT-4
thank's ivar
A+
thank's ivar A+

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.