Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Conditional Expressions
Posted 27 sept. 2012, 20:41 UTC−4 Version 4.2a 3 Replies
Please login with a confirmed email address before reporting spam
Hi All,
I was wondering if there is a way to make a dependent variable's expression be different depending on the value of another dependent variable.
For example, suppose we have the expression
ut-u=0
and wanted
y-u^2 = 0
for some u, but
y-u^3 = 0
for other u values.
Is there a way to do that?
Thanks for any advice in advance,
I was wondering if there is a way to make a dependent variable's expression be different depending on the value of another dependent variable.
For example, suppose we have the expression
ut-u=0
and wanted
y-u^2 = 0
for some u, but
y-u^3 = 0
for other u values.
Is there a way to do that?
Thanks for any advice in advance,
3 Replies Last Post 28 sept. 2012, 14:33 UTC−4