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 in residual computation in Li ion battery simulation.

Rajeswaran Radhakrishnan

Please login with a confirmed email address before reporting spam

Hi,

I am using comsol 3.5a for simulating Li ion battery.I am a new user ,so I am trying to redo the same model which is given in comsol already.But I get the following error,

Error:
Time 3.746334577378822:
Error in residual computation.
Power_of_negative
Function: ^
Failed_to_evaluate_variable
Variable: i0, Defined_as: (((k_pos*((c1max_pos-c1s_pos)^aA_pos))*(c1s_pos^aC_pos))*(c2^aA_pos))
Failed_to_evaluate_variable
Variable: i_loc, Defined_as: ((exp((((Far*aA_pos)*eta)/(Rg*T)))-exp(((((-aC_pos)*Far)*eta)/(Rg*T))))*i0)
Failed_to_evaluate_expression
Expression: d(((-K1eff*phi1x*test(phi1x)/L_pos-i_loc*Sa_pos*L_pos*test(phi1))-(0))*(dvol),{test@1})
Last time step is not converged.

Can you please help me out in this?

Thanks,

Rajeswaran.

1 Reply Last Post 14 sept. 2011, 17:11 UTC−4
COMSOL Moderator

Hello Rajeswaran Radhakrishnan

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: 1 decade ago 14 sept. 2011, 17:11 UTC−4
Hi, has your problem been solved? I also encounter such problem in my simulation.
No clue what might cause this problem.

One thing is that I have quite some logic function (T>Tm) etc in my materials properties. This might create step functions, and cause the error?
Hi, has your problem been solved? I also encounter such problem in my simulation. No clue what might cause this problem. One thing is that I have quite some logic function (T>Tm) etc in my materials properties. This might create step functions, and cause the error?

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.