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 one piece wise function as an argument of another function.
Posted 6 feb 2017, 02:11 GMT-5 Parameters, Variables, & Functions Version 5.0 0 Replies
Please login with a confirmed email address before reporting spam
I did define a piecewise function g.
Temperature-range Value of g
298K - 1400K 0
1400K - 1600K ((T-T_m)/(T_l-T_m))^(1/(Ke-1))
1600K - 1750K 1
T_m, T_l, Ke were defined in global parameters as 1712K, 1600K, 0.3
now I want to use this piecewise function as an argument and define another function Cp_iron such that
Range of g(T) Cp_iron
0 - 0.25 0
0.25 - 1 450
when I try to plot the graph for C_p, error message shows unknown function or operator.
- Name: g
- Plot: plot1 (Line graph)
- Function: cp_iron
What am I doing wrong?
Can I not use one function as an argument of another function in comsol?
Please help.
Attaching the graph of function g.
Hello Tushar Telmasre
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.