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.
[Basic Level] Function implementations
Posted 2012年2月1日 GMT-5 12:26 Parameters, Variables, & Functions Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I defined a function "fun" in the "Global Definitions"
"fun" is a piece-wise function with the argument of time t. So fun(t), and this function works correctly.
I used physics "Transport of Diluted species", and I have a "Flux condition".
I choose "Inward Flux" with "Species c", and type the function for the flux condition.
But when i type "fun" or "fun(t)", it displays red.
So what is the formula of the function type : f[t] or f(t) or f{t} ?
I defined a function "fun" in the "Global Definitions"
"fun" is a piece-wise function with the argument of time t. So fun(t), and this function works correctly.
I used physics "Transport of Diluted species", and I have a "Flux condition".
I choose "Inward Flux" with "Species c", and type the function for the flux condition.
But when i type "fun" or "fun(t)", it displays red.
So what is the formula of the function type : f[t] or f(t) or f{t} ?
1 Reply Last Post 2012年2月1日 GMT-5 12:56