CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Porosity

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 10, 2016, 10:15
Default Porosity
  #1
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13
Bruno Machado is on a distinguished road
Guys,

I've been working with the simulation of a fuel cell channel. I want my mass diffusivity coefficient to be corrected by the porosity and the fraction of liquid water as it follows:

D_eff= D_i * (por * (1 - s))**1.5

The following piece of code is how I defined my porosity profile as a function of POROSITY(t) and C_LIQ_H2O(c,t) (porosity and fraction of liquid water, respectively).

DEFINE_PROFILE(porosity,t,i)
{
cell_t c;

begin_c_loop(c,t)
{
C_PROFILE(c,t,i) = POROSITY(t)*(1.0-MIN(MAX(C_LIQ_H2O(c,t),0.0),0.99));
}
end_c_loop(c,t)
}

I read once in the manual that the mass diffusivity is automatically corrected by the porosity (profile), thus to correct it by the factor of 1.5, should I multiply the diffusivity (D_i) by the porosity macro (C_POR(c,t)) on the power of 0.5 only?

D_eff= D_i * C_POR(c,t)**0.5

Despite the fact I read it once in the manual, unfortunately, I could not find this information again. It would be great if you could inform where I can find it.

Thanks guys.

Last edited by Bruno Machado; February 29, 2016 at 08:50.
Bruno Machado is offline   Reply With Quote

 


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
Adding porosity to UEqn.H in porousInterFoam jameswilson620 OpenFOAM Programming & Development 5 November 25, 2016 22:19
how to set correctly the porosity properties to use porousInterFoam? cramsdead OpenFOAM Running, Solving & CFD 5 December 10, 2014 03:43
anisotropic porosity in CFX Chander CFX 19 June 17, 2014 04:51
Porosity profile, dividing a zone, or getting zone location from zone khoopes FLUENT 0 June 2, 2012 19:39
Porosity field in Fluent wojciech FLUENT 1 September 20, 2010 11:19


All times are GMT -4. The time now is 11:55.