Quantcast
Channel: COMSOL Forums: How to solve the problem of negative concentration
Viewing all articles
Browse latest Browse all 64

Re: How to solve the problem of negative concentration

$
0
0
Hi,

Eps is coming from Comsol and it is about 2.2e-16. I have used it instead of zero.

If c is between 0 and 1 it is keeping original value of c. For example if:

c is -1 => return value is 2.2e-16 (eps),
c is 2 => return value is 1,
c is 0.5 => return valus is 0.5,
etc...

I hope this will answer to your question.

Best regards

Tero

Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>