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.

Negative Concentrations

Please login with a confirmed email address before reporting spam

Hello,

How to avoid negative concentrations? Can anyone please help me?

dCA/dt = -CA1*ko*exp(-E/R/T)

I used the following constraint on concentration.

CA1=if(CA<0,0[mol/m^3],CA)

But it returns the following error
Recoverable error in residual, but solver could not recover.
Time : 0.03270013548094004
Last time step is not converged.

Thanks
Krish



2 Replies Last Post 29 sept. 2016, 11:22 UTC−4
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 29 sept. 2016, 10:11 UTC−4
Hello Krish,
This link may help:
www.comsol.com/support/knowledgebase/952/
Best regards,
Jeff
Hello Krish, This link may help: https://www.comsol.com/support/knowledgebase/952/ Best regards, Jeff

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 29 sept. 2016, 11:22 UTC−4
Thank you, Jeff.

Krish
Thank you, Jeff. Krish

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.