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.

Avoiding Negative Concentrations

Please login with a confirmed email address before reporting spam

Hello,

I would like to make sure that my reaction rate is such that when the concentration of the species approaches zero, then so does the species sink.
Comsol Says:
This can be achieved for instance by writing max(eps^2,Q). eps is an internal COMSOL constant that is a very small number in the order or 10-15. This type of expression is also good if you want to avoid Q being 0.

Where would you write max(esp^2,Q) ?
In the reaction term? Defining your concentration as a variable?

Thank you,
Kelley

1 Reply Last Post 23 set 2014, 00:40 GMT-4
COMSOL Moderator

Hello Kelley Rabjohns

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: 10 years ago 23 set 2014, 00:40 GMT-4
Hi,

I have the same question. Have you got the answer ?

Chandan
Hi, I have the same question. Have you got the answer ? Chandan

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.