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.
User defined function in post-processing (5.3)
Posted 2018年7月25日 GMT-4 06:09 Electromagnetic Heating, Heat Transfer & Phase Change, Results & Visualization Version 5.3 4 Replies
Please login with a confirmed email address before reporting spam
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.