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