CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Porous Media UDF

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

LinkBack Thread Tools Display Modes
Old   February 26, 2009, 02:01
Default Porous Media UDF
Posts: n/a
Hello Friends,

I am Vamsee, doing my M.Tech at IIT Kharagpur.Presently I a doing my project on Metal Hydride Hydrogen compressors. For my project I need to simulate a metal hydride bed (packed porous bed) with heat transfer.I am facing problem while writing UDF for source term in the energy equation. I will explain my problem statement clearly so that anyone one could help me solving my problem.

The source term goes like this.

S= density*dH*N/(2*Mol wt)* (dx/dt)

where dH,N,density are all constants and doesn't depend on temperature.

x= hydrogen concentration

t = time dx/dt = 1000*A*(x-xf)/B* exp(-Ea/(R*T))

B = xi-xf xi= Initial concentration of hydrogen in metal hydride = fixed value xf-final hydrogen concentration in metal hydride = fixed value ( can be initialized before the problem) A= (Pb-Peq)/Peq Pb=constant Peq=(dH/(R*T)) +constant Ea= constant T=Temperature

I am unable to write UDF for the source term as I am finding difficulty with the hydrogen concentration term x Can I use UDS in this case?

I hope u got the problem. Please Help me.

Thanks in advance.
  Reply With Quote


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
Free media&porous media.Big changes in properties. Isi Main CFD Forum 1 July 14, 2008 07:18
porous media mikezhang Phoenics 2 September 21, 2002 21:10
Porous baffle and porous media Jan Siemens 0 June 8, 2002 09:23
Porous media James Hampson FLUENT 1 January 12, 2001 13:29
Porous media Alberto FLUENT 4 July 20, 2000 05:47

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