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.

undefined variable error

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


Hi COMSOL Users,

I am new to using COMSOL 5.2a and perhaps because of that I am missing something simple. I have tried to model solidification of aluminium in sand mold, i have used "heat transfer in liquid (ht2)" and "heat transfer in solid (ht3)" but I get several error:

Undefined variable. - Variable: T - Geometry: geom1 - Domain: 1 Failed to evaluate Jacobian of expression. - Expression: (comp1.ht3.d((-comp1.ht3.k_effxx)comp1.T3x))dvol Failed to evaluate Jacobian of expression. - Expression: ((-comp1.ht3.k_effxxcomp1.T3xtest(comp1.T3x)-comp1.ht3.k_effyycomp1.T3ytest(comp1.T3y))comp1.ht3.d)*(dvol)

Has anyone had problems like the above ones? How can fox these issues?

Thanks in advance,


0 Replies Last Post 2018年4月5日 GMT-4 13:36
COMSOL Moderator

Hello Dor Mah

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.