CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Setting different diffusivities for two domains (fluid+porous)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2014, 13:14
Default Setting different diffusivities for two domains (fluid+porous)
  #1
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 11
khariel is on a distinguished road
Hi there,

I need some help setting up a CEL expression to define different values of kinematic diffusivity for two different domains: a fluid and a porous domain. I'm aware you can use the inside() function, but I'm not sure how to write it. I tried the script below but it didn't work.

1.58e-5 [cm^2 s^-1] * inside()@flow;
0.46*1.58e-5 [cm^2 s^-1] * inside()@porous

Thanks in advance.
khariel is offline   Reply With Quote

Old   November 25, 2014, 14:45
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,799
Rep Power: 31
Opaque will become famous soon enough
I assume you are defining the Kinematic Diffusivity parameter for an Additional Variable, or mass fraction Component

Kinematic Diffusivity = 1.58e-5 [cm^2 s^-1] * ( inside()@flow + 0.46 * inside()@porous)

That is all you need to do.

I wonder what the 0.46 means. It is not the volume porosity, is it ?
Opaque is offline   Reply With Quote

Old   November 25, 2014, 14:48
Default
  #3
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 11
khariel is on a distinguished road
Quote:
Originally Posted by Opaque View Post
I assume you are defining the Kinematic Diffusivity parameter for an Additional Variable, or mass fraction Component

Kinematic Diffusivity = 1.58e-5 [cm^2 s^-1] * ( inside()@flow + 0.46 * inside()@porous)

That is all you need to do.

I wonder what the 0.46 means. It is not the volume porosity, is it ?
Thanks a lot, I'll try that.

What is the meaning of the asterisk symbol in the CEL syntax? I did a quick check on the documentation and couldn't find much about syntax.

And no, it's just the "correction" factor for the permeability at the porous media.
khariel is offline   Reply With Quote

Old   November 25, 2014, 15:26
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,799
Rep Power: 31
Opaque will become famous soon enough
* is for multiplication between two terms in the expression.

Not sure I catch on the "correction factor" for the permeability. There is no permeability in the diffusion terms of the transport equations I have seen. I have only seen the permeability in the drag force term in the momentum equation.. Did you mean porosity ?

The only time I have seen permeability into a transport equation is when Darcy's law is substituted into the continuity equation, and a pure diffusion equation for Pressure is obtained. Is that what you are solving for ?
Opaque is offline   Reply With Quote

Old   November 25, 2014, 15:30
Default
  #5
New Member
 
Leonardo
Join Date: Nov 2014
Posts: 27
Rep Power: 11
khariel is on a distinguished road
Quote:
Originally Posted by Opaque View Post
* is for multiplication between two terms in the expression.

Not sure I catch on the "correction factor" for the permeability. There is no permeability in the diffusion terms of the transport equations I have seen. I have only seen the permeability in the drag force term in the momentum equation.. Did you mean porosity ?

The only time I have seen permeability into a transport equation is when Darcy's law is substituted into the continuity equation, and a pure diffusion equation for Pressure is obtained. Is that what you are solving for ?
Sorry about that, I meant diffusivity.
According to the paper I'm basing my simulations on, they estimate the effective diffusivity of ethanol in the porous media using this factor, which indeed happens to include the porosity:

D_eff = (porosity)^1.5*D
khariel is offline   Reply With Quote

Reply

Tags
cel expression, diffusivity, kinematic diffusivity, porous

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
thermal couple boundary condition between porous and fluid regions atoof OpenFOAM Programming & Development 2 June 7, 2017 19:44
Porous media setup issues in Fluent Bernard Van FLUENT 29 January 26, 2017 04:09
Different diffusivity for additional variable in Fluid and porous domain ftab CFX 4 June 27, 2012 13:03
porous media: Fluent or Star-CD? Igor Main CFD Forum 0 December 5, 2002 15:16
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 05:33.