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

Problem with transport of diluted species module

$
0
0
Hello,

I'm trying to use the boundary flux variable of the module in other modules, so to specify a flux in another module, the problem comes when I look at the equation of the flux:

tds.bndFlux_cA=if(r>0.001/sqrt(sqrt(mean(emetric2))) ,-0.5*(dflux_spatial(cA) )/(pi*r),NaN)

The problem is that during a certain time at the beginning the condition of r> is not true, and then my model cannot be evaluated. So I cannot use this expression in other modules.

So I have tried to copy that expression in variables and changing 0.001 for eps, but I receive a message error saying that it cannot be evaluated.

So the question is How can I use the boundary flux in other modules?

Thanks for all

Viewing all articles
Browse latest Browse all 4154

Trending Articles



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