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.

Heat flux as a piecewise function

Please login with a confirmed email address before reporting spam

Hello,

i´m currently having a problem on declaring a temperature as a piecewise function. Ì´m using Heat Transfer in Fluids modul, where I added a Temperature to my lower boundary, that is constant in time. What I need is a heat source, that is for instance for 0<t<20 sec is 100 W and after that is 0. Is something like that possible nad how?

Thx in advance!

2 Replies Last Post Jun 5, 2012, 7:29 a.m. EDT
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 Jun 5, 2012, 7:09 a.m. EDT
Hi

define an analytical or a pievevise function in the "Definition" section then use it in the BC field with a call to time "t[1/s]", perhaps premultiplied by an amplitudes with correct units

for example

Q0*rect1(t[1/s])

with Q0 = 5[W/m^2] or whatever defined in a parameter, or from another study as a variable
and rect1() an operator you define in the Definition function nodes

--
Good luck
Ivar
Hi define an analytical or a pievevise function in the "Definition" section then use it in the BC field with a call to time "t[1/s]", perhaps premultiplied by an amplitudes with correct units for example Q0*rect1(t[1/s]) with Q0 = 5[W/m^2] or whatever defined in a parameter, or from another study as a variable and rect1() an operator you define in the Definition function nodes -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jun 5, 2012, 7:29 a.m. EDT
Thanx a lot! :)
Thanx a lot! :)

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.