|
[Sponsors] |
June 6, 2013, 09:57 |
UDF macros for surface reaction
|
#1 |
Member
soodabe
Join Date: Apr 2013
Posts: 40
Rep Power: 13 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
surface reaction UDF | taekyu8 | Fluent UDF and Scheme Programming | 1 | June 16, 2013 04:23 |
Segmentation fault in running alternateSteadyReactingFoam,why? | NewKid | OpenFOAM | 18 | January 20, 2011 17:55 |
UDF changing the rate exponent of a reaction | Stefan H | Fluent UDF and Scheme Programming | 0 | September 16, 2009 14:20 |
What are UDF macros C_T_S , C_T_AP,...???? | Asghari | FLUENT | 0 | January 28, 2007 11:54 |
chemical reaction - decompostition | La S. Hyuck | CFX | 1 | May 23, 2001 01:07 |