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.
Analytic function with multiple lower/upper limits
Posted 25 août 2015, 15:16 UTC−4 Heat Transfer & Phase Change, Materials, Parameters, Variables, & Functions, Structural Mechanics Version 4.4 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I'm trying to define an analytic function in the global definition that has multiple definitions over different range. For example, the expression is x, when 0<x<=20; the expression is 2x^2+1 when 20<x<=50, so on. How should I combine them into one analytic function? Or should I just define a bunch of them then somehow use all of them later (in the material properties for example)?
Any help is much appreciated! Thanks!
I'm trying to define an analytic function in the global definition that has multiple definitions over different range. For example, the expression is x, when 0<x<=20; the expression is 2x^2+1 when 20<x<=50, so on. How should I combine them into one analytic function? Or should I just define a bunch of them then somehow use all of them later (in the material properties for example)?
Any help is much appreciated! Thanks!
2 Replies Last Post 25 août 2015, 16:24 UTC−4