Blog COMSOL COMSOL General Articles Research

Conditional statement in comsol multiphysics

Conditional statement in comsol is very usefull for modelling complicated simulations. The core of the function is if((x>lowerlimit)*(x<=upperlimit),valueiftrue,valueiffalse) the value if false is then a second if the statement of the same form, and so on. The “*” in the formula is equivalent to the AND statement. One way is to use conditional expressions. An […]