CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   Wall surface reaction, definition issue (http://www.cfd-online.com/Forums/fluent-udf/111834-wall-surface-reaction-definition-issue.html)

GBNB January 16, 2013 09:23

Wall surface reaction, definition issue
 
Hi there,

I was wondering if someone could help me with a problem I am having regarding defining a wall surface reaction UDF. I am trying to model platelet transport in blood and platelet interaction with blood vessel walls. I have defined two platelet species (gas species), Resting Platelets (RP) and Activated Platelets (AP). I have a source term for each of the species and I am trying to define a reactive wall flux term that accounts for platelet deposition on the vessel walls.
In the DEFINE_SR_REACTION macro, I have defined 2 wall surface reactions - reaction-1 for RP flux to the wall and reaction-2 for AP flux to the wall
In the UDF I am returning a reaction rate value in the pointer *rr (kmole/m^2-s)
In the Edit Reactions dialogue box (Problem Setup -> Materials -> mixture-template -> Reactions-Edit) I have set the following parameters:

reaction-1:
Reactant Specie = RP, Stoic. Coeff. = 1, Rate Exponent = 1
Product Specie = RP, Stoic Coeff. = 1, Rate Exponent = 0

reaction-2:
Reactant Specie = AP, Stoic Coeff. = 1, Rate Exponent = 1
Product Specie = AP, Stoic Coeff. = 1, Rate Exponent = 0

When I run the model I see no flux of AP or RP to the wall surface and I'm not quite sure what I'm doing wrong. Any help would be greatly appreciated! Thanks!

timjm February 22, 2013 18:59

Gerry:

Did you end up finding a solution to this problem?

msaeedsadeghi February 23, 2013 03:09

I have modeled so many combustion problems. What is the problem. He may have not written the UDF correct.


All times are GMT -4. The time now is 02:40.