CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Porous Media UDF (

Vamsee February 26, 2009 02:03

Porous Media UDF
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.

Minguez February 26, 2009 04:46

Re: Porous Media UDF
There are some information in the Fluent page as a tutorial called "Modeling Flow and Heat transfer in Packed Bed Reactor" and a pdf of Heat Transfer in Porous Media that can help you.

Vamsee February 26, 2009 07:30

Re: Porous Media UDF
Thank u But I could not find it.Can you please help me.

Minguez March 1, 2009 21:17

Re: Porous Media UDF
The tutorial is "Modeling Flow and Heat transfer in Packed Bed Reactor" and it is in the Intermediate/advanced tutorials section

Vamsee March 1, 2009 23:45

Re: Porous Media UDF
I am usinf FLEUENT 6.2.16. I am unable to access to the tutorial which you mentioned.Can you please help me.

All times are GMT -4. The time now is 09:26.