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.
smoothing an analytical function
Posted Jul 13, 2011, 11:26 a.m. EDT Parameters, Variables, & Functions Version 4.2 2 Replies
Please login with a confirmed email address before reporting spam
Hello,
I have an analytical function m'=k*(cs-c). k, cs, c are arguments, that's why I can use analytical function, only (not piecewise f.i.). m' gets negative for c>cs. What I need is a function m'=max(k*(cs-c),0) with a smooth transition from k*(cs-c) to 0. k*(cs-c) is a straight falling line. k is a constant, cs is a function of T, and c is a variable to solve for.
Is there anybody who has a good idea?
Thank you very much!
Michael
I have an analytical function m'=k*(cs-c). k, cs, c are arguments, that's why I can use analytical function, only (not piecewise f.i.). m' gets negative for c>cs. What I need is a function m'=max(k*(cs-c),0) with a smooth transition from k*(cs-c) to 0. k*(cs-c) is a straight falling line. k is a constant, cs is a function of T, and c is a variable to solve for.
Is there anybody who has a good idea?
Thank you very much!
Michael
2 Replies Last Post Jul 14, 2011, 10:10 a.m. EDT