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.

Piecewise function

Please login with a confirmed email address before reporting spam

Hi there,

I wish to define a boundary heat flux that turns on and off with time. I am a little confused with how this process is carried out. I thought that it would be possible to stipulate values within function sections. However what will my argument be and how do I define the piecewise function within the boundary heat flux section?

Any help would be very much appreciated.

Regards

Mathew

1 Reply Last Post 2010年8月20日 GMT-4 02:19
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 2010年8月20日 GMT-4 02:19
Hi

I would suggest to define a function of time "t" (use "t[1/s]"as argument when calling) that defines your shape (and use smoothed turn on/off) and then you multiply with an amplitude (with units) value

you call then the function in your boundary condition

--
Good luck
Ivar
Hi I would suggest to define a function of time "t" (use "t[1/s]"as argument when calling) that defines your shape (and use smoothed turn on/off) and then you multiply with an amplitude (with units) value you call then the function in your boundary condition -- Good luck Ivar

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.