CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   DEFINE_SR_RATE Reaction Data Structure (

MarcusW March 9, 2012 03:29

DEFINE_SR_RATE Reaction Data Structure

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 10:08.