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.

Understanding Error Codes.

Please login with a confirmed email address before reporting spam

Dear users and specialists! Please help me to understand what the error code says. it's not about 1 code. Generaly I want to understand how decoding error codes. For example, dirung a simulation in Plasms (Plasma Conductivity Coupling + Magnetic Fields + Laminar Flow), i get an errors: Failed to find consistent initial values. Division by zero. Function: / Failed to evaluate variable. Variable: mod1.plas.Te, Defined as: (2mod1.plas.en)/(3mod1.plas.ne)

My main question is about (for exapmle: mod1.plas.Te - mod1.plas.en etc.) What it menas? How can I find the path to this error place by knowing the error code? Are there any instructions on this?

Thanks and Regards


4 Replies Last Post Mar 21, 2018, 6:43 p.m. EDT
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Mar 21, 2018, 6:49 a.m. EDT
Updated: 7 years ago Mar 21, 2018, 6:49 a.m. EDT

Hi Luigi,

In this case, it seems like mod1.plas.ne in the denominator of the expression is zero, since you get the "Division by zero" message.

To find its definion, do a search using Ctrl-F, as discussed in these threads:

https://www.comsol.com/forum/thread/143061/defitions-of-predefined-variables-not-listed-in-equation-view

https://www.comsol.com/forum/thread/133412/mef-d-variable-ac-dc-module

Regards,
Henrik

-------------------
Henrik Sönnerlind
COMSOL
Hi Luigi, In this case, it seems like mod1.plas.ne in the denominator of the expression is zero, since you get the "Division by zero" message. To find its definion, do a search using Ctrl-F, as discussed in these threads: Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Mar 21, 2018, 4:06 p.m. EDT

Hi Dear Henrik, Thanks for your answer. But it did not help! I searched some definion but find just in error code! *Please see attached screenshots.

Saluti

Hi Dear Henrik, Thanks for your answer. But it did not help! I searched some definion but find just in error code! *Please see attached screenshots. Saluti


Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Mar 21, 2018, 4:24 p.m. EDT

Did you have "Equation View" turned on in the Show button ("eye" icon at the top of the Model Builder) when you ran that search?

Jeff

-------------------
Jeff Hiller
Did you have "Equation View" turned on in the Show button ("eye" icon at the top of the Model Builder) when you ran that search? Jeff

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Mar 21, 2018, 6:43 p.m. EDT

Dear Jeff, yes! turned on! but still search does not yield any results!

Dear Jeff, yes! turned on! but still search does not yield any results!

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.