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.

Use an interpolation function in an analytic function

Please login with a confirmed email address before reporting spam

Hello,

I have defined an interpolation function T(t) for a temperature profile.

Now I want to define a function for a heatsource:

Q = const * (T(t) - T_0)

If I try to modulate that function as an analytic function, COMSOL doesn´t recognice T(t).

How can I solve the problem? Or should I use Variables?

Thanks

Alessandro


2 Replies Last Post 03.11.2017, 08:34 GMT-4
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 03.11.2017, 08:21 GMT-4

For an example of an analytic function calling an interpolation, see my post here: https://www.comsol.com/forum/thread/103901/step-function-for-battery-module?last=2017-02-10T22:31:07Z

Best, Jeff

-------------------
Jeff Hiller
For an example of an analytic function calling an interpolation, see my post here: https://www.comsol.com/forum/thread/103901/step-function-for-battery-module?last=2017-02-10T22:31:07Z Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 03.11.2017, 08:34 GMT-4

Thanks - that solved my problem!

Thanks - that solved my problem!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.