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 Division By Zero. - Function: /

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


[start here]

It seems I meet the same error:

Division by zero. - Function: / Failed to evaluate variable. - Variable: comp1.acpr.delta - Defined as: 1/(comp1.acpr.omega^2) Failed to evaluate expression. - Expression: d(((-comp1.acpr.gradpxcomp1.acpr.gradtestpx-comp1.acpr.gradpycomp1.acpr.gradtestpy-comp1.acpr.gradpzcomp1.acpr.gradtestpz-comp1.acpr.p_ttest(comp1.p)comp1.acpr.ik^2)comp1.acpr.delta/comp1.acpr.rho_c)(dvol_spatial),{test@7}) Failed to evaluate Jacobian of expression. - Expression: ((-comp1.acpr.gradpxcomp1.acpr.gradtestpx-comp1.acpr.gradpycomp1.acpr.gradtestpy-comp1.acpr.gradpzcomp1.acpr.gradtestpz-comp1.acpr.p_ttest(comp1.p)comp1.acpr.ik^2)comp1.acpr.delta/comp1.acpr.rho_c)(dvol_spatial)

But by this error message, I don't know what's the problem?


0 Replies Last Post 2020年11月6日 GMT-5 09:24
COMSOL Moderator

Hello Shawn Lau

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.