Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Combining different variables into one

$
0
0
Hello all, i am quite new in the COMSOL world so i dont know all the possibilities that go with it and i would like to know if somebody can tell me how to combine expressions for different time steps in time dependent problems into one.
for example i want to use a smoothed step function from 0 to t1 and then from t1 to t2 a cosine function, so similar like the IF and ELSEIF operators in MATLAB. so again, form 0 to t1 i need to use one expression and from t2 to t3 another.

thank you in advance :)

Viewing all articles
Browse latest Browse all 26527

Trending Articles