CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

using source terms instead of defining reaction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2013, 05:22
Default using source terms instead of defining reaction
  #1
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 4
borhan_sd@yahoo.com is on a distinguished road
Hi all,I have faced a big problem about my project that is adsorption of vapors onto the porous surface,Would you tell me kindly please when do we define reactions and when we use SOURCE TERMS in species transport?

I defined surface reaction in my problem but it doesn't work.

I hope your helps to progress my tez.
thanks
borhan_sd@yahoo.com is offline   Reply With Quote

Old   June 25, 2013, 03:35
Default
  #2
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 187
Rep Power: 4
A CFD free user is on a distinguished road
Hello
Default reaction system in FLUENT are volumetric reactions based on Arrhenus relation which in most cases is sufficient but in some cases such as a PEM fuel cell which reactions are not Arrhenus but are electrochemical, you need to define them using source terms, something I'm getting into at the moment.
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   June 26, 2013, 04:57
Default
  #3
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 4
borhan_sd@yahoo.com is on a distinguished road
Hello A-A Azarafza
Thank you so much for your reply,Do you know also that how can we determine the destination of mass transfer in our mass source term UDF?I mean that for example how did you determine the destination of your species in their transfer onto the poles?
Is it necessary to write a separate UDF for this purpose?

thanks alot

Last edited by borhan_sd@yahoo.com; June 26, 2013 at 05:01. Reason: making mistake
borhan_sd@yahoo.com is offline   Reply With Quote

Old   June 27, 2013, 02:47
Default
  #4
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 187
Rep Power: 4
A CFD free user is on a distinguished road
Hi
Well, if I want to describe my case, as I'm not going to involve liquid phase in my model(I consider all species in gas phase), so I don't need to define a mass transfer source term, but I need to define a reaction source term where takes place inside catalyst layers. Actually, I add the source term to continuity and species transport equations. But, let me tell you about the water transport through membrane, there are three different mechanisms that transport water cross the membrane, for instance, water transport due to Fick's law which is sort of mass transfer. For this, I just get the water concentration in anode and cathode layers, respectively and then obtain the rate of mass transfer using a ADJUST macro. As far as I figure you're kind of involving an adsorption process, in your case, I think you should define your reaction (sink) on solid zone (source term in species transport equation) and get the mass transfer rate using a Adjust macro something like my case. I hope it helps.
__________________
Regard yours
A CFD free user is offline   Reply With Quote

Old   June 29, 2013, 06:23
Default
  #5
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 4
borhan_sd@yahoo.com is on a distinguished road
sorry,I wrote an udf for mass transfer sink for my species,but I'm new in fluent & udf and unfortunately I have basic questions yet, do you mean that I should write ONE udf with both DEFINE_SOURCE macro & ADJUST macro?Or SEPARATE 2 UDF'S?
Also,how should I specify that the path of this species mass transfer(species No. 0) is from gas phase to porous medium?I mean that what should I write for this purpose in the udf?Would you kindly help me please?
thank you very very much for your help and attention.
borhan_sd@yahoo.com is offline   Reply With Quote

Old   July 1, 2013, 05:47
Default
  #6
Senior Member
 
A CFD free user's Avatar
 
A-A Azarafza
Join Date: Jan 2013
Posts: 187
Rep Power: 4
A CFD free user is on a distinguished road
Hello again
Sorry for a little late response, actually I was in a work trip.
Yes, as you mentioned, I suppose you should define the two macro in one UDF. Using source macro, define the reaction on desire zone (porous zone) and then define your mass transfer equation using general applicable UDF (adjust macro). I think your problem would be figured out. Respecting to the species flow direction, as far as I know there's no necessity to define it, coz, species are transfer depending on their chemical potential and sort of concentration.
I hope it helps.
__________________
Regard yours
A CFD free user 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
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Source Terms in Momentum Balance vidyaraja Main CFD Forum 0 May 25, 2009 15:24
Source Terms in momentum Balance vidyaraja FLUENT 0 May 25, 2009 13:16
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 21:46.