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

UDS Diffusivity in porous media

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2013, 10:21
Default UDS Diffusivity in porous media
  #1
New Member
 
Tom Tranter
Join Date: Mar 2013
Location: Leeds, UK
Posts: 21
Rep Power: 13
pmtgt is on a distinguished road
Hi,

I'm trying to simulate conduction through porous media with an electric potential. I've set up the potential as a UDS and I have materials with UDS diffusivity defined to represent the electric conductivity. As far as I can tell from previous posts the UDS diffusivity is not automatically multiplied by the porosity and volume averaged between the materials like the thermal conductivity is when solving the energy equation.

My question is how do I access the solid material properties, specifically the UDS diffusivity, of the porous media in a UDF so that I can manually adjust the value to generate an effective conductivity in each porous zone?

Thanks
Tom
pmtgt is offline   Reply With Quote

Old   November 7, 2013, 09:26
Default
  #2
New Member
 
Tom Tranter
Join Date: Mar 2013
Location: Leeds, UK
Posts: 21
Rep Power: 13
pmtgt is on a distinguished road
Please can anyone point me in the right direction here. I need UDSI_DIFF for the solid part of a porous zone basically. I cannot find any reference in the manual or variations of UDSI_DIFF in mem.h
pmtgt is offline   Reply With Quote

Old   February 13, 2014, 07:21
Default
  #3
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 226
Rep Power: 14
A CFD free user is on a distinguished road
Hi Friend,
You need to define diffusivity for each of the UDS using user-defined diffusivity macro. To calculate effective diffusivity, you can invoke the porosity using C_POR(c,t) macro for each of the cells in the zones you want to set effective porosity. I mean, for instance, if you want to use Bruggeman model as effective diffusivity, first, define diffusivity using DEFINE_DIFFUSIVITY (If I'm not wrong) for each zone and then multiply it by C_POR (c,t) macro. I hope it helps
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Reply


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
UDS porous media Nagendra FLUENT 12 August 17, 2022 14:30
Porous media setup issues in Fluent Bernard Van FLUENT 29 January 26, 2017 05:09
UDS for Porous Media cp FLUENT 6 June 26, 2012 14:44
Porous media convection UDS equations cp FLUENT 1 September 19, 2003 20:53
porous media: Fluent or Star-CD? Igor Main CFD Forum 0 December 5, 2002 16:16


All times are GMT -4. The time now is 23:39.