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

Please login with a confirmed email address before reporting spam

Hi, can anyone help me. I am trying to set a temperature on a boundary surface. With a constant parameter it is running, but I want to it with the equation of Clausius-Clapeyron. For this I set an analytic function with the equation: 1/((1/T_ref)-((Rs/h_fg)*log(p/p_ref)))

Then I selected the preferred boundary. While computing there appears this error:

Division by zero. - Function: / Failed to evaluate expression. - Expression: d(1/(1/T_ref-(Rs*log(T_int__p__internalArgument/p_ref))/h_fg), T_int__p__internalArgument) Error in user-defined function. - Function: dT_int_dT_int__p__internalArgument


0 Replies Last Post Jun 12, 2019, 9:29 a.m. EDT
COMSOL Moderator

Hello Andre Schmidt

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.