Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Avoiding Negative Concentrations

$
0
0
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

Viewing all articles
Browse latest Browse all 26527

Trending Articles