Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 6533

User defined function in post-processing (5.3)

$
0
0

Sorry if this has already been asked. I did try and search for this but couldn't find anything which is strange because it seems like a really obvious problem.

I have a working model of a thermal system, and a formula which depends on the average temperature of a certain component. I have defined a piecewise function (in Component 1) for this and would like to automatically apply this function to the temperature result in a results node table. If I "create plot" then COMSOL places a result node which plots the function and shows me that it exists as comp1.sr_vp as in this image. But if I try and apply this function to a result I get the error

Evaluation of result expression failed. Unknown function or operator. - Name: comp1.sr_vp

And the function is not visible in the list of functions defined under Component 1 in the "replace" menu.

I must be missing something obvious here but I don't know what. Any help is appreciated.


Viewing all articles
Browse latest Browse all 6533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>