Wall surface reaction, definition issue
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:
Reactant Specie = RP, Stoic. Coeff. = 1, Rate Exponent = 1
Product Specie = RP, Stoic Coeff. = 1, Rate Exponent = 0
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!
Did you end up finding a solution to this problem?
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 15:25.|