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
Posted 12 mar 2013, 16:16 GMT-4 Version 4.3a 1 Reply
Please login with a confirmed email address before reporting spam
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
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.