Undefined variable for Heat Transfer in Solids error

Please login with a confirmed email address before reporting spam

Hello, I am getting this error even when all the variables are defined. COMSOL should automaticaly create qy and qx. This is the error:

Undefined variable. - Variable: ht.qy - Geometry: geom1 - Boundaries: 17, 24, 41, 60, 73, 91 Failed to evaluate expression. - Expression: ht.qy Failed to evaluate expression. - Expression: comp1.intopY(ht.qy) Failed to evaluate expression. - Expression: comp1.intopY(ht.qy) - Feature: Global Evaluation 1


1 Reply Last Post 2025年10月30日 GMT+8 06:11
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 1 hour ago 2025年10月30日 GMT+8 06:11
Updated: 1 hour ago 2025年10月30日 GMT+8 06:13

For some reason, that variable is not available on the specific boundaries which the error message identified and under the circumstances that you are endeavoring to access it. I can imagine a number of possible scenarios in which this might occur. I suggest you post your .mph file to the forum -- I suspect it will not be difficult for other users here to find what went wrong, once they can see what you did. It could even be as simple as a failure to set up the problem to actually compute these quantities.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
For some reason, that variable is not available on the specific boundaries which the error message identified and under the circumstances that you are endeavoring to access it. I can imagine a number of possible scenarios in which this might occur. I suggest you post your .mph file to the forum -- I suspect it will not be difficult for other users here to find what went wrong, once they can see what you did. It could even be as simple as a failure to set up the problem to actually compute these quantities.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.