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 févr. 2015, 10:54 UTC−5

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 22 févr. 2015, 10:04 UTC−5
results
results


Please login with a confirmed email address before reporting spam

Posted: 9 years ago 23 févr. 2015, 02:10 UTC−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: 9 years ago 23 févr. 2015, 05:08 UTC−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: 9 years ago 23 févr. 2015, 10:54 UTC−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.