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 23 feb 2015, 10:54 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 22 feb 2015, 10:04 GMT-5
results
results


Please login with a confirmed email address before reporting spam

Posted: 10 years ago 23 feb 2015, 02:10 GMT-5
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 23 feb 2015, 05:08 GMT-5
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 23 feb 2015, 10:54 GMT-5
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.