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

UDF macros for surface reaction

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2013, 08:57
Default UDF macros for surface reaction
  #1
Member
 
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 3
borhan_sd@yahoo.com is on a distinguished road
Hello everybody,I am modeling a surface reaction in porous medium in fluent.I want to write an UDF for the reaction rate,in my problem gas reacts in the porous medium only on the surface of porous solid.

I don't know should I use the macro : "FLUID_THREAD_P(t)" (that is used in the udf manual of fluent for an example of volume reacion rate) or not?

It is written in the manual that this macro is used to determine if a cell thread is fluid rather than solid thread.,and for volume reactions,if it's false,rate=0.
Should this macro be true for my surface reaction or false?
I'd appreciate anyone help.
borhan_sd@yahoo.com 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
surface reaction UDF taekyu8 Fluent UDF and Scheme Programming 1 June 16, 2013 03:23
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 16:55
UDF changing the rate exponent of a reaction Stefan H Fluent UDF and Scheme Programming 0 September 16, 2009 13:20
What are UDF macros C_T_S , C_T_AP,...???? Asghari FLUENT 0 January 28, 2007 10:54
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


All times are GMT -4. The time now is 18:51.