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.

Error "Attempt to evaluate nonintegral power of negative number."

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


Attempt to evaluate nonintegral power of negative number. - Function: ^ Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.aw@VDN$comp1.c - Defined as: 1.3629999999999999893-((((0.5(((-1.3629999999999999893)(0.5(comp1.b^(-0.5))))-((4comp1.a)+(comp1.d1.4827999999999998959))))(1/comp1.a))+(0.3707((-(0.5((comp1.b^0.5)-((4comp1.a)comp1.d))))/(comp1.a^2))))(0.5(((0.5((comp1.b^0.5)-((4comp1.a)comp1.d)))/comp1.a)^(-0.5)))) Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.cs@VDN$comp1.c - Defined as: (unit_K_cf(5702.9107529468365(1.3629999999999999893-((((0.5(((-1.3629999999999999893)(0.5(comp1.b^(-0.5))))-((4comp1.a)+(comp1.d1.4827999999999998959))))(1/comp1.a))+(0.3707((-(0.5((comp1.b^0.5)-((4comp1.a)comp1.d))))/(comp1.a^2))))(0.5(((0.5((comp1.b^0.5)-((4comp1.a)comp1.d)))/comp1.a)^(-0.5)))))))(1/comp1.T) Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.ht.bhs1.Qb@VDN$comp1.c - Defined as: hm(H((unit_K_cf(5702.9107529468365(1.3629999999999999893-((((0.5(((-1.3629999999999999893)(0.5(comp1.b^(-0.5))))-((4comp1.a)+(comp1.d1.4827999999999998959))))(1/comp1.a))+(0.3707((-(0.5((comp1.b^0.5)-((4comp1.a)comp1.d))))/(comp1.a^2))))(0.5(((0.5((comp1.b^0.5)-((4comp1.a)comp1.d)))/comp1.a)^(-0.5)))))))(1/comp1.T))) Failed to evaluate expression. - Expression: dvol_spatial(comp1.ht.d(hm(H((unit_K_cf(5702.9107529468365(1.3629999999999999893-((((0.5(((-1.3629999999999999893)(0.5(comp1.b^(-0.5))))-((4comp1.a)+(comp1.d1.4827999999999998959))))(1/comp1.a))+(0.3707((-(0.5((comp1.b^0.5)-((4comp1.a)comp1.d))))/(comp1.a^2))))(0.5(((0.5((comp1.b^0.5)-((4comp1.a)comp1.d)))/comp1.a)^(-0.5)))))))(1/comp1.T))))) Failed to evaluate Jacobian of expression. - Expression: dvol_spatial(comp1.ht.dcomp1.ht.bhs1.Qb) Failed to evaluate Jacobian of expression. - Expression: (comp1.ht.bhs1.Qbtest(comp1.ht.bhs1.Tvar)comp1.ht.d)(dvol_spatial)

In my Variable there is quadratic formula function,where -b +/- sqrt b^2-4ac/2a.


0 Replies Last Post 16.06.2021, 01:06 GMT-4
COMSOL Moderator

Hello Nor Laila

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.