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

Porosity

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2016, 11:15
Default Porosity
  #1
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 5
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 09:50.
Bruno Machado is offline   Reply With Quote

Old   February 29, 2016, 09:50
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 5
Bruno Machado is on a distinguished road
Any one can help me?
Bruno Machado is offline   Reply With Quote

Old   May 29, 2016, 07:11
Default
  #3
New Member
 
J. David
Join Date: May 2013
Posts: 10
Rep Power: 5
jc2006 is on a distinguished road
Dear MAchado
You can find the information in the "pem_user.c"
jc2006 is offline   Reply With Quote

Reply

Thread Tools
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 On
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 23:19
how to set correctly the porosity properties to use porousInterFoam? cramsdead OpenFOAM Running, Solving & CFD 5 December 10, 2014 04: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 02:21.