CFD Online Logo CFD Online URL
Home > Forums > FLUENT

A UDF of Chemical Recation

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

LinkBack Thread Tools Display Modes
Old   April 4, 2014, 03:07
Default A UDF of Chemical Recation
New Member
Li Jiageng
Join Date: Apr 2014
Posts: 2
Rep Power: 0
LiJG is on a distinguished road
hello everyone:

I'm learning about the UDF of chemical recation recently and faced several problems, can anyone help me to solve them?

1.I'm trying to make a UDF of methanation using Xu & Froment equation ("Methane Steam Reforming, Methanation and Water-Gas Shift:I.Intrinsic
Kinetics"). And the reaction is conducted in a gas-solid fluidized bed. My question is about unit convertion. The unit of Xu & Froment
equation(kgmol/kgcatalyst/hr) is different from that of the DEFINE_VR_RATE macro in Fluent UDF(kgmol/m^3/s). How can I convert the unit?

2.I found an example of making a UDF of chemical recation which is also conducted in a fluidized bed. The reaction is O3==>1.5O2 and the UDF of
this example is as fallow:
#include "udf.h"
*rr = (1.-C_VOF(c,t))*1.57*C_R(c,t)*yi[1]/mw[1];
I think (1.-C_VOF(c,t)) is the solid volume fration in the fluidized bed. My question is why multiply by (1.-C_VOF(c,t)) in *rr equation.

I will be appreciated if anyone can help me......

Thanks a LOT!

Last edited by LiJG; April 4, 2014 at 07:20.
LiJG is offline   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
udf for chemical reduction scheme yorelchr Fluent UDF and Scheme Programming 0 September 20, 2013 10:55
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
I need UDF help. S.Whitney FLUENT 0 October 15, 2007 11:29
UDF : Chemical Reaction in Catalytic Converter adhimac FLUENT 1 March 27, 2001 14:04

All times are GMT -4. The time now is 14:50.