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.

Unable to evaluate an expression

Please login with a confirmed email address before reporting spam

Excuse me, I am getting an error as

Attempt to evaluate real square root of negative number.
Function: sqrt
Failed to evaluate expression.
Expression: nojac(min(1,(sqrt((comp1.fsi.h2GNS*((comp1.fsi.rho^2)*(((comp1.u fluid-d(r,TIME))^2)+((comp1.w fluid-d(z,TIME))^2)))))/(comp1.fsi.mu*24))))
Failed to evaluate variable.
Variable: comp1.fsi.xi m, Defined as: nojac(min(1,(sqrt((comp1.fsi.h2GNS*((comp1.fsi.rho^2)*(((comp1.u fluid-d(r,TIME))^2)+((comp1.w fluid-d(z,TIME))^2)))))/(comp1.fsi.mu*24))))
Failed to evaluate variable.
Variable: comp1.fsi.vhNS lin, Defined as: ((0.5*sqrt((max((comp1.fsi.tau m*(((comp1.fsi.res u*comp1.fsi.xi m)^2)+((comp1.fsi.res v*comp1.fsi.xi m)^2))),0)*comp1.fsi.B0YigijtauNorm2)))/(comp1.fsi.B0YigijtauNorm2+eps))
Failed to evaluate expression.
Expression: nojac(((1.4142135623730951^(1-shapeorder(comp1.u fluid)))*max((comp1.fsi.vhNS lin-comp1.fsi.vhNS quad),0)))
Failed to evaluate variable.
Variable: comp1.fsi.vhNS, Defined as: nojac(((1.4142135623730951^(1-shapeorder(comp1.u fluid)))*max((comp1.fsi.vhNS lin-comp1.fsi.vhNS quad),0)))
Failed to evaluate temporary symbolic derivative variable.
Variable: comp1.fsi.crosswindnsVDN${test8}, Defined as: ((comp1.fsi.rho*comp1.fsi.vhNS)*((comp1.u fluidr*(-comp1.fsi.gijrr))-(comp1.u fluidz*comp1.fsi.gijrz)))
Failed to evaluate expression.
Expression: d((2*comp1.fsi.crosswindns*pi*r)*(dvol spatial),{test8})
Last time step is not converged.

Can Any one answer this pls

8 Replies Last Post 2017年7月3日 GMT-4 19:46
COMSOL Moderator

Hello Apurva Gajwani

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.


Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2016年5月22日 GMT-4 22:53
I have got the same problem,do you have any solution?
I have got the same problem,do you have any solution?

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年9月30日 GMT-4 03:14
Me too! But for conjugate heat transfer. I am assuming it has something to do with a particular poor quality mesh. But I have tried to change the mesh significantly and it does not seem to work.
Me too! But for conjugate heat transfer. I am assuming it has something to do with a particular poor quality mesh. But I have tried to change the mesh significantly and it does not seem to work.

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年9月30日 GMT-4 03:42
For me, it just helped to turn off crosswind stabilisation, as that is where the error message stems from.
For me, it just helped to turn off crosswind stabilisation, as that is where the error message stems from.

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2017年4月10日 GMT-4 16:57
I have the same issue in a model with NITF physics. Please advise! Thank you.
I have the same issue in a model with NITF physics. Please advise! Thank you.

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2017年5月30日 GMT-4 07:08
I got the same Problem,
and I just can not figure out where the Problem is...
I got the same Problem, and I just can not figure out where the Problem is...

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年7月2日 GMT-4 16:30
Hey,

I am facing the same issue with conjugate heat transfer.

Did anyone got a solution to the problem.

Thanks in advance
Hey, I am facing the same issue with conjugate heat transfer. Did anyone got a solution to the problem. Thanks in advance

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年7月3日 GMT-4 12:21
Hi,
I would get a similar error earlier. As far as I remember, the issue was with the initial conditions that were far from the final solution.
To resolve that, solve the heat transfer at first (using u,v,w=0), then use the solution as an initial condition for the combined study.
Hope this helps you.
Amin,
Hi, I would get a similar error earlier. As far as I remember, the issue was with the initial conditions that were far from the final solution. To resolve that, solve the heat transfer at first (using u,v,w=0), then use the solution as an initial condition for the combined study. Hope this helps you. Amin,

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年7月3日 GMT-4 19:46
Thanks
Thanks

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.