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.

Comsol Conditional Functions

Please login with a confirmed email address before reporting spam

Dear all

I try to implement a time dependent function which may change its value between 0 and 1 depending on two conditions that need to be fulfilled both for two if statements as follows (d(b,t) is the derivate of d with respect to time):

if((a>0&&d(b,t)>0),1,0) and if ((a<0&&d(b,t)<0),1,0)

Thank you for your support, regards

0 Replies Last Post 2017年4月10日 GMT-4 09:29
COMSOL Moderator

Hello Curdin Bapst

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.