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.

Calculating advective/diffusive fluid flux over a boundary -darcy's law and transport of diluted species module

Please login with a confirmed email address before reporting spam

Hello,
Currently, I am modeling the transport of diluted species under concentration gradient and pressure differential in the soil which enters the building through foundation cracks. I am using two modules, darcy’s law and transport of diluted species. I have to define a relationship for flux through the crack and the full expression for flux is as below. The dl.w is the q (velocity in z direction from darcy law) :

JT = -c*q*[exp(q*tck/Deff) / (1 - exp(q*tck/Deff))]

After substituting constant values, I am entering it to comsol as:

-dl.w*c*(exp(dl.w*0.156/7.2*10^6)/(1 - exp(dl.w*0.156/7.2*10^6)))

c: concentration of gas, given by comsol
tck: crack thickness
Deff : diffusion coefficient of gas

But the problem is that, the whole expression turns brown and when I run the model, it gives me an error which says in 4000 degrees of freedom has undefined NaN/Inf value. The coordinates for these nodes are exactly located across the crack. The above expression accounts for both advective and diffusive fluxes through the crack. When I neglect the diffusive flux and just use the term: dl.w*c, the solution converges and I can get the average value for flux but this is not the exact value. I am interested in calculating the exact value. I hope you could help me.

Thanks
Ali

1 Reply Last Post 20 févr. 2014, 14:20 UTC−5
COMSOL Moderator

Hello Ali Moradi

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.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 20 févr. 2014, 14:20 UTC−5
Did you make sure that the units work out?
Did you make sure that the units work out?

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.