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.

if statement

Please login with a confirmed email address before reporting spam

hi.
i have a probleme with ' if statement'. if you can help me. (if(t<=12*36000,-0.75,-5))
thank's


4 Replies Last Post 2015年2月23日 GMT-5 10:54

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月22日 GMT-5 10:04
results
results


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月23日 GMT-5 02:10
You should use a smooth step function, if I rember well in versin 3.x it was called "flc1hs".

Regards

Jens
You should use a smooth step function, if I rember well in versin 3.x it was called "flc1hs". Regards Jens

Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月23日 GMT-5 05:08
You can also use the Step function available under Definitions > Functions.
You can also use the Step function available under Definitions > Functions.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年2月23日 GMT-5 10:54
thank you.. can you give me a exemple ... ???
thank you.. can you give me a exemple ... ???

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.