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
Posted 10 avr. 2017, 09:29 UTC−4 Parameters, Variables, & Functions Version 5.2a 0 Replies
Please login with a confirmed email address before reporting spam
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
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.