# Porosity

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

 February 10, 2016, 11:15 Porosity #1 Senior Member   Bruno Machado Join Date: May 2014 Posts: 271 Rep Power: 6 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.

 February 29, 2016, 09:50 #2 Senior Member   Bruno Machado Join Date: May 2014 Posts: 271 Rep Power: 6 Any one can help me?

 May 29, 2016, 07:11 #3 New Member   J. David Join Date: May 2013 Posts: 10 Rep Power: 6 Dear MAchado You can find the information in the "pem_user.c"

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post jameswilson620 OpenFOAM Programming & Development 5 November 25, 2016 23:19 cramsdead OpenFOAM Running, Solving & CFD 5 December 10, 2014 04:43 Chander CFX 19 June 17, 2014 04:51 khoopes FLUENT 0 June 2, 2012 19:39 wojciech FLUENT 1 September 20, 2010 11:19

All times are GMT -4. The time now is 16:51.