Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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 Sol1/S1

Please login with a confirmed email address before reporting spam

Hello,

First of all I would like to say I am a first time user of Comsol so please bear with me.

The error expression that I get in comsol is:

Attempt to evaluate negative power of zero.
- Function: ^
Failed to evaluate expression.
- Expression: d(d((-5.3079*(0.6+3523.3558082974137*(-294.15+mod1.T)^(1/6))^2*(293.15*unit_K_cf-mod1.T)*test(mod1.T))*(dvol),{test@0}),mod1.T)

2 Replies Last Post 03.02.2012, 01:13 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 03.02.2012, 01:13 GMT-5
Hi

it looks like you are getting negative Temperatures, this can happen in time stepping if you have not adjusted time steps and mesh size w.r.t. material alpha = k/rho/Cp

Another case could be a unit confusion °C and K

If you upgrade to latest version the solvers seem to be better prepared to handle these cases, but check carefully the alpha versus Dt step and "h" mesh size in region with high temperature gradients, these are the minimum rules you should check otherwise FEM method cannot work, and that is not a COMSOl issue but a math and sampling theory issue ;)

But it might be something else too ;)

--
Good luck
Ivar
Hi it looks like you are getting negative Temperatures, this can happen in time stepping if you have not adjusted time steps and mesh size w.r.t. material alpha = k/rho/Cp Another case could be a unit confusion °C and K If you upgrade to latest version the solvers seem to be better prepared to handle these cases, but check carefully the alpha versus Dt step and "h" mesh size in region with high temperature gradients, these are the minimum rules you should check otherwise FEM method cannot work, and that is not a COMSOl issue but a math and sampling theory issue ;) But it might be something else too ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 03.02.2012, 01:13 GMT-5
Hi MARK,

I understand your problems ..
most of the errors in comsol are hard to understand ..
the easiest way to identify problems is by carefully following it. (actually its nt easy way .. )
first see the domain , or bounday or the edge where that problem was felt ...
in your case its a function !

so trouble shoot the syntax of the function.
and you can attach the file for better support from friends !!
Hi MARK, I understand your problems .. most of the errors in comsol are hard to understand .. the easiest way to identify problems is by carefully following it. (actually its nt easy way .. ) first see the domain , or bounday or the edge where that problem was felt ... in your case its a function ! so trouble shoot the syntax of the function. and you can attach the file for better support from friends !!

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.