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.

step function in 3.5

Please login with a confirmed email address before reporting spam

Hello!
How can i give as a heat source a step input.
In particular, i want my heat source to go to zero after some time but i cannot find the step function.
thanks

2 Replies Last Post 5 apr 2011, 06:53 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 5 apr 2011, 05:42 GMT-4
Hi,

you can use something like Q*(t<t0). Q is the heat source, t0 is the switch-off time. This is a sharp step. If you want to smooth the step, use the flsmhs function. It is in the documentation.

Cheers
Edgar
Hi, you can use something like Q*(t

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 5 apr 2011, 06:53 GMT-4
thanks, i wanted the sharp one!
thanks, i wanted the sharp one!

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.