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 3 lug 2017, 19:46 GMT-4
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: 8 years ago 22 mag 2016, 22:53 GMT-4
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 30 set 2016, 03:14 GMT-4
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 30 set 2016, 03:42 GMT-4
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: 7 years ago 10 apr 2017, 16:57 GMT-4
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: 7 years ago 30 mag 2017, 07:08 GMT-4
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 2 lug 2017, 16:30 GMT-4
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 3 lug 2017, 12:21 GMT-4
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 3 lug 2017, 19:46 GMT-4
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.