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.
Using analytical functions
Posted 4 feb 2011, 18:48 GMT-5 Version 4.1 3 Replies
Please login with a confirmed email address before reporting spam
Hello,
I have a simple question. I am trying to use analytical functions in COMSOL. However, after I define my function in the model, I can't seem to access it if I put in a variable as the argument.
For instance, suppose that I define a function Cb = t. When I try to input Cb(t) as a term in the boundary conditions, it doesn't seem to work. However, if I say Cb(100), it seems to work, but it's not what I want. I want to be able to use Cb as a function of time.
Thanks,
Henry
I have a simple question. I am trying to use analytical functions in COMSOL. However, after I define my function in the model, I can't seem to access it if I put in a variable as the argument.
For instance, suppose that I define a function Cb = t. When I try to input Cb(t) as a term in the boundary conditions, it doesn't seem to work. However, if I say Cb(100), it seems to work, but it's not what I want. I want to be able to use Cb as a function of time.
Thanks,
Henry
3 Replies Last Post 6 feb 2011, 02:52 GMT-5