CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   DEFINE_SR_RATE Reaction Data Structure (http://www.cfd-online.com/Forums/fluent/98364-define_sr_rate-reaction-data-structure.html)

MarcusW March 9, 2012 03:29

DEFINE_SR_RATE Reaction Data Structure
 
Hey,

When using DEFINE_SR_RATE (name,f,t,r,my,yi,rr) the fourth argument is:

Reaction *r - A pointer to data structure for the reaction.

Does anyone know where I can find info on this data structure?
What I'm trying to find out is if I can use something like:

if (r == 0)
{
}
else if (r == 1)
{
}

to do different things for different reactions?

Any tips would be much appreciated.
Thanks, Marcus


All times are GMT -4. The time now is 21:47.